diff --git a/.next/BUILD_ID b/.next/BUILD_ID index 629865a..28244a1 100644 --- a/.next/BUILD_ID +++ b/.next/BUILD_ID @@ -1 +1 @@ -Pe7tof7vDBhk_kXVU7nZJ \ No newline at end of file +arWhYLxRTniGq2OEpqsNu \ No newline at end of file diff --git a/.next/app-path-routes-manifest.json b/.next/app-path-routes-manifest.json index c97c72c..8434344 100644 --- a/.next/app-path-routes-manifest.json +++ b/.next/app-path-routes-manifest.json @@ -16,6 +16,8 @@ "/api/projects/[id]/workflow/route": "/api/projects/[id]/workflow", "/api/projects/route": "/api/projects", "/api/user/profile/route": "/api/user/profile", + "/cgu/page": "/cgu", + "/cgv/page": "/cgv", "/checkout/page": "/checkout", "/dashboard/page": "/dashboard", "/features/page": "/features", @@ -28,5 +30,6 @@ "/project/[id]/settings/page": "/project/[id]/settings", "/project/[id]/workflow/page": "/project/[id]/workflow", "/project/[id]/world/page": "/project/[id]/world", - "/signup/page": "/signup" + "/signup/page": "/signup", + "/sitemap/page": "/sitemap" } \ No newline at end of file diff --git a/.next/build-manifest.json b/.next/build-manifest.json index 4c8d14a..d4eaed0 100644 --- a/.next/build-manifest.json +++ b/.next/build-manifest.json @@ -7,14 +7,14 @@ "static/chunks/a6dad97d9634a72d.js" ], "lowPriorityFiles": [ - "static/Pe7tof7vDBhk_kXVU7nZJ/_ssgManifest.js", - "static/Pe7tof7vDBhk_kXVU7nZJ/_buildManifest.js" + "static/arWhYLxRTniGq2OEpqsNu/_ssgManifest.js", + "static/arWhYLxRTniGq2OEpqsNu/_buildManifest.js" ], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ] } \ No newline at end of file diff --git a/.next/dev/cache/turbopack/23c46498/00001649.sst b/.next/dev/cache/turbopack/23c46498/00001649.sst deleted file mode 100644 index 9d20b04..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001649.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001651.sst b/.next/dev/cache/turbopack/23c46498/00001651.sst deleted file mode 100644 index b772a03..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001651.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001652.meta b/.next/dev/cache/turbopack/23c46498/00001652.meta deleted file mode 100644 index 855ac8a..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001652.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001654.sst b/.next/dev/cache/turbopack/23c46498/00001654.sst deleted file mode 100644 index 51ce149..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001654.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001663.meta b/.next/dev/cache/turbopack/23c46498/00001663.meta deleted file mode 100644 index 5bd8597..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001663.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001664.sst b/.next/dev/cache/turbopack/23c46498/00001664.sst deleted file mode 100644 index 9371284..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001664.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001668.meta b/.next/dev/cache/turbopack/23c46498/00001668.meta deleted file mode 100644 index c16daf7..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001668.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001670.sst b/.next/dev/cache/turbopack/23c46498/00001670.sst deleted file mode 100644 index cbf3eb3..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001670.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001675.meta b/.next/dev/cache/turbopack/23c46498/00001675.meta deleted file mode 100644 index 2e222b8..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001675.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001677.sst b/.next/dev/cache/turbopack/23c46498/00001677.sst deleted file mode 100644 index fac120e..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001677.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001681.meta b/.next/dev/cache/turbopack/23c46498/00001681.meta deleted file mode 100644 index 5a54744..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001681.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001683.sst b/.next/dev/cache/turbopack/23c46498/00001683.sst deleted file mode 100644 index 6f95e6a..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001683.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001687.meta b/.next/dev/cache/turbopack/23c46498/00001687.meta deleted file mode 100644 index a6e2c4c..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001687.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001688.sst b/.next/dev/cache/turbopack/23c46498/00001688.sst deleted file mode 100644 index bbd3a76..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001688.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001695.meta b/.next/dev/cache/turbopack/23c46498/00001695.meta deleted file mode 100644 index 953c0bb..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001695.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001699.sst b/.next/dev/cache/turbopack/23c46498/00001699.sst deleted file mode 100644 index a5d5440..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001699.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001703.meta b/.next/dev/cache/turbopack/23c46498/00001703.meta deleted file mode 100644 index e154929..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001703.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001705.sst b/.next/dev/cache/turbopack/23c46498/00001705.sst deleted file mode 100644 index a5d5440..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001705.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001709.meta b/.next/dev/cache/turbopack/23c46498/00001709.meta deleted file mode 100644 index fa55337..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001709.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001723.sst b/.next/dev/cache/turbopack/23c46498/00001723.sst deleted file mode 100644 index a5d5440..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001723.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001727.meta b/.next/dev/cache/turbopack/23c46498/00001727.meta deleted file mode 100644 index bf8aed4..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001727.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001729.sst b/.next/dev/cache/turbopack/23c46498/00001729.sst deleted file mode 100644 index a5d5440..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001729.sst and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/00001733.meta b/.next/dev/cache/turbopack/23c46498/00001733.meta deleted file mode 100644 index a7b0b28..0000000 Binary files a/.next/dev/cache/turbopack/23c46498/00001733.meta and /dev/null differ diff --git a/.next/dev/cache/turbopack/23c46498/CURRENT b/.next/dev/cache/turbopack/23c46498/CURRENT index d568ef2..ba9e022 100644 Binary files a/.next/dev/cache/turbopack/23c46498/CURRENT and b/.next/dev/cache/turbopack/23c46498/CURRENT differ diff --git a/.next/dev/cache/turbopack/23c46498/LOG b/.next/dev/cache/turbopack/23c46498/LOG index d236065..3b6450c 100644 --- a/.next/dev/cache/turbopack/23c46498/LOG +++ b/.next/dev/cache/turbopack/23c46498/LOG @@ -2126,3 +2126,3661 @@ FAM | META SEQ | SST SEQ | RANGE 0 | 00012055 | 00012054 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) 1 | 00012056 | 00012052 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) 2 | 00012057 | 00012053 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) +Time 2026-03-04T17:23:00.1085366Z +Commit 00012381 4 keys in 8ms 94µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012379 | 00012378 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012380 | 00012376 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012381 | 00012377 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) +Time 2026-03-04T17:23:33.1669632Z +Commit 00012387 4 keys in 7ms 345µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012385 | 00012384 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012386 | 00012383 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012387 | 00012382 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T17:24:07.6416905Z +Commit 00012397 269 keys in 10ms 114µs 600ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012393 | 00012390 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012394 | 00012388 SST | [=================================================================================================] | 02c556cf9fcf1df3-ffd2128295feedf0 (0 MiB, fresh) + 2 | 00012395 | 00012389 SST | [==============================================================================================] | 08ddd8f83c20993f-fd19e239b488e368 (1 MiB, fresh) + 4 | 00012396 | 00012392 SST | [===============================================================================] | 296a9a0864f9e553-f7eab94fdfab55cf (0 MiB, fresh) + 3 | 00012397 | 00012391 SST | [==============================================================================] | 1dc214a5ff653285-e81e32eb78254e8e (0 MiB, fresh) +Time 2026-03-04T17:24:10.6882857Z +Commit 00012407 30 keys in 9ms 970µs 100ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012403 | 00012400 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012404 | 00012399 SST | [============================================================================================] | 09b7999c944d458c-f5d5f2d6bd5d47cb (0 MiB, fresh) + 3 | 00012405 | 00012401 SST | O | 426b04cf5c3a64ed-426b04cf5c3a64ed (0 MiB, fresh) + 4 | 00012406 | 00012402 SST | O | bbb79ff1dcc591cb-bbb79ff1dcc591cb (0 MiB, fresh) + 2 | 00012407 | 00012398 SST | [============================================================================================] | 09b7999c944d458c-f5d5f2d6bd5d47cb (0 MiB, fresh) +Time 2026-03-04T17:24:25.8956252Z +Commit 00012413 10 keys in 6ms 895µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012411 | 00012410 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012412 | 00012409 SST | [=================================================] | 481b0a84b63fa8dc-c9521634973f5a7e (0 MiB, fresh) + 2 | 00012413 | 00012408 SST | [=================================================] | 481b0a84b63fa8dc-c9521634973f5a7e (0 MiB, fresh) +Time 2026-03-04T17:38:30.8444548Z +Commit 00012419 4 keys in 16ms 209µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012417 | 00012416 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012418 | 00012414 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012419 | 00012415 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T17:59:13.97957Z +Commit 00012425 4 keys in 17ms 236µs 300ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012423 | 00012422 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012424 | 00012420 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012425 | 00012421 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:00:23.4099831Z +Commit 00012431 4 keys in 17ms 309µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012429 | 00012428 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012430 | 00012426 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012431 | 00012427 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:01:53.7403132Z +Commit 00012437 4 keys in 16ms 202µs 100ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012435 | 00012434 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012436 | 00012433 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012437 | 00012432 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:03:13.9787911Z +Commit 00012443 4 keys in 18ms 114µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012441 | 00012440 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012442 | 00012438 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012443 | 00012439 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:04:24.5216875Z +Commit 00012449 4 keys in 15ms 779µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012447 | 00012446 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012448 | 00012444 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012449 | 00012445 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:09:55.9323478Z +Commit 00012455 4 keys in 16ms 281µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012453 | 00012452 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012454 | 00012451 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012455 | 00012450 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:20:30.2129818Z +Commit 00012461 4 keys in 17ms 523µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012459 | 00012458 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012460 | 00012456 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012461 | 00012457 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:22:00.9982832Z +Commit 00012467 4 keys in 17ms 597µs 100ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012465 | 00012464 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012466 | 00012462 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012467 | 00012463 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:23:13.9950515Z +Commit 00012473 4 keys in 17ms 185µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012471 | 00012470 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012472 | 00012468 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012473 | 00012469 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:24:32.1913456Z +Commit 00012479 4 keys in 7ms 377µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012477 | 00012476 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012478 | 00012474 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012479 | 00012475 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:28:34.1382081Z +Commit 00012485 4 keys in 16ms 60µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012483 | 00012482 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012484 | 00012480 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012485 | 00012481 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:35:06.2733417Z +Commit 00012491 4 keys in 16ms 696µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012489 | 00012488 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012490 | 00012486 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012491 | 00012487 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:41:06.0635621Z +Commit 00012497 4 keys in 16ms 874µs 600ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012495 | 00012494 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012496 | 00012492 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012497 | 00012493 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:42:18.9440241Z +Commit 00012503 4 keys in 17ms 369µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012501 | 00012500 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012502 | 00012498 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012503 | 00012499 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:43:39.3040802Z +Commit 00012509 4 keys in 17ms 45µs 300ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012507 | 00012506 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012508 | 00012504 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012509 | 00012505 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:45:09.9046509Z +Commit 00012515 4 keys in 15ms 736µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012513 | 00012512 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012514 | 00012510 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012515 | 00012511 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:47:41.1409699Z +Commit 00012521 4 keys in 8ms 493µs 600ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012519 | 00012518 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012520 | 00012516 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012521 | 00012517 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:51:30.3371092Z +Commit 00012527 4 keys in 15ms 571µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012525 | 00012524 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012526 | 00012522 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012527 | 00012523 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T18:59:13.9906991Z +Commit 00012533 4 keys in 7ms 522µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012531 | 00012530 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012532 | 00012528 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012533 | 00012529 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:00:40.4441638Z +Commit 00012539 4 keys in 16ms 177µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012537 | 00012536 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012538 | 00012535 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012539 | 00012534 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:01:53.426748Z +Commit 00012545 4 keys in 6ms 959µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012543 | 00012542 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012544 | 00012540 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012545 | 00012541 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:03:13.9782223Z +Commit 00012551 4 keys in 15ms 87µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012549 | 00012548 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012550 | 00012546 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012551 | 00012547 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:06:15.5372101Z +Commit 00012557 4 keys in 6ms 539µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012555 | 00012554 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012556 | 00012553 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012557 | 00012552 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:10:04.7075001Z +Commit 00012563 4 keys in 8ms 579µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012561 | 00012560 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012562 | 00012558 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012563 | 00012559 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:11:07.783703Z +Commit 00012569 4 keys in 16ms 700µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012567 | 00012566 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012568 | 00012565 SST | O | a39cd83271c2325b-a39cd83271c2325b (0 MiB, fresh) + 1 | 00012569 | 00012564 SST | O | a39cd83271c2325b-a39cd83271c2325b (0 MiB, fresh) +Time 2026-03-04T19:18:40.6070291Z +Commit 00012575 4 keys in 15ms 999µs 700ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012573 | 00012572 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012574 | 00012570 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012575 | 00012571 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:19:55.5485682Z +Commit 00012581 4 keys in 16ms 939µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012579 | 00012578 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012580 | 00012576 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012581 | 00012577 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:21:13.9891218Z +Commit 00012587 4 keys in 7ms 324µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012585 | 00012584 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012586 | 00012582 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012587 | 00012583 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:22:24.353733Z +Commit 00012593 4 keys in 7ms 679µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012591 | 00012590 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012592 | 00012588 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012593 | 00012589 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:25:13.9828047Z +Commit 00012599 4 keys in 16ms 536µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012597 | 00012596 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012598 | 00012595 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012599 | 00012594 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:30:27.8147019Z +Commit 00012605 4 keys in 17ms 216µs 600ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012603 | 00012602 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012604 | 00012600 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012605 | 00012601 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:39:29.7027453Z +Commit 00012611 4 keys in 7ms 968µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012609 | 00012608 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012610 | 00012606 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012611 | 00012607 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:40:59.9895288Z +Commit 00012617 4 keys in 16ms 291µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012615 | 00012614 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012616 | 00012613 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012617 | 00012612 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:42:30.2945988Z +Commit 00012623 4 keys in 15ms 978µs 100ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012621 | 00012620 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012622 | 00012619 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012623 | 00012618 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:45:14.0006321Z +Commit 00012629 4 keys in 20ms 366µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012627 | 00012626 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012628 | 00012625 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012629 | 00012624 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T19:50:32.0819698Z +Commit 00012635 4 keys in 16ms 543µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012633 | 00012632 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012634 | 00012630 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012635 | 00012631 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:01:04.3305549Z +Commit 00012641 4 keys in 6ms 593µs 600ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012639 | 00012638 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012640 | 00012637 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012641 | 00012636 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:02:34.6542268Z +Commit 00012647 4 keys in 15ms 173µs 700ns +FAM | META SEQ | SST SEQ | RANGE + 1 | 00012645 | 00012642 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 0 | 00012646 | 00012644 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012647 | 00012643 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:03:42.029513Z +Commit 00012653 4 keys in 7ms 537µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012651 | 00012650 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012652 | 00012648 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012653 | 00012649 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:06:16.9567301Z +Commit 00012659 4 keys in 16ms 754µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012657 | 00012656 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012658 | 00012654 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012659 | 00012655 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:12:53.1559417Z +Commit 00012665 4 keys in 15ms 668µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012663 | 00012662 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012664 | 00012660 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012665 | 00012661 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:17:48.6627077Z +Commit 00012671 4 keys in 8ms 414µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012669 | 00012668 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012670 | 00012667 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 1 | 00012671 | 00012666 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:17:50.7805646Z +Commit 00012677 4 keys in 7ms 86µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012675 | 00012674 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012676 | 00012672 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012677 | 00012673 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:34:38.3898765Z +Commit 00012687 2447 keys in 11ms 365µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012683 | 00012680 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012684 | 00012679 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (1 MiB, fresh) + 2 | 00012685 | 00012678 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (4 MiB, fresh) + 3 | 00012686 | 00012681 SST | [==============================================================================================] | 0203cdc8e8f73e30-f4e1e00fed57ca18 (0 MiB, fresh) + 4 | 00012687 | 00012682 SST | [===============================================================================================] | 0429417775d4c2a1-f90285707010b8da (0 MiB, fresh) +Time 2026-03-04T20:34:43.9859017Z +Commit 00012697 1959 keys in 11ms 585µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012693 | 00012690 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012694 | 00012689 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (4 MiB, fresh) + 1 | 00012695 | 00012688 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (0 MiB, fresh) + 3 | 00012696 | 00012691 SST | [=======================================================================================] | 10cf634075b939bf-f172e37f8ab365dc (0 MiB, fresh) + 4 | 00012697 | 00012692 SST | [============================================================================] | 036f79e303326a3d-c840c605403135c5 (0 MiB, fresh) +Time 2026-03-04T20:34:58.5264475Z +Commit 00012707 2537 keys in 11ms 100µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012703 | 00012700 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012704 | 00012698 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (4 MiB, fresh) + 3 | 00012705 | 00012701 SST | [============================================================================================] | 039c80629cb68a0c-f0d5cc9091aeeee9 (0 MiB, fresh) + 1 | 00012706 | 00012699 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (1 MiB, fresh) + 4 | 00012707 | 00012702 SST | [=========================================================================================] | 056c1e606f73d42b-edbfc4871d54b726 (0 MiB, fresh) +Time 2026-03-04T20:38:01.4431837Z +Commit 00012713 4 keys in 15ms 997µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012711 | 00012710 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012712 | 00012708 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012713 | 00012709 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:39:13.9904386Z +Commit 00012719 4 keys in 7ms 543µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012717 | 00012716 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012718 | 00012714 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012719 | 00012715 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:40:32.0244826Z +Commit 00012725 4 keys in 6ms 998µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012723 | 00012722 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012724 | 00012720 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012725 | 00012721 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:42:02.3285825Z +Commit 00012731 4 keys in 15ms 650µs 600ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012729 | 00012728 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012730 | 00012726 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012731 | 00012727 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:42:33.0771369Z +Commit 00012741 9013 keys in 13ms 420µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012737 | 00012734 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 4 | 00012738 | 00012736 SST | [=================================================================================================] | 00e7c7b039ca25bd-fd6bf5c7ee65a1d0 (0 MiB, fresh) + 3 | 00012739 | 00012735 SST | [==================================================================================================] | 0018b530478d4327-fff70199b6fac9ea (0 MiB, fresh) + 1 | 00012740 | 00012733 SST | [==================================================================================================] | 0010e26242e36d1c-fffb6b73b51e00c8 (1 MiB, fresh) + 2 | 00012741 | 00012732 SST | [==================================================================================================] | 0010e26242e36d1c-fff49d0b9a706a34 (1 MiB, fresh) +Time 2026-03-04T20:42:46.7009002Z +Commit 00012747 77 keys in 6ms 757µs 100ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012745 | 00012744 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012746 | 00012743 SST | [===========================================================================================] | 04f26711b79866a2-ef311d8b965c9633 (0 MiB, fresh) + 1 | 00012747 | 00012742 SST | [=================================================================================================] | 04f26711b79866a2-ff1ad0c236dc7dd8 (0 MiB, fresh) +Time 2026-03-04T20:43:00.8596784Z +Commit 00012757 5162 keys in 9ms 35µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012753 | 00012750 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 4 | 00012754 | 00012752 SST | [==================================================================================================] | 0036628d13e74214-ffb4cd0b61f73c51 (0 MiB, fresh) + 1 | 00012755 | 00012749 SST | [==================================================================================================] | 0010e26242e36d1c-fff49d0b9a706a34 (1 MiB, fresh) + 2 | 00012756 | 00012748 SST | [==================================================================================================] | 0010e26242e36d1c-fff49d0b9a706a34 (1 MiB, fresh) + 3 | 00012757 | 00012751 SST | [================================================================================================] | 02d68f8e11fb478b-fb225727832f69dd (0 MiB, fresh) +Time 2026-03-04T20:43:20.906779Z +Commit 00012767 169 keys in 14ms 251µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012763 | 00012760 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012764 | 00012759 SST | [=================================================================================================] | 02c556cf9fcf1df3-fe3fca1b08bae20e (1 MiB, fresh) + 1 | 00012765 | 00012758 SST | [=================================================================================================] | 02c556cf9fcf1df3-ffd2128295feedf0 (0 MiB, fresh) + 3 | 00012766 | 00012761 SST | [======================================] | 514690c228630457-b454de8567352fe5 (0 MiB, fresh) + 4 | 00012767 | 00012762 SST | [==============================================] | 13d398358060f8c7-8c7700b172c3bf80 (0 MiB, fresh) +Time 2026-03-04T20:44:16.0738157Z +Commit 00012773 4 keys in 15ms 850µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012771 | 00012770 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012772 | 00012768 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012773 | 00012769 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:44:37.1770605Z +Commit 00012779 11 keys in 8ms 598µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012777 | 00012776 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012778 | 00012774 SST | [=========================================] | 5bad691dd7138f62-c5c647feca328c20 (0 MiB, fresh) + 2 | 00012779 | 00012775 SST | [=====================================================================] | 134ccdd053f278f4-c5c647feca328c20 (0 MiB, fresh) +Time 2026-03-04T20:44:44.2810241Z +Commit 00012785 2457 keys in 9ms 175µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012783 | 00012782 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012784 | 00012781 SST | [==================================================================================================] | 0013a9e4f34335e5-fff187cd7cce0e80 (1 MiB, fresh) + 2 | 00012785 | 00012780 SST | [==================================================================================================] | 015aa7af8c46be57-ff1373558b528b52 (0 MiB, fresh) + 2 | 00012789 | Compaction: + 2 | 00012789 | MERGE (248548 keys): + 2 | 00012789 | 00001651 INPUT | [=================================================] | 7ff108510ee56eca-ffffc8b261a62b07 + 2 | 00012789 | 00001649 INPUT | [==================================================================================================] | 00026f12745ee1f1-fffaa1a23510a6ba + 2 | 00012789 | 00001654 INPUT | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa + 2 | 00012789 | 00001664 INPUT | [=================================================================================================] | 02c9012898b65c4f-ff1373558b528b52 + 2 | 00012789 | 00001670 INPUT | [=================================================================================================] | 015aa7af8c46be57-fcc735cb29041d9f + 2 | 00012789 | 00001677 INPUT | [==============================================================================] | 2392d9b79cc70f29-ec1771f42316bc84 + 2 | 00012789 | 00001683 INPUT | [================================] | 79b6380d85879e39-cd73069ab87dfc3d + 2 | 00012789 | 00001688 INPUT | [==================================================================================================] | 000c669cf86b70ac-ffb660b4175c2638 + 2 | 00012789 | 00001699 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00001705 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00001723 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00001729 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010867 INPUT | [=================================================] | 00005b386d02964f-801567ccb654970a + 2 | 00012789 | 00010868 INPUT | [================================================] | 8015e411e3bd4d1f-ffffec37b1df3f15 + 2 | 00012789 | 00003235 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003241 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003247 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003253 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003258 INPUT | [=================================================================================================] | 02961778731c4987-ff1373558b528b52 + 2 | 00012789 | 00003264 INPUT | [=================================================================================================] | 015aa7af8c46be57-fcc735cb29041d9f + 2 | 00012789 | 00003271 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003277 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003282 INPUT | [===========================================================================================] | 0c409babb15ba5ad-f817792a9634ebf6 + 2 | 00012789 | 00003289 INPUT | [==================================================================================================] | 00eac999f8125084-fdfe83409d6b0c99 + 2 | 00012789 | 00003295 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003301 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003307 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003313 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003319 INPUT | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00003325 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003331 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003337 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003343 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003349 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003355 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003361 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003367 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003373 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003379 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003385 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003391 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003397 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003403 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003409 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003415 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003421 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003427 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003433 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003439 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003445 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003451 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003457 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003463 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003469 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003475 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003481 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003487 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003493 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003499 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003505 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003511 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003517 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003523 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003529 INPUT | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00012787 OUTPUT | [=================================================] | 00005b386d02964f-80255ad41929124d (cold) + 2 | 00012789 | 00012788 OUTPUT | [================================================] | 8025e3f67973f26b-ffffec37b1df3f15 (cold) + 2 | 00012789 | 00012786 OUTPUT | [==================================================================================================] | 0001818d53d8f469-ffffa7d241371e0c (warm) + 2 | 00012789 | 00003535 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003541 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003547 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003553 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003559 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003565 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003571 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003577 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003583 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003589 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003595 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003601 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003607 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003613 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003619 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003625 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003631 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003637 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003643 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003649 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003655 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003661 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003667 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003673 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003679 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003685 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003691 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003697 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003703 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003709 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003715 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003721 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003727 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003733 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003739 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003745 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003751 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003757 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003763 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003769 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003775 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003781 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003787 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003793 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003799 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003805 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003811 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003817 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003823 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003829 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003835 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003841 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003847 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003853 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003859 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003865 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003871 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003877 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003883 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003889 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003895 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003901 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003907 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003913 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003919 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003925 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003931 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003937 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003943 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003949 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003955 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003961 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003967 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003973 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003979 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003985 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003991 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00003997 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004003 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004009 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004015 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004021 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004027 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004033 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004039 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004045 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004051 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004057 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004063 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004069 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004075 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004081 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004087 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004093 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004099 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004105 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004111 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004117 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004123 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004129 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004135 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004141 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004147 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004153 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004159 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004165 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004171 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00004177 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004183 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004189 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004195 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004201 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004207 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004213 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004219 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004225 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004231 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004237 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004243 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004249 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004255 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004261 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004267 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004273 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004279 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004285 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004291 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004297 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00004303 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004309 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004315 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004321 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004327 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004333 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004339 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004345 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004351 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004357 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004363 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004369 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004375 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004381 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004387 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004393 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004399 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004405 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004411 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004417 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004423 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00004429 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004435 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004441 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004447 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004453 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004459 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004465 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004471 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004477 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004483 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004489 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004495 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004501 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004507 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004513 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004519 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004525 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004531 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004537 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004543 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004549 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004555 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004561 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00004567 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004573 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004579 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004585 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004591 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004597 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004603 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004609 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004615 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004621 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004627 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004633 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004639 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004645 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004651 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004657 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004663 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004669 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004675 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004681 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004687 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004693 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004699 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004705 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004711 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004717 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004723 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004729 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004735 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004741 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004747 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004753 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004759 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004765 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004771 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004777 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004783 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004789 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004795 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004801 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004807 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004813 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004819 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00004825 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004831 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004837 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004843 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004849 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004855 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004861 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004867 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004873 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004879 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004885 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004891 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004897 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004903 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004909 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004915 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004921 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004927 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004933 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004939 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004945 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004951 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004957 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004963 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004969 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004975 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004981 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004987 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004993 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00004999 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005005 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005011 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005017 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005023 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005029 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005035 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005041 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005047 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005053 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005059 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005065 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005071 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005077 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005083 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005089 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005095 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005101 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005107 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005113 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005119 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005125 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005131 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005137 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005143 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005149 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005155 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005161 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005167 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005173 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005179 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005185 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005191 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005197 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005203 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005209 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005215 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005221 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005227 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005233 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005239 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005245 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005251 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005257 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005263 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005269 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005275 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005281 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005287 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005293 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005299 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005305 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005311 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005317 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005323 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005329 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005335 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005341 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005347 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005353 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005359 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005365 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00005371 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005377 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005383 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005389 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005395 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005401 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005407 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005413 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005419 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005425 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005431 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005437 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005443 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005449 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005455 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005461 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005467 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005473 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005479 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005485 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005491 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005497 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005503 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005508 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005515 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005521 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005527 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005533 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005538 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005544 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005550 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005556 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005562 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005568 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005575 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005581 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005586 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005592 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005599 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005605 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005611 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005617 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005622 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005628 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005635 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005641 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005647 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005652 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005658 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005664 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005670 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005677 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005682 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005688 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005694 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005700 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005707 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005712 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005718 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005724 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005731 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005736 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005743 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005748 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005754 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005761 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005767 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005773 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005778 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005785 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005790 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005797 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005803 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005808 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005815 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005820 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005826 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005832 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005839 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005845 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005850 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005857 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005863 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005868 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005874 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005881 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005886 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005893 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005899 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005905 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005910 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005917 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005923 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005929 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005935 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005941 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005946 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005953 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005959 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005965 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005971 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005977 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005983 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005988 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00005995 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006001 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006007 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006012 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006019 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006024 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006030 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006036 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006042 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006048 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006055 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006060 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006067 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006072 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006079 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006084 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006090 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006097 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006102 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006108 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006114 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006121 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006127 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006133 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006139 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006144 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006151 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006156 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006162 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006168 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006175 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006181 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006187 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006193 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006199 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006205 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006211 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006217 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006223 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006229 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006235 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006241 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006247 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006253 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006259 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006265 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006271 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006277 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006283 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006289 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006295 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006301 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006307 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006313 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006319 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006325 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006331 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006337 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006343 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006349 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006355 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006361 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006367 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006373 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006379 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006385 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006391 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006397 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006403 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006409 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006415 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006421 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006427 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006433 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006439 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006445 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006451 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006457 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006463 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006469 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006475 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00006481 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006487 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006493 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006499 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006505 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006511 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006517 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006523 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006529 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006535 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006541 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006547 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006553 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006559 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006565 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006571 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006577 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006583 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006589 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006595 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006601 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006607 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00006613 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006619 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006625 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006631 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006637 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006643 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006649 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006655 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006661 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006667 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006673 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006679 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006685 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006691 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006697 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006703 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006709 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006715 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006721 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006727 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006733 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006739 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006745 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006751 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006757 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006763 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006769 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006775 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006781 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006787 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00006793 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006799 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006805 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006811 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006817 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006823 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006829 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006835 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006841 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006847 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006853 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006859 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006865 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006871 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006877 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006883 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006889 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006895 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006901 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006907 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006913 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006919 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006925 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00006931 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006937 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006943 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006949 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006955 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006961 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006967 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006973 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006979 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006985 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006991 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00006997 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007003 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007009 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007015 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007021 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007027 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007033 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007039 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007045 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007051 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007057 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007063 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007069 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007075 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007081 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007087 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007093 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007099 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007105 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007111 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007117 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007123 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007129 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007135 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007141 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007147 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007153 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007159 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007165 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007171 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007177 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007183 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00007189 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007195 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007201 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007207 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007213 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007219 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007225 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007231 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007237 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007243 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007249 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007255 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007261 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007267 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007273 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007279 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007285 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007291 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007297 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007303 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007309 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007315 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007321 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007327 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007333 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007339 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007345 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007351 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007357 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007363 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007369 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007375 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007381 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007387 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007393 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007399 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007405 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007411 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007417 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007423 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007429 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007435 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007441 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007447 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007453 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007459 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007465 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007471 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007477 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007483 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007489 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007495 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007501 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007507 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007513 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007519 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007525 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007531 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007537 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007543 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007549 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007555 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007561 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007567 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007573 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007579 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007585 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007591 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007597 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007603 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007609 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007615 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007621 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007627 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007633 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007639 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007645 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007651 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007657 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007663 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007669 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007675 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007681 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007687 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007693 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007699 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007705 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007711 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007717 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007723 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007729 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007735 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007741 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007747 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007753 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007759 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007765 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007771 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007777 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007782 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00007789 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007795 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007801 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007807 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007813 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007819 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007825 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007831 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007837 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007843 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007849 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007855 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007861 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007867 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007873 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007879 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007885 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007891 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007897 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007903 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007909 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007915 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007921 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007927 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007933 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007939 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007945 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007951 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007957 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007963 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007969 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007975 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007981 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007987 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007993 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00007999 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008005 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008011 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008017 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008023 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008029 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008035 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008041 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008047 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008053 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008059 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008065 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008071 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008077 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008083 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008089 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008095 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008101 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008107 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008113 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008119 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008125 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008131 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008137 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008143 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008149 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008155 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008161 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008167 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008173 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008179 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008185 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008191 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008197 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008203 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008209 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008215 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008221 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008227 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008233 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008239 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008245 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008251 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008257 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008263 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008269 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008275 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008281 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008287 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008293 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008299 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008305 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008311 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008317 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008323 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008329 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008335 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008341 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008347 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008353 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008359 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008365 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008371 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008377 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008383 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008389 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008395 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008401 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008407 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008413 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008419 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008425 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008431 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008437 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008443 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008449 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008455 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008461 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008467 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008473 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008479 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008485 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008491 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008497 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008503 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008509 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008515 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008521 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008527 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008533 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008539 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008545 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008551 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008557 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008563 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008569 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008575 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008581 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008587 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008593 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008599 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008605 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008611 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008617 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008623 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008629 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008635 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008641 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008647 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008653 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008659 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008665 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008671 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008677 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008683 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008689 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008695 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008701 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008707 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008713 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008719 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008725 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008731 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008737 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008743 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008749 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008755 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008761 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008767 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008773 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008779 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008785 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008791 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008797 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008803 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008809 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008815 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008821 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008826 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008833 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008839 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008845 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008851 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008857 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00008863 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008869 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008875 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008881 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008887 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008893 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008899 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008905 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008911 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008917 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008923 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008929 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008935 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008941 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008946 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008953 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008959 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008965 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008971 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008977 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008983 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008989 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00008995 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009001 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009007 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009013 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009019 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00009025 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009031 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009037 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009043 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009049 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009055 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009061 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009067 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009073 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009079 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009085 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009091 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009097 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009103 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009109 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009115 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009121 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009127 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009133 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009139 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009145 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00009151 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009157 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009163 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009169 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009175 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009181 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009187 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009193 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009199 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009205 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009211 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009216 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009223 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009229 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009235 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009241 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009247 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009253 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009259 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009265 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009271 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009277 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009283 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009289 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009295 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009301 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009307 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009313 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009319 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009325 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009331 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009337 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009343 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009349 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009355 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009361 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009367 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009373 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009379 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009385 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009391 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009397 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009403 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009409 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00009415 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009421 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009427 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009433 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009439 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009445 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009451 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009457 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009463 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009469 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009475 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009481 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009487 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009493 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009499 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009505 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009511 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009517 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009523 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009529 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009535 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009541 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009547 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009553 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009559 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009565 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009571 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009577 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009583 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009589 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009595 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009601 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009607 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009613 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009619 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009625 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009631 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009637 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009643 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009649 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009655 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009661 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009667 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009673 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009679 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009685 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009691 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009697 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009703 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009709 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009715 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009721 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009727 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009733 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009739 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009745 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009751 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009757 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009763 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009769 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009775 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009781 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009787 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009793 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009799 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009805 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009811 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009817 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009823 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009828 MOVED | [==================================================================================================] | 00eac999f8125084-ffefd27f606af5b3 + 2 | 00012789 | 00009835 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009841 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009847 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009853 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009859 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009864 MOVED | [=========================] | 3ffdfb3b7d50fcf1-817f8b0b9ddb52f1 + 2 | 00012789 | 00009871 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009876 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009883 MOVED | [==================================================================================================] | 009d9e83167ab7a4-ffe64bbd36bacfc8 + 2 | 00012789 | 00009889 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009894 MOVED | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa + 2 | 00012789 | 00009905 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009911 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009917 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009923 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009929 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009935 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009941 MOVED | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 + 2 | 00012789 | 00009947 MOVED | [=================================================================================================] | 01430d85a6858e94-fca5d854501bd07e + 2 | 00012789 | 00009957 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009963 MOVED | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 + 2 | 00012789 | 00009969 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009975 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009980 MOVED | [=================================================================================================] | 04bd855a358552ce-fddd118e66b881d9 + 2 | 00012789 | 00009991 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00009997 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010002 MOVED | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa + 2 | 00012789 | 00010013 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010019 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010025 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010031 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010037 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010043 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010049 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010055 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010061 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010067 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010073 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010078 MOVED | [==================================================================================================] | 0016e92bcf93ce86-ffe64bbd36bacfc8 + 2 | 00012789 | 00010089 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010095 MOVED | [=================================================================================================] | 01714ba48537b807-fb8da8d92120628d + 2 | 00012789 | 00010101 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010106 MOVED | [==================================================================================================] | 000d168784b3a904-fffb6b73b51e00c8 + 2 | 00012789 | 00010117 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010123 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010129 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010135 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010141 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010147 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010153 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010159 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010165 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010171 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010177 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010183 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010189 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010195 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010201 MOVED | [] | 3ffdfb3b7d50fcf1-425abc20de57cb32 + 2 | 00012789 | 00010207 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010213 MOVED | [=========================================================================================] | 0776b11cacf44987-ec8e15b87caffede + 2 | 00012789 | 00010219 MOVED | [=======================] | 3ffdfb3b7d50fcf1-7c65b158fbf615ea + 2 | 00012789 | 00010225 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010231 MOVED | [================================] | 0f7802ac2d126b22-641cb560d16efefc + 2 | 00012789 | 00010237 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010243 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010249 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010255 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010261 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010267 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010273 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010279 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010285 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010291 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010297 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010303 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010309 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010315 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010321 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010327 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010333 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010339 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010345 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010351 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010357 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010363 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010369 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010375 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010381 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010387 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010393 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010399 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010405 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010411 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010417 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010423 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010429 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010435 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010441 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010447 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010453 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010459 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010465 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010471 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010477 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010483 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010489 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010495 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010500 MOVED | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 + 2 | 00012789 | 00010507 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010513 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010519 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010525 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010531 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010537 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010543 MOVED | [=================================================================================================] | 034718c7d73e6628-ffdcd5d2a780a9d9 + 2 | 00012789 | 00010549 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010555 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010561 MOVED | [==================================================================================================] | 000d168784b3a904-fffb6b73b51e00c8 + 2 | 00012789 | 00010571 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010577 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010583 MOVED | [==================================================================================================] | 01e217d129c5cd8b-fe1989ac249cc225 + 2 | 00012789 | 00010593 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010599 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010605 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010611 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010617 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010623 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010629 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010635 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010640 MOVED | [=============================] | 1d93b4b13194ee4d-6b595c5b5918d931 + 2 | 00012789 | 00010647 MOVED | [==============================================================================================] | 0540a33d954a3cc4-f90102e9eb184788 + 2 | 00012789 | 00010653 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010659 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010665 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010671 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010677 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010682 MOVED | [==================================================================================================] | 0173d211532ffc6f-ff1373558b528b52 + 2 | 00012789 | 00010693 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010699 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010705 MOVED | [==============================================================================================] | 0540a33d954a3cc4-f90102e9eb184788 + 2 | 00012789 | 00010711 MOVED | [=======================================================================================] | 113007308f4c6cc1-f0b02203e6df30d5 + 2 | 00012789 | 00010717 MOVED | [=============================] | 1d93b4b13194ee4d-6b595c5b5918d931 + 2 | 00012789 | 00010723 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010729 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010735 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010741 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010747 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010753 MOVED | [===============================================================================================] | 0540a33d954a3cc4-fd5e08588ea41ffb + 2 | 00012789 | 00010763 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010769 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010775 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010781 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010787 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010793 MOVED | [===============================================================================================] | 0540a33d954a3cc4-fc4b4bb7700ec2c5 + 2 | 00012789 | 00010799 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010805 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010811 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010817 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010823 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010829 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010835 MOVED | [===============================================================================================] | 0540a33d954a3cc4-fd5e08588ea41ffb + 2 | 00012789 | 00010841 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010846 MOVED | [==================================================================================================] | 001b970b1716573b-fff8031d5d519426 + 2 | 00012789 | 00010862 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010872 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010879 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010885 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010891 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010897 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010903 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010909 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010915 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010921 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010927 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010933 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010939 MOVED | [================================================================================================] | 06514fcd9799f5f0-ff80d0acee462ace + 2 | 00012789 | 00010949 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010955 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010961 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010967 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010973 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010979 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010985 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010991 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00010997 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011003 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011009 MOVED | [================================================================================================] | 06514fcd9799f5f0-ff80d0acee462ace + 2 | 00012789 | 00011015 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011021 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011027 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011033 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011039 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011045 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011051 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011057 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011063 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011069 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011075 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011081 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011087 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011093 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011099 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011105 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011110 MOVED | [==================================================================================================] | 0016e92bcf93ce86-fffb6b73b51e00c8 + 2 | 00012789 | 00011121 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011127 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011133 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011139 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011145 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011151 MOVED | [=========================================================================================] | 11547c6b7e6e0706-f7807c5b015c1c78 + 2 | 00012789 | 00011157 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011163 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011169 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011175 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011181 MOVED | [==============================================================================================] | 02c9012898b65c4f-f738cc1b6239995a + 2 | 00012789 | 00011187 MOVED | [==================================================================================================] | 008e2268e4976b57-fe3f5d9e690c5e3e + 2 | 00012789 | 00011193 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011199 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011205 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011211 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011217 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011223 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011228 MOVED | [=================================================================================================] | 021abe685be0281d-fb6281b366bc0796 + 2 | 00012789 | 00011235 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00011241 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011247 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011253 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011259 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011265 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011271 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011277 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011283 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011289 MOVED | [=======================================================================================] | 0e2038f8a97a7bd7-ee3ac3dc997d7a22 + 2 | 00012789 | 00011295 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011301 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011307 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011313 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011319 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011325 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011331 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011337 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011343 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011349 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011355 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011361 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011367 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011373 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011379 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011385 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011391 MOVED | [================================================================================================] | 02af86c9b66d4103-fd5617d9c0688240 + 2 | 00012789 | 00011396 MOVED | [==================================================================================================] | 004ee479cde650df-fffe582586cd7968 + 2 | 00012789 | 00011403 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011409 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011415 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011420 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00011427 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011433 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011438 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011445 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011451 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011457 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011463 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011469 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011475 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011480 MOVED | [==================================================================================================] | 000358d0de9d25d6-fffb6b73b51e00c8 + 2 | 00012789 | 00011491 MOVED | [=====================================================================================] | 0776b11cacf44987-e1abc507acacb2a1 + 2 | 00012789 | 00011497 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011503 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011509 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011515 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011521 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011527 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011533 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00011539 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011545 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011551 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011557 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011563 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011569 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011575 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011581 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011587 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011593 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011599 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011605 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011611 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011617 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011623 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011629 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011635 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011641 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011647 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011653 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011659 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011665 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011671 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011677 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011683 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011689 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011695 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011701 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011707 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011713 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011719 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011725 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011731 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011737 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011743 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011749 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011755 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011761 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011766 MOVED | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 + 2 | 00012789 | 00011773 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011779 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011785 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011791 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011797 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011803 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011809 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011815 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011821 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011827 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011833 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011839 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011845 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011851 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011857 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011863 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011869 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011875 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011881 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011887 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011893 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011899 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011905 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011911 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011917 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011923 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011929 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011935 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011941 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011947 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011953 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011959 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00011965 MOVED | [=========================================================================================] | 0930abff0714682b-ef311d8b965c9633 + 2 | 00012789 | 00011970 MOVED | [==================================================================================================] | 0001818d53d8f469-fff6939a2e762d81 + 2 | 00012789 | 00011980 MOVED | [==================================================================================================] | 0004de5e3469c610-fffb6b73b51e00c8 + 2 | 00012789 | 00011990 MOVED | [==================================================================================================] | 00defbda2e9f12fe-ff70c23270efc9e5 + 2 | 00012789 | 00012001 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012006 MOVED | [==================================================================================================] | 000b29f92b854456-fffb6b73b51e00c8 + 2 | 00012789 | 00012016 MOVED | [==================================================================================================] | 0006a275dd116518-fffb6b73b51e00c8 + 2 | 00012789 | 00012026 MOVED | [=================================================================================================] | 031f2c1b4e274ca9-ff1763b6f45cd288 + 2 | 00012789 | 00012037 MOVED | [===============================================================================================] | 056785432909c60c-fbf832f0e2d0d41d + 2 | 00012789 | 00012043 MOVED | [================================================================================================] | 076af0f6f588db8b-fd8767054879a7cc + 2 | 00012789 | 00012053 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00012059 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00012065 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00012071 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00012076 MOVED | [==================================================================================================] | 013cab7ccfe5c096-ff1373558b528b52 + 2 | 00012789 | 00012083 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012089 MOVED | [=========================================================================================] | 0930abff0714682b-ef311d8b965c9633 + 2 | 00012789 | 00012095 MOVED | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c + 2 | 00012789 | 00012105 MOVED | O | 7c65b158fbf615ea-7c65b158fbf615ea + 2 | 00012789 | 00012111 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012117 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012123 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012129 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012135 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012140 MOVED | [=================================================================================================] | 00573bf255c0b47d-fc4812d086a4777f + 2 | 00012789 | 00012151 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012157 MOVED | [==================================================================================================] | 00eac999f8125084-fdfe83409d6b0c99 + 2 | 00012789 | 00012163 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012169 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012175 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012181 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012187 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012192 MOVED | [==================================================================================================] | 000d168784b3a904-fff068465974022c + 2 | 00012789 | 00012203 MOVED | O | 7c65b158fbf615ea-7c65b158fbf615ea + 2 | 00012789 | 00012209 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012214 MOVED | [==================================================================================================] | 015aa7af8c46be57-ff1373558b528b52 + 2 | 00012789 | 00012220 MOVED | [==========================] | 4013de7fd06bfa2d-857838dfbc125d11 + 2 | 00012789 | 00012227 MOVED | [==========================================================================================] | 02c9012898b65c4f-ed83130d571e8872 + 2 | 00012789 | 00012232 MOVED | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c + 2 | 00012789 | 00012239 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012245 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012251 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012257 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012263 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012269 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012275 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012281 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012287 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012293 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012299 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012305 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012311 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012317 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012323 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012329 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012335 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012340 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012347 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012353 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012359 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012365 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012371 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012377 MOVED | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 + 2 | 00012789 | 00012383 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012389 MOVED | [==============================================================================================] | 08ddd8f83c20993f-fd19e239b488e368 + 2 | 00012789 | 00012398 MOVED | [============================================================================================] | 09b7999c944d458c-f5d5f2d6bd5d47cb + 2 | 00012789 | 00012408 MOVED | [=================================================] | 481b0a84b63fa8dc-c9521634973f5a7e + 2 | 00012789 | 00012415 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012421 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012427 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012433 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012439 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012445 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012451 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012457 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012463 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012469 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012475 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012481 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012487 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012493 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012499 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012505 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012511 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012517 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012523 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012529 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012535 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012541 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012547 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012553 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012559 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012565 MOVED | O | a39cd83271c2325b-a39cd83271c2325b + 2 | 00012789 | 00012570 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012577 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012583 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012589 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012595 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012601 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012607 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012612 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012619 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012625 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012631 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012636 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012643 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012649 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012655 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012661 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012667 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012673 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012678 MOVED | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa + 2 | 00012789 | 00012689 MOVED | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa + 2 | 00012789 | 00012698 MOVED | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa + 2 | 00012789 | 00012709 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012715 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012721 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012727 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012732 MOVED | [==================================================================================================] | 0010e26242e36d1c-fff49d0b9a706a34 + 2 | 00012789 | 00012743 MOVED | [===========================================================================================] | 04f26711b79866a2-ef311d8b965c9633 + 2 | 00012789 | 00012748 MOVED | [==================================================================================================] | 0010e26242e36d1c-fff49d0b9a706a34 + 2 | 00012789 | 00012759 MOVED | [=================================================================================================] | 02c556cf9fcf1df3-fe3fca1b08bae20e + 2 | 00012789 | 00012769 MOVED | O | b294a4237ccef201-b294a4237ccef201 + 2 | 00012789 | 00012775 MOVED | [=====================================================================] | 134ccdd053f278f4-c5c647feca328c20 + 2 | 00012789 | 00012780 MOVED | [==================================================================================================] | 015aa7af8c46be57-ff1373558b528b52 +Time 2026-03-04T20:44:45.1047505Z +Commit 00012790 248548 keys in 106ms 770µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 2 | 00012789 | 00012787 SST | [=================================================] | 00005b386d02964f-80255ad41929124d (63 MiB, cold) + 2 | 00012789 | 00012788 SST | [================================================] | 8025e3f67973f26b-ffffec37b1df3f15 (59 MiB, cold) + 2 | 00012789 | 00012786 SST | [==================================================================================================] | 0001818d53d8f469-ffffa7d241371e0c (50 MiB, warm) + 2 | 00012789 | 00003535 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003541 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003547 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003553 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003559 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003565 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003571 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003577 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003583 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003589 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003595 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003601 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003607 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003613 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003619 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003625 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003631 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003637 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003643 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003649 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003655 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003661 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003667 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003673 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003679 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003685 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003691 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003697 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003703 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003709 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003715 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003721 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003727 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003733 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003739 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003745 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003751 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003757 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003763 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003769 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003775 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003781 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003787 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003793 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003799 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003805 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003811 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003817 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003823 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003829 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003835 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003841 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003847 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003853 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003859 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003865 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003871 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003877 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003883 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003889 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003895 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003901 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003907 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003913 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003919 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003925 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003931 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003937 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003943 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003949 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003955 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003961 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003967 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003973 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003979 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003985 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003991 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00003997 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004003 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004009 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004015 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004021 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004027 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004033 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004039 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004045 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004051 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004057 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004063 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004069 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004075 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004081 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004087 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004093 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004099 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004105 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004111 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004117 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004123 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004129 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004135 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004141 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004147 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004153 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004159 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004165 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004171 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00004177 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004183 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004189 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004195 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004201 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004207 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004213 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004219 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004225 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004231 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004237 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004243 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004249 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004255 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004261 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004267 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004273 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004279 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004285 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004291 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004297 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00004303 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004309 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004315 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004321 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004327 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004333 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004339 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004345 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004351 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004357 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004363 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004369 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004375 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004381 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004387 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004393 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004399 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004405 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004411 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004417 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004423 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00004429 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004435 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004441 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004447 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004453 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004459 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004465 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004471 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004477 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004483 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004489 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004495 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004501 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004507 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004513 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004519 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004525 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004531 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004537 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004543 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004549 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004555 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004561 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00004567 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004573 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004579 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004585 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004591 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004597 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004603 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004609 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004615 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004621 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004627 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004633 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004639 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004645 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004651 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004657 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004663 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004669 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004675 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004681 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004687 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004693 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004699 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004705 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004711 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004717 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004723 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004729 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004735 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004741 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004747 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004753 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004759 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004765 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004771 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004777 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004783 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004789 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004795 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004801 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004807 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004813 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004819 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00004825 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004831 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004837 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004843 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004849 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004855 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004861 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004867 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004873 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004879 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004885 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004891 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004897 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004903 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004909 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004915 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004921 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004927 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004933 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004939 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004945 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004951 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004957 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004963 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004969 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004975 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004981 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004987 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004993 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00004999 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005005 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005011 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005017 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005023 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005029 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005035 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005041 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005047 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005053 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005059 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005065 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005071 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005077 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005083 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005089 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005095 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005101 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005107 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005113 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005119 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005125 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005131 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005137 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005143 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005149 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005155 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005161 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005167 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005173 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005179 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005185 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005191 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005197 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005203 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005209 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005215 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005221 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005227 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005233 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005239 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005245 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005251 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005257 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005263 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005269 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005275 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005281 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005287 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005293 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005299 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005305 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005311 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005317 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005323 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005329 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005335 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005341 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005347 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005353 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005359 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005365 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00005371 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005377 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005383 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005389 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005395 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005401 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005407 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005413 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005419 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005425 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005431 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005437 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005443 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005449 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005455 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005461 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005467 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005473 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005479 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005485 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005491 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005497 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005503 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005508 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005515 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005521 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005527 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005533 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005538 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005544 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005550 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005556 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005562 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005568 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005575 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005581 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005586 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005592 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005599 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005605 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005611 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005617 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005622 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005628 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005635 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005641 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005647 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005652 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005658 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005664 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005670 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005677 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005682 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005688 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005694 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005700 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005707 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005712 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005718 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005724 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005731 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005736 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005743 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005748 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005754 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005761 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005767 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005773 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005778 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005785 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005790 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005797 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005803 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005808 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005815 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005820 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005826 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005832 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005839 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005845 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005850 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005857 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005863 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005868 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005874 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005881 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005886 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005893 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005899 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005905 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005910 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005917 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005923 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005929 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005935 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005941 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005946 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005953 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005959 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005965 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005971 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005977 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005983 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005988 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00005995 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006001 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006007 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006012 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006019 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006024 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006030 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006036 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006042 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006048 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006055 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006060 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006067 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006072 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006079 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006084 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006090 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006097 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006102 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006108 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006114 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006121 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006127 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006133 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006139 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006144 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006151 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006156 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006162 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006168 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006175 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006181 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006187 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006193 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006199 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006205 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006211 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006217 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006223 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006229 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006235 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006241 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006247 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006253 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006259 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006265 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006271 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006277 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006283 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006289 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006295 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006301 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006307 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006313 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006319 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006325 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006331 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006337 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006343 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006349 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006355 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006361 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006367 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006373 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006379 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006385 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006391 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006397 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006403 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006409 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006415 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006421 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006427 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006433 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006439 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006445 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006451 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006457 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006463 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006469 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006475 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00006481 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006487 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006493 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006499 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006505 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006511 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006517 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006523 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006529 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006535 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006541 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006547 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006553 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006559 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006565 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006571 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006577 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006583 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006589 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006595 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006601 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006607 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00006613 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006619 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006625 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006631 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006637 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006643 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006649 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006655 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006661 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006667 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006673 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006679 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006685 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006691 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006697 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006703 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006709 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006715 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006721 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006727 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006733 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006739 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006745 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006751 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006757 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006763 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006769 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006775 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006781 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006787 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00006793 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006799 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006805 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006811 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006817 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006823 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006829 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006835 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006841 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006847 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006853 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006859 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006865 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006871 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006877 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006883 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006889 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006895 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006901 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006907 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006913 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006919 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006925 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00006931 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006937 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006943 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006949 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006955 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006961 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006967 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006973 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006979 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006985 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006991 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00006997 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007003 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007009 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007015 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007021 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007027 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007033 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007039 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007045 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007051 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007057 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007063 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007069 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007075 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007081 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007087 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007093 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007099 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007105 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007111 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007117 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007123 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007129 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007135 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007141 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007147 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007153 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007159 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007165 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007171 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007177 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007183 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00007189 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007195 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007201 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007207 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007213 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007219 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007225 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007231 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007237 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007243 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007249 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007255 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007261 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007267 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007273 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007279 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007285 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007291 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007297 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007303 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007309 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007315 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007321 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007327 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007333 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007339 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007345 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007351 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007357 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007363 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007369 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007375 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007381 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007387 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007393 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007399 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007405 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007411 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007417 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007423 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007429 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007435 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007441 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007447 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007453 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007459 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007465 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007471 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007477 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007483 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007489 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007495 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007501 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007507 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007513 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007519 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007525 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007531 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007537 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007543 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007549 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007555 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007561 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007567 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007573 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007579 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007585 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007591 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007597 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007603 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007609 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007615 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007621 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007627 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007633 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007639 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007645 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007651 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007657 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007663 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007669 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007675 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007681 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007687 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007693 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007699 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007705 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007711 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007717 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007723 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007729 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007735 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007741 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007747 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007753 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007759 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007765 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007771 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007777 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007782 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00007789 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007795 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007801 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007807 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007813 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007819 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007825 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007831 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007837 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007843 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007849 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007855 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007861 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007867 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007873 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007879 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007885 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007891 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007897 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007903 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007909 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007915 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007921 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007927 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007933 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007939 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007945 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007951 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007957 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007963 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007969 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007975 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007981 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007987 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007993 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00007999 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008005 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008011 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008017 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008023 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008029 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008035 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008041 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008047 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008053 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008059 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008065 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008071 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008077 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008083 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008089 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008095 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008101 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008107 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008113 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008119 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008125 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008131 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008137 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008143 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008149 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008155 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008161 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008167 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008173 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008179 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008185 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008191 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008197 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008203 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008209 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008215 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008221 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008227 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008233 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008239 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008245 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008251 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008257 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008263 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008269 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008275 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008281 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008287 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008293 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008299 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008305 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008311 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008317 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008323 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008329 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008335 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008341 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008347 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008353 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008359 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008365 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008371 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008377 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008383 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008389 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008395 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008401 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008407 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008413 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008419 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008425 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008431 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008437 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008443 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008449 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008455 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008461 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008467 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008473 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008479 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008485 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008491 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008497 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008503 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008509 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008515 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008521 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008527 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008533 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008539 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008545 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008551 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008557 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008563 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008569 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008575 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008581 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008587 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008593 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008599 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008605 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008611 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008617 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008623 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008629 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008635 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008641 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008647 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008653 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008659 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008665 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008671 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008677 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008683 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008689 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008695 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008701 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008707 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008713 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008719 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008725 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008731 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008737 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008743 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008749 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008755 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008761 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008767 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008773 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008779 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008785 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008791 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008797 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008803 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008809 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008815 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008821 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008826 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008833 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008839 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008845 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008851 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008857 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00008863 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008869 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008875 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008881 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008887 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008893 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008899 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008905 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008911 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008917 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008923 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008929 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008935 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008941 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008946 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008953 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008959 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008965 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008971 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008977 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008983 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008989 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00008995 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009001 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009007 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009013 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009019 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00009025 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009031 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009037 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009043 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009049 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009055 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009061 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009067 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009073 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009079 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009085 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009091 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009097 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009103 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009109 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009115 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009121 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009127 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009133 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009139 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009145 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00009151 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009157 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009163 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009169 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009175 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009181 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009187 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009193 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009199 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009205 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009211 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009216 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009223 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009229 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009235 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009241 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009247 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009253 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009259 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009265 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009271 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009277 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009283 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009289 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009295 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009301 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009307 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009313 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009319 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009325 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009331 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009337 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009343 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009349 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009355 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009361 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009367 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009373 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009379 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009385 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009391 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009397 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009403 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009409 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00009415 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009421 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009427 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009433 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009439 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009445 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009451 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009457 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009463 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009469 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009475 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009481 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009487 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009493 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009499 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009505 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009511 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009517 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009523 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009529 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009535 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009541 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009547 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009553 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009559 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009565 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009571 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009577 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009583 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009589 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009595 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009601 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009607 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009613 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009619 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009625 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009631 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009637 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009643 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009649 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009655 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009661 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009667 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009673 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009679 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009685 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009691 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009697 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009703 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009709 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009715 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009721 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009727 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009733 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009739 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009745 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009751 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009757 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009763 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009769 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009775 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009781 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009787 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009793 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009799 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009805 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009811 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009817 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009823 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009828 SST | [==================================================================================================] | 00eac999f8125084-ffefd27f606af5b3 (2 MiB, fresh) + 2 | 00012789 | 00009835 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009841 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009847 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009853 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009859 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009864 SST | [=========================] | 3ffdfb3b7d50fcf1-817f8b0b9ddb52f1 (0 MiB, fresh) + 2 | 00012789 | 00009871 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009876 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009883 SST | [==================================================================================================] | 009d9e83167ab7a4-ffe64bbd36bacfc8 (1 MiB, fresh) + 2 | 00012789 | 00009889 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009894 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (5 MiB, fresh) + 2 | 00012789 | 00009905 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009911 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009917 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009923 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009929 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009935 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009941 SST | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 (1 MiB, fresh) + 2 | 00012789 | 00009947 SST | [=================================================================================================] | 01430d85a6858e94-fca5d854501bd07e (0 MiB, fresh) + 2 | 00012789 | 00009957 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009963 SST | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 (2 MiB, fresh) + 2 | 00012789 | 00009969 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009975 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009980 SST | [=================================================================================================] | 04bd855a358552ce-fddd118e66b881d9 (0 MiB, fresh) + 2 | 00012789 | 00009991 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00009997 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010002 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (7 MiB, fresh) + 2 | 00012789 | 00010013 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010019 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010025 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010031 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010037 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010043 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010049 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010055 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010061 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010067 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010073 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010078 SST | [==================================================================================================] | 0016e92bcf93ce86-ffe64bbd36bacfc8 (3 MiB, fresh) + 2 | 00012789 | 00010089 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010095 SST | [=================================================================================================] | 01714ba48537b807-fb8da8d92120628d (0 MiB, fresh) + 2 | 00012789 | 00010101 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010106 SST | [==================================================================================================] | 000d168784b3a904-fffb6b73b51e00c8 (4 MiB, fresh) + 2 | 00012789 | 00010117 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010123 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010129 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010135 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010141 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010147 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010153 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010159 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010165 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010171 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010177 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010183 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010189 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010195 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010201 SST | [] | 3ffdfb3b7d50fcf1-425abc20de57cb32 (0 MiB, fresh) + 2 | 00012789 | 00010207 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010213 SST | [=========================================================================================] | 0776b11cacf44987-ec8e15b87caffede (0 MiB, fresh) + 2 | 00012789 | 00010219 SST | [=======================] | 3ffdfb3b7d50fcf1-7c65b158fbf615ea (0 MiB, fresh) + 2 | 00012789 | 00010225 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010231 SST | [================================] | 0f7802ac2d126b22-641cb560d16efefc (0 MiB, fresh) + 2 | 00012789 | 00010237 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010243 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010249 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010255 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010261 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010267 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010273 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010279 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010285 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010291 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010297 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010303 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010309 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010315 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010321 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010327 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010333 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010339 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010345 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010351 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010357 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010363 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010369 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010375 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010381 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010387 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010393 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010399 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010405 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010411 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010417 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010423 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010429 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010435 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010441 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010447 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010453 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010459 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010465 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010471 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010477 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010483 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010489 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010495 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010500 SST | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 (2 MiB, fresh) + 2 | 00012789 | 00010507 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010513 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010519 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010525 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010531 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010537 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010543 SST | [=================================================================================================] | 034718c7d73e6628-ffdcd5d2a780a9d9 (0 MiB, fresh) + 2 | 00012789 | 00010549 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010555 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010561 SST | [==================================================================================================] | 000d168784b3a904-fffb6b73b51e00c8 (4 MiB, fresh) + 2 | 00012789 | 00010571 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010577 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010583 SST | [==================================================================================================] | 01e217d129c5cd8b-fe1989ac249cc225 (0 MiB, fresh) + 2 | 00012789 | 00010593 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010599 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010605 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010611 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010617 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010623 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010629 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010635 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010640 SST | [=============================] | 1d93b4b13194ee4d-6b595c5b5918d931 (0 MiB, fresh) + 2 | 00012789 | 00010647 SST | [==============================================================================================] | 0540a33d954a3cc4-f90102e9eb184788 (0 MiB, fresh) + 2 | 00012789 | 00010653 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010659 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010665 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010671 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010677 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010682 SST | [==================================================================================================] | 0173d211532ffc6f-ff1373558b528b52 (1 MiB, fresh) + 2 | 00012789 | 00010693 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010699 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010705 SST | [==============================================================================================] | 0540a33d954a3cc4-f90102e9eb184788 (0 MiB, fresh) + 2 | 00012789 | 00010711 SST | [=======================================================================================] | 113007308f4c6cc1-f0b02203e6df30d5 (0 MiB, fresh) + 2 | 00012789 | 00010717 SST | [=============================] | 1d93b4b13194ee4d-6b595c5b5918d931 (0 MiB, fresh) + 2 | 00012789 | 00010723 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010729 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010735 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010741 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010747 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010753 SST | [===============================================================================================] | 0540a33d954a3cc4-fd5e08588ea41ffb (0 MiB, fresh) + 2 | 00012789 | 00010763 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010769 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010775 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010781 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010787 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010793 SST | [===============================================================================================] | 0540a33d954a3cc4-fc4b4bb7700ec2c5 (0 MiB, fresh) + 2 | 00012789 | 00010799 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010805 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010811 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010817 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010823 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010829 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010835 SST | [===============================================================================================] | 0540a33d954a3cc4-fd5e08588ea41ffb (0 MiB, fresh) + 2 | 00012789 | 00010841 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010846 SST | [==================================================================================================] | 001b970b1716573b-fff8031d5d519426 (1 MiB, fresh) + 2 | 00012789 | 00010862 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010872 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010879 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010885 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010891 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010897 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010903 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010909 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010915 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010921 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010927 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010933 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010939 SST | [================================================================================================] | 06514fcd9799f5f0-ff80d0acee462ace (0 MiB, fresh) + 2 | 00012789 | 00010949 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010955 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010961 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010967 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010973 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010979 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010985 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010991 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00010997 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011003 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011009 SST | [================================================================================================] | 06514fcd9799f5f0-ff80d0acee462ace (0 MiB, fresh) + 2 | 00012789 | 00011015 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011021 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011027 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011033 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011039 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011045 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011051 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011057 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011063 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011069 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011075 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011081 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011087 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011093 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011099 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011105 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011110 SST | [==================================================================================================] | 0016e92bcf93ce86-fffb6b73b51e00c8 (1 MiB, fresh) + 2 | 00012789 | 00011121 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011127 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011133 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011139 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011145 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011151 SST | [=========================================================================================] | 11547c6b7e6e0706-f7807c5b015c1c78 (0 MiB, fresh) + 2 | 00012789 | 00011157 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011163 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011169 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011175 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011181 SST | [==============================================================================================] | 02c9012898b65c4f-f738cc1b6239995a (0 MiB, fresh) + 2 | 00012789 | 00011187 SST | [==================================================================================================] | 008e2268e4976b57-fe3f5d9e690c5e3e (0 MiB, fresh) + 2 | 00012789 | 00011193 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011199 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011205 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011211 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011217 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011223 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011228 SST | [=================================================================================================] | 021abe685be0281d-fb6281b366bc0796 (0 MiB, fresh) + 2 | 00012789 | 00011235 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00011241 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011247 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011253 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011259 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011265 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011271 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011277 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011283 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011289 SST | [=======================================================================================] | 0e2038f8a97a7bd7-ee3ac3dc997d7a22 (0 MiB, fresh) + 2 | 00012789 | 00011295 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011301 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011307 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011313 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011319 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011325 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011331 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011337 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011343 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011349 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011355 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011361 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011367 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011373 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011379 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011385 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011391 SST | [================================================================================================] | 02af86c9b66d4103-fd5617d9c0688240 (0 MiB, fresh) + 2 | 00012789 | 00011396 SST | [==================================================================================================] | 004ee479cde650df-fffe582586cd7968 (0 MiB, fresh) + 2 | 00012789 | 00011403 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011409 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011415 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011420 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00011427 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011433 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011438 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011445 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011451 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011457 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011463 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011469 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011475 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011480 SST | [==================================================================================================] | 000358d0de9d25d6-fffb6b73b51e00c8 (12 MiB, fresh) + 2 | 00012789 | 00011491 SST | [=====================================================================================] | 0776b11cacf44987-e1abc507acacb2a1 (0 MiB, fresh) + 2 | 00012789 | 00011497 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011503 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011509 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011515 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011521 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011527 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011533 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00011539 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011545 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011551 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011557 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011563 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011569 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011575 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011581 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011587 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011593 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011599 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011605 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011611 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011617 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011623 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011629 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011635 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011641 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011647 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011653 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011659 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011665 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011671 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011677 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011683 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011689 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011695 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011701 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011707 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011713 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011719 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011725 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011731 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011737 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011743 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011749 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011755 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011761 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011766 SST | [============================================] | 3ffdfb3b7d50fcf1-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00011773 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011779 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011785 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011791 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011797 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011803 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011809 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011815 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011821 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011827 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011833 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011839 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011845 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011851 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011857 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011863 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011869 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011875 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011881 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011887 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011893 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011899 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011905 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011911 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011917 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011923 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011929 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011935 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011941 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011947 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011953 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011959 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00011965 SST | [=========================================================================================] | 0930abff0714682b-ef311d8b965c9633 (0 MiB, fresh) + 2 | 00012789 | 00011970 SST | [==================================================================================================] | 0001818d53d8f469-fff6939a2e762d81 (10 MiB, fresh) + 2 | 00012789 | 00011980 SST | [==================================================================================================] | 0004de5e3469c610-fffb6b73b51e00c8 (12 MiB, fresh) + 2 | 00012789 | 00011990 SST | [==================================================================================================] | 00defbda2e9f12fe-ff70c23270efc9e5 (0 MiB, fresh) + 2 | 00012789 | 00012001 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012006 SST | [==================================================================================================] | 000b29f92b854456-fffb6b73b51e00c8 (10 MiB, fresh) + 2 | 00012789 | 00012016 SST | [==================================================================================================] | 0006a275dd116518-fffb6b73b51e00c8 (12 MiB, fresh) + 2 | 00012789 | 00012026 SST | [=================================================================================================] | 031f2c1b4e274ca9-ff1763b6f45cd288 (0 MiB, fresh) + 2 | 00012789 | 00012037 SST | [===============================================================================================] | 056785432909c60c-fbf832f0e2d0d41d (0 MiB, fresh) + 2 | 00012789 | 00012043 SST | [================================================================================================] | 076af0f6f588db8b-fd8767054879a7cc (0 MiB, fresh) + 2 | 00012789 | 00012053 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00012059 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00012065 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00012071 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00012076 SST | [==================================================================================================] | 013cab7ccfe5c096-ff1373558b528b52 (0 MiB, fresh) + 2 | 00012789 | 00012083 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012089 SST | [=========================================================================================] | 0930abff0714682b-ef311d8b965c9633 (0 MiB, fresh) + 2 | 00012789 | 00012095 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) + 2 | 00012789 | 00012105 SST | O | 7c65b158fbf615ea-7c65b158fbf615ea (0 MiB, fresh) + 2 | 00012789 | 00012111 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012117 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012123 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012129 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012135 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012140 SST | [=================================================================================================] | 00573bf255c0b47d-fc4812d086a4777f (0 MiB, fresh) + 2 | 00012789 | 00012151 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012157 SST | [==================================================================================================] | 00eac999f8125084-fdfe83409d6b0c99 (0 MiB, fresh) + 2 | 00012789 | 00012163 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012169 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012175 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012181 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012187 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012192 SST | [==================================================================================================] | 000d168784b3a904-fff068465974022c (5 MiB, fresh) + 2 | 00012789 | 00012203 SST | O | 7c65b158fbf615ea-7c65b158fbf615ea (0 MiB, fresh) + 2 | 00012789 | 00012209 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012214 SST | [==================================================================================================] | 015aa7af8c46be57-ff1373558b528b52 (0 MiB, fresh) + 2 | 00012789 | 00012220 SST | [==========================] | 4013de7fd06bfa2d-857838dfbc125d11 (0 MiB, fresh) + 2 | 00012789 | 00012227 SST | [==========================================================================================] | 02c9012898b65c4f-ed83130d571e8872 (0 MiB, fresh) + 2 | 00012789 | 00012232 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) + 2 | 00012789 | 00012239 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012245 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012251 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012257 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012263 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012269 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012275 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012281 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012287 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012293 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012299 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012305 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012311 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012317 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012323 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012329 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012335 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012340 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012347 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012353 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012359 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012365 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012371 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012377 SST | O | 3ffdfb3b7d50fcf1-3ffdfb3b7d50fcf1 (0 MiB, fresh) + 2 | 00012789 | 00012383 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012389 SST | [==============================================================================================] | 08ddd8f83c20993f-fd19e239b488e368 (1 MiB, fresh) + 2 | 00012789 | 00012398 SST | [============================================================================================] | 09b7999c944d458c-f5d5f2d6bd5d47cb (0 MiB, fresh) + 2 | 00012789 | 00012408 SST | [=================================================] | 481b0a84b63fa8dc-c9521634973f5a7e (0 MiB, fresh) + 2 | 00012789 | 00012415 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012421 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012427 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012433 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012439 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012445 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012451 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012457 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012463 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012469 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012475 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012481 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012487 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012493 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012499 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012505 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012511 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012517 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012523 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012529 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012535 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012541 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012547 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012553 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012559 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012565 SST | O | a39cd83271c2325b-a39cd83271c2325b (0 MiB, fresh) + 2 | 00012789 | 00012570 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012577 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012583 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012589 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012595 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012601 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012607 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012612 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012619 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012625 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012631 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012636 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012643 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012649 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012655 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012661 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012667 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012673 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012678 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (4 MiB, fresh) + 2 | 00012789 | 00012689 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (4 MiB, fresh) + 2 | 00012789 | 00012698 SST | [==================================================================================================] | 000d168784b3a904-ffd966598c8595fa (4 MiB, fresh) + 2 | 00012789 | 00012709 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012715 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012721 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012727 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012732 SST | [==================================================================================================] | 0010e26242e36d1c-fff49d0b9a706a34 (1 MiB, fresh) + 2 | 00012789 | 00012743 SST | [===========================================================================================] | 04f26711b79866a2-ef311d8b965c9633 (0 MiB, fresh) + 2 | 00012789 | 00012748 SST | [==================================================================================================] | 0010e26242e36d1c-fff49d0b9a706a34 (1 MiB, fresh) + 2 | 00012789 | 00012759 SST | [=================================================================================================] | 02c556cf9fcf1df3-fe3fca1b08bae20e (1 MiB, fresh) + 2 | 00012789 | 00012769 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012789 | 00012775 SST | [=====================================================================] | 134ccdd053f278f4-c5c647feca328c20 (0 MiB, fresh) + 2 | 00012789 | 00012780 SST | [==================================================================================================] | 015aa7af8c46be57-ff1373558b528b52 (0 MiB, fresh) + 2 | 00012789 | 00001649 00001651 00001654 00001664 00001670 00001677 00001683 00001688 00001699 00001705 00001723 00001729 00003235 00003241 00003247 OBSOLETE SST + 2 | 00012789 | 00003253 00003258 00003264 00003271 00003277 00003282 00003289 00003295 00003301 00003307 00003313 00003319 00003325 00003331 00003337 OBSOLETE SST + 2 | 00012789 | 00003343 00003349 00003355 00003361 00003367 00003373 00003379 00003385 00003391 00003397 00003403 00003409 00003415 00003421 00003427 OBSOLETE SST + 2 | 00012789 | 00003433 00003439 00003445 00003451 00003457 00003463 00003469 00003475 00003481 00003487 00003493 00003499 00003505 00003511 00003517 OBSOLETE SST + 2 | 00012789 | 00003523 00003529 00010867 00010868 OBSOLETE SST + | | 00001649 00001651 00001654 00001664 00001670 00001677 00001683 00001688 00001699 00001705 00001723 00001729 00003235 00003241 00003247 SST DELETED + | | 00003253 00003258 00003264 00003271 00003277 00003282 00003289 00003295 00003301 00003307 00003313 00003319 00003325 00003331 00003337 SST DELETED + | | 00003343 00003349 00003355 00003361 00003367 00003373 00003379 00003385 00003391 00003397 00003403 00003409 00003415 00003421 00003427 SST DELETED + | | 00003433 00003439 00003445 00003451 00003457 00003463 00003469 00003475 00003481 00003487 00003493 00003499 00003505 00003511 00003517 SST DELETED + | | 00003523 00003529 00010867 00010868 SST DELETED + | | 00001652 00001663 00001668 00001675 00001681 00001687 00001695 00001703 00001709 00001727 00001733 00010876 00010883 00010889 00010895 META DELETED + | | 00010901 00010907 00010913 00010919 00010925 00010931 00010937 00010945 00010953 00010959 00010965 00010971 00010977 00010983 00010989 META DELETED + | | 00010995 00011001 00011006 00011013 00011019 00011025 00011031 00011037 00011043 00011049 00011055 00011061 00011067 00011073 00011079 META DELETED + | | 00011085 00011091 00011097 00011103 00011109 00011118 00011124 00011131 00011137 00011143 00011149 00011155 00011161 00011167 00011173 META DELETED + | | 00011178 00011185 00011190 00011197 00011203 00011208 00011215 00011220 00011227 00011232 00011238 00011245 00011251 00011257 00011263 META DELETED + | | 00011269 00011275 00011281 00011287 00011293 00011298 00011305 00011311 00011316 00011323 00011329 00011335 00011341 00011347 00011353 META DELETED + | | 00011358 00011365 00011371 00011377 00011383 00011389 00011394 00011401 00011407 00011413 00011419 00011425 00011431 00011437 00011443 META DELETED + | | 00011449 00011455 00011460 00011467 00011473 00011479 00011487 00011494 00011501 00011507 00011513 00011519 00011525 00011531 00011537 META DELETED + | | 00011543 00011549 00011555 00011561 00011567 00011573 00011579 00011585 00011591 00011597 00011602 00011609 00011615 00011621 00011627 META DELETED + | | 00011633 00011639 00011645 00011651 00011657 00011663 00011669 00011675 00011681 00011687 00011693 00011699 00011705 00011711 00011717 META DELETED + | | 00011723 00011729 00011735 00011741 00011747 00011753 00011759 00011765 00011771 00011777 00011783 00011789 00011795 00011801 00011807 META DELETED + | | 00011813 00011819 00011825 00011831 00011837 00011843 00011849 00011855 00011861 00011867 00011873 00011879 00011885 00011891 00011897 META DELETED + | | 00011903 00011909 00011915 00011921 00011927 00011933 00011939 00011945 00011951 00011957 00011963 00011969 00011978 00011988 00011998 META DELETED + | | 00012005 00012014 00012024 00012033 00012041 00012051 00012057 00012063 00012069 00012074 00012081 00012087 00012093 00012102 00012109 META DELETED + | | 00012115 00012121 00012127 00012133 00012139 00012147 00012155 00012161 00012167 00012173 00012179 00012184 00012191 00012199 00012207 META DELETED + | | 00012213 00012218 00012225 00012231 00012237 00012242 00012249 00012254 00012261 00012267 00012273 00012279 00012285 00012291 00012297 META DELETED + | | 00012303 00012309 00012314 00012320 00012327 00012333 00012339 00012345 00012351 00012357 00012363 00012369 00012375 00012381 00012386 META DELETED + | | 00012395 00012407 00012413 00012419 00012425 00012431 00012436 00012443 00012449 00012454 00012461 00012467 00012473 00012479 00012485 META DELETED + | | 00012491 00012497 00012503 00012509 00012515 00012521 00012527 00012533 00012538 00012545 00012551 00012556 00012563 00012568 00012574 META DELETED + | | 00012581 00012587 00012593 00012598 00012605 00012611 00012617 00012622 00012628 00012635 00012641 00012647 00012653 00012659 00012665 META DELETED + | | 00012670 00012677 00012685 00012694 00012704 00012713 00012719 00012725 00012731 00012741 00012746 00012756 00012764 00012773 00012779 META DELETED + | | 00012785 META DELETED +Time 2026-03-04T20:44:58.344508Z +Commit 00012797 131 keys in 10ms 765µs 100ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012794 | 00012793 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012795 | 00012791 SST | [==================================================================================================] | 014a8a6ad893550d-ff1ad0c236dc7dd8 (0 MiB, fresh) + 2 | 00012796 | 00012792 SST | [============================================================================================] | 014a8a6ad893550d-f03258477662d7c7 (0 MiB, fresh) + | | 00010869 META DELETED +Time 2026-03-04T20:46:21.7908489Z +Commit 00012803 175 keys in 7ms 601µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012801 | 00012800 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012802 | 00012798 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) + 2 | 00012803 | 00012799 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) +Time 2026-03-04T20:47:59.4847899Z +Commit 00012809 4 keys in 10ms 181µs 300ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012807 | 00012806 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012808 | 00012804 SST | O | 7c65b158fbf615ea-7c65b158fbf615ea (0 MiB, fresh) + 2 | 00012809 | 00012805 SST | O | 7c65b158fbf615ea-7c65b158fbf615ea (0 MiB, fresh) +Time 2026-03-04T20:48:33.7809263Z +Commit 00012815 4 keys in 16ms 818µs 200ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012813 | 00012812 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012814 | 00012810 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012815 | 00012811 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T20:50:07.1536145Z +Commit 00012821 525 keys in 8ms 260µs 500ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012819 | 00012818 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012820 | 00012816 SST | [=================================================================================================] | 03dcd96dc93a306c-ffc80060008f40c8 (0 MiB, fresh) + 2 | 00012821 | 00012817 SST | [=================================================================================================] | 03dcd96dc93a306c-ffc80060008f40c8 (1 MiB, fresh) +Time 2026-03-04T20:50:30.1459389Z +Commit 00012831 1926 keys in 13ms 413µs 300ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012827 | 00012824 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 4 | 00012828 | 00012825 SST | [==================================================================] | 468a01ee32775474-f28ca16d09a1f2c0 (0 MiB, fresh) + 1 | 00012829 | 00012822 SST | [==================================================================================================] | 0062cf916c82e19b-ffd072ec32f0b12b (0 MiB, fresh) + 3 | 00012830 | 00012826 SST | [=================================================================================] | 2787333a34d98f1f-f9813ac4b20434fb (0 MiB, fresh) + 2 | 00012831 | 00012823 SST | [==================================================================================================] | 0062cf916c82e19b-ffd072ec32f0b12b (1 MiB, fresh) +Time 2026-03-04T20:50:38.1830422Z +Commit 00012837 6 keys in 7ms 147µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012835 | 00012834 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012836 | 00012833 SST | [=====] | 7c65b158fbf615ea-8cbc9c7f55b00340 (0 MiB, fresh) + 1 | 00012837 | 00012832 SST | [=====] | 7c65b158fbf615ea-8cbc9c7f55b00340 (0 MiB, fresh) +Time 2026-03-04T20:50:45.6233562Z +Commit 00012843 6 keys in 17ms 258µs 800ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012841 | 00012840 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012842 | 00012838 SST | [================================================================================] | 10331667c816da66-dee0722ea9204e83 (0 MiB, fresh) + 2 | 00012843 | 00012839 SST | [================================================================================] | 10331667c816da66-dee0722ea9204e83 (0 MiB, fresh) +Time 2026-03-04T20:52:46.6418801Z +Commit 00012849 593 keys in 8ms 306µs +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012847 | 00012846 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012848 | 00012845 SST | [==================================================================================================] | 0160526f360fcb59-fff8031d5d519426 (0 MiB, fresh) + 2 | 00012849 | 00012844 SST | [==================================================================================================] | 01a287d309f93ea2-fe00fe3d72ac07b8 (1 MiB, fresh) +Time 2026-03-04T20:53:08.5062292Z +Commit 00012855 183 keys in 7ms 366µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012853 | 00012852 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012854 | 00012851 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) + 2 | 00012855 | 00012850 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) +Time 2026-03-04T20:55:32.835007Z +Commit 00012865 386 keys in 11ms 651µs 300ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012861 | 00012858 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012862 | 00012856 SST | [=================================================================================================] | 02c556cf9fcf1df3-ff1373558b528b52 (0 MiB, fresh) + 1 | 00012863 | 00012857 SST | [=================================================================================================] | 02c556cf9fcf1df3-ffd95e498f1850a5 (0 MiB, fresh) + 4 | 00012864 | 00012859 SST | [================================] | 5357d2927a2f693e-a66f38631536461c (0 MiB, fresh) + 3 | 00012865 | 00012860 SST | [================] | 6571dc303df5b1af-900024d60d155b3b (0 MiB, fresh) +Time 2026-03-04T20:59:07.6931925Z +Commit 00012871 179 keys in 6ms 354µs 700ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012869 | 00012868 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012870 | 00012867 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) + 2 | 00012871 | 00012866 SST | [==================================================================================================] | 024a51d48220e7dd-fff068465974022c (0 MiB, fresh) +Time 2026-03-04T20:59:33.4211153Z +Commit 00012877 982 keys in 7ms 987µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012875 | 00012874 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012876 | 00012873 SST | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 (0 MiB, fresh) + 2 | 00012877 | 00012872 SST | [==================================================================================================] | 00eac999f8125084-ffe64bbd36bacfc8 (2 MiB, fresh) +Time 2026-03-04T20:59:36.1138327Z +Commit 00012883 4 keys in 17ms 119µs 700ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012881 | 00012880 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012882 | 00012878 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012883 | 00012879 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T21:00:11.0980017Z +Commit 00012889 62 keys in 8ms 206µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012887 | 00012886 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012888 | 00012885 SST | [=========================================================================================] | 10df9228fd92652e-f5d5f2d6bd5d47cb (0 MiB, fresh) + 1 | 00012889 | 00012884 SST | [==============================================================================================] | 040dc7eeb774bec4-f5d5f2d6bd5d47cb (0 MiB, fresh) +Time 2026-03-04T21:00:14.0791325Z +Commit 00012895 4 keys in 9ms 654µs 400ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012893 | 00012892 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012894 | 00012890 SST | O | 8cbc9c7f55b00340-8cbc9c7f55b00340 (0 MiB, fresh) + 2 | 00012895 | 00012891 SST | O | 8cbc9c7f55b00340-8cbc9c7f55b00340 (0 MiB, fresh) +Time 2026-03-04T21:00:27.6400119Z +Commit 00012901 62 keys in 6ms 648µs 600ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012899 | 00012898 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 2 | 00012900 | 00012896 SST | [==============================================================================================] | 0449ddeffcd2d9b8-f738cc1b6239995a (0 MiB, fresh) + 1 | 00012901 | 00012897 SST | [==============================================================================================] | 0449ddeffcd2d9b8-f738cc1b6239995a (0 MiB, fresh) +Time 2026-03-04T21:01:06.4297391Z +Commit 00012907 4 keys in 16ms 798µs 900ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012905 | 00012904 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012906 | 00012902 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) + 2 | 00012907 | 00012903 SST | O | b294a4237ccef201-b294a4237ccef201 (0 MiB, fresh) +Time 2026-03-04T21:01:18.8892104Z +Commit 00012913 126 keys in 7ms 493µs 100ns +FAM | META SEQ | SST SEQ | RANGE + 0 | 00012911 | 00012910 SST | [=======================================================================] | 3aefa6fd5cf2deb4-f42f94001fcb5351 (0 MiB, fresh) + 1 | 00012912 | 00012908 SST | [=================================================================================================] | 0302206520c18bf0-ff1ad0c236dc7dd8 (0 MiB, fresh) + 2 | 00012913 | 00012909 SST | [================================================================================================] | 0302206520c18bf0-faf83758fc31f305 (0 MiB, fresh) diff --git a/.next/dev/prerender-manifest.json b/.next/dev/prerender-manifest.json index 21de838..6e9380a 100644 --- a/.next/dev/prerender-manifest.json +++ b/.next/dev/prerender-manifest.json @@ -4,8 +4,8 @@ "dynamicRoutes": {}, "notFoundRoutes": [], "preview": { - "previewModeId": "c907e861cdf7233754d084b85f565a83", - "previewModeSigningKey": "ff71a12e8ab07c7dc55440d6ba865d100ff47f6c5dafa7853ae9b10a8f3a8d18", - "previewModeEncryptionKey": "b1854babb65e225b1f8d14e16f43a45141d59ac1a1bd6786d2a5ccdd0887188f" + "previewModeId": "196862b1bfff2ba012281ebc734bd07b", + "previewModeSigningKey": "3745933161423febbc580e5730495b53049213e7a37a27fdeb1d4a5c7215d2d3", + "previewModeEncryptionKey": "58cb94e204a1d02b3f8a529ba81bba219c2cfe8d0b7b36eff707ff947755d2d5" } } \ No newline at end of file diff --git a/.next/dev/server/app-paths-manifest.json b/.next/dev/server/app-paths-manifest.json index df00988..61174fc 100644 --- a/.next/dev/server/app-paths-manifest.json +++ b/.next/dev/server/app-paths-manifest.json @@ -1,7 +1,13 @@ { "/api/auth/[...nextauth]/route": "app/api/auth/[...nextauth]/route.js", - "/api/plans/route": "app/api/plans/route.js", - "/features/page": "app/features/page.js", - "/page": "app/page.js", - "/pricing/page": "app/pricing/page.js" + "/api/projects/[id]/route": "app/api/projects/[id]/route.js", + "/api/projects/route": "app/api/projects/route.js", + "/api/user/profile/route": "app/api/user/profile/route.js", + "/dashboard/page": "app/dashboard/page.js", + "/login/page": "app/login/page.js", + "/project/[id]/ideas/page": "app/project/[id]/ideas/page.js", + "/project/[id]/page": "app/project/[id]/page.js", + "/project/[id]/settings/page": "app/project/[id]/settings/page.js", + "/project/[id]/workflow/page": "app/project/[id]/workflow/page.js", + "/project/[id]/world/page": "app/project/[id]/world/page.js" } \ No newline at end of file diff --git a/.next/dev/server/app/api/auth/[...nextauth]/route.js b/.next/dev/server/app/api/auth/[...nextauth]/route.js index c50cb45..b8db14d 100644 --- a/.next/dev/server/app/api/auth/[...nextauth]/route.js +++ b/.next/dev/server/app/api/auth/[...nextauth]/route.js @@ -1,10 +1,9 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/auth/[...nextauth]/route.js") -R.c("server/chunks/Documents_00 - projet_plumeia_src_lib_prisma_ts_0fd16b63._.js") -R.c("server/chunks/549ce_next_e5412057._.js") +R.c("server/chunks/549ce_next_754c9f08._.js") R.c("server/chunks/549ce_@auth_core_cb936014._.js") R.c("server/chunks/549ce_jose_dist_webapi_61916537._.js") -R.c("server/chunks/[root-of-the-server]__1bb0670e._.js") -R.c("server/chunks/[root-of-the-server]__a0c3eaf7._.js") +R.c("server/chunks/[root-of-the-server]__b06aea5c._.js") +R.c("server/chunks/[root-of-the-server]__111ff733._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_auth_[___nextauth]_route_actions_af64a4a2.js") R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/auth/[...nextauth]/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)") module.exports=R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/auth/[...nextauth]/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)").exports diff --git a/.next/dev/server/app/api/projects/[id]/route.js b/.next/dev/server/app/api/projects/[id]/route.js index 710fe79..37a9258 100644 --- a/.next/dev/server/app/api/projects/[id]/route.js +++ b/.next/dev/server/app/api/projects/[id]/route.js @@ -1,10 +1,9 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/projects/[id]/route.js") -R.c("server/chunks/Documents_00 - projet_plumeia_src_lib_prisma_ts_e7c08140._.js") -R.c("server/chunks/549ce_next_ec17587b._.js") +R.c("server/chunks/549ce_next_0cda7235._.js") R.c("server/chunks/549ce_@auth_core_cb936014._.js") R.c("server/chunks/549ce_jose_dist_webapi_61916537._.js") -R.c("server/chunks/[root-of-the-server]__40bf2c68._.js") -R.c("server/chunks/[root-of-the-server]__77aa6f65._.js") +R.c("server/chunks/[root-of-the-server]__b06aea5c._.js") +R.c("server/chunks/[root-of-the-server]__7d2baa3d._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_projects_[id]_route_actions_70abba4c.js") R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/projects/[id]/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)") module.exports=R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/projects/[id]/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)").exports diff --git a/.next/dev/server/app/api/projects/route.js b/.next/dev/server/app/api/projects/route.js index 41c252c..8951d0c 100644 --- a/.next/dev/server/app/api/projects/route.js +++ b/.next/dev/server/app/api/projects/route.js @@ -1,10 +1,9 @@ var R=require("../../../chunks/[turbopack]_runtime.js")("server/app/api/projects/route.js") -R.c("server/chunks/Documents_00 - projet_plumeia_src_lib_prisma_ts_394af0db._.js") -R.c("server/chunks/549ce_next_d93d205a._.js") +R.c("server/chunks/549ce_next_1448ab7c._.js") R.c("server/chunks/549ce_@auth_core_cb936014._.js") R.c("server/chunks/549ce_jose_dist_webapi_61916537._.js") -R.c("server/chunks/[root-of-the-server]__49f1ce3b._.js") -R.c("server/chunks/[root-of-the-server]__f694870c._.js") +R.c("server/chunks/[root-of-the-server]__b06aea5c._.js") +R.c("server/chunks/[root-of-the-server]__8f0b841d._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_projects_route_actions_fab6ab14.js") R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/projects/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)") module.exports=R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/projects/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)").exports diff --git a/.next/dev/server/app/api/user/profile/route.js b/.next/dev/server/app/api/user/profile/route.js index ffea763..e89def9 100644 --- a/.next/dev/server/app/api/user/profile/route.js +++ b/.next/dev/server/app/api/user/profile/route.js @@ -1,10 +1,9 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/user/profile/route.js") -R.c("server/chunks/Documents_00 - projet_plumeia_src_lib_prisma_ts_dc7dfa61._.js") -R.c("server/chunks/549ce_next_6fa92ebc._.js") +R.c("server/chunks/549ce_next_831b1b74._.js") R.c("server/chunks/549ce_@auth_core_cb936014._.js") R.c("server/chunks/549ce_jose_dist_webapi_61916537._.js") -R.c("server/chunks/[root-of-the-server]__49f1ce3b._.js") -R.c("server/chunks/[root-of-the-server]__43f27a2c._.js") +R.c("server/chunks/[root-of-the-server]__b06aea5c._.js") +R.c("server/chunks/[root-of-the-server]__dab7caf1._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_user_profile_route_actions_e7d4e2fa.js") R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/user/profile/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)") module.exports=R.m("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/build/templates/app-route.js { INNER_APP_ROUTE => \"[project]/Documents/00 - projet/plumeia/src/app/api/user/profile/route.ts [app-route] (ecmascript)\" } [app-route] (ecmascript)").exports diff --git a/.next/dev/server/app/dashboard/page.js b/.next/dev/server/app/dashboard/page.js index 6c79207..7b13ae1 100644 --- a/.next/dev/server/app/dashboard/page.js +++ b/.next/dev/server/app/dashboard/page.js @@ -4,7 +4,7 @@ R.c("server/chunks/ssr/[root-of-the-server]__fa1a7c68._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/dashboard/page_client-reference-manifest.js b/.next/dev/server/app/dashboard/page_client-reference-manifest.js index 5bec407..99b5693 100644 --- a/.next/dev/server/app/dashboard/page_client-reference-manifest.js +++ b/.next/dev/server/app/dashboard/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/dashboard/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_c4c2fd93._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_dashboard_page_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_c4c2fd93._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_dashboard_page_tsx_28afda27._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/549ce_4a830693._.js","server/chunks/ssr/[root-of-the-server]__2aea0639._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_c4c2fd93._.js","static/chunks/Documents_00 - projet_plumeia_src_app_dashboard_page_tsx_28afda27._.js"]}} +globalThis.__RSC_MANIFEST["/dashboard/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_fef3e0c1._.js","/_next/static/chunks/549ce_3104db2a._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_dashboard_page_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_fef3e0c1._.js","/_next/static/chunks/549ce_3104db2a._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_dashboard_page_tsx_39b93de6._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__826b6d9f._.js","server/chunks/ssr/549ce_4e619da1._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_fef3e0c1._.js","static/chunks/549ce_3104db2a._.js","static/chunks/Documents_00 - projet_plumeia_src_app_dashboard_page_tsx_39b93de6._.js"]}} diff --git a/.next/dev/server/app/login/page.js b/.next/dev/server/app/login/page.js index 676eb3d..aae4429 100644 --- a/.next/dev/server/app/login/page.js +++ b/.next/dev/server/app/login/page.js @@ -1,10 +1,13 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/login/page.js") -R.c("server/chunks/ssr/549ce_next_dist_fd9550f2._.js") -R.c("server/chunks/ssr/[root-of-the-server]__31edde22._.js") +R.c("server/chunks/ssr/549ce_next_8e11128f._.js") +R.c("server/chunks/ssr/549ce_@auth_core_25b2ec70._.js") +R.c("server/chunks/ssr/549ce_jose_dist_webapi_aa3ed178._.js") +R.c("server/chunks/ssr/[root-of-the-server]__1fe29d64._.js") +R.c("server/chunks/ssr/[root-of-the-server]__bc5a4407._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/login/page_client-reference-manifest.js b/.next/dev/server/app/login/page_client-reference-manifest.js index ff113ec..ed66ba6 100644 --- a/.next/dev/server/app/login/page_client-reference-manifest.js +++ b/.next/dev/server/app/login/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/login/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_18e0a14d._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_login_page_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_18e0a14d._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_login_page_tsx_28afda27._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__6e203a48._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/login/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/login/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_18e0a14d._.js","static/chunks/Documents_00 - projet_plumeia_src_app_login_page_tsx_28afda27._.js"]}} +globalThis.__RSC_MANIFEST["/login/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_750d4168._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_login_page_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_750d4168._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_login_page_tsx_39b93de6._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f871e403._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/login/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/login/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_750d4168._.js","static/chunks/Documents_00 - projet_plumeia_src_app_login_page_tsx_39b93de6._.js"]}} diff --git a/.next/dev/server/app/page.js b/.next/dev/server/app/page.js index 8f84858..2322002 100644 --- a/.next/dev/server/app/page.js +++ b/.next/dev/server/app/page.js @@ -1,10 +1,13 @@ var R=require("../chunks/ssr/[turbopack]_runtime.js")("server/app/page.js") -R.c("server/chunks/ssr/549ce_next_dist_b396c85e._.js") -R.c("server/chunks/ssr/[root-of-the-server]__4bd099ae._.js") +R.c("server/chunks/ssr/549ce_next_2aee4c12._.js") +R.c("server/chunks/ssr/549ce_@auth_core_25b2ec70._.js") +R.c("server/chunks/ssr/549ce_jose_dist_webapi_aa3ed178._.js") +R.c("server/chunks/ssr/[root-of-the-server]__1fe29d64._.js") +R.c("server/chunks/ssr/[root-of-the-server]__ae7661f8._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/page_client-reference-manifest.js b/.next/dev/server/app/page_client-reference-manifest.js index 7565b20..eff8b03 100644 --- a/.next/dev/server/app/page_client-reference-manifest.js +++ b/.next/dev/server/app/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_b2acd625._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_page_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_b2acd625._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_page_tsx_28afda27._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__b09bfa3a._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_b2acd625._.js","static/chunks/Documents_00 - projet_plumeia_src_app_page_tsx_28afda27._.js"]}} +globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_6ce0c97c._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_page_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_6ce0c97c._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_page_tsx_39b93de6._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/549ce_a7d49fc3._.js","server/chunks/ssr/[root-of-the-server]__dbd43ade._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_6ce0c97c._.js","static/chunks/Documents_00 - projet_plumeia_src_app_page_tsx_39b93de6._.js"]}} diff --git a/.next/dev/server/app/project/[id]/ideas/page.js b/.next/dev/server/app/project/[id]/ideas/page.js index e6d2e7a..f44aad7 100644 --- a/.next/dev/server/app/project/[id]/ideas/page.js +++ b/.next/dev/server/app/project/[id]/ideas/page.js @@ -4,7 +4,7 @@ R.c("server/chunks/ssr/[root-of-the-server]__65a722ad._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/project/[id]/ideas/page_client-reference-manifest.js b/.next/dev/server/app/project/[id]/ideas/page_client-reference-manifest.js index 1c07035..9ceb930 100644 --- a/.next/dev/server/app/project/[id]/ideas/page_client-reference-manifest.js +++ b/.next/dev/server/app/project/[id]/ideas/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/ideas/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d58888ef._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_ideas_page_tsx_e72be616._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d58888ef._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_ideas_page_tsx_e72be616._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js","static/chunks/Documents_00 - projet_plumeia_d58888ef._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_ideas_page_tsx_e72be616._.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/ideas/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d58888ef._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_ideas_page_tsx_e868bd7e._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d58888ef._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_ideas_page_tsx_e868bd7e._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js","server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js","static/chunks/Documents_00 - projet_plumeia_d58888ef._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_ideas_page_tsx_e868bd7e._.js"]}} diff --git a/.next/dev/server/app/project/[id]/page.js b/.next/dev/server/app/project/[id]/page.js index e3a64cb..b8e5ac3 100644 --- a/.next/dev/server/app/project/[id]/page.js +++ b/.next/dev/server/app/project/[id]/page.js @@ -4,7 +4,7 @@ R.c("server/chunks/ssr/[root-of-the-server]__eb1ba7e4._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/project/[id]/page_client-reference-manifest.js b/.next/dev/server/app/project/[id]/page_client-reference-manifest.js index f1c2501..349d929 100644 --- a/.next/dev/server/app/project/[id]/page_client-reference-manifest.js +++ b/.next/dev/server/app/project/[id]/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_e45494cc._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_c75057b8._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_page_tsx_e72be616._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_e45494cc._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_c75057b8._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_page_tsx_e72be616._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_5e4edcdd._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js","static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js","static/chunks/549ce_lucide-react_dist_esm_icons_c75057b8._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_e72be616._.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_e45494cc._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_cc7a6f92._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_page_tsx_e868bd7e._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_e45494cc._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_cc7a6f92._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_page_tsx_e868bd7e._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_661fcdff._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js","static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js","static/chunks/549ce_lucide-react_dist_esm_icons_cc7a6f92._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_e868bd7e._.js"]}} diff --git a/.next/dev/server/app/project/[id]/settings/page.js b/.next/dev/server/app/project/[id]/settings/page.js index f851399..81ba181 100644 --- a/.next/dev/server/app/project/[id]/settings/page.js +++ b/.next/dev/server/app/project/[id]/settings/page.js @@ -4,7 +4,7 @@ R.c("server/chunks/ssr/[root-of-the-server]__9a9a74c8._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/project/[id]/settings/page_client-reference-manifest.js b/.next/dev/server/app/project/[id]/settings/page_client-reference-manifest.js index 241120b..fd51d69 100644 --- a/.next/dev/server/app/project/[id]/settings/page_client-reference-manifest.js +++ b/.next/dev/server/app/project/[id]/settings/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/settings/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d99083a0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_settings_page_tsx_e72be616._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d99083a0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_settings_page_tsx_e72be616._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js","static/chunks/Documents_00 - projet_plumeia_d99083a0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_settings_page_tsx_e72be616._.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/settings/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d99083a0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_settings_page_tsx_e868bd7e._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_d99083a0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_settings_page_tsx_e868bd7e._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js","static/chunks/Documents_00 - projet_plumeia_d99083a0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_settings_page_tsx_e868bd7e._.js"]}} diff --git a/.next/dev/server/app/project/[id]/workflow/page.js b/.next/dev/server/app/project/[id]/workflow/page.js index cf0df21..e993864 100644 --- a/.next/dev/server/app/project/[id]/workflow/page.js +++ b/.next/dev/server/app/project/[id]/workflow/page.js @@ -4,7 +4,7 @@ R.c("server/chunks/ssr/[root-of-the-server]__10a3c0b1._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/project/[id]/workflow/page_client-reference-manifest.js b/.next/dev/server/app/project/[id]/workflow/page_client-reference-manifest.js index 45e3c94..faf0f89 100644 --- a/.next/dev/server/app/project/[id]/workflow/page_client-reference-manifest.js +++ b/.next/dev/server/app/project/[id]/workflow/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/workflow/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_06c48656._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_workflow_page_tsx_e72be616._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_06c48656._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_workflow_page_tsx_e72be616._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js","static/chunks/Documents_00 - projet_plumeia_06c48656._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_e72be616._.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/workflow/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_06c48656._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_workflow_page_tsx_e868bd7e._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_06c48656._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_workflow_page_tsx_e868bd7e._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js","server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js","static/chunks/Documents_00 - projet_plumeia_06c48656._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_e868bd7e._.js"]}} diff --git a/.next/dev/server/app/project/[id]/world/page.js b/.next/dev/server/app/project/[id]/world/page.js index 625d738..74d36da 100644 --- a/.next/dev/server/app/project/[id]/world/page.js +++ b/.next/dev/server/app/project/[id]/world/page.js @@ -4,7 +4,7 @@ R.c("server/chunks/ssr/[root-of-the-server]__6f6146ff._.js") R.c("server/chunks/ssr/549ce_next_dist_a9a2f161._.js") R.c("server/chunks/ssr/[externals]__7f148858._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__31132813._.js") +R.c("server/chunks/ssr/[root-of-the-server]__f4e881ac._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/dev/server/app/project/[id]/world/page_client-reference-manifest.js b/.next/dev/server/app/project/[id]/world/page_client-reference-manifest.js index 0a9a5c6..80a25fc 100644 --- a/.next/dev/server/app/project/[id]/world/page_client-reference-manifest.js +++ b/.next/dev/server/app/project/[id]/world/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/world/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_d41e99d0._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_d90062c6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_world_page_tsx_e72be616._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_79f2801f._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_74b79b3f._.js","/_next/static/chunks/549ce_f5078f76._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_28afda27._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_d41e99d0._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_d90062c6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_world_page_tsx_e72be616._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__ab714b47._.js","server/chunks/ssr/[root-of-the-server]__661e4e50._.js","server/chunks/ssr/549ce_f74facf4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_17b35e95._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":["static/chunks/Documents_00 - projet_plumeia_79f2801f._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_74b79b3f._.js","static/chunks/549ce_f5078f76._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_28afda27._.js","static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js","static/chunks/549ce_lucide-react_dist_esm_icons_d90062c6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_e72be616._.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/world/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/549ce_next_dist_52b68393._.js","/_next/static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx ":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_d41e99d0._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_d90062c6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_world_page_tsx_e868bd7e._.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)","name":"*","chunks":["/_next/static/chunks/Documents_00%20-%20projet_plumeia_c15954d6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_a6d9cb6f._.js","/_next/static/chunks/549ce_b58fa4d0._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_39b93de6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_d41e99d0._.js","/_next/static/chunks/549ce_lucide-react_dist_esm_icons_d90062c6._.js","/_next/static/chunks/Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_world_page_tsx_e868bd7e._.js"],"async":false}},"ssrModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/549ce_next_dist_ebf1966f._.js","server/chunks/ssr/[externals]_next_dist_1aaf5479._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js"],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-ssr] (ecmascript)","name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__3f5b8287._.js","server/chunks/ssr/[root-of-the-server]__f5705295._.js","server/chunks/ssr/549ce_cf756187._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_17b35e95._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/layout-router.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/render-from-template-context.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-page.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/client-segment.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/metadata/generate/icon-mark.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/next-devtools/userspace/app/segment-explorer-node.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-client] (ecmascript)":{"*":{"id":"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx [app-rsc] (client reference proxy)","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":[{"path":"static/chunks/[root-of-the-server]__c391f813._.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/549ce_next_dist_52b68393._.js","static/chunks/549ce_next_dist_client_components_builtin_global-error_b5f8e6df.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":["static/chunks/Documents_00 - projet_plumeia_c15954d6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_layout_tsx_b5f8e6df._.js","static/chunks/Documents_00 - projet_plumeia_src_a6d9cb6f._.js","static/chunks/549ce_b58fa4d0._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_39b93de6._.js","static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js","static/chunks/549ce_lucide-react_dist_esm_icons_d90062c6._.js","static/chunks/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_e868bd7e._.js"]}} diff --git a/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js b/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js index 8ac702e..64689c2 100644 --- a/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js +++ b/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js @@ -6177,7 +6177,7 @@ var EntryStatus = /*#__PURE__*/ function(EntryStatus) { EntryStatus[EntryStatus["Rejected"] = 3] = "Rejected"; return EntryStatus; }({}); -const isOutputExportMode = ("TURBOPACK compile-time value", "development") === 'production' && ("TURBOPACK compile-time value", void 0) === 'export'; +const isOutputExportMode = ("TURBOPACK compile-time value", "development") === 'production' && ("TURBOPACK compile-time value", "standalone") === 'export'; const MetadataOnlyRequestTree = [ '', {}, diff --git a/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js.map b/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js.map index 185a204..f5bb13a 100644 --- a/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js.map +++ b/.next/dev/server/chunks/ssr/549ce_next_dist_ebf1966f._.js.map @@ -83,7 +83,7 @@ {"offset": {"line": 4733, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/segment-cache/scheduler.ts"],"sourcesContent":["import type {\n FlightRouterState,\n Segment as FlightRouterStateSegment,\n Segment,\n} from '../../../shared/lib/app-router-types'\nimport { HasLoadingBoundary } from '../../../shared/lib/app-router-types'\nimport { matchSegment } from '../match-segments'\nimport {\n readOrCreateRouteCacheEntry,\n readOrCreateSegmentCacheEntry,\n fetchRouteOnCacheMiss,\n fetchSegmentOnCacheMiss,\n EntryStatus,\n type FulfilledRouteCacheEntry,\n type RouteCacheEntry,\n type SegmentCacheEntry,\n type RouteTree,\n fetchSegmentPrefetchesUsingDynamicRequest,\n type PendingSegmentCacheEntry,\n convertRouteTreeToFlightRouterState,\n readOrCreateRevalidatingSegmentEntry,\n upsertSegmentEntry,\n type FulfilledSegmentCacheEntry,\n upgradeToPendingSegment,\n waitForSegmentCacheEntry,\n overwriteRevalidatingSegmentCacheEntry,\n canNewFetchStrategyProvideMoreContent,\n} from './cache'\nimport { getSegmentVaryPathForRequest, type SegmentVaryPath } from './vary-path'\nimport type { RouteCacheKey } from './cache-key'\nimport { createCacheKey } from './cache-key'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n PrefetchPriority,\n} from './types'\nimport { getCurrentCacheVersion } from './cache'\nimport {\n addSearchParamsIfPageSegment,\n PAGE_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport type { SegmentRequestKey } from '../../../shared/lib/segment-cache/segment-value-encoding'\n\nconst scheduleMicrotask =\n typeof queueMicrotask === 'function'\n ? queueMicrotask\n : (fn: () => unknown) =>\n Promise.resolve()\n .then(fn)\n .catch((error) =>\n setTimeout(() => {\n throw error\n })\n )\n\nexport type PrefetchTask = {\n key: RouteCacheKey\n\n /**\n * The FlightRouterState at the time the task was initiated. This is needed\n * when falling back to the non-PPR behavior, which only prefetches up to\n * the first loading boundary.\n */\n treeAtTimeOfPrefetch: FlightRouterState\n\n /**\n * The cache version at the time the task was initiated. This is used to\n * determine if the cache was invalidated since the task was initiated.\n */\n cacheVersion: number\n\n /**\n * Whether to prefetch dynamic data, in addition to static data. This is\n * used by ``.\n *\n * Note that a task with `FetchStrategy.PPR` might need to use\n * `FetchStrategy.LoadingBoundary` instead if we find out that a route\n * does not support PPR after doing the initial route prefetch.\n */\n fetchStrategy: PrefetchTaskFetchStrategy\n\n /**\n * sortId is an incrementing counter\n *\n * Newer prefetches are prioritized over older ones, so that as new links\n * enter the viewport, they are not starved by older links that are no\n * longer relevant. In the future, we can add additional prioritization\n * heuristics, like removing prefetches once a link leaves the viewport.\n *\n * The sortId is assigned when the prefetch is initiated, and reassigned if\n * the same task is prefetched again (effectively bumping it to the top of\n * the queue).\n *\n * TODO: We can add additional fields here to indicate what kind of prefetch\n * it is. For example, was it initiated by a link? Or was it an imperative\n * call? If it was initiated by a link, we can remove it from the queue when\n * the link leaves the viewport, but if it was an imperative call, then we\n * should keep it in the queue until it's fulfilled.\n *\n * We can also add priority levels. For example, hovering over a link could\n * increase the priority of its prefetch.\n */\n sortId: number\n\n /**\n * The priority of the task. Like sortId, this affects the task's position in\n * the queue, so it must never be updated without resifting the heap.\n */\n priority: PrefetchPriority\n\n /**\n * The phase of the task. Tasks are split into multiple phases so that their\n * priority can be adjusted based on what kind of work they're doing.\n * Concretely, prefetching the route tree is higher priority than prefetching\n * segment data.\n */\n phase: PrefetchPhase\n\n /**\n * These fields are temporary state for tracking the currently running task.\n * They are reset after each iteration of the task queue.\n */\n hasBackgroundWork: boolean\n spawnedRuntimePrefetches: Set | null\n\n /**\n * True if the prefetch was cancelled.\n */\n isCanceled: boolean\n\n /**\n * The callback passed to `router.prefetch`, if given.\n */\n onInvalidate: null | (() => void)\n\n /**\n * The index of the task in the heap's backing array. Used to efficiently\n * change the priority of a task by re-sifting it, which requires knowing\n * where it is in the array. This is only used internally by the heap\n * algorithm. The naive alternative is indexOf every time a task is queued,\n * which has O(n) complexity.\n *\n * We also use this field to check whether a task is currently in the queue.\n */\n _heapIndex: number\n}\n\nconst enum PrefetchTaskExitStatus {\n /**\n * The task yielded because there are too many requests in progress.\n */\n InProgress,\n\n /**\n * The task is blocked. It needs more data before it can proceed.\n *\n * Currently the only reason this happens is we're still waiting to receive a\n * route tree from the server, because we can't start prefetching the segments\n * until we know what to prefetch.\n */\n Blocked,\n\n /**\n * There's nothing left to prefetch.\n */\n Done,\n}\n\n/**\n * Prefetch tasks are processed in two phases: first the route tree is fetched,\n * then the segments. We use this to priortize tasks that have not yet fetched\n * the route tree.\n */\nconst enum PrefetchPhase {\n RouteTree = 1,\n Segments = 0,\n}\n\nexport type PrefetchSubtaskResult = {\n /**\n * A promise that resolves when the network connection is closed.\n */\n closed: Promise\n value: T\n}\n\nconst taskHeap: Array = []\n\nlet inProgressRequests = 0\n\nlet sortIdCounter = 0\nlet didScheduleMicrotask = false\n\n// The most recently hovered (or touched, etc) link, i.e. the most recent task\n// scheduled at Intent priority. There's only ever a single task at Intent\n// priority at a time. We reserve special network bandwidth for this task only.\nlet mostRecentlyHoveredLink: PrefetchTask | null = null\n\n// CDN cache propagation delay after revalidation (in milliseconds)\nconst REVALIDATION_COOLDOWN_MS = 300\n\n// Timeout handle for the revalidation cooldown. When non-null, prefetch\n// requests are blocked to allow CDN cache propagation.\nlet revalidationCooldownTimeoutHandle: ReturnType | null =\n null\n\n/**\n * Called by the cache when revalidation occurs. Starts a cooldown period\n * during which prefetch requests are blocked to allow CDN cache propagation.\n */\nexport function startRevalidationCooldown(): void {\n // Clear any existing timeout in case multiple revalidations happen\n // in quick succession.\n if (revalidationCooldownTimeoutHandle !== null) {\n clearTimeout(revalidationCooldownTimeoutHandle)\n }\n\n // Schedule the cooldown to expire after the delay.\n revalidationCooldownTimeoutHandle = setTimeout(() => {\n revalidationCooldownTimeoutHandle = null\n // Retry the prefetch queue now that the cooldown has expired.\n ensureWorkIsScheduled()\n }, REVALIDATION_COOLDOWN_MS)\n}\n\nexport type IncludeDynamicData = null | 'full' | 'dynamic'\n\n/**\n * Initiates a prefetch task for the given URL. If a prefetch for the same URL\n * is already in progress, this will bump it to the top of the queue.\n *\n * This is not a user-facing function. By the time this is called, the href is\n * expected to be validated and normalized.\n *\n * @param key The RouteCacheKey to prefetch.\n * @param treeAtTimeOfPrefetch The app's current FlightRouterState\n * @param fetchStrategy Whether to prefetch dynamic data, in addition to\n * static data. This is used by ``.\n */\nexport function schedulePrefetchTask(\n key: RouteCacheKey,\n treeAtTimeOfPrefetch: FlightRouterState,\n fetchStrategy: PrefetchTaskFetchStrategy,\n priority: PrefetchPriority,\n onInvalidate: null | (() => void)\n): PrefetchTask {\n // Spawn a new prefetch task\n const task: PrefetchTask = {\n key,\n treeAtTimeOfPrefetch,\n cacheVersion: getCurrentCacheVersion(),\n priority,\n phase: PrefetchPhase.RouteTree,\n hasBackgroundWork: false,\n spawnedRuntimePrefetches: null,\n fetchStrategy,\n sortId: sortIdCounter++,\n isCanceled: false,\n onInvalidate,\n _heapIndex: -1,\n }\n\n trackMostRecentlyHoveredLink(task)\n\n heapPush(taskHeap, task)\n\n // Schedule an async task to process the queue.\n //\n // The main reason we process the queue in an async task is for batching.\n // It's common for a single JS task/event to trigger multiple prefetches.\n // By deferring to a microtask, we only process the queue once per JS task.\n // If they have different priorities, it also ensures they are processed in\n // the optimal order.\n ensureWorkIsScheduled()\n\n return task\n}\n\nexport function cancelPrefetchTask(task: PrefetchTask): void {\n // Remove the prefetch task from the queue. If the task already completed,\n // then this is a no-op.\n //\n // We must also explicitly mark the task as canceled so that a blocked task\n // does not get added back to the queue when it's pinged by the network.\n task.isCanceled = true\n heapDelete(taskHeap, task)\n}\n\nexport function reschedulePrefetchTask(\n task: PrefetchTask,\n treeAtTimeOfPrefetch: FlightRouterState,\n fetchStrategy: PrefetchTaskFetchStrategy,\n priority: PrefetchPriority\n): void {\n // Bump the prefetch task to the top of the queue, as if it were a fresh\n // task. This is essentially the same as canceling the task and scheduling\n // a new one, except it reuses the original object.\n //\n // The primary use case is to increase the priority of a Link-initated\n // prefetch on hover.\n\n // Un-cancel the task, in case it was previously canceled.\n task.isCanceled = false\n task.phase = PrefetchPhase.RouteTree\n\n // Assign a new sort ID to move it ahead of all other tasks at the same\n // priority level. (Higher sort IDs are processed first.)\n task.sortId = sortIdCounter++\n task.priority =\n // If this task is the most recently hovered link, maintain its\n // Intent priority, even if the rescheduled priority is lower.\n task === mostRecentlyHoveredLink ? PrefetchPriority.Intent : priority\n\n task.treeAtTimeOfPrefetch = treeAtTimeOfPrefetch\n task.fetchStrategy = fetchStrategy\n\n trackMostRecentlyHoveredLink(task)\n\n if (task._heapIndex !== -1) {\n // The task is already in the queue.\n heapResift(taskHeap, task)\n } else {\n heapPush(taskHeap, task)\n }\n ensureWorkIsScheduled()\n}\n\nexport function isPrefetchTaskDirty(\n task: PrefetchTask,\n nextUrl: string | null,\n tree: FlightRouterState\n): boolean {\n // This is used to quickly bail out of a prefetch task if the result is\n // guaranteed to not have changed since the task was initiated. This is\n // strictly an optimization — theoretically, if it always returned true, no\n // behavior should change because a full prefetch task will effectively\n // perform the same checks.\n const currentCacheVersion = getCurrentCacheVersion()\n return (\n task.cacheVersion !== currentCacheVersion ||\n task.treeAtTimeOfPrefetch !== tree ||\n task.key.nextUrl !== nextUrl\n )\n}\n\nfunction trackMostRecentlyHoveredLink(task: PrefetchTask) {\n // Track the mostly recently hovered link, i.e. the most recently scheduled\n // task at Intent priority. There must only be one such task at a time.\n if (\n task.priority === PrefetchPriority.Intent &&\n task !== mostRecentlyHoveredLink\n ) {\n if (mostRecentlyHoveredLink !== null) {\n // Bump the previously hovered link's priority down to Default.\n if (mostRecentlyHoveredLink.priority !== PrefetchPriority.Background) {\n mostRecentlyHoveredLink.priority = PrefetchPriority.Default\n heapResift(taskHeap, mostRecentlyHoveredLink)\n }\n }\n mostRecentlyHoveredLink = task\n }\n}\n\nfunction ensureWorkIsScheduled() {\n if (didScheduleMicrotask) {\n // Already scheduled a task to process the queue\n return\n }\n didScheduleMicrotask = true\n scheduleMicrotask(processQueueInMicrotask)\n}\n\n/**\n * Checks if we've exceeded the maximum number of concurrent prefetch requests,\n * to avoid saturating the browser's internal network queue. This is a\n * cooperative limit — prefetch tasks should check this before issuing\n * new requests.\n *\n * Also checks if we're within the revalidation cooldown window, during which\n * prefetch requests are delayed to allow CDN cache propagation.\n */\nfunction hasNetworkBandwidth(task: PrefetchTask): boolean {\n // Check if we're within the revalidation cooldown window\n if (revalidationCooldownTimeoutHandle !== null) {\n // We're within the cooldown window. Return false to prevent prefetching.\n // When the cooldown expires, the timeout will call ensureWorkIsScheduled()\n // to retry the queue.\n return false\n }\n\n // TODO: Also check if there's an in-progress navigation. We should never\n // add prefetch requests to the network queue if an actual navigation is\n // taking place, to ensure there's sufficient bandwidth for render-blocking\n // data and resources.\n\n // TODO: Consider reserving some amount of bandwidth for static prefetches.\n\n if (task.priority === PrefetchPriority.Intent) {\n // The most recently hovered link is allowed to exceed the default limit.\n //\n // The goal is to always have enough bandwidth to start a new prefetch\n // request when hovering over a link.\n //\n // However, because we don't abort in-progress requests, it's still possible\n // we'll run out of bandwidth. When links are hovered in quick succession,\n // there could be multiple hover requests running simultaneously.\n return inProgressRequests < 12\n }\n\n // The default limit is lower than the limit for a hovered link.\n return inProgressRequests < 4\n}\n\nfunction spawnPrefetchSubtask(\n prefetchSubtask: Promise | null>\n): Promise {\n // When the scheduler spawns an async task, we don't await its result.\n // Instead, the async task writes its result directly into the cache, then\n // pings the scheduler to continue.\n //\n // We process server responses streamingly, so the prefetch subtask will\n // likely resolve before we're finished receiving all the data. The subtask\n // result includes a promise that resolves once the network connection is\n // closed. The scheduler uses this to control network bandwidth by tracking\n // and limiting the number of concurrent requests.\n inProgressRequests++\n return prefetchSubtask.then((result) => {\n if (result === null) {\n // The prefetch task errored before it could start processing the\n // network stream. Assume the connection is closed.\n onPrefetchConnectionClosed()\n return null\n }\n // Wait for the connection to close before freeing up more bandwidth.\n result.closed.then(onPrefetchConnectionClosed)\n return result.value\n })\n}\n\nfunction onPrefetchConnectionClosed(): void {\n inProgressRequests--\n\n // Notify the scheduler that we have more bandwidth, and can continue\n // processing tasks.\n ensureWorkIsScheduled()\n}\n\n/**\n * Notify the scheduler that we've received new data for an in-progress\n * prefetch. The corresponding task will be added back to the queue (unless the\n * task has been canceled in the meantime).\n */\nexport function pingPrefetchTask(task: PrefetchTask) {\n // \"Ping\" a prefetch that's already in progress to notify it of new data.\n if (\n // Check if prefetch was canceled.\n task.isCanceled ||\n // Check if prefetch is already queued.\n task._heapIndex !== -1\n ) {\n return\n }\n // Add the task back to the queue.\n heapPush(taskHeap, task)\n ensureWorkIsScheduled()\n}\n\nfunction processQueueInMicrotask() {\n didScheduleMicrotask = false\n\n // We aim to minimize how often we read the current time. Since nearly all\n // functions in the prefetch scheduler are synchronous, we can read the time\n // once and pass it as an argument wherever it's needed.\n const now = Date.now()\n\n // Process the task queue until we run out of network bandwidth.\n let task = heapPeek(taskHeap)\n while (task !== null && hasNetworkBandwidth(task)) {\n task.cacheVersion = getCurrentCacheVersion()\n\n const exitStatus = pingRoute(now, task)\n\n // These fields are only valid for a single attempt. Reset them after each\n // iteration of the task queue.\n const hasBackgroundWork = task.hasBackgroundWork\n task.hasBackgroundWork = false\n task.spawnedRuntimePrefetches = null\n\n switch (exitStatus) {\n case PrefetchTaskExitStatus.InProgress:\n // The task yielded because there are too many requests in progress.\n // Stop processing tasks until we have more bandwidth.\n return\n case PrefetchTaskExitStatus.Blocked:\n // The task is blocked. It needs more data before it can proceed.\n // Keep the task out of the queue until the server responds.\n heapPop(taskHeap)\n // Continue to the next task\n task = heapPeek(taskHeap)\n continue\n case PrefetchTaskExitStatus.Done:\n if (task.phase === PrefetchPhase.RouteTree) {\n // Finished prefetching the route tree. Proceed to prefetching\n // the segments.\n task.phase = PrefetchPhase.Segments\n heapResift(taskHeap, task)\n } else if (hasBackgroundWork) {\n // The task spawned additional background work. Reschedule the task\n // at background priority.\n task.priority = PrefetchPriority.Background\n heapResift(taskHeap, task)\n } else {\n // The prefetch is complete. Continue to the next task.\n heapPop(taskHeap)\n }\n task = heapPeek(taskHeap)\n continue\n default:\n exitStatus satisfies never\n }\n }\n}\n\n/**\n * Check this during a prefetch task to determine if background work can be\n * performed. If so, it evaluates to `true`. Otherwise, it returns `false`,\n * while also scheduling a background task to run later. Usage:\n *\n * @example\n * if (background(task)) {\n * // Perform background-pri work\n * }\n */\nfunction background(task: PrefetchTask): boolean {\n if (task.priority === PrefetchPriority.Background) {\n return true\n }\n task.hasBackgroundWork = true\n return false\n}\n\nfunction pingRoute(now: number, task: PrefetchTask): PrefetchTaskExitStatus {\n const key = task.key\n const route = readOrCreateRouteCacheEntry(now, task, key)\n const exitStatus = pingRootRouteTree(now, task, route)\n\n if (exitStatus !== PrefetchTaskExitStatus.InProgress && key.search !== '') {\n // If the URL has a non-empty search string, also prefetch the pathname\n // without the search string. We use the searchless route tree as a base for\n // optimistic routing; see requestOptimisticRouteCacheEntry for details.\n //\n // Note that we don't need to prefetch any of the segment data. Just the\n // route tree.\n //\n // TODO: This is a temporary solution; the plan is to replace this by adding\n // a wildcard lookup method to the TupleMap implementation. This is\n // non-trivial to implement because it needs to account for things like\n // fallback route entries, hence this temporary workaround.\n const url = new URL(key.pathname, location.origin)\n const keyWithoutSearch = createCacheKey(url.href, key.nextUrl)\n const routeWithoutSearch = readOrCreateRouteCacheEntry(\n now,\n task,\n keyWithoutSearch\n )\n switch (routeWithoutSearch.status) {\n case EntryStatus.Empty: {\n if (background(task)) {\n routeWithoutSearch.status = EntryStatus.Pending\n spawnPrefetchSubtask(\n fetchRouteOnCacheMiss(routeWithoutSearch, task, keyWithoutSearch)\n )\n }\n break\n }\n case EntryStatus.Pending:\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected: {\n // Either the route tree is already cached, or there's already a\n // request in progress. Since we don't need to fetch any segment data\n // for this route, there's nothing left to do.\n break\n }\n default:\n routeWithoutSearch satisfies never\n }\n }\n\n return exitStatus\n}\n\nfunction pingRootRouteTree(\n now: number,\n task: PrefetchTask,\n route: RouteCacheEntry\n): PrefetchTaskExitStatus {\n switch (route.status) {\n case EntryStatus.Empty: {\n // Route is not yet cached, and there's no request already in progress.\n // Spawn a task to request the route, load it into the cache, and ping\n // the task to continue.\n\n // TODO: There are multiple strategies in the API for prefetching\n // a route. Currently we've only implemented the main one: per-segment,\n // static-data only.\n //\n // There's also ``\n // which prefetch both static *and* dynamic data.\n // Similarly, we need to fallback to the old, per-page\n // behavior if PPR is disabled for a route (via the incremental opt-in).\n //\n // Those cases will be handled here.\n spawnPrefetchSubtask(fetchRouteOnCacheMiss(route, task, task.key))\n\n // If the request takes longer than a minute, a subsequent request should\n // retry instead of waiting for this one. When the response is received,\n // this value will be replaced by a new value based on the stale time sent\n // from the server.\n // TODO: We should probably also manually abort the fetch task, to reclaim\n // server bandwidth.\n route.staleAt = now + 60 * 1000\n\n // Upgrade to Pending so we know there's already a request in progress\n route.status = EntryStatus.Pending\n\n // Intentional fallthrough to the Pending branch\n }\n case EntryStatus.Pending: {\n // Still pending. We can't start prefetching the segments until the route\n // tree has loaded. Add the task to the set of blocked tasks so that it\n // is notified when the route tree is ready.\n const blockedTasks = route.blockedTasks\n if (blockedTasks === null) {\n route.blockedTasks = new Set([task])\n } else {\n blockedTasks.add(task)\n }\n return PrefetchTaskExitStatus.Blocked\n }\n case EntryStatus.Rejected: {\n // Route tree failed to load. Treat as a 404.\n return PrefetchTaskExitStatus.Done\n }\n case EntryStatus.Fulfilled: {\n if (task.phase !== PrefetchPhase.Segments) {\n // Do not prefetch segment data until we've entered the segment phase.\n return PrefetchTaskExitStatus.Done\n }\n // Recursively fill in the segment tree.\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n const tree = route.tree\n\n // A task's fetch strategy gets set to `PPR` for any \"auto\" prefetch.\n // If it turned out that the route isn't PPR-enabled, we need to use `LoadingBoundary` instead.\n // We don't need to do this for runtime prefetches, because those are only available in\n // `cacheComponents`, where every route is PPR.\n const fetchStrategy =\n task.fetchStrategy === FetchStrategy.PPR\n ? route.isPPREnabled\n ? FetchStrategy.PPR\n : FetchStrategy.LoadingBoundary\n : task.fetchStrategy\n\n switch (fetchStrategy) {\n case FetchStrategy.PPR: {\n // For Cache Components pages, each segment may be prefetched\n // statically or using a runtime request, based on various\n // configurations and heuristics. We'll do this in two passes: first\n // traverse the tree and perform all the static prefetches.\n //\n // Then, if there are any segments that need a runtime request,\n // do another pass to perform a runtime prefetch.\n pingStaticHead(now, task, route)\n const exitStatus = pingSharedPartOfCacheComponentsTree(\n now,\n task,\n route,\n task.treeAtTimeOfPrefetch,\n tree\n )\n if (exitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n const spawnedRuntimePrefetches = task.spawnedRuntimePrefetches\n if (spawnedRuntimePrefetches !== null) {\n // During the first pass, we discovered segments that require a\n // runtime prefetch. Do a second pass to construct a request tree.\n const spawnedEntries = new Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n >()\n pingRuntimeHead(\n now,\n task,\n route,\n spawnedEntries,\n FetchStrategy.PPRRuntime\n )\n const requestTree = pingRuntimePrefetches(\n now,\n task,\n route,\n tree,\n spawnedRuntimePrefetches,\n spawnedEntries\n )\n let needsDynamicRequest = spawnedEntries.size > 0\n if (needsDynamicRequest) {\n // Perform a dynamic prefetch request and populate the cache with\n // the result.\n spawnPrefetchSubtask(\n fetchSegmentPrefetchesUsingDynamicRequest(\n task,\n route,\n FetchStrategy.PPRRuntime,\n requestTree,\n spawnedEntries\n )\n )\n }\n }\n return PrefetchTaskExitStatus.Done\n }\n case FetchStrategy.Full:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.LoadingBoundary: {\n // Prefetch multiple segments using a single dynamic request.\n // TODO: We can consolidate this branch with previous one by modeling\n // it as if the first segment in the new tree has runtime prefetching\n // enabled. Will do this as a follow-up refactor. Might want to remove\n // the special metatdata case below first. In the meantime, it's not\n // really that much duplication, just would be nice to remove one of\n // these codepaths.\n const spawnedEntries = new Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n >()\n pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy)\n const dynamicRequestTree = diffRouteTreeAgainstCurrent(\n now,\n task,\n route,\n task.treeAtTimeOfPrefetch,\n tree,\n spawnedEntries,\n fetchStrategy\n )\n let needsDynamicRequest = spawnedEntries.size > 0\n if (needsDynamicRequest) {\n spawnPrefetchSubtask(\n fetchSegmentPrefetchesUsingDynamicRequest(\n task,\n route,\n fetchStrategy,\n dynamicRequestTree,\n spawnedEntries\n )\n )\n }\n return PrefetchTaskExitStatus.Done\n }\n default:\n fetchStrategy satisfies never\n }\n break\n }\n default: {\n route satisfies never\n }\n }\n return PrefetchTaskExitStatus.Done\n}\n\nfunction pingStaticHead(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry\n): void {\n // The Head data for a page (metadata, viewport) is not really a route\n // segment, in the sense that it doesn't appear in the route tree. But we\n // store it in the cache as if it were, using a special key.\n pingStaticSegmentData(\n now,\n task,\n route,\n readOrCreateSegmentCacheEntry(\n now,\n FetchStrategy.PPR,\n route,\n route.metadata\n ),\n task.key,\n route.metadata\n )\n}\n\nfunction pingRuntimeHead(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map,\n fetchStrategy:\n | FetchStrategy.Full\n | FetchStrategy.PPRRuntime\n | FetchStrategy.LoadingBoundary\n): void {\n pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n route.metadata,\n false,\n spawnedEntries,\n // When prefetching the head, there's no difference between Full\n // and LoadingBoundary\n fetchStrategy === FetchStrategy.LoadingBoundary\n ? FetchStrategy.Full\n : fetchStrategy\n )\n}\n\n// TODO: Rename dynamic -> runtime throughout this module\n\nfunction pingSharedPartOfCacheComponentsTree(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n oldTree: FlightRouterState,\n newTree: RouteTree\n): PrefetchTaskExitStatus {\n // When Cache Components is enabled (or PPR, or a fully static route when PPR\n // is disabled; those cases are treated equivalently to Cache Components), we\n // start by prefetching each segment individually. Once we reach the \"new\"\n // part of the tree — the part that doesn't exist on the current page — we\n // may choose to switch to a runtime prefetch instead, based on the\n // information sent by the server in the route tree.\n //\n // The traversal starts in the \"shared\" part of the tree. Once we reach the\n // \"new\" part of the tree, we switch to a different traversal,\n // pingNewPartOfCacheComponentsTree.\n\n // Prefetch this segment's static data.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n task.fetchStrategy,\n route,\n newTree\n )\n pingStaticSegmentData(now, task, route, segment, task.key, newTree)\n\n // Recursively ping the children.\n const oldTreeChildren = oldTree[1]\n const newTreeChildren = newTree.slots\n if (newTreeChildren !== null) {\n for (const parallelRouteKey in newTreeChildren) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n const newTreeChild = newTreeChildren[parallelRouteKey]\n const newTreeChildSegment = newTreeChild.segment\n const oldTreeChild: FlightRouterState | void =\n oldTreeChildren[parallelRouteKey]\n const oldTreeChildSegment: FlightRouterStateSegment | void =\n oldTreeChild?.[0]\n let childExitStatus\n if (\n oldTreeChildSegment !== undefined &&\n doesCurrentSegmentMatchCachedSegment(\n route,\n newTreeChildSegment,\n oldTreeChildSegment\n )\n ) {\n // We're still in the \"shared\" part of the tree.\n childExitStatus = pingSharedPartOfCacheComponentsTree(\n now,\n task,\n route,\n oldTreeChild,\n newTreeChild\n )\n } else {\n // We've entered the \"new\" part of the tree. Switch\n // traversal functions.\n childExitStatus = pingNewPartOfCacheComponentsTree(\n now,\n task,\n route,\n newTreeChild\n )\n }\n if (childExitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n }\n }\n\n return PrefetchTaskExitStatus.Done\n}\n\nfunction pingNewPartOfCacheComponentsTree(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): PrefetchTaskExitStatus.InProgress | PrefetchTaskExitStatus.Done {\n // We're now prefetching in the \"new\" part of the tree, the part that doesn't\n // exist on the current page. (In other words, we're deeper than the\n // shared layouts.) Segments in here default to being prefetched statically.\n // However, if the server instructs us to, we may switch to a runtime\n // prefetch instead. Traverse the tree and check at each segment.\n if (tree.hasRuntimePrefetch) {\n // This route has a runtime prefetch response. Since we're below the shared\n // layout, everything from this point should be prefetched using a single,\n // combined runtime request, rather than using per-segment static requests.\n // This is true even if some of the child segments are known to be fully\n // static — once we've decided to perform a runtime prefetch, we might as\n // well respond with the static segments in the same roundtrip. (That's how\n // regular navigations work, too.) We'll still skip over segments that are\n // already cached, though.\n //\n // It's the server's responsibility to set a reasonable value of\n // `hasRuntimePrefetch`. Currently it's user-defined, but eventually, the\n // server may send a value of `false` even if the user opts in, if it\n // determines during build that the route is always fully static. There are\n // more optimizations we can do once we implement fallback param\n // tracking, too.\n //\n // Use the task object to collect the segments that need a runtime prefetch.\n // This will signal to the outer task queue that a second traversal is\n // required to construct a request tree.\n if (task.spawnedRuntimePrefetches === null) {\n task.spawnedRuntimePrefetches = new Set([tree.requestKey])\n } else {\n task.spawnedRuntimePrefetches.add(tree.requestKey)\n }\n // Then exit the traversal without prefetching anything further.\n return PrefetchTaskExitStatus.Done\n }\n\n // This segment should not be runtime prefetched. Prefetch its static data.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n task.fetchStrategy,\n route,\n tree\n )\n pingStaticSegmentData(now, task, route, segment, task.key, tree)\n if (tree.slots !== null) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n // Recursively ping the children.\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n const childExitStatus = pingNewPartOfCacheComponentsTree(\n now,\n task,\n route,\n childTree\n )\n if (childExitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n }\n }\n // This segment and all its children have finished prefetching.\n return PrefetchTaskExitStatus.Done\n}\n\nfunction diffRouteTreeAgainstCurrent(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n oldTree: FlightRouterState,\n newTree: RouteTree,\n spawnedEntries: Map,\n fetchStrategy:\n | FetchStrategy.Full\n | FetchStrategy.PPRRuntime\n | FetchStrategy.LoadingBoundary\n): FlightRouterState {\n // This is a single recursive traversal that does multiple things:\n // - Finds the parts of the target route (newTree) that are not part of\n // of the current page (oldTree) by diffing them, using the same algorithm\n // as a real navigation.\n // - Constructs a request tree (FlightRouterState) that describes which\n // segments need to be prefetched and which ones are already cached.\n // - Creates a set of pending cache entries for the segments that need to\n // be prefetched, so that a subsequent prefetch task does not request the\n // same segments again.\n const oldTreeChildren = oldTree[1]\n const newTreeChildren = newTree.slots\n let requestTreeChildren: Record = {}\n if (newTreeChildren !== null) {\n for (const parallelRouteKey in newTreeChildren) {\n const newTreeChild = newTreeChildren[parallelRouteKey]\n const newTreeChildSegment = newTreeChild.segment\n const oldTreeChild: FlightRouterState | void =\n oldTreeChildren[parallelRouteKey]\n const oldTreeChildSegment: FlightRouterStateSegment | void =\n oldTreeChild?.[0]\n if (\n oldTreeChildSegment !== undefined &&\n doesCurrentSegmentMatchCachedSegment(\n route,\n newTreeChildSegment,\n oldTreeChildSegment\n )\n ) {\n // This segment is already part of the current route. Keep traversing.\n const requestTreeChild = diffRouteTreeAgainstCurrent(\n now,\n task,\n route,\n oldTreeChild,\n newTreeChild,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n } else {\n // This segment is not part of the current route. We're entering a\n // part of the tree that we need to prefetch (unless everything is\n // already cached).\n switch (fetchStrategy) {\n case FetchStrategy.LoadingBoundary: {\n // When PPR is disabled, we can't prefetch per segment. We must\n // fallback to the old prefetch behavior and send a dynamic request.\n // Only routes that include a loading boundary can be prefetched in\n // this way.\n //\n // This is simlar to a \"full\" prefetch, but we're much more\n // conservative about which segments to include in the request.\n //\n // The server will only render up to the first loading boundary\n // inside new part of the tree. If there's no loading boundary\n // anywhere in the tree, the server will never return any data, so\n // we can skip the request.\n const subtreeHasLoadingBoundary =\n newTreeChild.hasLoadingBoundary !==\n HasLoadingBoundary.SubtreeHasNoLoadingBoundary\n const requestTreeChild = subtreeHasLoadingBoundary\n ? pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now,\n task,\n route,\n newTreeChild,\n null,\n spawnedEntries\n )\n : // There's no loading boundary within this tree. Bail out.\n convertRouteTreeToFlightRouterState(newTreeChild)\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n case FetchStrategy.PPRRuntime: {\n // This is a runtime prefetch. Fetch all cacheable data in the tree,\n // not just the static PPR shell.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n newTreeChild,\n false,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n case FetchStrategy.Full: {\n // This is a \"full\" prefetch. Fetch all the data in the tree, both\n // static and dynamic. We issue roughly the same request that we\n // would during a real navigation. The goal is that once the\n // navigation occurs, the router should not have to fetch any\n // additional data.\n //\n // Although the response will include dynamic data, opting into a\n // Full prefetch — via — implicitly\n // instructs the cache to treat the response as \"static\", or non-\n // dynamic, since the whole point is to cache it for\n // future navigations.\n //\n // Construct a tree (currently a FlightRouterState) that represents\n // which segments need to be prefetched and which ones are already\n // cached. If the tree is empty, then we can exit. Otherwise, we'll\n // send the request tree to the server and use the response to\n // populate the segment cache.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n newTreeChild,\n false,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n default:\n fetchStrategy satisfies never\n }\n }\n }\n }\n const requestTree: FlightRouterState = [\n newTree.segment,\n requestTreeChildren,\n null,\n null,\n newTree.isRootLayout,\n ]\n return requestTree\n}\n\nfunction pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n refetchMarkerContext: 'refetch' | 'inside-shared-layout' | null,\n spawnedEntries: Map\n): FlightRouterState {\n // This function is similar to pingRouteTreeAndIncludeDynamicData, except the\n // server is only going to return a minimal loading state — it will stop\n // rendering at the first loading boundary. Whereas a Full prefetch is\n // intentionally aggressive and tries to pretfetch all the data that will be\n // needed for a navigation, a LoadingBoundary prefetch is much more\n // conservative. For example, it will omit from the request tree any segment\n // that is already cached, regardles of whether it's partial or full. By\n // contrast, a Full prefetch will refetch partial segments.\n\n // \"inside-shared-layout\" tells the server where to start looking for a\n // loading boundary.\n let refetchMarker: 'refetch' | 'inside-shared-layout' | null =\n refetchMarkerContext === null ? 'inside-shared-layout' : null\n\n const segment = readOrCreateSegmentCacheEntry(\n now,\n task.fetchStrategy,\n route,\n tree\n )\n switch (segment.status) {\n case EntryStatus.Empty: {\n // This segment is not cached. Add a refetch marker so the server knows\n // to start rendering here.\n // TODO: Instead of a \"refetch\" marker, we could just omit this subtree's\n // FlightRouterState from the request tree. I think this would probably\n // already work even without any updates to the server. For consistency,\n // though, I'll send the full tree and we'll look into this later as part\n // of a larger redesign of the request protocol.\n\n // Add the pending cache entry to the result map.\n spawnedEntries.set(\n tree.requestKey,\n upgradeToPendingSegment(\n segment,\n // Set the fetch strategy to LoadingBoundary to indicate that the server\n // might not include it in the pending response. If another route is able\n // to issue a per-segment request, we'll do that in the background.\n FetchStrategy.LoadingBoundary\n )\n )\n if (refetchMarkerContext !== 'refetch') {\n refetchMarker = refetchMarkerContext = 'refetch'\n } else {\n // There's already a parent with a refetch marker, so we don't need\n // to add another one.\n }\n break\n }\n case EntryStatus.Fulfilled: {\n // The segment is already cached.\n const segmentHasLoadingBoundary =\n tree.hasLoadingBoundary === HasLoadingBoundary.SegmentHasLoadingBoundary\n if (segmentHasLoadingBoundary) {\n // This segment has a loading boundary, which means the server won't\n // render its children. So there's nothing left to prefetch along this\n // path. We can bail out.\n return convertRouteTreeToFlightRouterState(tree)\n }\n // NOTE: If the cached segment were fetched using PPR, then it might be\n // partial. We could get a more complete version of the segment by\n // including it in this non-PPR request.\n //\n // We're intentionally choosing not to, though, because it's generally\n // better to avoid doing a full prefetch whenever possible.\n break\n }\n case EntryStatus.Pending: {\n // There's another prefetch currently in progress. Don't add the refetch\n // marker yet, so the server knows it can skip rendering this segment.\n break\n }\n case EntryStatus.Rejected: {\n // The segment failed to load. We shouldn't issue another request until\n // the stale time has elapsed.\n break\n }\n default:\n segment satisfies never\n }\n const requestTreeChildren: Record = {}\n if (tree.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] =\n pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now,\n task,\n route,\n childTree,\n refetchMarkerContext,\n spawnedEntries\n )\n }\n }\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n tree.isRootLayout,\n ]\n return requestTree\n}\n\nfunction pingRouteTreeAndIncludeDynamicData(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n isInsideRefetchingParent: boolean,\n spawnedEntries: Map,\n fetchStrategy: FetchStrategy.Full | FetchStrategy.PPRRuntime\n): FlightRouterState {\n // The tree we're constructing is the same shape as the tree we're navigating\n // to. But even though this is a \"new\" tree, some of the individual segments\n // may be cached as a result of other route prefetches.\n //\n // So we need to find the first uncached segment along each path add an\n // explicit \"refetch\" marker so the server knows where to start rendering.\n // Once the server starts rendering along a path, it keeps rendering the\n // entire subtree.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n // Note that `fetchStrategy` might be different from `task.fetchStrategy`,\n // and we have to use the former here.\n // We can have a task with `FetchStrategy.PPR` where some of its segments are configured to\n // always use runtime prefetching (via `export const prefetch`), and those should check for\n // entries that include search params.\n fetchStrategy,\n route,\n tree\n )\n\n let spawnedSegment: PendingSegmentCacheEntry | null = null\n\n switch (segment.status) {\n case EntryStatus.Empty: {\n // This segment is not cached. Include it in the request.\n spawnedSegment = upgradeToPendingSegment(segment, fetchStrategy)\n break\n }\n case EntryStatus.Fulfilled: {\n // The segment is already cached.\n if (\n segment.isPartial &&\n canNewFetchStrategyProvideMoreContent(\n segment.fetchStrategy,\n fetchStrategy\n )\n ) {\n // The cached segment contains dynamic holes, and was prefetched using a less specific strategy than the current one.\n // This means we're in one of these cases:\n // - we have a static prefetch, and we're doing a runtime prefetch\n // - we have a static or runtime prefetch, and we're doing a Full prefetch (or a navigation).\n // In either case, we need to include it in the request to get a more specific (or full) version.\n spawnedSegment = pingFullSegmentRevalidation(\n now,\n route,\n tree,\n fetchStrategy\n )\n }\n break\n }\n case EntryStatus.Pending:\n case EntryStatus.Rejected: {\n // There's either another prefetch currently in progress, or the previous\n // attempt failed. If the new strategy can provide more content, fetch it again.\n if (\n canNewFetchStrategyProvideMoreContent(\n segment.fetchStrategy,\n fetchStrategy\n )\n ) {\n spawnedSegment = pingFullSegmentRevalidation(\n now,\n route,\n tree,\n fetchStrategy\n )\n }\n break\n }\n default:\n segment satisfies never\n }\n const requestTreeChildren: Record = {}\n if (tree.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] =\n pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n childTree,\n isInsideRefetchingParent || spawnedSegment !== null,\n spawnedEntries,\n fetchStrategy\n )\n }\n }\n\n if (spawnedSegment !== null) {\n // Add the pending entry to the result map.\n spawnedEntries.set(tree.requestKey, spawnedSegment)\n }\n\n // Don't bother to add a refetch marker if one is already present in a parent.\n const refetchMarker =\n !isInsideRefetchingParent && spawnedSegment !== null ? 'refetch' : null\n\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n tree.isRootLayout,\n ]\n return requestTree\n}\n\nfunction pingRuntimePrefetches(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n spawnedRuntimePrefetches: Set,\n spawnedEntries: Map\n): FlightRouterState {\n // Construct a request tree (FlightRouterState) for a runtime prefetch. If\n // a segment is part of the runtime prefetch, the tree is constructed by\n // diffing against what's already in the prefetch cache. Otherwise, we send\n // a regular FlightRouterState with no special markers.\n //\n // See pingRouteTreeAndIncludeDynamicData for details.\n if (spawnedRuntimePrefetches.has(tree.requestKey)) {\n // This segment needs a runtime prefetch.\n return pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n tree,\n false,\n spawnedEntries,\n FetchStrategy.PPRRuntime\n )\n }\n let requestTreeChildren: Record = {}\n const slots = tree.slots\n if (slots !== null) {\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] = pingRuntimePrefetches(\n now,\n task,\n route,\n childTree,\n spawnedRuntimePrefetches,\n spawnedEntries\n )\n }\n }\n\n // This segment is not part of the runtime prefetch. Clone the base tree.\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n null,\n ]\n return requestTree\n}\n\nfunction pingStaticSegmentData(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n segment: SegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): void {\n switch (segment.status) {\n case EntryStatus.Empty:\n // Upgrade to Pending so we know there's already a request in progress\n spawnPrefetchSubtask(\n fetchSegmentOnCacheMiss(\n route,\n upgradeToPendingSegment(segment, FetchStrategy.PPR),\n routeKey,\n tree\n )\n )\n break\n case EntryStatus.Pending: {\n // There's already a request in progress. Depending on what kind of\n // request it is, we may want to revalidate it.\n switch (segment.fetchStrategy) {\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n // There's already a request in progress. Don't do anything.\n break\n case FetchStrategy.LoadingBoundary:\n // There's a pending request, but because it's using the old\n // prefetching strategy, we can't be sure if it will be fulfilled by\n // the response — it might be inside the loading boundary. Perform\n // a revalidation, but because it's speculative, wait to do it at\n // background priority.\n if (background(task)) {\n // TODO: Instead of speculatively revalidating, consider including\n // `hasLoading` in the route tree prefetch response.\n pingPPRSegmentRevalidation(now, route, routeKey, tree)\n }\n break\n default:\n segment.fetchStrategy satisfies never\n }\n break\n }\n case EntryStatus.Rejected: {\n // The existing entry in the cache was rejected. Depending on how it\n // was originally fetched, we may or may not want to revalidate it.\n switch (segment.fetchStrategy) {\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n // The previous attempt to fetch this entry failed. Don't attempt to\n // fetch it again until the entry expires.\n break\n case FetchStrategy.LoadingBoundary:\n // There's a rejected entry, but it was fetched using the loading\n // boundary strategy. So the reason it wasn't returned by the server\n // might just be because it was inside a loading boundary. Or because\n // there was a dynamic rewrite. Revalidate it using the per-\n // segment strategy.\n //\n // Because a rejected segment will definitely prevent the segment (and\n // all of its children) from rendering, we perform this revalidation\n // immediately instead of deferring it to a background task.\n pingPPRSegmentRevalidation(now, route, routeKey, tree)\n break\n default:\n segment.fetchStrategy satisfies never\n }\n break\n }\n case EntryStatus.Fulfilled:\n // Segment is already cached. There's nothing left to prefetch.\n break\n default:\n segment satisfies never\n }\n\n // Segments do not have dependent tasks, so once the prefetch is initiated,\n // there's nothing else for us to do (except write the server data into the\n // entry, which is handled by `fetchSegmentOnCacheMiss`).\n}\n\nfunction pingPPRSegmentRevalidation(\n now: number,\n route: FulfilledRouteCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): void {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(\n now,\n FetchStrategy.PPR,\n route,\n tree\n )\n switch (revalidatingSegment.status) {\n case EntryStatus.Empty:\n // Spawn a prefetch request and upsert the segment into the cache\n // upon completion.\n upsertSegmentOnCompletion(\n spawnPrefetchSubtask(\n fetchSegmentOnCacheMiss(\n route,\n upgradeToPendingSegment(revalidatingSegment, FetchStrategy.PPR),\n routeKey,\n tree\n )\n ),\n getSegmentVaryPathForRequest(FetchStrategy.PPR, tree)\n )\n break\n case EntryStatus.Pending:\n // There's already a revalidation in progress.\n break\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n break\n default:\n revalidatingSegment satisfies never\n }\n}\n\nfunction pingFullSegmentRevalidation(\n now: number,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n fetchStrategy: FetchStrategy.Full | FetchStrategy.PPRRuntime\n): PendingSegmentCacheEntry | null {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(\n now,\n fetchStrategy,\n route,\n tree\n )\n if (revalidatingSegment.status === EntryStatus.Empty) {\n // During a Full/PPRRuntime prefetch, a single dynamic request is made for all the\n // segments that we need. So we don't initiate a request here directly. By\n // returning a pending entry from this function, it signals to the caller\n // that this segment should be included in the request that's sent to\n // the server.\n const pendingSegment = upgradeToPendingSegment(\n revalidatingSegment,\n fetchStrategy\n )\n upsertSegmentOnCompletion(\n waitForSegmentCacheEntry(pendingSegment),\n getSegmentVaryPathForRequest(fetchStrategy, tree)\n )\n return pendingSegment\n } else {\n // There's already a revalidation in progress.\n const nonEmptyRevalidatingSegment = revalidatingSegment\n if (\n canNewFetchStrategyProvideMoreContent(\n nonEmptyRevalidatingSegment.fetchStrategy,\n fetchStrategy\n )\n ) {\n // The existing revalidation was fetched using a less specific strategy.\n // Reset it and start a new revalidation.\n const emptySegment = overwriteRevalidatingSegmentCacheEntry(\n fetchStrategy,\n route,\n tree\n )\n const pendingSegment = upgradeToPendingSegment(\n emptySegment,\n fetchStrategy\n )\n upsertSegmentOnCompletion(\n waitForSegmentCacheEntry(pendingSegment),\n getSegmentVaryPathForRequest(fetchStrategy, tree)\n )\n return pendingSegment\n }\n switch (nonEmptyRevalidatingSegment.status) {\n case EntryStatus.Pending:\n // There's already an in-progress prefetch that includes this segment.\n return null\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n return null\n default:\n nonEmptyRevalidatingSegment satisfies never\n return null\n }\n }\n}\n\nconst noop = () => {}\n\nfunction upsertSegmentOnCompletion(\n promise: Promise,\n varyPath: SegmentVaryPath\n) {\n // Wait for a segment to finish loading, then upsert it into the cache\n promise.then((fulfilled) => {\n if (fulfilled !== null) {\n // Received new data. Attempt to replace the existing entry in the cache.\n upsertSegmentEntry(Date.now(), varyPath, fulfilled)\n }\n }, noop)\n}\n\nfunction doesCurrentSegmentMatchCachedSegment(\n route: FulfilledRouteCacheEntry,\n currentSegment: Segment,\n cachedSegment: Segment\n): boolean {\n if (cachedSegment === PAGE_SEGMENT_KEY) {\n // In the FlightRouterState stored by the router, the page segment has the\n // rendered search params appended to the name of the segment. In the\n // prefetch cache, however, this is stored separately. So, when comparing\n // the router's current FlightRouterState to the cached FlightRouterState,\n // we need to make sure we compare both parts of the segment.\n // TODO: This is not modeled clearly. We use the same type,\n // FlightRouterState, for both the CacheNode tree _and_ the prefetch cache\n // _and_ the server response format, when conceptually those are three\n // different things and treated in different ways. We should encode more of\n // this information into the type design so mistakes are less likely.\n return (\n currentSegment ===\n addSearchParamsIfPageSegment(\n PAGE_SEGMENT_KEY,\n Object.fromEntries(new URLSearchParams(route.renderedSearch))\n )\n )\n }\n // Non-page segments are compared using the same function as the server\n return matchSegment(cachedSegment, currentSegment)\n}\n\n// -----------------------------------------------------------------------------\n// The remainder of the module is a MinHeap implementation. Try not to put any\n// logic below here unless it's related to the heap algorithm. We can extract\n// this to a separate module if/when we need multiple kinds of heaps.\n// -----------------------------------------------------------------------------\n\nfunction compareQueuePriority(a: PrefetchTask, b: PrefetchTask) {\n // Since the queue is a MinHeap, this should return a positive number if b is\n // higher priority than a, and a negative number if a is higher priority\n // than b.\n\n // `priority` is an integer, where higher numbers are higher priority.\n const priorityDiff = b.priority - a.priority\n if (priorityDiff !== 0) {\n return priorityDiff\n }\n\n // If the priority is the same, check which phase the prefetch is in — is it\n // prefetching the route tree, or the segments? Route trees are prioritized.\n const phaseDiff = b.phase - a.phase\n if (phaseDiff !== 0) {\n return phaseDiff\n }\n\n // Finally, check the insertion order. `sortId` is an incrementing counter\n // assigned to prefetches. We want to process the newest prefetches first.\n return b.sortId - a.sortId\n}\n\nfunction heapPush(heap: Array, node: PrefetchTask): void {\n const index = heap.length\n heap.push(node)\n node._heapIndex = index\n heapSiftUp(heap, node, index)\n}\n\nfunction heapPeek(heap: Array): PrefetchTask | null {\n return heap.length === 0 ? null : heap[0]\n}\n\nfunction heapPop(heap: Array): PrefetchTask | null {\n if (heap.length === 0) {\n return null\n }\n const first = heap[0]\n first._heapIndex = -1\n const last = heap.pop() as PrefetchTask\n if (last !== first) {\n heap[0] = last\n last._heapIndex = 0\n heapSiftDown(heap, last, 0)\n }\n return first\n}\n\nfunction heapDelete(heap: Array, node: PrefetchTask): void {\n const index = node._heapIndex\n if (index !== -1) {\n node._heapIndex = -1\n if (heap.length !== 0) {\n const last = heap.pop() as PrefetchTask\n if (last !== node) {\n heap[index] = last\n last._heapIndex = index\n heapSiftDown(heap, last, index)\n }\n }\n }\n}\n\nfunction heapResift(heap: Array, node: PrefetchTask): void {\n const index = node._heapIndex\n if (index !== -1) {\n if (index === 0) {\n heapSiftDown(heap, node, 0)\n } else {\n const parentIndex = (index - 1) >>> 1\n const parent = heap[parentIndex]\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Sift up.\n heapSiftUp(heap, node, index)\n } else {\n // The parent is smaller (or equal). Sift down.\n heapSiftDown(heap, node, index)\n }\n }\n }\n}\n\nfunction heapSiftUp(\n heap: Array,\n node: PrefetchTask,\n i: number\n): void {\n let index = i\n while (index > 0) {\n const parentIndex = (index - 1) >>> 1\n const parent = heap[parentIndex]\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Swap positions.\n heap[parentIndex] = node\n node._heapIndex = parentIndex\n heap[index] = parent\n parent._heapIndex = index\n\n index = parentIndex\n } else {\n // The parent is smaller. Exit.\n return\n }\n }\n}\n\nfunction heapSiftDown(\n heap: Array,\n node: PrefetchTask,\n i: number\n): void {\n let index = i\n const length = heap.length\n const halfLength = length >>> 1\n while (index < halfLength) {\n const leftIndex = (index + 1) * 2 - 1\n const left = heap[leftIndex]\n const rightIndex = leftIndex + 1\n const right = heap[rightIndex]\n\n // If the left or right node is smaller, swap with the smaller of those.\n if (compareQueuePriority(left, node) < 0) {\n if (rightIndex < length && compareQueuePriority(right, left) < 0) {\n heap[index] = right\n right._heapIndex = index\n heap[rightIndex] = node\n node._heapIndex = rightIndex\n\n index = rightIndex\n } else {\n heap[index] = left\n left._heapIndex = index\n heap[leftIndex] = node\n node._heapIndex = leftIndex\n\n index = leftIndex\n }\n } else if (rightIndex < length && compareQueuePriority(right, node) < 0) {\n heap[index] = right\n right._heapIndex = index\n heap[rightIndex] = node\n node._heapIndex = rightIndex\n\n index = rightIndex\n } else {\n // Neither child is smaller. Exit.\n return\n }\n }\n}\n"],"names":["HasLoadingBoundary","matchSegment","readOrCreateRouteCacheEntry","readOrCreateSegmentCacheEntry","fetchRouteOnCacheMiss","fetchSegmentOnCacheMiss","EntryStatus","fetchSegmentPrefetchesUsingDynamicRequest","convertRouteTreeToFlightRouterState","readOrCreateRevalidatingSegmentEntry","upsertSegmentEntry","upgradeToPendingSegment","waitForSegmentCacheEntry","overwriteRevalidatingSegmentCacheEntry","canNewFetchStrategyProvideMoreContent","getSegmentVaryPathForRequest","createCacheKey","FetchStrategy","PrefetchPriority","getCurrentCacheVersion","addSearchParamsIfPageSegment","PAGE_SEGMENT_KEY","scheduleMicrotask","queueMicrotask","fn","Promise","resolve","then","catch","error","setTimeout","taskHeap","inProgressRequests","sortIdCounter","didScheduleMicrotask","mostRecentlyHoveredLink","REVALIDATION_COOLDOWN_MS","revalidationCooldownTimeoutHandle","startRevalidationCooldown","clearTimeout","ensureWorkIsScheduled","schedulePrefetchTask","key","treeAtTimeOfPrefetch","fetchStrategy","priority","onInvalidate","task","cacheVersion","phase","hasBackgroundWork","spawnedRuntimePrefetches","sortId","isCanceled","_heapIndex","trackMostRecentlyHoveredLink","heapPush","cancelPrefetchTask","heapDelete","reschedulePrefetchTask","Intent","heapResift","isPrefetchTaskDirty","nextUrl","tree","currentCacheVersion","Background","Default","processQueueInMicrotask","hasNetworkBandwidth","spawnPrefetchSubtask","prefetchSubtask","result","onPrefetchConnectionClosed","closed","value","pingPrefetchTask","now","Date","heapPeek","exitStatus","pingRoute","heapPop","background","route","pingRootRouteTree","search","url","URL","pathname","location","origin","keyWithoutSearch","href","routeWithoutSearch","status","Empty","Pending","Fulfilled","Rejected","staleAt","blockedTasks","Set","add","PPR","isPPREnabled","LoadingBoundary","pingStaticHead","pingSharedPartOfCacheComponentsTree","spawnedEntries","Map","pingRuntimeHead","PPRRuntime","requestTree","pingRuntimePrefetches","needsDynamicRequest","size","Full","dynamicRequestTree","diffRouteTreeAgainstCurrent","pingStaticSegmentData","metadata","pingRouteTreeAndIncludeDynamicData","oldTree","newTree","segment","oldTreeChildren","newTreeChildren","slots","parallelRouteKey","newTreeChild","newTreeChildSegment","oldTreeChild","oldTreeChildSegment","childExitStatus","undefined","doesCurrentSegmentMatchCachedSegment","pingNewPartOfCacheComponentsTree","hasRuntimePrefetch","requestKey","childTree","requestTreeChildren","requestTreeChild","subtreeHasLoadingBoundary","hasLoadingBoundary","SubtreeHasNoLoadingBoundary","pingPPRDisabledRouteTreeUpToLoadingBoundary","isRootLayout","refetchMarkerContext","refetchMarker","set","segmentHasLoadingBoundary","SegmentHasLoadingBoundary","isInsideRefetchingParent","spawnedSegment","isPartial","pingFullSegmentRevalidation","has","routeKey","pingPPRSegmentRevalidation","revalidatingSegment","upsertSegmentOnCompletion","pendingSegment","nonEmptyRevalidatingSegment","emptySegment","noop","promise","varyPath","fulfilled","currentSegment","cachedSegment","Object","fromEntries","URLSearchParams","renderedSearch","compareQueuePriority","a","b","priorityDiff","phaseDiff","heap","node","index","length","push","heapSiftUp","first","last","pop","heapSiftDown","parentIndex","parent","i","halfLength","leftIndex","left","rightIndex","right"],"mappings":";;;;;;;;;;;;;;AAKA,SAASA,kBAAkB,QAAQ,uCAAsC;AACzE,SAASC,YAAY,QAAQ,oBAAmB;AAChD,SACEC,2BAA2B,EAC3BC,6BAA6B,EAC7BC,qBAAqB,EACrBC,uBAAuB,EACvBC,WAAW,EAKXC,yCAAyC,EAEzCC,mCAAmC,EACnCC,oCAAoC,EACpCC,kBAAkB,EAElBC,uBAAuB,EACvBC,wBAAwB,EACxBC,sCAAsC,EACtCC,qCAAqC,QAChC,UAAS;AAChB,SAASC,4BAA4B,QAA8B,cAAa;AAEhF,SAASC,cAAc,QAAQ,cAAa;AAC5C,SACEC,aAAa,EAEbC,gBAAgB,QACX,UAAS;AAEhB,SACEE,4BAA4B,EAC5BC,gBAAgB,QACX,8BAA6B;;;;;;;;;AAGpC,MAAMC,oBACJ,OAAOC,mBAAmB,aACtBA,iBACA,CAACC,KACCC,QAAQC,OAAO,GACZC,IAAI,CAACH,IACLI,KAAK,CAAC,CAACC,QACNC,WAAW;YACT,MAAMD;QACR;AAsI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users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/links.ts"],"sourcesContent":["import type { FlightRouterState } from '../../shared/lib/app-router-types'\nimport type { AppRouterInstance } from '../../shared/lib/app-router-context.shared-runtime'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n PrefetchPriority,\n} from './segment-cache/types'\nimport { createCacheKey } from './segment-cache/cache-key'\nimport {\n type PrefetchTask,\n schedulePrefetchTask as scheduleSegmentPrefetchTask,\n cancelPrefetchTask,\n reschedulePrefetchTask,\n isPrefetchTaskDirty,\n} from './segment-cache/scheduler'\nimport { startTransition } from 'react'\n\ntype LinkElement = HTMLAnchorElement | SVGAElement\n\ntype Element = LinkElement | HTMLFormElement\n\n// Properties that are shared between Link and Form instances. We use the same\n// shape for both to prevent a polymorphic de-opt in the VM.\ntype LinkOrFormInstanceShared = {\n router: AppRouterInstance\n fetchStrategy: PrefetchTaskFetchStrategy\n\n isVisible: boolean\n\n // The most recently initiated prefetch task. It may or may not have\n // already completed. The same prefetch task object can be reused across\n // multiple prefetches of the same link.\n prefetchTask: PrefetchTask | null\n}\n\nexport type FormInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: null\n}\n\ntype PrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype NonPrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: null\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype PrefetchableInstance = PrefetchableLinkInstance | FormInstance\n\nexport type LinkInstance =\n | PrefetchableLinkInstance\n | NonPrefetchableLinkInstance\n\n// Tracks the most recently navigated link instance. When null, indicates\n// the current navigation was not initiated by a link click.\nlet linkForMostRecentNavigation: LinkInstance | null = null\n\n// Status object indicating link is pending\nexport const PENDING_LINK_STATUS = { pending: true }\n\n// Status object indicating link is idle\nexport const IDLE_LINK_STATUS = { pending: false }\n\n// Updates the loading state when navigating between links\n// - Resets the previous link's loading state\n// - Sets the new link's loading state\n// - Updates tracking of current navigation\nexport function setLinkForCurrentNavigation(link: LinkInstance | null) {\n startTransition(() => {\n linkForMostRecentNavigation?.setOptimisticLinkStatus(IDLE_LINK_STATUS)\n link?.setOptimisticLinkStatus(PENDING_LINK_STATUS)\n linkForMostRecentNavigation = link\n })\n}\n\n// Unmounts the current link instance from navigation tracking\nexport function unmountLinkForCurrentNavigation(link: LinkInstance) {\n if (linkForMostRecentNavigation === link) {\n linkForMostRecentNavigation = null\n }\n}\n\n// Use a WeakMap to associate a Link instance with its DOM element. This is\n// used by the IntersectionObserver to track the link's visibility.\nconst prefetchable:\n | WeakMap\n | Map =\n typeof WeakMap === 'function' ? new WeakMap() : new Map()\n\n// A Set of the currently visible links. We re-prefetch visible links after a\n// cache invalidation, or when the current URL changes. It's a separate data\n// structure from the WeakMap above because only the visible links need to\n// be enumerated.\nconst prefetchableAndVisible: Set = new Set()\n\n// A single IntersectionObserver instance shared by all components.\nconst observer: IntersectionObserver | null =\n typeof IntersectionObserver === 'function'\n ? new IntersectionObserver(handleIntersect, {\n rootMargin: '200px',\n })\n : null\n\nfunction observeVisibility(element: Element, instance: PrefetchableInstance) {\n const existingInstance = prefetchable.get(element)\n if (existingInstance !== undefined) {\n // This shouldn't happen because each component should have its own\n // anchor tag instance, but it's defensive coding to avoid a memory leak in\n // case there's a logical error somewhere else.\n unmountPrefetchableInstance(element)\n }\n // Only track prefetchable links that have a valid prefetch URL\n prefetchable.set(element, instance)\n if (observer !== null) {\n observer.observe(element)\n }\n}\n\nfunction coercePrefetchableUrl(href: string): URL | null {\n if (typeof window !== 'undefined') {\n const { createPrefetchURL } =\n require('./app-router-utils') as typeof import('./app-router-utils')\n\n try {\n return createPrefetchURL(href)\n } catch {\n // createPrefetchURL sometimes throws an error if an invalid URL is\n // provided, though I'm not sure if it's actually necessary.\n // TODO: Consider removing the throw from the inner function, or change it\n // to reportError. Or maybe the error isn't even necessary for automatic\n // prefetches, just navigations.\n const reportErrorFn =\n typeof reportError === 'function' ? reportError : console.error\n reportErrorFn(\n `Cannot prefetch '${href}' because it cannot be converted to a URL.`\n )\n return null\n }\n } else {\n return null\n }\n}\n\nexport function mountLinkInstance(\n element: LinkElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy,\n prefetchEnabled: boolean,\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n): LinkInstance {\n if (prefetchEnabled) {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL !== null) {\n const instance: PrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus,\n }\n // We only observe the link's visibility if it's prefetchable. For\n // example, this excludes links to external URLs.\n observeVisibility(element, instance)\n return instance\n }\n }\n // If the link is not prefetchable, we still create an instance so we can\n // track its optimistic state (i.e. useLinkStatus).\n const instance: NonPrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: null,\n setOptimisticLinkStatus,\n }\n return instance\n}\n\nexport function mountFormInstance(\n element: HTMLFormElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy\n): void {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL === null) {\n // This href is not prefetchable, so we don't track it.\n // TODO: We currently observe/unobserve a form every time its href changes.\n // For Links, this isn't a big deal because the href doesn't usually change,\n // but for forms it's extremely common. We should optimize this.\n return\n }\n const instance: FormInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus: null,\n }\n observeVisibility(element, instance)\n}\n\nexport function unmountPrefetchableInstance(element: Element) {\n const instance = prefetchable.get(element)\n if (instance !== undefined) {\n prefetchable.delete(element)\n prefetchableAndVisible.delete(instance)\n const prefetchTask = instance.prefetchTask\n if (prefetchTask !== null) {\n cancelPrefetchTask(prefetchTask)\n }\n }\n if (observer !== null) {\n observer.unobserve(element)\n }\n}\n\nfunction handleIntersect(entries: Array) {\n for (const entry of entries) {\n // Some extremely old browsers or polyfills don't reliably support\n // isIntersecting so we check intersectionRatio instead. (Do we care? Not\n // really. But whatever this is fine.)\n const isVisible = entry.intersectionRatio > 0\n onLinkVisibilityChanged(entry.target as HTMLAnchorElement, isVisible)\n }\n}\n\nexport function onLinkVisibilityChanged(element: Element, isVisible: boolean) {\n if (process.env.NODE_ENV !== 'production') {\n // Prefetching on viewport is disabled in development for performance\n // reasons, because it requires compiling the target page.\n // TODO: Investigate re-enabling this.\n return\n }\n\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n\n instance.isVisible = isVisible\n if (isVisible) {\n prefetchableAndVisible.add(instance)\n } else {\n prefetchableAndVisible.delete(instance)\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Default)\n}\n\nexport function onNavigationIntent(\n element: HTMLAnchorElement | SVGAElement,\n unstable_upgradeToDynamicPrefetch: boolean\n) {\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n // Prefetch the link on hover/touchstart.\n if (instance !== undefined) {\n if (\n process.env.__NEXT_DYNAMIC_ON_HOVER &&\n unstable_upgradeToDynamicPrefetch\n ) {\n // Switch to a full prefetch\n instance.fetchStrategy = FetchStrategy.Full\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Intent)\n }\n}\n\nfunction rescheduleLinkPrefetch(\n instance: PrefetchableInstance,\n priority: PrefetchPriority.Default | PrefetchPriority.Intent\n) {\n // Ensures that app-router-instance is not compiled in the server bundle\n if (typeof window !== 'undefined') {\n const existingPrefetchTask = instance.prefetchTask\n\n if (!instance.isVisible) {\n // Cancel any in-progress prefetch task. (If it already finished then this\n // is a no-op.)\n if (existingPrefetchTask !== null) {\n cancelPrefetchTask(existingPrefetchTask)\n }\n // We don't need to reset the prefetchTask to null upon cancellation; an\n // old task object can be rescheduled with reschedulePrefetchTask. This is a\n // micro-optimization but also makes the code simpler (don't need to\n // worry about whether an old task object is stale).\n return\n }\n\n const { getCurrentAppRouterState } =\n require('./app-router-instance') as typeof import('./app-router-instance')\n\n const appRouterState = getCurrentAppRouterState()\n if (appRouterState !== null) {\n const treeAtTimeOfPrefetch = appRouterState.tree\n if (existingPrefetchTask === null) {\n // Initiate a prefetch task.\n const nextUrl = appRouterState.nextUrl\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority,\n null\n )\n } else {\n // We already have an old task object that we can reschedule. This is\n // effectively the same as canceling the old task and creating a new one.\n reschedulePrefetchTask(\n existingPrefetchTask,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority\n )\n }\n }\n }\n}\n\nexport function pingVisibleLinks(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // For each currently visible link, cancel the existing prefetch task (if it\n // exists) and schedule a new one. This is effectively the same as if all the\n // visible links left and then re-entered the viewport.\n //\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n for (const instance of prefetchableAndVisible) {\n const task = instance.prefetchTask\n if (task !== null && !isPrefetchTaskDirty(task, nextUrl, tree)) {\n // The cache has not been invalidated, and none of the inputs have\n // changed. Bail out.\n continue\n }\n // Something changed. Cancel the existing prefetch task and schedule a\n // new one.\n if (task !== null) {\n cancelPrefetchTask(task)\n }\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n tree,\n instance.fetchStrategy,\n PrefetchPriority.Default,\n null\n )\n }\n}\n"],"names":["FetchStrategy","PrefetchPriority","createCacheKey","schedulePrefetchTask","scheduleSegmentPrefetchTask","cancelPrefetchTask","reschedulePrefetchTask","isPrefetchTaskDirty","startTransition","linkForMostRecentNavigation","PENDING_LINK_STATUS","pending","IDLE_LINK_STATUS","setLinkForCurrentNavigation","link","setOptimisticLinkStatus","unmountLinkForCurrentNavigation","prefetchable","WeakMap","Map","prefetchableAndVisible","Set","observer","IntersectionObserver","handleIntersect","rootMargin","observeVisibility","element","instance","existingInstance","get","undefined","unmountPrefetchableInstance","set","observe","coercePrefetchableUrl","href","window","createPrefetchURL","require","reportErrorFn","reportError","console","error","mountLinkInstance","router","fetchStrategy","prefetchEnabled","prefetchURL","isVisible","prefetchTask","prefetchHref","mountFormInstance","delete","unobserve","entries","entry","intersectionRatio","onLinkVisibilityChanged","target","process","env","NODE_ENV","add","rescheduleLinkPrefetch","Default","onNavigationIntent","unstable_upgradeToDynamicPrefetch","__NEXT_DYNAMIC_ON_HOVER","Full","Intent","priority","existingPrefetchTask","getCurrentAppRouterState","appRouterState","treeAtTimeOfPrefetch","tree","nextUrl","cacheKey","pingVisibleLinks","task"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAEA,SACEA,aAAa,EAEbC,gBAAgB,QACX,wBAAuB;AAC9B,SAASC,cAAc,QAAQ,4BAA2B;AAC1D,SAEEC,wBAAwBC,2BAA2B,EACnDC,kBAAkB,EAClBC,sBAAsB,EACtBC,mBAAmB,QACd,4BAA2B;AAClC,SAASC,eAAe,QAAQ,QAAO;;;;;AAyCvC,yEAAyE;AACzE,4DAA4D;AAC5D,IAAIC,8BAAmD;AAGhD,MAAMC,sBAAsB;IAAEC,SAAS;AAAK,EAAC;AAG7C,MAAMC,mBAAmB;IAAED,SAAS;AAAM,EAAC;AAM3C,SAASE,4BAA4BC,IAAyB;QACnEN,oQAAAA,EAAgB;QACdC,6BAA6BM,wBAAwBH;QACrDE,MAAMC,wBAAwBL;QAC9BD,8BAA8BK;IAChC;AACF;AAGO,SAASE,gCAAgCF,IAAkB;IAChE,IAAIL,gCAAgCK,MAAM;QACxCL,8BAA8B;IAChC;AACF;AAEA,2EAA2E;AAC3E,mEAAmE;AACnE,MAAMQ,eAGJ,OAAOC,YAAY,aAAa,IAAIA,YAA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ACPpC,QAA8B,EAC9B2C,QAA4D;IAE5D,wEAAwE;IACxE,IAAI,OAAOlC,WAAW,aAAa;;AA6CrC;AAEO,SAAS0C,iBACdF,OAAsB,EACtBD,IAAuB;IAEvB,4EAA4E;IAC5E,6EAA6E;IAC7E,uDAAuD;IACvD,EAAE;IACF,yEAAyE;IACzE,qEAAqE;IACrE,sBAAsB;IACtB,KAAK,MAAMhD,YAAYR,uBAAwB;QAC7C,MAAM4D,OAAOpD,SAASsB,YAAY;QAClC,IAAI8B,SAAS,QAAQ,KAACzE,+PAAAA,EAAoByE,MAAMH,SAASD,OAAO;YAG9D;QACF;QACA,sEAAsE;QACtE,WAAW;QACX,IAAII,SAAS,MAAM;gBACjB3E,8PAAAA,EAAmB2E;QACrB;QACA,MAAMF,eAAW5E,6PAAAA,EAAe0B,SAASuB,YAAY,EAAE0B;QACvDjD,SAASsB,YAAY,OAAG9C,gQAAAA,EACtB0E,UACAF,MACAhD,SAASkB,aAAa,EACtB7C,wPAAAA,CAAiBgE,OAAO,EACxB;IAEJ;AACF","ignoreList":[0]}}, {"offset": {"line": 6068, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/promise-with-resolvers.ts"],"sourcesContent":["export function createPromiseWithResolvers(): PromiseWithResolvers {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve: (value: T | PromiseLike) => void\n let reject: (reason: any) => void\n const promise = new Promise((res, rej) => {\n resolve = res\n reject = rej\n })\n return { resolve: resolve!, reject: reject!, promise }\n}\n"],"names":["createPromiseWithResolvers","resolve","reject","promise","Promise","res","rej"],"mappings":";;;;AAAO,SAASA;IACd,iDAAiD;IACjD,IAAIC;IACJ,IAAIC;IACJ,MAAMC,UAAU,IAAIC,QAAW,CAACC,KAAKC;QACnCL,UAAUI;QACVH,SAASI;IACX;IACA,OAAO;QAAEL,SAASA;QAAUC,QAAQA;QAASC;IAAQ;AACvD","ignoreList":[0]}}, - {"offset": {"line": 6090, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/segment-cache/cache.ts"],"sourcesContent":["import type {\n TreePrefetch,\n RootTreePrefetch,\n SegmentPrefetch,\n} from '../../../server/app-render/collect-segment-data'\nimport type { LoadingModuleData } from '../../../shared/lib/app-router-types'\nimport type {\n CacheNodeSeedData,\n Segment as FlightRouterStateSegment,\n} from '../../../shared/lib/app-router-types'\nimport { HasLoadingBoundary } from '../../../shared/lib/app-router-types'\nimport {\n NEXT_DID_POSTPONE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STALE_TIME_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n RSC_CONTENT_TYPE_HEADER,\n RSC_HEADER,\n} from '../app-router-headers'\nimport {\n createFetch,\n createFromNextReadableStream,\n type RSCResponse,\n type RequestHeaders,\n} from '../router-reducer/fetch-server-response'\nimport {\n pingPrefetchTask,\n isPrefetchTaskDirty,\n type PrefetchTask,\n type PrefetchSubtaskResult,\n startRevalidationCooldown,\n} from './scheduler'\nimport {\n type RouteVaryPath,\n type SegmentVaryPath,\n type PartialSegmentVaryPath,\n getRouteVaryPath,\n getFulfilledRouteVaryPath,\n getSegmentVaryPathForRequest,\n appendLayoutVaryPath,\n finalizeLayoutVaryPath,\n finalizePageVaryPath,\n clonePageVaryPathWithNewSearchParams,\n type PageVaryPath,\n finalizeMetadataVaryPath,\n} from './vary-path'\nimport { getAppBuildId } from '../../app-build-id'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport type { NormalizedSearch, RouteCacheKey } from './cache-key'\n// TODO: Rename this module to avoid confusion with other types of cache keys\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key'\nimport {\n doesStaticSegmentAppearInURL,\n getCacheKeyForDynamicParam,\n getRenderedPathname,\n getRenderedSearch,\n parseDynamicParamFromURLPart,\n} from '../../route-params'\nimport {\n createCacheMap,\n getFromCacheMap,\n setInCacheMap,\n setSizeInCacheMap,\n deleteFromCacheMap,\n isValueExpired,\n type CacheMap,\n type UnknownMapEntry,\n} from './cache-map'\nimport {\n appendSegmentRequestKeyPart,\n convertSegmentPathToStaticExportFilename,\n createSegmentRequestKeyPart,\n HEAD_REQUEST_KEY,\n ROOT_SEGMENT_REQUEST_KEY,\n type SegmentRequestKey,\n} from '../../../shared/lib/segment-cache/segment-value-encoding'\nimport type {\n FlightRouterState,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n} from '../../flight-data-helpers'\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer'\nimport { pingVisibleLinks } from '../links'\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment'\nimport { FetchStrategy } from './types'\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers'\n\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */\nexport function getStaleTimeMs(staleTimeSeconds: number): number {\n return Math.max(staleTimeSeconds, 30) * 1000\n}\n\n// A note on async/await when working in the prefetch cache:\n//\n// Most async operations in the prefetch cache should *not* use async/await,\n// Instead, spawn a subtask that writes the results to a cache entry, and attach\n// a \"ping\" listener to notify the prefetch queue to try again.\n//\n// The reason is we need to be able to access the segment cache and traverse its\n// data structures synchronously. For example, if there's a synchronous update\n// we can take an immediate snapshot of the cache to produce something we can\n// render. Limiting the use of async/await also makes it easier to avoid race\n// conditions, which is especially important because is cache is mutable.\n//\n// Another reason is that while we're performing async work, it's possible for\n// existing entries to become stale, or for Link prefetches to be removed from\n// the queue. For optimal scheduling, we need to be able to \"cancel\" subtasks\n// that are no longer needed. So, when a segment is received from the server, we\n// restart from the root of the tree that's being prefetched, to confirm all the\n// parent segments are still cached. If the segment is no longer reachable from\n// the root, then it's effectively canceled. This is similar to the design of\n// Rust Futures, or React Suspense.\n\ntype RouteTreeShared = {\n requestKey: SegmentRequestKey\n // TODO: Remove the `segment` field, now that it can be reconstructed\n // from `param`.\n segment: FlightRouterStateSegment\n slots: null | {\n [parallelRouteKey: string]: RouteTree\n }\n isRootLayout: boolean\n\n // If this is a dynamic route, indicates whether there is a loading boundary\n // somewhere in the tree. If not, we can skip the prefetch for the data,\n // because we know it would be an empty response. (For a static/PPR route,\n // this value is disregarded, because in that model `loading.tsx` is treated\n // like any other Suspense boundary.)\n hasLoadingBoundary: HasLoadingBoundary\n\n // Indicates whether this route has a runtime prefetch that we can request.\n // This is determined by the server; it's not purely a user configuration\n // because the server may determine that a route is fully static and doesn't\n // need runtime prefetching regardless of the configuration.\n hasRuntimePrefetch: boolean\n}\n\ntype LayoutRouteTree = RouteTreeShared & {\n isPage: false\n varyPath: SegmentVaryPath\n}\n\ntype PageRouteTree = RouteTreeShared & {\n isPage: true\n varyPath: PageVaryPath\n}\n\nexport type RouteTree = LayoutRouteTree | PageRouteTree\n\ntype RouteCacheEntryShared = {\n // This is false only if we're certain the route cannot be intercepted. It's\n // true in all other cases, including on initialization when we haven't yet\n // received a response from the server.\n couldBeIntercepted: boolean\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */\nexport const enum EntryStatus {\n Empty = 0,\n Pending = 1,\n Fulfilled = 2,\n Rejected = 3,\n}\n\ntype PendingRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Empty | EntryStatus.Pending\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: false\n}\n\ntype RejectedRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Rejected\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: boolean\n}\n\nexport type FulfilledRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Fulfilled\n blockedTasks: null\n canonicalUrl: string\n renderedSearch: NormalizedSearch\n tree: RouteTree\n metadata: RouteTree\n isPPREnabled: boolean\n}\n\nexport type RouteCacheEntry =\n | PendingRouteCacheEntry\n | FulfilledRouteCacheEntry\n | RejectedRouteCacheEntry\n\ntype SegmentCacheEntryShared = {\n fetchStrategy: FetchStrategy\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\nexport type EmptySegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Empty\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type PendingSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Pending\n rsc: null\n loading: null\n isPartial: boolean\n promise: null | PromiseWithResolvers\n}\n\ntype RejectedSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Rejected\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type FulfilledSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Fulfilled\n rsc: React.ReactNode | null\n loading: LoadingModuleData | Promise\n isPartial: boolean\n promise: null\n}\n\nexport type SegmentCacheEntry =\n | EmptySegmentCacheEntry\n | PendingSegmentCacheEntry\n | RejectedSegmentCacheEntry\n | FulfilledSegmentCacheEntry\n\nexport type NonEmptySegmentCacheEntry = Exclude<\n SegmentCacheEntry,\n EmptySegmentCacheEntry\n>\n\nconst isOutputExportMode =\n process.env.NODE_ENV === 'production' &&\n process.env.__NEXT_CONFIG_OUTPUT === 'export'\n\nconst MetadataOnlyRequestTree: FlightRouterState = [\n '',\n {},\n null,\n 'metadata-only',\n]\n\nlet routeCacheMap: CacheMap = createCacheMap()\nlet segmentCacheMap: CacheMap = createCacheMap()\n\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners: Set | null = null\n\n// Incrementing counter used to track cache invalidations.\nlet currentCacheVersion = 0\n\nexport function getCurrentCacheVersion(): number {\n return currentCacheVersion\n}\n\n/**\n * Used to clear the client prefetch cache when a server action calls\n * revalidatePath or revalidateTag. Eventually we will support only clearing the\n * segments that were actually affected, but there's more work to be done on the\n * server before the client is able to do this correctly.\n */\nexport function revalidateEntireCache(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // Increment the current cache version. This does not eagerly evict anything\n // from the cache, but because all the entries are versioned, and we check\n // the version when reading from the cache, this effectively causes all\n // entries to be evicted lazily. We do it lazily because in the future,\n // actions like revalidateTag or refresh will not evict the entire cache,\n // but rather some subset of the entries.\n currentCacheVersion++\n\n // Start a cooldown before re-prefetching to allow CDN cache propagation.\n startRevalidationCooldown()\n\n // Prefetch all the currently visible links again, to re-fill the cache.\n pingVisibleLinks(nextUrl, tree)\n\n // Similarly, notify all invalidation listeners (i.e. those passed to\n // `router.prefetch(onInvalidate)`), so they can trigger a new prefetch\n // if needed.\n pingInvalidationListeners(nextUrl, tree)\n}\n\nfunction attachInvalidationListener(task: PrefetchTask): void {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([task])\n } else {\n invalidationListeners.add(task)\n }\n }\n}\n\nfunction notifyInvalidationListener(task: PrefetchTask): void {\n const onInvalidate = task.onInvalidate\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null\n\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate()\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error)\n } else {\n console.error(error)\n }\n }\n }\n}\n\nexport function pingInvalidationListeners(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners\n invalidationListeners = null\n for (const task of tasks) {\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task)\n }\n }\n }\n}\n\nexport function readRouteCacheEntry(\n now: number,\n key: RouteCacheKey\n): RouteCacheEntry | null {\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n routeCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function readSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nfunction readRevalidatingSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = true\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function waitForSegmentCacheEntry(\n pendingEntry: PendingSegmentCacheEntry\n): Promise {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise =\n createPromiseWithResolvers()\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise\n}\n\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateRouteCacheEntry(\n now: number,\n task: PrefetchTask,\n key: RouteCacheKey\n): RouteCacheEntry {\n attachInvalidationListener(task)\n\n const existingEntry = readRouteCacheEntry(now, key)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry: PendingRouteCacheEntry = {\n canonicalUrl: null,\n status: EntryStatus.Empty,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n isPPREnabled: false,\n renderedSearch: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentCacheVersion(),\n }\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation)\n return pendingEntry\n}\n\nexport function requestOptimisticRouteCacheEntry(\n now: number,\n requestedUrl: URL,\n nextUrl: string | null\n): FulfilledRouteCacheEntry | null {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search as NormalizedSearch\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null\n }\n const urlWithoutSearchParams = new URL(requestedUrl)\n urlWithoutSearchParams.search = ''\n const routeWithNoSearchParams = readRouteCacheEntry(\n now,\n createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl)\n )\n\n if (\n routeWithNoSearchParams === null ||\n routeWithNoSearchParams.status !== EntryStatus.Fulfilled\n ) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null\n }\n\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(\n routeWithNoSearchParams.canonicalUrl,\n requestedUrl.origin\n )\n const optimisticCanonicalSearch =\n canonicalUrlForRouteWithNoSearchParams.search !== ''\n ? // Base route was redirected. Reuse the same redirected search string.\n canonicalUrlForRouteWithNoSearchParams.search\n : requestedSearch\n\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch =\n routeWithNoSearchParams.renderedSearch !== ''\n ? // Base route was rewritten. Reuse the same rewritten search string.\n routeWithNoSearchParams.renderedSearch\n : requestedSearch\n\n const optimisticUrl = new URL(\n routeWithNoSearchParams.canonicalUrl,\n location.origin\n )\n optimisticUrl.search = optimisticCanonicalSearch\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl)\n\n const optimisticRouteTree = createOptimisticRouteTree(\n routeWithNoSearchParams.tree,\n optimisticRenderedSearch\n )\n const optimisticMetadataTree = createOptimisticRouteTree(\n routeWithNoSearchParams.metadata,\n optimisticRenderedSearch\n )\n\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry: FulfilledRouteCacheEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n\n status: EntryStatus.Fulfilled,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n isPPREnabled: routeWithNoSearchParams.isPPREnabled,\n\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version,\n }\n\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry\n}\n\nfunction createOptimisticRouteTree(\n tree: RouteTree,\n newRenderedSearch: NormalizedSearch\n): RouteTree {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n\n let clonedSlots: Record | null = null\n const originalSlots = tree.slots\n if (originalSlots !== null) {\n clonedSlots = {}\n for (const parallelRouteKey in originalSlots) {\n const childTree = originalSlots[parallelRouteKey]\n clonedSlots[parallelRouteKey] = createOptimisticRouteTree(\n childTree,\n newRenderedSearch\n )\n }\n }\n\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: clonePageVaryPathWithNewSearchParams(\n tree.varyPath,\n newRenderedSearch\n ),\n isPage: true,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n }\n\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n}\n\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateSegmentCacheEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function readOrCreateRevalidatingSegmentEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function overwriteRevalidatingSegmentCacheEntry(\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function upsertSegmentEntry(\n now: number,\n varyPath: SegmentVaryPath,\n candidateEntry: SegmentCacheEntry\n): SegmentCacheEntry | null {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n\n if (isValueExpired(now, getCurrentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null\n }\n\n const existingEntry = readSegmentCacheEntry(now, varyPath)\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // ``.\n if (\n // We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n (candidateEntry.fetchStrategy !== existingEntry.fetchStrategy &&\n !canNewFetchStrategyProvideMoreContent(\n existingEntry.fetchStrategy,\n candidateEntry.fetchStrategy\n )) ||\n // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n (!existingEntry.isPartial && candidateEntry.isPartial)\n ) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry: RejectedSegmentCacheEntry = candidateEntry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.loading = null\n rejectedEntry.rsc = null\n return null\n }\n\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry)\n }\n\n const isRevalidation = false\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation)\n return candidateEntry\n}\n\nexport function createDetachedSegmentCacheEntry(\n staleAt: number\n): EmptySegmentCacheEntry {\n const emptyEntry: EmptySegmentCacheEntry = {\n status: EntryStatus.Empty,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n loading: null,\n isPartial: true,\n promise: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0,\n }\n return emptyEntry\n}\n\nexport function upgradeToPendingSegment(\n emptyEntry: EmptySegmentCacheEntry,\n fetchStrategy: FetchStrategy\n): PendingSegmentCacheEntry {\n const pendingEntry: PendingSegmentCacheEntry = emptyEntry as any\n pendingEntry.status = EntryStatus.Pending\n pendingEntry.fetchStrategy = fetchStrategy\n\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false\n }\n\n // Set the version here, since this is right before the request is initiated.\n // The next time the global cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentCacheVersion()\n return pendingEntry\n}\n\nfunction pingBlockedTasks(entry: {\n blockedTasks: Set | null\n}): void {\n const blockedTasks = entry.blockedTasks\n if (blockedTasks !== null) {\n for (const task of blockedTasks) {\n pingPrefetchTask(task)\n }\n entry.blockedTasks = null\n }\n}\n\nfunction fulfillRouteCacheEntry(\n entry: RouteCacheEntry,\n tree: RouteTree,\n metadataVaryPath: PageVaryPath,\n staleAt: number,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n renderedSearch: NormalizedSearch,\n isPPREnabled: boolean\n): FulfilledRouteCacheEntry {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata: RouteTree = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n isRootLayout: false,\n hasLoadingBoundary: HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n hasRuntimePrefetch: false,\n }\n const fulfilledEntry: FulfilledRouteCacheEntry = entry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.tree = tree\n fulfilledEntry.metadata = metadata\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted\n fulfilledEntry.canonicalUrl = canonicalUrl\n fulfilledEntry.renderedSearch = renderedSearch\n fulfilledEntry.isPPREnabled = isPPREnabled\n pingBlockedTasks(entry)\n return fulfilledEntry\n}\n\nfunction fulfillSegmentCacheEntry(\n segmentCacheEntry: PendingSegmentCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n staleAt: number,\n isPartial: boolean\n): FulfilledSegmentCacheEntry {\n const fulfilledEntry: FulfilledSegmentCacheEntry = segmentCacheEntry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.rsc = rsc\n fulfilledEntry.loading = loading\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.isPartial = isPartial\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry)\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null\n }\n return fulfilledEntry\n}\n\nfunction rejectRouteCacheEntry(\n entry: PendingRouteCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedRouteCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n pingBlockedTasks(entry)\n}\n\nfunction rejectSegmentCacheEntry(\n entry: PendingSegmentCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedSegmentCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null)\n entry.promise = null\n }\n}\n\ntype RouteTreeAccumulator = {\n metadataVaryPath: PageVaryPath | null\n}\n\nfunction convertRootTreePrefetchToRouteTree(\n rootTree: RootTreePrefetch,\n renderedPathname: string,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY\n return convertTreePrefetchToRouteTree(\n rootTree.tree,\n rootSegment,\n null,\n ROOT_SEGMENT_REQUEST_KEY,\n pathnameParts,\n index,\n renderedSearch,\n acc\n )\n}\n\nfunction convertTreePrefetchToRouteTree(\n prefetch: TreePrefetch,\n segment: FlightRouterStateSegment,\n partialVaryPath: PartialSegmentVaryPath | null,\n requestKey: SegmentRequestKey,\n pathnameParts: Array,\n pathnamePartsIndex: number,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n const prefetchSlots = prefetch.slots\n if (prefetchSlots !== null) {\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n\n slots = {}\n for (let parallelRouteKey in prefetchSlots) {\n const childPrefetch = prefetchSlots[parallelRouteKey]\n const childParamName = childPrefetch.name\n const childParamType = childPrefetch.paramType\n const childServerSentParamKey = childPrefetch.paramKey\n\n let childDoesAppearInURL: boolean\n let childSegment: FlightRouterStateSegment\n let childPartialVaryPath: PartialSegmentVaryPath | null\n if (childParamType !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(\n childParamType,\n pathnameParts,\n pathnamePartsIndex\n )\n\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey =\n // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childServerSentParamKey !== null\n ? childServerSentParamKey\n : // If no param key was sent, use the value parsed on the client.\n getCacheKeyForDynamicParam(\n childParamValue,\n '' as NormalizedSearch\n )\n\n childPartialVaryPath = appendLayoutVaryPath(\n partialVaryPath,\n childParamKey\n )\n childSegment = [childParamName, childParamKey, childParamType]\n childDoesAppearInURL = true\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath\n childSegment = childParamName\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childParamName)\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(\n childPrefetch,\n childSegment,\n childPartialVaryPath,\n childRequestKey,\n pathnameParts,\n childPathnamePartsIndex,\n renderedSearch,\n acc\n )\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: prefetch.isRootLayout,\n // This field is only relevant to dynamic routes. For a PPR/static route,\n // there's always some partial loading state we can fetch.\n hasLoadingBoundary: HasLoadingBoundary.SegmentHasLoadingBoundary,\n hasRuntimePrefetch: prefetch.hasRuntimePrefetch,\n }\n}\n\nfunction convertRootFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n return convertFlightRouterStateToRouteTree(\n flightRouterState,\n ROOT_SEGMENT_REQUEST_KEY,\n null,\n renderedSearch,\n acc\n )\n}\n\nfunction convertFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n requestKey: SegmentRequestKey,\n parentPartialVaryPath: PartialSegmentVaryPath | null,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n const originalSegment = flightRouterState[0]\n\n let segment: FlightRouterStateSegment\n let partialVaryPath: PartialSegmentVaryPath | null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n if (Array.isArray(originalSegment)) {\n isPage = false\n const paramCacheKey = originalSegment[1]\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, paramCacheKey)\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n segment = originalSegment\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n segment = originalSegment\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n\n const parallelRoutes = flightRouterState[1]\n for (let parallelRouteKey in parallelRoutes) {\n const childRouterState = parallelRoutes[parallelRouteKey]\n const childSegment = childRouterState[0]\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n const childTree = convertFlightRouterStateToRouteTree(\n childRouterState,\n childRequestKey,\n partialVaryPath,\n renderedSearch,\n acc\n )\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree,\n }\n } else {\n slots[parallelRouteKey] = childTree\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: flightRouterState[4] === true,\n hasLoadingBoundary:\n flightRouterState[5] !== undefined\n ? flightRouterState[5]\n : HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n\n // Non-static tree responses are only used by apps that haven't adopted\n // Cache Components. So this is always false.\n hasRuntimePrefetch: false,\n }\n}\n\nexport function convertRouteTreeToFlightRouterState(\n routeTree: RouteTree\n): FlightRouterState {\n const parallelRoutes: Record = {}\n if (routeTree.slots !== null) {\n for (const parallelRouteKey in routeTree.slots) {\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(\n routeTree.slots[parallelRouteKey]\n )\n }\n }\n const flightRouterState: FlightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null,\n routeTree.isRootLayout,\n ]\n return flightRouterState\n}\n\nexport async function fetchRouteOnCacheMiss(\n entry: PendingRouteCacheEntry,\n task: PrefetchTask,\n key: RouteCacheKey\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname\n const search = key.search\n const nextUrl = key.nextUrl\n const segmentPath = '/_tree' as SegmentRequestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n try {\n const url = new URL(pathname + search, location.origin)\n let response\n let urlAfterRedirects\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to : /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD',\n })\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n urlAfterRedirects = headResponse.redirected\n ? new URL(headResponse.url)\n : url\n\n response = await fetchPrefetchResponse(\n addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath),\n headers\n )\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers)\n urlAfterRedirects =\n response !== null && response.redirected ? new URL(response.url) : url\n }\n\n if (\n !response ||\n !response.ok ||\n // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects)\n\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary')\n const couldBeIntercepted =\n varyHeader !== null && varyHeader.includes(NEXT_URL)\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' ||\n // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode\n\n if (routeIsPPREnabled) {\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData = await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootTreePrefetchToRouteTree(\n serverData,\n renderedPathname,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n const staleTimeMs = getStaleTimeMs(serverData.staleTime)\n fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n Date.now() + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData =\n await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n writeDynamicTreeResponseIntoCache(\n Date.now(),\n task,\n // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary,\n response as RSCResponse,\n serverData,\n entry,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled\n )\n }\n\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath: RouteVaryPath = getFulfilledRouteVaryPath(\n pathname,\n search,\n nextUrl,\n couldBeIntercepted\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation)\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentOnCacheMiss(\n route: FulfilledRouteCacheEntry,\n segmentCacheEntry: PendingSegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = routeKey.nextUrl\n\n const requestKey = tree.requestKey\n const normalizedRequestKey =\n requestKey === ROOT_SEGMENT_REQUEST_KEY\n ? // The root segment is a special case. To simplify the server-side\n // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n ('/_index' as SegmentRequestKey)\n : requestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n const requestUrl = isOutputExportMode\n ? // In output: \"export\" mode, we need to add the segment path to the URL.\n addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey)\n : url\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers)\n if (\n !response ||\n !response.ok ||\n response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n (response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' &&\n // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode) ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // Wrap the original stream in a new stream that never closes. That way the\n // Flight client doesn't error if there's a hanging promise.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(segmentCacheEntry, size)\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n return {\n value: fulfillSegmentCacheEntry(\n segmentCacheEntry,\n serverData.rsc,\n serverData.loading,\n // TODO: The server does not currently provide per-segment stale time.\n // So we use the stale time of the route.\n route.staleAt,\n serverData.isPartial\n ),\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise,\n }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n dynamicRequestTree: FlightRouterState,\n spawnedEntries: Map\n): Promise | null> {\n const key = task.key\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = key.nextUrl\n\n if (\n spawnedEntries.size === 1 &&\n spawnedEntries.has(route.metadata.requestKey)\n ) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree\n }\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]:\n prepareFlightRouterStateForRequest(dynamicRequestTree),\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n switch (fetchStrategy) {\n case FetchStrategy.Full: {\n // We omit the prefetch header from a full prefetch because it's essentially\n // just a navigation request that happens ahead of time — it should include\n // all the same data in the response.\n break\n }\n case FetchStrategy.PPRRuntime: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2'\n break\n }\n case FetchStrategy.LoadingBoundary: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1'\n break\n }\n default: {\n fetchStrategy satisfies never\n }\n }\n\n try {\n const response = await fetchPrefetchResponse(url, headers)\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n const renderedSearch = getRenderedSearch(response)\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n let fulfilledEntries: Array | null = null\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assiging each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length\n for (const entry of fulfilledEntries) {\n setSizeInCacheMap(entry, averageSize)\n }\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n\n const isResponsePartial =\n fetchStrategy === FetchStrategy.PPRRuntime\n ? // A runtime prefetch may have holes.\n serverData.rp?.[0] === true\n : // Full and LoadingBoundary prefetches cannot have holes.\n // (even if we did set the prefetch header, we only use this codepath for non-PPR-enabled routes)\n false\n\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n fulfilledEntries = writeDynamicRenderResponseIntoCache(\n Date.now(),\n task,\n fetchStrategy,\n response as RSCResponse,\n serverData,\n isResponsePartial,\n route,\n spawnedEntries\n )\n\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n}\n\nfunction writeDynamicTreeResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n entry: PendingRouteCacheEntry,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n routeIsPPREnabled: boolean\n) {\n // Get the URL that was used to render the target page. This may be different\n // from the URL in the request URL, if the page was rewritten.\n const renderedSearch = getRenderedSearch(response)\n\n const normalizedFlightDataResult = normalizeFlightData(serverData.f)\n if (\n // A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' ||\n normalizedFlightDataResult.length !== 1\n ) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n const flightData = normalizedFlightDataResult[0]\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const flightRouterState = flightData.tree\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n\n // If the response contains dynamic holes, then we must conservatively assume\n // that any individual segment might contain dynamic holes, and also the\n // head. If it did not contain dynamic holes, then we can assume every segment\n // and the head is completely static.\n const isResponsePartial =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1'\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootFlightRouterStateToRouteTree(\n flightRouterState,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const fulfilledEntry = fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n now + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n //\n // TODO: When `clientSegmentCache` is enabled, the server does not include\n // segment data when responding to a route tree prefetch request. However,\n // when `clientSegmentCache` is set to \"client-only\", and PPR is enabled (or\n // the page is fully static), the normal check is bypassed and the server\n // responds with the full page. This is a temporary situation until we can\n // remove the \"client-only\" option. Then, we can delete this function call.\n writeDynamicRenderResponseIntoCache(\n now,\n task,\n fetchStrategy,\n response,\n serverData,\n isResponsePartial,\n fulfilledEntry,\n null\n )\n}\n\nfunction rejectSegmentEntriesIfStillPending(\n entries: Map,\n staleAt: number\n): Array {\n const fulfilledEntries = []\n for (const entry of entries.values()) {\n if (entry.status === EntryStatus.Pending) {\n rejectSegmentCacheEntry(entry, staleAt)\n } else if (entry.status === EntryStatus.Fulfilled) {\n fulfilledEntries.push(entry)\n }\n }\n return fulfilledEntries\n}\n\nfunction writeDynamicRenderResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n isResponsePartial: boolean,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map | null\n): Array | null {\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n\n const flightDatas = normalizeFlightData(serverData.f)\n if (typeof flightDatas === 'string') {\n // This means navigating to this route will result in an MPA navigation.\n // TODO: We should cache this, too, so that the MPA navigation is immediate.\n return null\n }\n\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n const staleAt = now + staleTimeMs\n\n for (const flightData of flightDatas) {\n const seedData = flightData.seedData\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightData.segmentPath\n let tree = route.tree\n for (let i = 0; i < segmentPath.length; i += 2) {\n const parallelRouteKey: string = segmentPath[i]\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey]\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n }\n\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n tree,\n staleAt,\n seedData,\n isResponsePartial,\n spawnedEntries\n )\n }\n\n const head = flightData.head\n if (head !== null) {\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n head,\n null,\n flightData.isHeadPartial,\n staleAt,\n route.metadata,\n spawnedEntries\n )\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(\n spawnedEntries,\n now + 10 * 1000\n )\n return fulfilledEntries\n }\n return null\n}\n\nfunction writeSeedDataIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n staleAt: number,\n seedData: CacheNodeSeedData,\n isResponsePartial: boolean,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0]\n const loading = seedData[2]\n const isPartial = rsc === null || isResponsePartial\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n rsc,\n loading,\n isPartial,\n staleAt,\n tree,\n entriesOwnedByCurrentTask\n )\n\n // Recursively write the child data into the cache.\n const slots = tree.slots\n if (slots !== null) {\n const seedDataChildren = seedData[1]\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childSeedData: CacheNodeSeedData | null | void =\n seedDataChildren[parallelRouteKey]\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n childTree,\n staleAt,\n childSeedData,\n isResponsePartial,\n entriesOwnedByCurrentTask\n )\n }\n }\n }\n}\n\nfunction fulfillEntrySpawnedByRuntimePrefetch(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n isPartial: boolean,\n staleAt: number,\n tree: RouteTree,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry =\n entriesOwnedByCurrentTask !== null\n ? entriesOwnedByCurrentTask.get(tree.requestKey)\n : undefined\n if (ownedEntry !== undefined) {\n fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial)\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(\n now,\n fetchStrategy,\n route,\n tree\n )\n if (possiblyNewEntry.status === EntryStatus.Empty) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry\n fulfillSegmentCacheEntry(\n upgradeToPendingSegment(newEntry, fetchStrategy),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(\n upgradeToPendingSegment(\n createDetachedSegmentCacheEntry(staleAt),\n fetchStrategy\n ),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n upsertSegmentEntry(\n now,\n getSegmentVaryPathForRequest(fetchStrategy, tree),\n newEntry\n )\n }\n }\n}\n\nasync function fetchPrefetchResponse(\n url: URL,\n headers: RequestHeaders\n): Promise | null> {\n const fetchPriority = 'low'\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false\n const response = await createFetch(\n url,\n headers,\n fetchPriority,\n shouldImmediatelyDecode\n )\n if (!response.ok) {\n return null\n }\n\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type')\n const isFlightResponse =\n contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n if (!isFlightResponse) {\n return null\n }\n }\n return response\n}\n\nfunction createPrefetchResponseStream(\n originalFlightStream: ReadableStream,\n onStreamClose: () => void,\n onResponseSizeUpdate: (size: number) => void\n): ReadableStream {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n //\n // While processing the original stream, we also incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0\n const reader = originalFlightStream.getReader()\n return new ReadableStream({\n async pull(controller) {\n while (true) {\n const { done, value } = await reader.read()\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value)\n\n // Incrementally update the size of the cache entry in the LRU.\n // NOTE: Since prefetch responses are delivered in a single chunk,\n // it's not really necessary to do this streamingly, but I'm doing it\n // anyway in case this changes in the future.\n totalByteLength += value.byteLength\n onResponseSizeUpdate(totalByteLength)\n continue\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream. We do notify the caller, though.\n onStreamClose()\n return\n }\n },\n })\n}\n\nfunction addSegmentPathToUrlInOutputExportMode(\n url: URL,\n segmentPath: SegmentRequestKey\n): URL {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url)\n const routeDir = staticUrl.pathname.endsWith('/')\n ? staticUrl.pathname.slice(0, -1)\n : staticUrl.pathname\n const staticExportFilename =\n convertSegmentPathToStaticExportFilename(segmentPath)\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`\n return staticUrl\n }\n return url\n}\n\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */\nexport function canNewFetchStrategyProvideMoreContent(\n currentStrategy: FetchStrategy,\n newStrategy: FetchStrategy\n): boolean {\n return currentStrategy < newStrategy\n}\n"],"names":["HasLoadingBoundary","NEXT_DID_POSTPONE_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_ROUTER_STALE_TIME_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_URL","RSC_CONTENT_TYPE_HEADER","RSC_HEADER","createFetch","createFromNextReadableStream","pingPrefetchTask","isPrefetchTaskDirty","startRevalidationCooldown","getRouteVaryPath","getFulfilledRouteVaryPath","getSegmentVaryPathForRequest","appendLayoutVaryPath","finalizeLayoutVaryPath","finalizePageVaryPath","clonePageVaryPathWithNewSearchParams","finalizeMetadataVaryPath","getAppBuildId","createHrefFromUrl","createCacheKey","createPrefetchRequestKey","doesStaticSegmentAppearInURL","getCacheKeyForDynamicParam","getRenderedPathname","getRenderedSearch","parseDynamicParamFromURLPart","createCacheMap","getFromCacheMap","setInCacheMap","setSizeInCacheMap","deleteFromCacheMap","isValueExpired","appendSegmentRequestKeyPart","convertSegmentPathToStaticExportFilename","createSegmentRequestKeyPart","HEAD_REQUEST_KEY","ROOT_SEGMENT_REQUEST_KEY","normalizeFlightData","prepareFlightRouterStateForRequest","STATIC_STALETIME_MS","pingVisibleLinks","PAGE_SEGMENT_KEY","FetchStrategy","createPromiseWithResolvers","getStaleTimeMs","staleTimeSeconds","Math","max","EntryStatus","isOutputExportMode","process","env","NODE_ENV","__NEXT_CONFIG_OUTPUT","MetadataOnlyRequestTree","routeCacheMap","segmentCacheMap","invalidationListeners","currentCacheVersion","getCurrentCacheVersion","revalidateEntireCache","nextUrl","tree","pingInvalidationListeners","attachInvalidationListener","task","onInvalidate","Set","add","notifyInvalidationListener","error","reportError","console","tasks","readRouteCacheEntry","now","key","varyPath","pathname","search","isRevalidation","readSegmentCacheEntry","readRevalidatingSegmentCacheEntry","waitForSegmentCacheEntry","pendingEntry","promiseWithResolvers","promise","readOrCreateRouteCacheEntry","existingEntry","canonicalUrl","status","blockedTasks","metadata","couldBeIntercepted","isPPREnabled","renderedSearch","ref","size","staleAt","Infinity","version","requestOptimisticRouteCacheEntry","requestedUrl","requestedSearch","urlWithoutSearchParams","URL","routeWithNoSearchParams","href","canonicalUrlForRouteWithNoSearchParams","origin","optimisticCanonicalSearch","optimisticRenderedSearch","optimisticUrl","location","optimisticCanonicalUrl","optimisticRouteTree","createOptimisticRouteTree","optimisticMetadataTree","optimisticEntry","newRenderedSearch","clonedSlots","originalSlots","slots","parallelRouteKey","childTree","isPage","requestKey","segment","isRootLayout","hasLoadingBoundary","hasRuntimePrefetch","readOrCreateSegmentCacheEntry","fetchStrategy","route","varyPathForRequest","createDetachedSegmentCacheEntry","readOrCreateRevalidatingSegmentEntry","overwriteRevalidatingSegmentCacheEntry","upsertSegmentEntry","candidateEntry","canNewFetchStrategyProvideMoreContent","isPartial","rejectedEntry","loading","rsc","emptyEntry","PPR","upgradeToPendingSegment","Full","pingBlockedTasks","entry","fulfillRouteCacheEntry","metadataVaryPath","SubtreeHasNoLoadingBoundary","fulfilledEntry","fulfillSegmentCacheEntry","segmentCacheEntry","resolve","rejectRouteCacheEntry","rejectSegmentCacheEntry","convertRootTreePrefetchToRouteTree","rootTree","renderedPathname","acc","pathnameParts","split","filter","p","index","rootSegment","convertTreePrefetchToRouteTree","prefetch","partialVaryPath","pathnamePartsIndex","prefetchSlots","childPrefetch","childParamName","name","childParamType","paramType","childServerSentParamKey","paramKey","childDoesAppearInURL","childSegment","childPartialVaryPath","childParamValue","childParamKey","childPathnamePartsIndex","childRequestKeyPart","childRequestKey","endsWith","SegmentHasLoadingBoundary","convertRootFlightRouterStateToRouteTree","flightRouterState","convertFlightRouterStateToRouteTree","parentPartialVaryPath","originalSegment","Array","isArray","paramCacheKey","parallelRoutes","childRouterState","undefined","convertRouteTreeToFlightRouterState","routeTree","fetchRouteOnCacheMiss","segmentPath","headers","url","response","urlAfterRedirects","headResponse","fetch","method","Date","redirected","fetchPrefetchResponse","addSegmentPathToUrlInOutputExportMode","ok","body","varyHeader","get","includes","closed","routeIsPPREnabled","prefetchStream","createPrefetchResponseStream","onResponseSizeUpdate","serverData","buildId","staleTimeMs","staleTime","b","writeDynamicTreeResponseIntoCache","LoadingBoundary","fulfilledVaryPath","value","fetchSegmentOnCacheMiss","routeKey","normalizedRequestKey","requestUrl","fetchSegmentPrefetchesUsingDynamicRequest","dynamicRequestTree","spawnedEntries","has","PPRRuntime","rejectSegmentEntriesIfStillPending","fulfilledEntries","totalBytesReceivedSoFar","averageSize","length","isResponsePartial","rp","writeDynamicRenderResponseIntoCache","normalizedFlightDataResult","f","flightData","isRootRender","parseInt","isNaN","entries","values","push","flightDatas","seedData","i","writeSeedDataIntoCache","head","fulfillEntrySpawnedByRuntimePrefetch","isHeadPartial","entriesOwnedByCurrentTask","seedDataChildren","childSeedData","ownedEntry","possiblyNewEntry","newEntry","fetchPriority","shouldImmediatelyDecode","contentType","isFlightResponse","startsWith","originalFlightStream","onStreamClose","totalByteLength","reader","getReader","ReadableStream","pull","controller","done","read","enqueue","byteLength","staticUrl","routeDir","slice","staticExportFilename","currentStrategy","newStrategy"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,SAASA,kBAAkB,QAAQ,uCAAsC;AACzE,SACEC,wBAAwB,EACxBC,2BAA2B,EAC3BC,mCAAmC,EACnCC,6BAA6B,EAC7BC,6BAA6B,EAC7BC,QAAQ,EACRC,uBAAuB,EACvBC,UAAU,QACL,wBAAuB;AAC9B,SACEC,WAAW,EACXC,4BAA4B,QAGvB,0CAAyC;AAChD,SACEC,gBAAgB,EAChBC,mBAAmB,EAGnBC,yBAAyB,QACpB,cAAa;AACpB,SAIEC,gBAAgB,EAChBC,yBAAyB,EACzBC,4BAA4B,EAC5BC,oBAAoB,EACpBC,sBAAsB,EACtBC,oBAAoB,EACpBC,oCAAoC,EAEpCC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BAC/D,kEAAkE;oBAClE,qEAAqE;oBACrE,6CAA6C;oBAC7C+C,mBAAmB/C,MAAMwD,UAAU;oBACnCjE,qBAAqBwD;oBACrB;gBACF;gBACA,qEAAqE;gBACrE,sDAAsD;gBACtDD;gBACA;YACF;QACF;IACF;AACF;AAEA,SAASjE,sCACPT,GAAQ,EACRF,WAA8B;IAE9B,IAAI7J,oBAAoB;;IAYxB,OAAO+J;AACT;AAuBO,SAASpE,sCACd6J,eAA8B,EAC9BC,WAA0B;IAE1B,OAAOD,kBAAkBC;AAC3B","ignoreList":[0]}}, + {"offset": {"line": 6090, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/segment-cache/cache.ts"],"sourcesContent":["import type {\n TreePrefetch,\n RootTreePrefetch,\n SegmentPrefetch,\n} from '../../../server/app-render/collect-segment-data'\nimport type { LoadingModuleData } from '../../../shared/lib/app-router-types'\nimport type {\n CacheNodeSeedData,\n Segment as FlightRouterStateSegment,\n} from '../../../shared/lib/app-router-types'\nimport { HasLoadingBoundary } from '../../../shared/lib/app-router-types'\nimport {\n NEXT_DID_POSTPONE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STALE_TIME_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n RSC_CONTENT_TYPE_HEADER,\n RSC_HEADER,\n} from '../app-router-headers'\nimport {\n createFetch,\n createFromNextReadableStream,\n type RSCResponse,\n type RequestHeaders,\n} from '../router-reducer/fetch-server-response'\nimport {\n pingPrefetchTask,\n isPrefetchTaskDirty,\n type PrefetchTask,\n type PrefetchSubtaskResult,\n startRevalidationCooldown,\n} from './scheduler'\nimport {\n type RouteVaryPath,\n type SegmentVaryPath,\n type PartialSegmentVaryPath,\n getRouteVaryPath,\n getFulfilledRouteVaryPath,\n getSegmentVaryPathForRequest,\n appendLayoutVaryPath,\n finalizeLayoutVaryPath,\n finalizePageVaryPath,\n clonePageVaryPathWithNewSearchParams,\n type PageVaryPath,\n finalizeMetadataVaryPath,\n} from './vary-path'\nimport { getAppBuildId } from '../../app-build-id'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport type { NormalizedSearch, RouteCacheKey } from './cache-key'\n// TODO: Rename this module to avoid confusion with other types of cache keys\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key'\nimport {\n doesStaticSegmentAppearInURL,\n getCacheKeyForDynamicParam,\n getRenderedPathname,\n getRenderedSearch,\n parseDynamicParamFromURLPart,\n} from '../../route-params'\nimport {\n createCacheMap,\n getFromCacheMap,\n setInCacheMap,\n setSizeInCacheMap,\n deleteFromCacheMap,\n isValueExpired,\n type CacheMap,\n type UnknownMapEntry,\n} from './cache-map'\nimport {\n appendSegmentRequestKeyPart,\n convertSegmentPathToStaticExportFilename,\n createSegmentRequestKeyPart,\n HEAD_REQUEST_KEY,\n ROOT_SEGMENT_REQUEST_KEY,\n type SegmentRequestKey,\n} from '../../../shared/lib/segment-cache/segment-value-encoding'\nimport type {\n FlightRouterState,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n} from '../../flight-data-helpers'\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer'\nimport { pingVisibleLinks } from '../links'\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment'\nimport { FetchStrategy } from './types'\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers'\n\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */\nexport function getStaleTimeMs(staleTimeSeconds: number): number {\n return Math.max(staleTimeSeconds, 30) * 1000\n}\n\n// A note on async/await when working in the prefetch cache:\n//\n// Most async operations in the prefetch cache should *not* use async/await,\n// Instead, spawn a subtask that writes the results to a cache entry, and attach\n// a \"ping\" listener to notify the prefetch queue to try again.\n//\n// The reason is we need to be able to access the segment cache and traverse its\n// data structures synchronously. For example, if there's a synchronous update\n// we can take an immediate snapshot of the cache to produce something we can\n// render. Limiting the use of async/await also makes it easier to avoid race\n// conditions, which is especially important because is cache is mutable.\n//\n// Another reason is that while we're performing async work, it's possible for\n// existing entries to become stale, or for Link prefetches to be removed from\n// the queue. For optimal scheduling, we need to be able to \"cancel\" subtasks\n// that are no longer needed. So, when a segment is received from the server, we\n// restart from the root of the tree that's being prefetched, to confirm all the\n// parent segments are still cached. If the segment is no longer reachable from\n// the root, then it's effectively canceled. This is similar to the design of\n// Rust Futures, or React Suspense.\n\ntype RouteTreeShared = {\n requestKey: SegmentRequestKey\n // TODO: Remove the `segment` field, now that it can be reconstructed\n // from `param`.\n segment: FlightRouterStateSegment\n slots: null | {\n [parallelRouteKey: string]: RouteTree\n }\n isRootLayout: boolean\n\n // If this is a dynamic route, indicates whether there is a loading boundary\n // somewhere in the tree. If not, we can skip the prefetch for the data,\n // because we know it would be an empty response. (For a static/PPR route,\n // this value is disregarded, because in that model `loading.tsx` is treated\n // like any other Suspense boundary.)\n hasLoadingBoundary: HasLoadingBoundary\n\n // Indicates whether this route has a runtime prefetch that we can request.\n // This is determined by the server; it's not purely a user configuration\n // because the server may determine that a route is fully static and doesn't\n // need runtime prefetching regardless of the configuration.\n hasRuntimePrefetch: boolean\n}\n\ntype LayoutRouteTree = RouteTreeShared & {\n isPage: false\n varyPath: SegmentVaryPath\n}\n\ntype PageRouteTree = RouteTreeShared & {\n isPage: true\n varyPath: PageVaryPath\n}\n\nexport type RouteTree = LayoutRouteTree | PageRouteTree\n\ntype RouteCacheEntryShared = {\n // This is false only if we're certain the route cannot be intercepted. It's\n // true in all other cases, including on initialization when we haven't yet\n // received a response from the server.\n couldBeIntercepted: boolean\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */\nexport const enum EntryStatus {\n Empty = 0,\n Pending = 1,\n Fulfilled = 2,\n Rejected = 3,\n}\n\ntype PendingRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Empty | EntryStatus.Pending\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: false\n}\n\ntype RejectedRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Rejected\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: boolean\n}\n\nexport type FulfilledRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Fulfilled\n blockedTasks: null\n canonicalUrl: string\n renderedSearch: NormalizedSearch\n tree: RouteTree\n metadata: RouteTree\n isPPREnabled: boolean\n}\n\nexport type RouteCacheEntry =\n | PendingRouteCacheEntry\n | FulfilledRouteCacheEntry\n | RejectedRouteCacheEntry\n\ntype SegmentCacheEntryShared = {\n fetchStrategy: FetchStrategy\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\nexport type EmptySegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Empty\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type PendingSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Pending\n rsc: null\n loading: null\n isPartial: boolean\n promise: null | PromiseWithResolvers\n}\n\ntype RejectedSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Rejected\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type FulfilledSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Fulfilled\n rsc: React.ReactNode | null\n loading: LoadingModuleData | Promise\n isPartial: boolean\n promise: null\n}\n\nexport type SegmentCacheEntry =\n | EmptySegmentCacheEntry\n | PendingSegmentCacheEntry\n | RejectedSegmentCacheEntry\n | FulfilledSegmentCacheEntry\n\nexport type NonEmptySegmentCacheEntry = Exclude<\n SegmentCacheEntry,\n EmptySegmentCacheEntry\n>\n\nconst isOutputExportMode =\n process.env.NODE_ENV === 'production' &&\n process.env.__NEXT_CONFIG_OUTPUT === 'export'\n\nconst MetadataOnlyRequestTree: FlightRouterState = [\n '',\n {},\n null,\n 'metadata-only',\n]\n\nlet routeCacheMap: CacheMap = createCacheMap()\nlet segmentCacheMap: CacheMap = createCacheMap()\n\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners: Set | null = null\n\n// Incrementing counter used to track cache invalidations.\nlet currentCacheVersion = 0\n\nexport function getCurrentCacheVersion(): number {\n return currentCacheVersion\n}\n\n/**\n * Used to clear the client prefetch cache when a server action calls\n * revalidatePath or revalidateTag. Eventually we will support only clearing the\n * segments that were actually affected, but there's more work to be done on the\n * server before the client is able to do this correctly.\n */\nexport function revalidateEntireCache(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // Increment the current cache version. This does not eagerly evict anything\n // from the cache, but because all the entries are versioned, and we check\n // the version when reading from the cache, this effectively causes all\n // entries to be evicted lazily. We do it lazily because in the future,\n // actions like revalidateTag or refresh will not evict the entire cache,\n // but rather some subset of the entries.\n currentCacheVersion++\n\n // Start a cooldown before re-prefetching to allow CDN cache propagation.\n startRevalidationCooldown()\n\n // Prefetch all the currently visible links again, to re-fill the cache.\n pingVisibleLinks(nextUrl, tree)\n\n // Similarly, notify all invalidation listeners (i.e. those passed to\n // `router.prefetch(onInvalidate)`), so they can trigger a new prefetch\n // if needed.\n pingInvalidationListeners(nextUrl, tree)\n}\n\nfunction attachInvalidationListener(task: PrefetchTask): void {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([task])\n } else {\n invalidationListeners.add(task)\n }\n }\n}\n\nfunction notifyInvalidationListener(task: PrefetchTask): void {\n const onInvalidate = task.onInvalidate\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null\n\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate()\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error)\n } else {\n console.error(error)\n }\n }\n }\n}\n\nexport function pingInvalidationListeners(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners\n invalidationListeners = null\n for (const task of tasks) {\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task)\n }\n }\n }\n}\n\nexport function readRouteCacheEntry(\n now: number,\n key: RouteCacheKey\n): RouteCacheEntry | null {\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n routeCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function readSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nfunction readRevalidatingSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = true\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function waitForSegmentCacheEntry(\n pendingEntry: PendingSegmentCacheEntry\n): Promise {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise =\n createPromiseWithResolvers()\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise\n}\n\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateRouteCacheEntry(\n now: number,\n task: PrefetchTask,\n key: RouteCacheKey\n): RouteCacheEntry {\n attachInvalidationListener(task)\n\n const existingEntry = readRouteCacheEntry(now, key)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry: PendingRouteCacheEntry = {\n canonicalUrl: null,\n status: EntryStatus.Empty,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n isPPREnabled: false,\n renderedSearch: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentCacheVersion(),\n }\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation)\n return pendingEntry\n}\n\nexport function requestOptimisticRouteCacheEntry(\n now: number,\n requestedUrl: URL,\n nextUrl: string | null\n): FulfilledRouteCacheEntry | null {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search as NormalizedSearch\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null\n }\n const urlWithoutSearchParams = new URL(requestedUrl)\n urlWithoutSearchParams.search = ''\n const routeWithNoSearchParams = readRouteCacheEntry(\n now,\n createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl)\n )\n\n if (\n routeWithNoSearchParams === null ||\n routeWithNoSearchParams.status !== EntryStatus.Fulfilled\n ) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null\n }\n\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(\n routeWithNoSearchParams.canonicalUrl,\n requestedUrl.origin\n )\n const optimisticCanonicalSearch =\n canonicalUrlForRouteWithNoSearchParams.search !== ''\n ? // Base route was redirected. Reuse the same redirected search string.\n canonicalUrlForRouteWithNoSearchParams.search\n : requestedSearch\n\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch =\n routeWithNoSearchParams.renderedSearch !== ''\n ? // Base route was rewritten. Reuse the same rewritten search string.\n routeWithNoSearchParams.renderedSearch\n : requestedSearch\n\n const optimisticUrl = new URL(\n routeWithNoSearchParams.canonicalUrl,\n location.origin\n )\n optimisticUrl.search = optimisticCanonicalSearch\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl)\n\n const optimisticRouteTree = createOptimisticRouteTree(\n routeWithNoSearchParams.tree,\n optimisticRenderedSearch\n )\n const optimisticMetadataTree = createOptimisticRouteTree(\n routeWithNoSearchParams.metadata,\n optimisticRenderedSearch\n )\n\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry: FulfilledRouteCacheEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n\n status: EntryStatus.Fulfilled,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n isPPREnabled: routeWithNoSearchParams.isPPREnabled,\n\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version,\n }\n\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry\n}\n\nfunction createOptimisticRouteTree(\n tree: RouteTree,\n newRenderedSearch: NormalizedSearch\n): RouteTree {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n\n let clonedSlots: Record | null = null\n const originalSlots = tree.slots\n if (originalSlots !== null) {\n clonedSlots = {}\n for (const parallelRouteKey in originalSlots) {\n const childTree = originalSlots[parallelRouteKey]\n clonedSlots[parallelRouteKey] = createOptimisticRouteTree(\n childTree,\n newRenderedSearch\n )\n }\n }\n\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: clonePageVaryPathWithNewSearchParams(\n tree.varyPath,\n newRenderedSearch\n ),\n isPage: true,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n }\n\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n}\n\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateSegmentCacheEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function readOrCreateRevalidatingSegmentEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function overwriteRevalidatingSegmentCacheEntry(\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function upsertSegmentEntry(\n now: number,\n varyPath: SegmentVaryPath,\n candidateEntry: SegmentCacheEntry\n): SegmentCacheEntry | null {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n\n if (isValueExpired(now, getCurrentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null\n }\n\n const existingEntry = readSegmentCacheEntry(now, varyPath)\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // ``.\n if (\n // We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n (candidateEntry.fetchStrategy !== existingEntry.fetchStrategy &&\n !canNewFetchStrategyProvideMoreContent(\n existingEntry.fetchStrategy,\n candidateEntry.fetchStrategy\n )) ||\n // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n (!existingEntry.isPartial && candidateEntry.isPartial)\n ) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry: RejectedSegmentCacheEntry = candidateEntry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.loading = null\n rejectedEntry.rsc = null\n return null\n }\n\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry)\n }\n\n const isRevalidation = false\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation)\n return candidateEntry\n}\n\nexport function createDetachedSegmentCacheEntry(\n staleAt: number\n): EmptySegmentCacheEntry {\n const emptyEntry: EmptySegmentCacheEntry = {\n status: EntryStatus.Empty,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n loading: null,\n isPartial: true,\n promise: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0,\n }\n return emptyEntry\n}\n\nexport function upgradeToPendingSegment(\n emptyEntry: EmptySegmentCacheEntry,\n fetchStrategy: FetchStrategy\n): PendingSegmentCacheEntry {\n const pendingEntry: PendingSegmentCacheEntry = emptyEntry as any\n pendingEntry.status = EntryStatus.Pending\n pendingEntry.fetchStrategy = fetchStrategy\n\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false\n }\n\n // Set the version here, since this is right before the request is initiated.\n // The next time the global cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentCacheVersion()\n return pendingEntry\n}\n\nfunction pingBlockedTasks(entry: {\n blockedTasks: Set | null\n}): void {\n const blockedTasks = entry.blockedTasks\n if (blockedTasks !== null) {\n for (const task of blockedTasks) {\n pingPrefetchTask(task)\n }\n entry.blockedTasks = null\n }\n}\n\nfunction fulfillRouteCacheEntry(\n entry: RouteCacheEntry,\n tree: RouteTree,\n metadataVaryPath: PageVaryPath,\n staleAt: number,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n renderedSearch: NormalizedSearch,\n isPPREnabled: boolean\n): FulfilledRouteCacheEntry {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata: RouteTree = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n isRootLayout: false,\n hasLoadingBoundary: HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n hasRuntimePrefetch: false,\n }\n const fulfilledEntry: FulfilledRouteCacheEntry = entry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.tree = tree\n fulfilledEntry.metadata = metadata\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted\n fulfilledEntry.canonicalUrl = canonicalUrl\n fulfilledEntry.renderedSearch = renderedSearch\n fulfilledEntry.isPPREnabled = isPPREnabled\n pingBlockedTasks(entry)\n return fulfilledEntry\n}\n\nfunction fulfillSegmentCacheEntry(\n segmentCacheEntry: PendingSegmentCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n staleAt: number,\n isPartial: boolean\n): FulfilledSegmentCacheEntry {\n const fulfilledEntry: FulfilledSegmentCacheEntry = segmentCacheEntry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.rsc = rsc\n fulfilledEntry.loading = loading\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.isPartial = isPartial\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry)\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null\n }\n return fulfilledEntry\n}\n\nfunction rejectRouteCacheEntry(\n entry: PendingRouteCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedRouteCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n pingBlockedTasks(entry)\n}\n\nfunction rejectSegmentCacheEntry(\n entry: PendingSegmentCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedSegmentCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null)\n entry.promise = null\n }\n}\n\ntype RouteTreeAccumulator = {\n metadataVaryPath: PageVaryPath | null\n}\n\nfunction convertRootTreePrefetchToRouteTree(\n rootTree: RootTreePrefetch,\n renderedPathname: string,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY\n return convertTreePrefetchToRouteTree(\n rootTree.tree,\n rootSegment,\n null,\n ROOT_SEGMENT_REQUEST_KEY,\n pathnameParts,\n index,\n renderedSearch,\n acc\n )\n}\n\nfunction convertTreePrefetchToRouteTree(\n prefetch: TreePrefetch,\n segment: FlightRouterStateSegment,\n partialVaryPath: PartialSegmentVaryPath | null,\n requestKey: SegmentRequestKey,\n pathnameParts: Array,\n pathnamePartsIndex: number,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n const prefetchSlots = prefetch.slots\n if (prefetchSlots !== null) {\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n\n slots = {}\n for (let parallelRouteKey in prefetchSlots) {\n const childPrefetch = prefetchSlots[parallelRouteKey]\n const childParamName = childPrefetch.name\n const childParamType = childPrefetch.paramType\n const childServerSentParamKey = childPrefetch.paramKey\n\n let childDoesAppearInURL: boolean\n let childSegment: FlightRouterStateSegment\n let childPartialVaryPath: PartialSegmentVaryPath | null\n if (childParamType !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(\n childParamType,\n pathnameParts,\n pathnamePartsIndex\n )\n\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey =\n // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childServerSentParamKey !== null\n ? childServerSentParamKey\n : // If no param key was sent, use the value parsed on the client.\n getCacheKeyForDynamicParam(\n childParamValue,\n '' as NormalizedSearch\n )\n\n childPartialVaryPath = appendLayoutVaryPath(\n partialVaryPath,\n childParamKey\n )\n childSegment = [childParamName, childParamKey, childParamType]\n childDoesAppearInURL = true\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath\n childSegment = childParamName\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childParamName)\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(\n childPrefetch,\n childSegment,\n childPartialVaryPath,\n childRequestKey,\n pathnameParts,\n childPathnamePartsIndex,\n renderedSearch,\n acc\n )\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: prefetch.isRootLayout,\n // This field is only relevant to dynamic routes. For a PPR/static route,\n // there's always some partial loading state we can fetch.\n hasLoadingBoundary: HasLoadingBoundary.SegmentHasLoadingBoundary,\n hasRuntimePrefetch: prefetch.hasRuntimePrefetch,\n }\n}\n\nfunction convertRootFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n return convertFlightRouterStateToRouteTree(\n flightRouterState,\n ROOT_SEGMENT_REQUEST_KEY,\n null,\n renderedSearch,\n acc\n )\n}\n\nfunction convertFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n requestKey: SegmentRequestKey,\n parentPartialVaryPath: PartialSegmentVaryPath | null,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n const originalSegment = flightRouterState[0]\n\n let segment: FlightRouterStateSegment\n let partialVaryPath: PartialSegmentVaryPath | null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n if (Array.isArray(originalSegment)) {\n isPage = false\n const paramCacheKey = originalSegment[1]\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, paramCacheKey)\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n segment = originalSegment\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n segment = originalSegment\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n\n const parallelRoutes = flightRouterState[1]\n for (let parallelRouteKey in parallelRoutes) {\n const childRouterState = parallelRoutes[parallelRouteKey]\n const childSegment = childRouterState[0]\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n const childTree = convertFlightRouterStateToRouteTree(\n childRouterState,\n childRequestKey,\n partialVaryPath,\n renderedSearch,\n acc\n )\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree,\n }\n } else {\n slots[parallelRouteKey] = childTree\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: flightRouterState[4] === true,\n hasLoadingBoundary:\n flightRouterState[5] !== undefined\n ? flightRouterState[5]\n : HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n\n // Non-static tree responses are only used by apps that haven't adopted\n // Cache Components. So this is always false.\n hasRuntimePrefetch: false,\n }\n}\n\nexport function convertRouteTreeToFlightRouterState(\n routeTree: RouteTree\n): FlightRouterState {\n const parallelRoutes: Record = {}\n if (routeTree.slots !== null) {\n for (const parallelRouteKey in routeTree.slots) {\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(\n routeTree.slots[parallelRouteKey]\n )\n }\n }\n const flightRouterState: FlightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null,\n routeTree.isRootLayout,\n ]\n return flightRouterState\n}\n\nexport async function fetchRouteOnCacheMiss(\n entry: PendingRouteCacheEntry,\n task: PrefetchTask,\n key: RouteCacheKey\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname\n const search = key.search\n const nextUrl = key.nextUrl\n const segmentPath = '/_tree' as SegmentRequestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n try {\n const url = new URL(pathname + search, location.origin)\n let response\n let urlAfterRedirects\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to : /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD',\n })\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n urlAfterRedirects = headResponse.redirected\n ? new URL(headResponse.url)\n : url\n\n response = await fetchPrefetchResponse(\n addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath),\n headers\n )\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers)\n urlAfterRedirects =\n response !== null && response.redirected ? new URL(response.url) : url\n }\n\n if (\n !response ||\n !response.ok ||\n // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects)\n\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary')\n const couldBeIntercepted =\n varyHeader !== null && varyHeader.includes(NEXT_URL)\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' ||\n // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode\n\n if (routeIsPPREnabled) {\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData = await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootTreePrefetchToRouteTree(\n serverData,\n renderedPathname,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n const staleTimeMs = getStaleTimeMs(serverData.staleTime)\n fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n Date.now() + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData =\n await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n writeDynamicTreeResponseIntoCache(\n Date.now(),\n task,\n // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary,\n response as RSCResponse,\n serverData,\n entry,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled\n )\n }\n\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath: RouteVaryPath = getFulfilledRouteVaryPath(\n pathname,\n search,\n nextUrl,\n couldBeIntercepted\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation)\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentOnCacheMiss(\n route: FulfilledRouteCacheEntry,\n segmentCacheEntry: PendingSegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = routeKey.nextUrl\n\n const requestKey = tree.requestKey\n const normalizedRequestKey =\n requestKey === ROOT_SEGMENT_REQUEST_KEY\n ? // The root segment is a special case. To simplify the server-side\n // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n ('/_index' as SegmentRequestKey)\n : requestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n const requestUrl = isOutputExportMode\n ? // In output: \"export\" mode, we need to add the segment path to the URL.\n addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey)\n : url\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers)\n if (\n !response ||\n !response.ok ||\n response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n (response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' &&\n // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode) ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // Wrap the original stream in a new stream that never closes. That way the\n // Flight client doesn't error if there's a hanging promise.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(segmentCacheEntry, size)\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n return {\n value: fulfillSegmentCacheEntry(\n segmentCacheEntry,\n serverData.rsc,\n serverData.loading,\n // TODO: The server does not currently provide per-segment stale time.\n // So we use the stale time of the route.\n route.staleAt,\n serverData.isPartial\n ),\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise,\n }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n dynamicRequestTree: FlightRouterState,\n spawnedEntries: Map\n): Promise | null> {\n const key = task.key\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = key.nextUrl\n\n if (\n spawnedEntries.size === 1 &&\n spawnedEntries.has(route.metadata.requestKey)\n ) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree\n }\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]:\n prepareFlightRouterStateForRequest(dynamicRequestTree),\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n switch (fetchStrategy) {\n case FetchStrategy.Full: {\n // We omit the prefetch header from a full prefetch because it's essentially\n // just a navigation request that happens ahead of time — it should include\n // all the same data in the response.\n break\n }\n case FetchStrategy.PPRRuntime: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2'\n break\n }\n case FetchStrategy.LoadingBoundary: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1'\n break\n }\n default: {\n fetchStrategy satisfies never\n }\n }\n\n try {\n const response = await fetchPrefetchResponse(url, headers)\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n const renderedSearch = getRenderedSearch(response)\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n let fulfilledEntries: Array | null = null\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assiging each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length\n for (const entry of fulfilledEntries) {\n setSizeInCacheMap(entry, averageSize)\n }\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n\n const isResponsePartial =\n fetchStrategy === FetchStrategy.PPRRuntime\n ? // A runtime prefetch may have holes.\n serverData.rp?.[0] === true\n : // Full and LoadingBoundary prefetches cannot have holes.\n // (even if we did set the prefetch header, we only use this codepath for non-PPR-enabled routes)\n false\n\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n fulfilledEntries = writeDynamicRenderResponseIntoCache(\n Date.now(),\n task,\n fetchStrategy,\n response as RSCResponse,\n serverData,\n isResponsePartial,\n route,\n spawnedEntries\n )\n\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n}\n\nfunction writeDynamicTreeResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n entry: PendingRouteCacheEntry,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n routeIsPPREnabled: boolean\n) {\n // Get the URL that was used to render the target page. This may be different\n // from the URL in the request URL, if the page was rewritten.\n const renderedSearch = getRenderedSearch(response)\n\n const normalizedFlightDataResult = normalizeFlightData(serverData.f)\n if (\n // A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' ||\n normalizedFlightDataResult.length !== 1\n ) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n const flightData = normalizedFlightDataResult[0]\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const flightRouterState = flightData.tree\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n\n // If the response contains dynamic holes, then we must conservatively assume\n // that any individual segment might contain dynamic holes, and also the\n // head. If it did not contain dynamic holes, then we can assume every segment\n // and the head is completely static.\n const isResponsePartial =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1'\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootFlightRouterStateToRouteTree(\n flightRouterState,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const fulfilledEntry = fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n now + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n //\n // TODO: When `clientSegmentCache` is enabled, the server does not include\n // segment data when responding to a route tree prefetch request. However,\n // when `clientSegmentCache` is set to \"client-only\", and PPR is enabled (or\n // the page is fully static), the normal check is bypassed and the server\n // responds with the full page. This is a temporary situation until we can\n // remove the \"client-only\" option. Then, we can delete this function call.\n writeDynamicRenderResponseIntoCache(\n now,\n task,\n fetchStrategy,\n response,\n serverData,\n isResponsePartial,\n fulfilledEntry,\n null\n )\n}\n\nfunction rejectSegmentEntriesIfStillPending(\n entries: Map,\n staleAt: number\n): Array {\n const fulfilledEntries = []\n for (const entry of entries.values()) {\n if (entry.status === EntryStatus.Pending) {\n rejectSegmentCacheEntry(entry, staleAt)\n } else if (entry.status === EntryStatus.Fulfilled) {\n fulfilledEntries.push(entry)\n }\n }\n return fulfilledEntries\n}\n\nfunction writeDynamicRenderResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n isResponsePartial: boolean,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map | null\n): Array | null {\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n\n const flightDatas = normalizeFlightData(serverData.f)\n if (typeof flightDatas === 'string') {\n // This means navigating to this route will result in an MPA navigation.\n // TODO: We should cache this, too, so that the MPA navigation is immediate.\n return null\n }\n\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n const staleAt = now + staleTimeMs\n\n for (const flightData of flightDatas) {\n const seedData = flightData.seedData\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightData.segmentPath\n let tree = route.tree\n for (let i = 0; i < segmentPath.length; i += 2) {\n const parallelRouteKey: string = segmentPath[i]\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey]\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n }\n\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n tree,\n staleAt,\n seedData,\n isResponsePartial,\n spawnedEntries\n )\n }\n\n const head = flightData.head\n if (head !== null) {\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n head,\n null,\n flightData.isHeadPartial,\n staleAt,\n route.metadata,\n spawnedEntries\n )\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(\n spawnedEntries,\n now + 10 * 1000\n )\n return fulfilledEntries\n }\n return null\n}\n\nfunction writeSeedDataIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n staleAt: number,\n seedData: CacheNodeSeedData,\n isResponsePartial: boolean,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0]\n const loading = seedData[2]\n const isPartial = rsc === null || isResponsePartial\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n rsc,\n loading,\n isPartial,\n staleAt,\n tree,\n entriesOwnedByCurrentTask\n )\n\n // Recursively write the child data into the cache.\n const slots = tree.slots\n if (slots !== null) {\n const seedDataChildren = seedData[1]\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childSeedData: CacheNodeSeedData | null | void =\n seedDataChildren[parallelRouteKey]\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n childTree,\n staleAt,\n childSeedData,\n isResponsePartial,\n entriesOwnedByCurrentTask\n )\n }\n }\n }\n}\n\nfunction fulfillEntrySpawnedByRuntimePrefetch(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n isPartial: boolean,\n staleAt: number,\n tree: RouteTree,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry =\n entriesOwnedByCurrentTask !== null\n ? entriesOwnedByCurrentTask.get(tree.requestKey)\n : undefined\n if (ownedEntry !== undefined) {\n fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial)\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(\n now,\n fetchStrategy,\n route,\n tree\n )\n if (possiblyNewEntry.status === EntryStatus.Empty) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry\n fulfillSegmentCacheEntry(\n upgradeToPendingSegment(newEntry, fetchStrategy),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(\n upgradeToPendingSegment(\n createDetachedSegmentCacheEntry(staleAt),\n fetchStrategy\n ),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n upsertSegmentEntry(\n now,\n getSegmentVaryPathForRequest(fetchStrategy, tree),\n newEntry\n )\n }\n }\n}\n\nasync function fetchPrefetchResponse(\n url: URL,\n headers: RequestHeaders\n): Promise | null> {\n const fetchPriority = 'low'\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false\n const response = await createFetch(\n url,\n headers,\n fetchPriority,\n shouldImmediatelyDecode\n )\n if (!response.ok) {\n return null\n }\n\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type')\n const isFlightResponse =\n contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n if (!isFlightResponse) {\n return null\n }\n }\n return response\n}\n\nfunction createPrefetchResponseStream(\n originalFlightStream: ReadableStream,\n onStreamClose: () => void,\n onResponseSizeUpdate: (size: number) => void\n): ReadableStream {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n //\n // While processing the original stream, we also incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0\n const reader = originalFlightStream.getReader()\n return new ReadableStream({\n async pull(controller) {\n while (true) {\n const { done, value } = await reader.read()\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value)\n\n // Incrementally update the size of the cache entry in the LRU.\n // NOTE: Since prefetch responses are delivered in a single chunk,\n // it's not really necessary to do this streamingly, but I'm doing it\n // anyway in case this changes in the future.\n totalByteLength += value.byteLength\n onResponseSizeUpdate(totalByteLength)\n continue\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream. We do notify the caller, though.\n onStreamClose()\n return\n }\n },\n })\n}\n\nfunction addSegmentPathToUrlInOutputExportMode(\n url: URL,\n segmentPath: SegmentRequestKey\n): URL {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url)\n const routeDir = staticUrl.pathname.endsWith('/')\n ? staticUrl.pathname.slice(0, -1)\n : staticUrl.pathname\n const staticExportFilename =\n convertSegmentPathToStaticExportFilename(segmentPath)\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`\n return staticUrl\n }\n return url\n}\n\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */\nexport function canNewFetchStrategyProvideMoreContent(\n currentStrategy: FetchStrategy,\n newStrategy: FetchStrategy\n): boolean {\n return currentStrategy < newStrategy\n}\n"],"names":["HasLoadingBoundary","NEXT_DID_POSTPONE_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_ROUTER_STALE_TIME_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_URL","RSC_CONTENT_TYPE_HEADER","RSC_HEADER","createFetch","createFromNextReadableStream","pingPrefetchTask","isPrefetchTaskDirty","startRevalidationCooldown","getRouteVaryPath","getFulfilledRouteVaryPath","getSegmentVaryPathForRequest","appendLayoutVaryPath","finalizeLayoutVaryPath","finalizePageVaryPath","clonePageVaryPathWithNewSearchParams","finalizeMetadataVaryPath","getAppBuildId","createHrefFromUrl","createCacheKey","createPrefetchRequestKey","doesStaticSegmentAppearInURL","getCacheKeyForDynamicParam","getRenderedPathname","getRenderedSearch","parseDynamicParamFromURLPart","createCacheMap","getFromCacheMap","setInCacheMap","setSizeInCacheMap","deleteFromCacheMap","isValueExpired","appendSegmentRequestKeyPart","convertSegmentPathToStaticExportFilename","createSegmentRequestKeyPart","HEAD_REQUEST_KEY","ROOT_SEGMENT_REQUEST_KEY","normalizeFlightData","prepareFlightRouterStateForRequest","STATIC_STALETIME_MS","pingVisibleLinks","PAGE_SEGMENT_KEY","FetchStrategy","createPromiseWithResolvers","getStaleTimeMs","staleTimeSeconds","Math","max","EntryStatus","isOutputExportMode","process","env","NODE_ENV","__NEXT_CONFIG_OUTPUT","MetadataOnlyRequestTree","routeCacheMap","segmentCacheMap","invalidationListeners","currentCacheVersion","getCurrentCacheVersion","revalidateEntireCache","nextUrl","tree","pingInvalidationListeners","attachInvalidationListener","task","onInvalidate","Set","add","notifyInvalidationListener","error","reportError","console","tasks","readRouteCacheEntry","now","key","varyPath","pathname","search","isRevalidation","readSegmentCacheEntry","readRevalidatingSegmentCacheEntry","waitForSegmentCacheEntry","pendingEntry","promiseWithResolvers","promise","readOrCreateRouteCacheEntry","existingEntry","canonicalUrl","status","blockedTasks","metadata","couldBeIntercepted","isPPREnabled","renderedSearch","ref","size","staleAt","Infinity","version","requestOptimisticRouteCacheEntry","requestedUrl","requestedSearch","urlWithoutSearchParams","URL","routeWithNoSearchParams","href","canonicalUrlForRouteWithNoSearchParams","origin","optimisticCanonicalSearch","optimisticRenderedSearch","optimisticUrl","location","optimisticCanonicalUrl","optimisticRouteTree","createOptimisticRouteTree","optimisticMetadataTree","optimisticEntry","newRenderedSearch","clonedSlots","originalSlots","slots","parallelRouteKey","childTree","isPage","requestKey","segment","isRootLayout","hasLoadingBoundary","hasRuntimePrefetch","readOrCreateSegmentCacheEntry","fetchStrategy","route","varyPathForRequest","createDetachedSegmentCacheEntry","readOrCreateRevalidatingSegmentEntry","overwriteRevalidatingSegmentCacheEntry","upsertSegmentEntry","candidateEntry","canNewFetchStrategyProvideMoreContent","isPartial","rejectedEntry","loading","rsc","emptyEntry","PPR","upgradeToPendingSegment","Full","pingBlockedTasks","entry","fulfillRouteCacheEntry","metadataVaryPath","SubtreeHasNoLoadingBoundary","fulfilledEntry","fulfillSegmentCacheEntry","segmentCacheEntry","resolve","rejectRouteCacheEntry","rejectSegmentCacheEntry","convertRootTreePrefetchToRouteTree","rootTree","renderedPathname","acc","pathnameParts","split","filter","p","index","rootSegment","convertTreePrefetchToRouteTree","prefetch","partialVaryPath","pathnamePartsIndex","prefetchSlots","childPrefetch","childParamName","name","childParamType","paramType","childServerSentParamKey","paramKey","childDoesAppearInURL","childSegment","childPartialVaryPath","childParamValue","childParamKey","childPathnamePartsIndex","childRequestKeyPart","childRequestKey","endsWith","SegmentHasLoadingBoundary","convertRootFlightRouterStateToRouteTree","flightRouterState","convertFlightRouterStateToRouteTree","parentPartialVaryPath","originalSegment","Array","isArray","paramCacheKey","parallelRoutes","childRouterState","undefined","convertRouteTreeToFlightRouterState","routeTree","fetchRouteOnCacheMiss","segmentPath","headers","url","response","urlAfterRedirects","headResponse","fetch","method","Date","redirected","fetchPrefetchResponse","addSegmentPathToUrlInOutputExportMode","ok","body","varyHeader","get","includes","closed","routeIsPPREnabled","prefetchStream","createPrefetchResponseStream","onResponseSizeUpdate","serverData","buildId","staleTimeMs","staleTime","b","writeDynamicTreeResponseIntoCache","LoadingBoundary","fulfilledVaryPath","value","fetchSegmentOnCacheMiss","routeKey","normalizedRequestKey","requestUrl","fetchSegmentPrefetchesUsingDynamicRequest","dynamicRequestTree","spawnedEntries","has","PPRRuntime","rejectSegmentEntriesIfStillPending","fulfilledEntries","totalBytesReceivedSoFar","averageSize","length","isResponsePartial","rp","writeDynamicRenderResponseIntoCache","normalizedFlightDataResult","f","flightData","isRootRender","parseInt","isNaN","entries","values","push","flightDatas","seedData","i","writeSeedDataIntoCache","head","fulfillEntrySpawnedByRuntimePrefetch","isHeadPartial","entriesOwnedByCurrentTask","seedDataChildren","childSeedData","ownedEntry","possiblyNewEntry","newEntry","fetchPriority","shouldImmediatelyDecode","contentType","isFlightResponse","startsWith","originalFlightStream","onStreamClose","totalByteLength","reader","getReader","ReadableStream","pull","controller","done","read","enqueue","byteLength","staticUrl","routeDir","slice","staticExportFilename","currentStrategy","newStrategy"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,SAASA,kBAAkB,QAAQ,uCAAsC;AACzE,SACEC,wBAAwB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;IAC9E,+BAA+B;IAC/B,EAAE;IACF,8EAA8E;IAC9E,iCAAiC;IACjC,IAAIwD,kBAAkB;IACtB,MAAMC,SAASH,qBAAqBI,SAAS;IAC7C,OAAO,IAAIC,eAAe;QACxB,MAAMC,MAAKC,UAAU;YACnB,MAAO,KAAM;gBACX,MAAM,EAAEC,IAAI,EAAErD,KAAK,EAAE,GAAG,MAAMgD,OAAOM,IAAI;gBACzC,IAAI,CAACD,MAAM;oBACT,mEAAmE;oBACnE,mBAAmB;oBACnBD,WAAWG,OAAO,CAACvD;oBAEnB,+DAA+D;oBAC/D,kEAAkE;oBAClE,qEAAqE;oBACrE,6CAA6C;oBAC7C+C,mBAAmB/C,MAAMwD,UAAU;oBACnCjE,qBAAqBwD;oBACrB;gBACF;gBACA,qEAAqE;gBACrE,sDAAsD;gBACtDD;gBACA;YACF;QACF;IACF;AACF;AAEA,SAASjE,sCACPT,GAAQ,EACRF,WAA8B;IAE9B,IAAI7J,oBAAoB;;IAYxB,OAAO+J;AACT;AAuBO,SAASpE,sCACd6J,eAA8B,EAC9BC,WAA0B;IAE1B,OAAOD,kBAAkBC;AAC3B","ignoreList":[0]}}, {"offset": {"line": 7420, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/segment-cache/navigation.ts"],"sourcesContent":["import type {\n CacheNodeSeedData,\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../shared/lib/app-router-types'\nimport type { CacheNode } from '../../../shared/lib/app-router-types'\nimport type {\n HeadData,\n LoadingModuleData,\n} from '../../../shared/lib/app-router-types'\nimport type { NormalizedFlightData } from '../../flight-data-helpers'\nimport { fetchServerResponse } from '../router-reducer/fetch-server-response'\nimport {\n startPPRNavigation,\n spawnDynamicRequests,\n FreshnessPolicy,\n type NavigationTask,\n type NavigationRequestAccumulation,\n} from '../router-reducer/ppr-navigations'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport {\n EntryStatus,\n readRouteCacheEntry,\n readSegmentCacheEntry,\n waitForSegmentCacheEntry,\n requestOptimisticRouteCacheEntry,\n type RouteTree,\n type FulfilledRouteCacheEntry,\n} from './cache'\nimport { createCacheKey } from './cache-key'\nimport { addSearchParamsIfPageSegment } from '../../../shared/lib/segment'\nimport { NavigationResultTag } from './types'\n\ntype MPANavigationResult = {\n tag: NavigationResultTag.MPA\n data: string\n}\n\ntype SuccessfulNavigationResult = {\n tag: NavigationResultTag.Success\n data: {\n flightRouterState: FlightRouterState\n cacheNode: CacheNode\n canonicalUrl: string\n renderedSearch: string\n scrollableSegments: Array | null\n shouldScroll: boolean\n hash: string\n }\n}\n\ntype AsyncNavigationResult = {\n tag: NavigationResultTag.Async\n data: Promise\n}\n\nexport type NavigationResult =\n | MPANavigationResult\n | SuccessfulNavigationResult\n | AsyncNavigationResult\n\n/**\n * Navigate to a new URL, using the Segment Cache to construct a response.\n *\n * To allow for synchronous navigations whenever possible, this is not an async\n * function. It returns a promise only if there's no matching prefetch in\n * the cache. Otherwise it returns an immediate result and uses Suspense/RSC to\n * stream in any missing data.\n */\nexport function navigate(\n url: URL,\n currentUrl: URL,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean,\n accumulation: { collectedDebugInfo?: Array }\n): NavigationResult {\n const now = Date.now()\n const href = url.href\n\n // We special case navigations to the exact same URL as the current location.\n // It's a common UI pattern for apps to refresh when you click a link to the\n // current page. So when this happens, we refresh the dynamic data in the page\n // segments.\n //\n // Note that this does not apply if the any part of the hash or search query\n // has changed. This might feel a bit weird but it makes more sense when you\n // consider that the way to trigger this behavior is to click the same link\n // multiple times.\n //\n // TODO: We should probably refresh the *entire* route when this case occurs,\n // not just the page segments. Essentially treating it the same as a refresh()\n // triggered by an action, which is the more explicit way of modeling the UI\n // pattern described above.\n //\n // Also note that this only refreshes the dynamic data, not static/ cached\n // data. If the page segment is fully static and prefetched, the request is\n // skipped. (This is also how refresh() works.)\n const isSamePageNavigation = href === currentUrl.href\n\n const cacheKey = createCacheKey(href, nextUrl)\n const route = readRouteCacheEntry(now, cacheKey)\n if (route !== null && route.status === EntryStatus.Fulfilled) {\n // We have a matching prefetch.\n const snapshot = readRenderSnapshotFromCache(now, route, route.tree)\n const prefetchFlightRouterState = snapshot.flightRouterState\n const prefetchSeedData = snapshot.seedData\n const headSnapshot = readHeadSnapshotFromCache(now, route)\n const prefetchHead = headSnapshot.rsc\n const isPrefetchHeadPartial = headSnapshot.isPartial\n // TODO: The \"canonicalUrl\" stored in the cache doesn't include the hash,\n // because hash entries do not vary by hash fragment. However, the one\n // we set in the router state *does* include the hash, and it's used to\n // sync with the actual browser location. To make this less of a refactor\n // hazard, we should always track the hash separately from the rest of\n // the URL.\n const newCanonicalUrl = route.canonicalUrl + url.hash\n const renderedSearch = route.renderedSearch\n return navigateUsingPrefetchedRouteTree(\n now,\n url,\n currentUrl,\n nextUrl,\n isSamePageNavigation,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n newCanonicalUrl,\n renderedSearch,\n freshnessPolicy,\n shouldScroll\n )\n }\n\n // There was no matching route tree in the cache. Let's see if we can\n // construct an \"optimistic\" route tree.\n //\n // Do not construct an optimistic route tree if there was a cache hit, but\n // the entry has a rejected status, since it may have been rejected due to a\n // rewrite or redirect based on the search params.\n //\n // TODO: There are multiple reasons a prefetch might be rejected; we should\n // track them explicitly and choose what to do here based on that.\n if (route === null || route.status !== EntryStatus.Rejected) {\n const optimisticRoute = requestOptimisticRouteCacheEntry(now, url, nextUrl)\n if (optimisticRoute !== null) {\n // We have an optimistic route tree. Proceed with the normal flow.\n const snapshot = readRenderSnapshotFromCache(\n now,\n optimisticRoute,\n optimisticRoute.tree\n )\n const prefetchFlightRouterState = snapshot.flightRouterState\n const prefetchSeedData = snapshot.seedData\n const headSnapshot = readHeadSnapshotFromCache(now, optimisticRoute)\n const prefetchHead = headSnapshot.rsc\n const isPrefetchHeadPartial = headSnapshot.isPartial\n const newCanonicalUrl = optimisticRoute.canonicalUrl + url.hash\n const newRenderedSearch = optimisticRoute.renderedSearch\n return navigateUsingPrefetchedRouteTree(\n now,\n url,\n currentUrl,\n nextUrl,\n isSamePageNavigation,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n newCanonicalUrl,\n newRenderedSearch,\n freshnessPolicy,\n shouldScroll\n )\n }\n }\n\n // There's no matching prefetch for this route in the cache.\n let collectedDebugInfo = accumulation.collectedDebugInfo ?? []\n if (accumulation.collectedDebugInfo === undefined) {\n collectedDebugInfo = accumulation.collectedDebugInfo = []\n }\n return {\n tag: NavigationResultTag.Async,\n data: navigateDynamicallyWithNoPrefetch(\n now,\n url,\n currentUrl,\n nextUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n shouldScroll,\n collectedDebugInfo\n ),\n }\n}\n\nexport function navigateToSeededRoute(\n now: number,\n url: URL,\n canonicalUrl: string,\n navigationSeed: NavigationSeed,\n currentUrl: URL,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n nextUrl: string | null,\n shouldScroll: boolean\n): SuccessfulNavigationResult | MPANavigationResult {\n // A version of navigate() that accepts the target route tree as an argument\n // rather than reading it from the prefetch cache.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const isSamePageNavigation = url.href === currentUrl.href\n const task = startPPRNavigation(\n now,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n navigationSeed.tree,\n freshnessPolicy,\n navigationSeed.data,\n navigationSeed.head,\n null,\n null,\n false,\n isSamePageNavigation,\n accumulation\n )\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation)\n return navigationTaskToResult(\n task,\n canonicalUrl,\n navigationSeed.renderedSearch,\n accumulation.scrollableSegments,\n shouldScroll,\n url.hash\n )\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl,\n }\n}\n\nfunction navigateUsingPrefetchedRouteTree(\n now: number,\n url: URL,\n currentUrl: URL,\n nextUrl: string | null,\n isSamePageNavigation: boolean,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n prefetchFlightRouterState: FlightRouterState,\n prefetchSeedData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n canonicalUrl: string,\n renderedSearch: string,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean\n): SuccessfulNavigationResult | MPANavigationResult {\n // Recursively construct a prefetch tree by reading from the Segment Cache. To\n // maintain compatibility, we output the same data structures as the old\n // prefetching implementation: FlightRouterState and CacheNodeSeedData.\n // TODO: Eventually updateCacheNodeOnNavigation (or the equivalent) should\n // read from the Segment Cache directly. It's only structured this way for now\n // so we can share code with the old prefetching implementation.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const seedData = null\n const seedHead = null\n const task = startPPRNavigation(\n now,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n freshnessPolicy,\n seedData,\n seedHead,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n isSamePageNavigation,\n accumulation\n )\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation)\n return navigationTaskToResult(\n task,\n canonicalUrl,\n renderedSearch,\n accumulation.scrollableSegments,\n shouldScroll,\n url.hash\n )\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl,\n }\n}\n\nfunction navigationTaskToResult(\n task: NavigationTask,\n canonicalUrl: string,\n renderedSearch: string,\n scrollableSegments: Array | null,\n shouldScroll: boolean,\n hash: string\n): SuccessfulNavigationResult | MPANavigationResult {\n return {\n tag: NavigationResultTag.Success,\n data: {\n flightRouterState: task.route,\n cacheNode: task.node,\n canonicalUrl,\n renderedSearch,\n scrollableSegments,\n shouldScroll,\n hash,\n },\n }\n}\n\nfunction readRenderSnapshotFromCache(\n now: number,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): { flightRouterState: FlightRouterState; seedData: CacheNodeSeedData } {\n let childRouterStates: { [parallelRouteKey: string]: FlightRouterState } = {}\n let childSeedDatas: {\n [parallelRouteKey: string]: CacheNodeSeedData | null\n } = {}\n const slots = tree.slots\n if (slots !== null) {\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childResult = readRenderSnapshotFromCache(now, route, childTree)\n childRouterStates[parallelRouteKey] = childResult.flightRouterState\n childSeedDatas[parallelRouteKey] = childResult.seedData\n }\n }\n\n let rsc: React.ReactNode | null = null\n let loading: LoadingModuleData | Promise = null\n let isPartial: boolean = true\n\n const segmentEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (segmentEntry !== null) {\n switch (segmentEntry.status) {\n case EntryStatus.Fulfilled: {\n // Happy path: a cache hit\n rsc = segmentEntry.rsc\n loading = segmentEntry.loading\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n // We haven't received data for this segment yet, but there's already\n // an in-progress request. Since it's extremely likely to arrive\n // before the dynamic data response, we might as well use it.\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry)\n rsc = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.rsc : null\n )\n loading = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.loading : null\n )\n // Because the request is still pending, we typically don't know yet\n // whether the response will be partial. We shouldn't skip this segment\n // during the dynamic navigation request. Otherwise, we might need to\n // do yet another request to fill in the remaining data, creating\n // a waterfall.\n //\n // The one exception is if this segment is being fetched with via\n // prefetch={true} (i.e. the \"force stale\" or \"full\" strategy). If so,\n // we can assume the response will be full. This field is set to `false`\n // for such segments.\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break\n default:\n segmentEntry satisfies never\n }\n }\n\n // The navigation implementation expects the search params to be\n // included in the segment. However, the Segment Cache tracks search\n // params separately from the rest of the segment key. So we need to\n // add them back here.\n //\n // See corresponding comment in convertFlightRouterStateToTree.\n //\n // TODO: What we should do instead is update the navigation diffing\n // logic to compare search params explicitly. This is a temporary\n // solution until more of the Segment Cache implementation has settled.\n const segment = addSearchParamsIfPageSegment(\n tree.segment,\n Object.fromEntries(new URLSearchParams(route.renderedSearch))\n )\n\n // We don't need this information in a render snapshot, so this can just be a placeholder.\n const hasRuntimePrefetch = false\n\n return {\n flightRouterState: [\n segment,\n childRouterStates,\n null,\n null,\n tree.isRootLayout,\n ],\n seedData: [rsc, childSeedDatas, loading, isPartial, hasRuntimePrefetch],\n }\n}\n\nfunction readHeadSnapshotFromCache(\n now: number,\n route: FulfilledRouteCacheEntry\n): { rsc: HeadData; isPartial: boolean } {\n // Same as readRenderSnapshotFromCache, but for the head\n let rsc: React.ReactNode | null = null\n let isPartial: boolean = true\n const segmentEntry = readSegmentCacheEntry(now, route.metadata.varyPath)\n if (segmentEntry !== null) {\n switch (segmentEntry.status) {\n case EntryStatus.Fulfilled: {\n rsc = segmentEntry.rsc\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry)\n rsc = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.rsc : null\n )\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break\n default:\n segmentEntry satisfies never\n }\n }\n return { rsc, isPartial }\n}\n\n// Used to request all the dynamic data for a route, rather than just a subset,\n// e.g. during a refresh or a revalidation. Typically this gets constructed\n// during the normal flow when diffing the route tree, but for an unprefetched\n// navigation, where we don't know the structure of the target route, we use\n// this instead.\nconst DynamicRequestTreeForEntireRoute: FlightRouterState = [\n '',\n {},\n null,\n 'refetch',\n]\n\nasync function navigateDynamicallyWithNoPrefetch(\n now: number,\n url: URL,\n currentUrl: URL,\n nextUrl: string | null,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean,\n collectedDebugInfo: Array\n): Promise {\n // Runs when a navigation happens but there's no cached prefetch we can use.\n // Don't bother to wait for a prefetch response; go straight to a full\n // navigation that contains both static and dynamic data in a single stream.\n // (This is unlike the old navigation implementation, which instead blocks\n // the dynamic request until a prefetch request is received.)\n //\n // To avoid duplication of logic, we're going to pretend that the tree\n // returned by the dynamic request is, in fact, a prefetch tree. Then we can\n // use the same server response to write the actual data into the CacheNode\n // tree. So it's the same flow as the \"happy path\" (prefetch, then\n // navigation), except we use a single server response for both stages.\n\n let dynamicRequestTree: FlightRouterState\n switch (freshnessPolicy) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n dynamicRequestTree = currentFlightRouterState\n break\n case FreshnessPolicy.Hydration: // <- shouldn't happen during client nav\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n dynamicRequestTree = DynamicRequestTreeForEntireRoute\n break\n default:\n freshnessPolicy satisfies never\n dynamicRequestTree = currentFlightRouterState\n break\n }\n\n const promiseForDynamicServerResponse = fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n })\n const result = await promiseForDynamicServerResponse\n if (typeof result === 'string') {\n // This is an MPA navigation.\n const newUrl = result\n return {\n tag: NavigationResultTag.MPA,\n data: newUrl,\n }\n }\n\n const {\n flightData,\n canonicalUrl,\n renderedSearch,\n debugInfo: debugInfoFromResponse,\n } = result\n if (debugInfoFromResponse !== null) {\n collectedDebugInfo.push(...debugInfoFromResponse)\n }\n\n // Since the response format of dynamic requests and prefetches is slightly\n // different, we'll need to massage the data a bit. Create FlightRouterState\n // tree that simulates what we'd receive as the result of a prefetch.\n const navigationSeed = convertServerPatchToFullTree(\n currentFlightRouterState,\n flightData,\n renderedSearch\n )\n\n return navigateToSeededRoute(\n now,\n url,\n createHrefFromUrl(canonicalUrl),\n navigationSeed,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n nextUrl,\n shouldScroll\n )\n}\n\nexport type NavigationSeed = {\n tree: FlightRouterState\n renderedSearch: string\n data: CacheNodeSeedData | null\n head: HeadData | null\n}\n\nexport function convertServerPatchToFullTree(\n currentTree: FlightRouterState,\n flightData: Array,\n renderedSearch: string\n): NavigationSeed {\n // During a client navigation or prefetch, the server sends back only a patch\n // for the parts of the tree that have changed.\n //\n // This applies the patch to the base tree to create a full representation of\n // the resulting tree.\n //\n // The return type includes a full FlightRouterState tree and a full\n // CacheNodeSeedData tree. (Conceptually these are the same tree, and should\n // eventually be unified, but there's still lots of existing code that\n // operates on FlightRouterState trees alone without the CacheNodeSeedData.)\n //\n // TODO: This similar to what apply-router-state-patch-to-tree does. It\n // will eventually fully replace it. We should get rid of all the remaining\n // places where we iterate over the server patch format. This should also\n // eventually replace normalizeFlightData.\n\n let baseTree: FlightRouterState = currentTree\n let baseData: CacheNodeSeedData | null = null\n let head: HeadData | null = null\n for (const {\n segmentPath,\n tree: treePatch,\n seedData: dataPatch,\n head: headPatch,\n } of flightData) {\n const result = convertServerPatchToFullTreeImpl(\n baseTree,\n baseData,\n treePatch,\n dataPatch,\n segmentPath,\n 0\n )\n baseTree = result.tree\n baseData = result.data\n // This is the same for all patches per response, so just pick an\n // arbitrary one\n head = headPatch\n }\n\n return {\n tree: baseTree,\n data: baseData,\n renderedSearch,\n head,\n }\n}\n\nfunction convertServerPatchToFullTreeImpl(\n baseRouterState: FlightRouterState,\n baseData: CacheNodeSeedData | null,\n treePatch: FlightRouterState,\n dataPatch: CacheNodeSeedData | null,\n segmentPath: FlightSegmentPath,\n index: number\n): { tree: FlightRouterState; data: CacheNodeSeedData | null } {\n if (index === segmentPath.length) {\n // We reached the part of the tree that we need to patch.\n return {\n tree: treePatch,\n data: dataPatch,\n }\n }\n\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n //\n // This path tells us which part of the base tree to apply the tree patch.\n //\n // NOTE: We receive the FlightRouterState patch in the same request as the\n // seed data patch. Therefore we don't need to worry about diffing the segment\n // values; we can assume the server sent us a correct result.\n const updatedParallelRouteKey: string = segmentPath[index]\n // const segment: Segment = segmentPath[index + 1] <-- Not used, see note above\n\n const baseTreeChildren = baseRouterState[1]\n const baseSeedDataChildren = baseData !== null ? baseData[1] : null\n const newTreeChildren: Record = {}\n const newSeedDataChildren: Record = {}\n for (const parallelRouteKey in baseTreeChildren) {\n const childBaseRouterState = baseTreeChildren[parallelRouteKey]\n const childBaseSeedData =\n baseSeedDataChildren !== null\n ? (baseSeedDataChildren[parallelRouteKey] ?? null)\n : null\n if (parallelRouteKey === updatedParallelRouteKey) {\n const result = convertServerPatchToFullTreeImpl(\n childBaseRouterState,\n childBaseSeedData,\n treePatch,\n dataPatch,\n segmentPath,\n // Advance the index by two and keep cloning until we reach\n // the end of the segment path.\n index + 2\n )\n\n newTreeChildren[parallelRouteKey] = result.tree\n newSeedDataChildren[parallelRouteKey] = result.data\n } else {\n // This child is not being patched. Copy it over as-is.\n newTreeChildren[parallelRouteKey] = childBaseRouterState\n newSeedDataChildren[parallelRouteKey] = childBaseSeedData\n }\n }\n\n let clonedTree: FlightRouterState\n let clonedSeedData: CacheNodeSeedData\n // Clone all the fields except the children.\n\n // Clone the FlightRouterState tree. Based on equivalent logic in\n // apply-router-state-patch-to-tree, but should confirm whether we need to\n // copy all of these fields. Not sure the server ever sends, e.g. the\n // refetch marker.\n clonedTree = [baseRouterState[0], newTreeChildren]\n if (2 in baseRouterState) {\n clonedTree[2] = baseRouterState[2]\n }\n if (3 in baseRouterState) {\n clonedTree[3] = baseRouterState[3]\n }\n if (4 in baseRouterState) {\n clonedTree[4] = baseRouterState[4]\n }\n\n // Clone the CacheNodeSeedData tree.\n const isEmptySeedDataPartial = true\n clonedSeedData = [\n null,\n newSeedDataChildren,\n null,\n isEmptySeedDataPartial,\n false,\n ]\n\n return {\n tree: clonedTree,\n data: clonedSeedData,\n }\n}\n"],"names":["fetchServerResponse","startPPRNavigation","spawnDynamicRequests","FreshnessPolicy","createHrefFromUrl","EntryStatus","readRouteCacheEntry","readSegmentCacheEntry","waitForSegmentCacheEntry","requestOptimisticRouteCacheEntry","createCacheKey","addSearchParamsIfPageSegment","NavigationResultTag","navigate","url","currentUrl","currentCacheNode","currentFlightRouterState","nextUrl","freshnessPolicy","shouldScroll","accumulation","now","Date","href","isSamePageNavigation","cacheKey","route","status","Fulfilled","snapshot","readRenderSnapshotFromCache","tree","prefetchFlightRouterState","flightRouterState","prefetchSeedData","seedData","headSnapshot","readHeadSnapshotFromCache","prefetchHead","rsc","isPrefetchHeadPartial","isPartial","newCanonicalUrl","canonicalUrl","hash","renderedSearch","navigateUsingPrefetchedRouteTree","Rejected","optimisticRoute","newRenderedSearch","collectedDebugInfo","undefined","tag","Async","data","navigateDynamicallyWithNoPrefetch","navigateToSeededRoute","navigationSeed","scrollableSegments","separateRefreshUrls","task","head","navigationTaskToResult","MPA","seedHead","Success","cacheNode","node","childRouterStates","childSeedDatas","slots","parallelRouteKey","childTree","childResult","loading","segmentEntry","varyPath","Pending","promiseForFulfilledEntry","then","entry","Empty","segment","Object","fromEntries","URLSearchParams","hasRuntimePrefetch","isRootLayout","metadata","DynamicRequestTreeForEntireRoute","dynamicRequestTree","Default","HistoryTraversal","Hydration","RefreshAll","HMRRefresh","promiseForDynamicServerResponse","result","newUrl","flightData","debugInfo","debugInfoFromResponse","push","convertServerPatchToFullTree","currentTree","baseTree","baseData","segmentPath","treePatch","dataPatch","headPatch","convertServerPatchToFullTreeImpl","baseRouterState","index","length","updatedParallelRouteKey","baseTreeChildren","baseSeedDataChildren","newTreeChildren","newSeedDataChildren","childBaseRouterState","childBaseSeedData","clonedTree","clonedSeedData","isEmptySeedDataPartial"],"mappings":";;;;;;;;AAWA,SAASA,mBAAmB,QAAQ,0CAAyC;AAC7E,SACEC,kBAAkB,EAClBC,oBAAoB,EACpBC,eAAe,QAGV,oCAAmC;AAC1C,SAASC,iBAAiB,QAAQ,yCAAwC;AAC1E,SACEC,WAAW,EACXC,mBAAmB,EACnBC,qBAAqB,EACrBC,wBAAwB,EACxBC,gCAAgC,QAG3B,UAAS;AAChB,SAASC,cAAc,QAAQ,cAAa;AAC5C,SAASC,4BAA4B,QAAQ,8BAA6B;AAC1E,SAASC,mBAAmB,QAAQ,UAAS;;;;;;;;AAsCtC,SAASC,SACdC,GAAQ,EACRC,UAAe,EACfC,gBAAkC,EAClCC,wBAA2C,EAC3CC,OAAsB,EACtBC,eAAgC,EAChCC,YAAqB,EACrBC,YAAqD;IAErD,MAAMC,MAAMC,KAAKD,GAAG;IACpB,MAAME,OAAOV,IAAIU,IAAI;IAErB,6EAA6E;IAC7E,4EAA4E;IAC5E,8EAA8E;IAC9E,YAAY;IACZ,EAAE;IACF,4EAA4E;IAC5E,4EAA4E;IAC5E,2EAA2E;IAC3E,kBAAkB;IAClB,EAAE;IACF,6EAA6E;IAC7E,8EAA8E;IAC9E,4EAA4E;IAC5E,2BAA2B;IAC3B,EAAE;IACF,0EAA0E;IAC1E,2EAA2E;IAC3E,+CAA+C;IAC/C,MAAMC,uBAAuBD,SAAST,WAAWS,IAAI;IAErD,MAAME,eAAWhB,6PAAAA,EAAec,MAAMN;IACtC,MAAMS,YAAQrB,2PAAAA,EAAoBgB,KAAKI;IACvC,IAAIC,UAAU,QAAQA,MAAMC,MAAM,KAAKvB,mPAAAA,CAAYwB,SAAS,EAAE;QAC5D,+BAA+B;QAC/B,MAAMC,WAAWC,4BAA4BT,KAAKK,OAAOA,MAAMK,IAAI;QACnE,MAAMC,4BAA4BH,SAASI,iBAAiB;QAC5D,MAAMC,m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AAMkD,oBACJJ,yBAAyB,OACpBA,oBAAoB,CAAC9C,iBAAiB,IAAI,OAC3C;QACN,IAAIA,qBAAqB4C,yBAAyB;YAChD,MAAMlB,SAASc,iCACbS,sBACAC,mBACAb,WACAC,WACAF,aACA,AACA,+BAA+B,4BAD4B;YAE3DM,QAAQ;YAGVK,eAAe,CAAC/C,iBAAiB,GAAG0B,OAAOlE,IAAI;YAC/CwF,mBAAmB,CAAChD,iBAAiB,GAAG0B,OAAO3C,IAAI;QACrD,OAAO;YACL,uDAAuD;YACvDgE,eAAe,CAAC/C,iBAAiB,GAAGiD;YACpCD,mBAAmB,CAAChD,iBAAiB,GAAGkD;QAC1C;IACF;IAEA,IAAIC;IACJ,IAAIC;IACJ,4CAA4C;IAE5C,iEAAiE;IACjE,0EAA0E;IAC1E,qEAAqE;IACrE,kBAAkB;IAClBD,aAAa;QAACV,eAAe,CAAC,EAAE;QAAEM;KAAgB;IAClD,IAAI,KAAKN,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IACA,IAAI,KAAKA,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IACA,IAAI,KAAKA,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IAEA,oCAAoC;IACpC,MAAMY,yBAAyB;IAC/BD,iBAAiB;QACf;QACAJ;QACA;QACAK;QACA;KACD;IAED,OAAO;QACL7F,MAAM2F;QACNpE,MAAMqE;IACR;AACF","ignoreList":[0]}}, {"offset": {"line": 7863, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/router-reducer/reducers/navigate-reducer.ts"],"sourcesContent":["import type {\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../../shared/lib/app-router-types'\nimport { createHrefFromUrl } from '../create-href-from-url'\nimport type {\n Mutable,\n NavigateAction,\n ReadonlyReducerState,\n ReducerState,\n} from '../router-reducer-types'\nimport { handleMutable } from '../handle-mutable'\n\nimport {\n navigate as navigateUsingSegmentCache,\n type NavigationResult,\n} from '../../segment-cache/navigation'\nimport { NavigationResultTag } from '../../segment-cache/types'\nimport { getStaleTimeMs } from '../../segment-cache/cache'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\n// These values are set by `define-env-plugin` (based on `nextConfig.experimental.staleTimes`)\n// and default to 5 minutes (static) / 0 seconds (dynamic)\nexport const DYNAMIC_STALETIME_MS =\n Number(process.env.__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME) * 1000\n\nexport const STATIC_STALETIME_MS = getStaleTimeMs(\n Number(process.env.__NEXT_CLIENT_ROUTER_STATIC_STALETIME)\n)\n\nexport function handleExternalUrl(\n state: ReadonlyReducerState,\n mutable: Mutable,\n url: string,\n pendingPush: boolean\n) {\n mutable.mpaNavigation = true\n mutable.canonicalUrl = url\n mutable.pendingPush = pendingPush\n mutable.scrollableSegments = undefined\n\n return handleMutable(state, mutable)\n}\n\nexport function generateSegmentsFromPatch(\n flightRouterPatch: FlightRouterState\n): FlightSegmentPath[] {\n const segments: FlightSegmentPath[] = []\n const [segment, parallelRoutes] = flightRouterPatch\n\n if (Object.keys(parallelRoutes).length === 0) {\n return [[segment]]\n }\n\n for (const [parallelRouteKey, parallelRoute] of Object.entries(\n parallelRoutes\n )) {\n for (const childSegment of generateSegmentsFromPatch(parallelRoute)) {\n // If the segment is empty, it means we are at the root of the tree\n if (segment === '') {\n segments.push([parallelRouteKey, ...childSegment])\n } else {\n segments.push([segment, parallelRouteKey, ...childSegment])\n }\n }\n }\n\n return segments\n}\n\nexport function handleNavigationResult(\n url: URL,\n state: ReadonlyReducerState,\n mutable: Mutable,\n pendingPush: boolean,\n result: NavigationResult\n): ReducerState {\n switch (result.tag) {\n case NavigationResultTag.MPA: {\n // Perform an MPA navigation.\n const newUrl = result.data\n return handleExternalUrl(state, mutable, newUrl, pendingPush)\n }\n case NavigationResultTag.Success: {\n // Received a new result.\n mutable.cache = result.data.cacheNode\n mutable.patchedTree = result.data.flightRouterState\n mutable.renderedSearch = result.data.renderedSearch\n mutable.canonicalUrl = result.data.canonicalUrl\n // TODO: During a refresh, we don't set the `scrollableSegments`. There's\n // some confusing and subtle logic in `handleMutable` that decides what\n // to do when `shouldScroll` is set but `scrollableSegments` is not. I'm\n // not convinced it's totally coherent but the tests assert on this\n // particular behavior so I've ported the logic as-is from the previous\n // router implementation, for now.\n mutable.scrollableSegments = result.data.scrollableSegments ?? undefined\n mutable.shouldScroll = result.data.shouldScroll\n mutable.hashFragment = result.data.hash\n\n // Check if the only thing that changed was the hash fragment.\n const oldUrl = new URL(state.canonicalUrl, url)\n const onlyHashChange =\n // We don't need to compare the origins, because client-driven\n // navigations are always same-origin.\n url.pathname === oldUrl.pathname &&\n url.search === oldUrl.search &&\n url.hash !== oldUrl.hash\n if (onlyHashChange) {\n // The only updated part of the URL is the hash.\n mutable.onlyHashChange = true\n mutable.shouldScroll = result.data.shouldScroll\n mutable.hashFragment = url.hash\n // Setting this to an empty array triggers a scroll for all new and\n // updated segments. See `ScrollAndFocusHandler` for more details.\n mutable.scrollableSegments = []\n }\n\n return handleMutable(state, mutable)\n }\n case NavigationResultTag.Async: {\n return result.data.then(\n (asyncResult) =>\n handleNavigationResult(url, state, mutable, pendingPush, asyncResult),\n // If the navigation failed, return the current state.\n // TODO: This matches the current behavior but we need to do something\n // better here if the network fails.\n () => {\n return state\n }\n )\n }\n default: {\n result satisfies never\n return state\n }\n }\n}\n\nexport function navigateReducer(\n state: ReadonlyReducerState,\n action: NavigateAction\n): ReducerState {\n const { url, isExternalUrl, navigateType, shouldScroll } = action\n const mutable: Mutable = {}\n const href = createHrefFromUrl(url)\n const pendingPush = navigateType === 'push'\n\n mutable.preserveCustomHistoryState = false\n mutable.pendingPush = pendingPush\n\n if (isExternalUrl) {\n return handleExternalUrl(state, mutable, url.toString(), pendingPush)\n }\n\n // Handles case where `` tag is present,\n // which will trigger an MPA navigation.\n if (document.getElementById('__next-page-redirect')) {\n return handleExternalUrl(state, mutable, href, pendingPush)\n }\n\n // Temporary glue code between the router reducer and the new navigation\n // implementation. Eventually we'll rewrite the router reducer to a\n // state machine.\n const currentUrl = new URL(state.canonicalUrl, location.origin)\n const result = navigateUsingSegmentCache(\n url,\n currentUrl,\n state.cache,\n state.tree,\n state.nextUrl,\n FreshnessPolicy.Default,\n shouldScroll,\n mutable\n )\n return handleNavigationResult(url, state, mutable, pendingPush, result)\n}\n"],"names":["createHrefFromUrl","handleMutable","navigate","navigateUsingSegmentCache","NavigationResultTag","getStaleTimeMs","FreshnessPolicy","DYNAMIC_STALETIME_MS","Number","process","env","__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME","STATIC_STALETIME_MS","__NEXT_CLIENT_ROUTER_STATIC_STALETIME","handleExternalUrl","state","mutable","url","pendingPush","mpaNavigation","canonicalUrl","scrollableSegments","undefined","generateSegmentsFromPatch","flightRouterPatch","segments","segment","parallelRoutes","Object","keys","length","parallelRouteKey","parallelRoute","entries","childSegment","push","handleNavigationResult","result","tag","MPA","newUrl","data","Success","cache","cacheNode","patchedTree","flightRouterState","renderedSearch","shouldScroll","hashFragment","hash","oldUrl","URL","onlyHashChange","pathname","search","Async","then","asyncResult","navigateReducer","action","isExternalUrl","navigateType","href","preserveCustomHistoryState","toString","document","getElementById","currentUrl","location","origin","tree","nextUrl","Default"],"mappings":";;;;;;;;;;;;;;AAIA,SAASA,iBAAiB,QAAQ,0BAAyB;AAO3D,SAASC,aAAa,QAAQ,oBAAmB;AAEjD,SACEC,YAAYC,yBAAyB,QAEhC,iCAAgC;AACvC,SAASC,mBAAmB,QAAQ,4BAA2B;AAC/D,SAASC,cAAc,QAAQ,4BAA2B;AAC1D,SAASC,eAAe,QAAQ,qBAAoB;;;;;;;AAI7C,MAAMC,uBACXC,OAAOC,QAAQC,GAAG,CAACC,6BAA0C,KAAI,IAAR;AAEpD,MAAMC,0BAAsBP,sPAAAA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gBACd5C,KAA2B,EAC3B6C,MAAsB;IAEtB,MAAM,EAAE3C,GAAG,EAAE4C,aAAa,EAAEC,YAAY,EAAEd,YAAY,EAAE,GAAGY;IAC3D,MAAM5C,UAAmB,CAAC;IAC1B,MAAM+C,WAAO/D,kRAAAA,EAAkBiB;IAC/B,MAAMC,cAAc4C,iBAAiB;IAErC9C,QAAQgD,0BAA0B,GAAG;IACrChD,QAAQE,WAAW,GAAGA;IAEtB,IAAI2C,eAAe;QACjB,OAAO/C,kBAAkBC,OAAOC,SAASC,IAAIgD,QAAQ,IAAI/C;IAC3D;IAEA,mEAAmE;IACnE,wCAAwC;IACxC,IAAIgD,SAASC,cAAc,CAAC,yBAAyB;QACnD,OAAOrD,kBAAkBC,OAAOC,SAAS+C,MAAM7C;IACjD;IAEA,wEAAwE;IACxE,mEAAmE;IACnE,iBAAiB;IACjB,MAAMkD,aAAa,IAAIhB,IAAIrC,MAAMK,YAAY,EAAEiD,SAASC,MAAM;IAC9D,MAAMjC,aAASlC,qPAAAA,EACbc,KACAmD,YACArD,MAAM4B,KAAK,EACX5B,MAAMwD,IAAI,EACVxD,MAAMyD,OAAO,EACblE,qQAAAA,CAAgBmE,OAAO,EACvBzB,cACAhC;IAEF,OAAOoB,uBAAuBnB,KAAKF,OAAOC,SAASE,aAAamB;AAClE","ignoreList":[0]}}, {"offset": {"line": 8007, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/router-reducer/ppr-navigations.ts"],"sourcesContent":["import type {\n CacheNodeSeedData,\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../shared/lib/app-router-types'\nimport type {\n ChildSegmentMap,\n CacheNode,\n} from '../../../shared/lib/app-router-types'\nimport type {\n HeadData,\n LoadingModuleData,\n} from '../../../shared/lib/app-router-types'\nimport {\n DEFAULT_SEGMENT_KEY,\n NOT_FOUND_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport { matchSegment } from '../match-segments'\nimport { createHrefFromUrl } from './create-href-from-url'\nimport { createRouterCacheKey } from './create-router-cache-key'\nimport { fetchServerResponse } from './fetch-server-response'\nimport { dispatchAppRouterAction } from '../use-action-queue'\nimport {\n ACTION_SERVER_PATCH,\n type ServerPatchAction,\n} from './router-reducer-types'\nimport { isNavigatingToNewRootLayout } from './is-navigating-to-new-root-layout'\nimport { DYNAMIC_STALETIME_MS } from './reducers/navigate-reducer'\nimport {\n convertServerPatchToFullTree,\n type NavigationSeed,\n} from '../segment-cache/navigation'\n\n// This is yet another tree type that is used to track pending promises that\n// need to be fulfilled once the dynamic data is received. The terminal nodes of\n// this tree represent the new Cache Node trees that were created during this\n// request. We can't use the Cache Node tree or Route State tree directly\n// because those include reused nodes, too. This tree is discarded as soon as\n// the navigation response is received.\nexport type NavigationTask = {\n status: NavigationTaskStatus\n // The router state that corresponds to the tree that this Task represents.\n route: FlightRouterState\n // The CacheNode that corresponds to the tree that this Task represents.\n node: CacheNode\n // The tree sent to the server during the dynamic request. If all the segments\n // are static, then this will be null, and no server request is required.\n // Otherwise, this is the same as `route`, except with the `refetch` marker\n // set on the top-most segment that needs to be fetched.\n dynamicRequestTree: FlightRouterState | null\n // The URL that should be used to fetch the dynamic data. This is only set\n // when the segment cannot be refetched from the current route, because it's\n // part of a \"default\" parallel slot that was reused during a navigation.\n refreshUrl: string | null\n children: Map | null\n}\n\nexport const enum FreshnessPolicy {\n Default,\n Hydration,\n HistoryTraversal,\n RefreshAll,\n HMRRefresh,\n}\n\nconst enum NavigationTaskStatus {\n Pending,\n Fulfilled,\n Rejected,\n}\n\n/**\n * When a NavigationTask finishes, there may or may not be data still missing,\n * necessitating a retry.\n */\nconst enum NavigationTaskExitStatus {\n /**\n * No additional navigation is required.\n */\n Done = 0,\n /**\n * Some data failed to load, presumably due to a route tree mismatch. Perform\n * a soft retry to reload the entire tree.\n */\n SoftRetry = 1,\n /**\n * Some data failed to load in an unrecoverable way, e.g. in an inactive\n * parallel route. Fall back to a hard (MPA-style) retry.\n */\n HardRetry = 2,\n}\n\nexport type NavigationRequestAccumulation = {\n scrollableSegments: Array | null\n separateRefreshUrls: Set | null\n}\n\nconst noop = () => {}\n\nexport function createInitialCacheNodeForHydration(\n navigatedAt: number,\n initialTree: FlightRouterState,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData\n): CacheNode {\n // Create the initial cache node tree, using the data embedded into the\n // HTML document.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const task = createCacheNodeOnNavigation(\n navigatedAt,\n initialTree,\n undefined,\n FreshnessPolicy.Hydration,\n seedData,\n seedHead,\n null,\n null,\n false,\n null,\n null,\n false,\n accumulation\n )\n\n // NOTE: We intentionally don't check if any data needs to be fetched from the\n // server. We assume the initial hydration payload is sufficient to render\n // the page.\n //\n // The completeness of the initial data is an important property that we rely\n // on as a last-ditch mechanism for recovering the app; we must always be able\n // to reload a fresh HTML document to get to a consistent state.\n //\n // In the future, there may be cases where the server intentionally sends\n // partial data and expects the client to fill in the rest, in which case this\n // logic may change. (There already is a similar case where the server sends\n // _no_ hydration data in the HTML document at all, and the client fetches it\n // separately, but that's different because we still end up hydrating with a\n // complete tree.)\n\n return task.node\n}\n\n// Creates a new Cache Node tree (i.e. copy-on-write) that represents the\n// optimistic result of a navigation, using both the current Cache Node tree and\n// data that was prefetched prior to navigation.\n//\n// At the moment we call this function, we haven't yet received the navigation\n// response from the server. It could send back something completely different\n// from the tree that was prefetched — due to rewrites, default routes, parallel\n// routes, etc.\n//\n// But in most cases, it will return the same tree that we prefetched, just with\n// the dynamic holes filled in. So we optimistically assume this will happen,\n// and accept that the real result could be arbitrarily different.\n//\n// We'll reuse anything that was already in the previous tree, since that's what\n// the server does.\n//\n// New segments (ones that don't appear in the old tree) are assigned an\n// unresolved promise. The data for these promises will be fulfilled later, when\n// the navigation response is received.\n//\n// The tree can be rendered immediately after it is created (that's why this is\n// a synchronous function). Any new trees that do not have prefetch data will\n// suspend during rendering, until the dynamic data streams in.\n//\n// Returns a Task object, which contains both the updated Cache Node and a path\n// to the pending subtrees that need to be resolved by the navigation response.\n//\n// A return value of `null` means there were no changes, and the previous tree\n// can be reused without initiating a server request.\nexport function startPPRNavigation(\n navigatedAt: number,\n oldUrl: URL,\n oldCacheNode: CacheNode | null,\n oldRouterState: FlightRouterState,\n newRouterState: FlightRouterState,\n freshness: FreshnessPolicy,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n prefetchData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n isSamePageNavigation: boolean,\n accumulation: NavigationRequestAccumulation\n): NavigationTask | null {\n const didFindRootLayout = false\n const parentNeedsDynamicRequest = false\n const parentRefreshUrl = null\n return updateCacheNodeOnNavigation(\n navigatedAt,\n oldUrl,\n oldCacheNode !== null ? oldCacheNode : undefined,\n oldRouterState,\n newRouterState,\n freshness,\n didFindRootLayout,\n seedData,\n seedHead,\n prefetchData,\n prefetchHead,\n isPrefetchHeadPartial,\n isSamePageNavigation,\n null,\n null,\n parentNeedsDynamicRequest,\n parentRefreshUrl,\n accumulation\n )\n}\n\nfunction updateCacheNodeOnNavigation(\n navigatedAt: number,\n oldUrl: URL,\n oldCacheNode: CacheNode | void,\n oldRouterState: FlightRouterState,\n newRouterState: FlightRouterState,\n freshness: FreshnessPolicy,\n didFindRootLayout: boolean,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n prefetchData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n isSamePageNavigation: boolean,\n parentSegmentPath: FlightSegmentPath | null,\n parentParallelRouteKey: string | null,\n parentNeedsDynamicRequest: boolean,\n parentRefreshUrl: string | null,\n accumulation: NavigationRequestAccumulation\n): NavigationTask | null {\n // Check if this segment matches the one in the previous route.\n const oldSegment = oldRouterState[0]\n const newSegment = newRouterState[0]\n if (!matchSegment(newSegment, oldSegment)) {\n // This segment does not match the previous route. We're now entering the\n // new part of the target route. Switch to the \"create\" path.\n if (\n // Check if the route tree changed before we reached a layout. (The\n // highest-level layout in a route tree is referred to as the \"root\"\n // layout.) This could mean that we're navigating between two different\n // root layouts. When this happens, we perform a full-page (MPA-style)\n // navigation.\n //\n // However, the algorithm for deciding where to start rendering a route\n // (i.e. the one performed in order to reach this function) is stricter\n // than the one used to detect a change in the root layout. So just\n // because we're re-rendering a segment outside of the root layout does\n // not mean we should trigger a full-page navigation.\n //\n // Specifically, we handle dynamic parameters differently: two segments\n // are considered the same even if their parameter values are different.\n //\n // Refer to isNavigatingToNewRootLayout for details.\n //\n // Note that we only have to perform this extra traversal if we didn't\n // already discover a root layout in the part of the tree that is\n // unchanged. We also only need to compare the subtree that is not\n // shared. In the common case, this branch is skipped completely.\n (!didFindRootLayout &&\n isNavigatingToNewRootLayout(oldRouterState, newRouterState)) ||\n // The global Not Found route (app/global-not-found.tsx) is a special\n // case, because it acts like a root layout, but in the router tree, it\n // is rendered in the same position as app/layout.tsx.\n //\n // Any navigation to the global Not Found route should trigger a\n // full-page navigation.\n //\n // TODO: We should probably model this by changing the key of the root\n // segment when this happens. Then the root layout check would work\n // as expected, without a special case.\n newSegment === NOT_FOUND_SEGMENT_KEY\n ) {\n return null\n }\n if (parentSegmentPath === null || parentParallelRouteKey === null) {\n // The root should never mismatch. If it does, it suggests an internal\n // Next.js error, or a malformed server response. Trigger a full-\n // page navigation.\n return null\n }\n return createCacheNodeOnNavigation(\n navigatedAt,\n newRouterState,\n oldCacheNode,\n freshness,\n seedData,\n seedHead,\n prefetchData,\n prefetchHead,\n isPrefetchHeadPartial,\n parentSegmentPath,\n parentParallelRouteKey,\n parentNeedsDynamicRequest,\n accumulation\n )\n }\n\n // TODO: The segment paths are tracked so that LayoutRouter knows which\n // segments to scroll to after a navigation. But we should just mark this\n // information on the CacheNode directly. It used to be necessary to do this\n // separately because CacheNodes were created lazily during render, not when\n // rather than when creating the route tree.\n const segmentPath =\n parentParallelRouteKey !== null && parentSegmentPath !== null\n ? parentSegmentPath.concat([parentParallelRouteKey, newSegment])\n : // NOTE: The root segment is intentionally omitted from the segment path\n []\n\n const newRouterStateChildren = newRouterState[1]\n const oldRouterStateChildren = oldRouterState[1]\n const seedDataChildren = seedData !== null ? seedData[1] : null\n const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null\n\n // We're currently traversing the part of the tree that was also part of\n // the previous route. If we discover a root layout, then we don't need to\n // trigger an MPA navigation.\n const isRootLayout = newRouterState[4] === true\n const childDidFindRootLayout = didFindRootLayout || isRootLayout\n\n const oldParallelRoutes =\n oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined\n\n // Clone the current set of segment children, even if they aren't active in\n // the new tree.\n // TODO: We currently retain all the inactive segments indefinitely, until\n // there's an explicit refresh, or a parent layout is lazily refreshed. We\n // rely on this for popstate navigations, which update the Router State Tree\n // but do not eagerly perform a data fetch, because they expect the segment\n // data to already be in the Cache Node tree. For highly static sites that\n // are mostly read-only, this may happen only rarely, causing memory to\n // leak. We should figure out a better model for the lifetime of inactive\n // segments, so we can maintain instant back/forward navigations without\n // leaking memory indefinitely.\n let shouldDropSiblingCaches: boolean = false\n let shouldRefreshDynamicData: boolean = false\n switch (freshness) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n case FreshnessPolicy.Hydration: // <- shouldn't happen during client nav\n // We should never drop dynamic data in shared layouts, except during\n // a refresh.\n shouldDropSiblingCaches = false\n shouldRefreshDynamicData = false\n break\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n shouldDropSiblingCaches = true\n shouldRefreshDynamicData = true\n break\n default:\n freshness satisfies never\n break\n }\n const newParallelRoutes = new Map(\n shouldDropSiblingCaches ? undefined : oldParallelRoutes\n )\n\n // TODO: We're not consistent about how we do this check. Some places\n // check if the segment starts with PAGE_SEGMENT_KEY, but most seem to\n // check if there any any children, which is why I'm doing it here. We\n // should probably encode an empty children set as `null` though. Either\n // way, we should update all the checks to be consistent.\n const isLeafSegment = Object.keys(newRouterStateChildren).length === 0\n\n // Get the data for this segment. Since it was part of the previous route,\n // usually we just clone the data from the old CacheNode. However, during a\n // refresh or a revalidation, there won't be any existing CacheNode. So we\n // may need to consult the prefetch cache, like we would for a new segment.\n let newCacheNode: CacheNode\n let needsDynamicRequest: boolean\n if (\n oldCacheNode !== undefined &&\n !shouldRefreshDynamicData &&\n // During a same-page navigation, we always refetch the page segments\n !(isLeafSegment && isSamePageNavigation)\n ) {\n // Reuse the existing CacheNode\n const dropPrefetchRsc = false\n newCacheNode = reuseDynamicCacheNode(\n dropPrefetchRsc,\n oldCacheNode,\n newParallelRoutes\n )\n needsDynamicRequest = false\n } else if (seedData !== null && seedData[0] !== null) {\n // If this navigation was the result of an action, then check if the\n // server sent back data in the action response. We should favor using\n // that, rather than performing a separate request. This is both better\n // for performance and it's more likely to be consistent with any\n // writes that were just performed by the action, compared to a\n // separate request.\n const seedRsc = seedData[0]\n const seedLoading = seedData[2]\n const isSeedRscPartial = false\n const isSeedHeadPartial = seedHead === null\n newCacheNode = readCacheNodeFromSeedData(\n seedRsc,\n seedLoading,\n isSeedRscPartial,\n seedHead,\n isSeedHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest = isLeafSegment && isSeedHeadPartial\n } else if (prefetchData !== null) {\n // Consult the prefetch cache.\n const prefetchRsc = prefetchData[0]\n const prefetchLoading = prefetchData[2]\n const isPrefetchRSCPartial = prefetchData[3]\n newCacheNode = readCacheNodeFromSeedData(\n prefetchRsc,\n prefetchLoading,\n isPrefetchRSCPartial,\n prefetchHead,\n isPrefetchHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest =\n isPrefetchRSCPartial || (isLeafSegment && isPrefetchHeadPartial)\n } else {\n // Spawn a request to fetch new data from the server.\n newCacheNode = spawnNewCacheNode(\n newParallelRoutes,\n isLeafSegment,\n navigatedAt,\n freshness\n )\n needsDynamicRequest = true\n }\n\n // During a refresh navigation, there's a special case that happens when\n // entering a \"default\" slot. The default slot may not be part of the\n // current route; it may have been reused from an older route. If so,\n // we need to fetch its data from the old route's URL rather than current\n // route's URL. Keep track of this as we traverse the tree.\n const href = newRouterState[2]\n const refreshUrl =\n typeof href === 'string' && newRouterState[3] === 'refresh'\n ? // This segment is not present in the current route. Track its\n // refresh URL as we continue traversing the tree.\n href\n : // Inherit the refresh URL from the parent.\n parentRefreshUrl\n\n // If this segment itself needs to fetch new data from the server, then by\n // definition it is being refreshed. Track its refresh URL so we know which\n // URL to request the data from.\n if (needsDynamicRequest && refreshUrl !== null) {\n accumulateRefreshUrl(accumulation, refreshUrl)\n }\n\n // As we diff the trees, we may sometimes modify (copy-on-write, not mutate)\n // the Route Tree that was returned by the server — for example, in the case\n // of default parallel routes, we preserve the currently active segment. To\n // avoid mutating the original tree, we clone the router state children along\n // the return path.\n let patchedRouterStateChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n let taskChildren = null\n\n // Most navigations require a request to fetch additional data from the\n // server, either because the data was not already prefetched, or because the\n // target route contains dynamic data that cannot be prefetched.\n //\n // However, if the target route is fully static, and it's already completely\n // loaded into the segment cache, then we can skip the server request.\n //\n // This starts off as `false`, and is set to `true` if any of the child\n // routes requires a dynamic request.\n let childNeedsDynamicRequest = false\n // As we traverse the children, we'll construct a FlightRouterState that can\n // be sent to the server to request the dynamic data. If it turns out that\n // nothing in the subtree is dynamic (i.e. childNeedsDynamicRequest is false\n // at the end), then this will be discarded.\n // TODO: We can probably optimize the format of this data structure to only\n // include paths that are dynamic. Instead of reusing the\n // FlightRouterState type.\n let dynamicRequestTreeChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n\n for (let parallelRouteKey in newRouterStateChildren) {\n let newRouterStateChild: FlightRouterState =\n newRouterStateChildren[parallelRouteKey]\n const oldRouterStateChild: FlightRouterState | void =\n oldRouterStateChildren[parallelRouteKey]\n if (oldRouterStateChild === undefined) {\n // This should never happen, but if it does, it suggests a malformed\n // server response. Trigger a full-page navigation.\n return null\n }\n const oldSegmentMapChild =\n oldParallelRoutes !== undefined\n ? oldParallelRoutes.get(parallelRouteKey)\n : undefined\n\n let seedDataChild: CacheNodeSeedData | void | null =\n seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null\n let prefetchDataChild: CacheNodeSeedData | void | null =\n prefetchDataChildren !== null\n ? prefetchDataChildren[parallelRouteKey]\n : null\n\n let newSegmentChild = newRouterStateChild[0]\n let seedHeadChild = seedHead\n let prefetchHeadChild = prefetchHead\n let isPrefetchHeadPartialChild = isPrefetchHeadPartial\n if (\n // Skip this branch during a history traversal. We restore the tree that\n // was stashed in the history entry as-is.\n freshness !== FreshnessPolicy.HistoryTraversal &&\n newSegmentChild === DEFAULT_SEGMENT_KEY\n ) {\n // This is a \"default\" segment. These are never sent by the server during\n // a soft navigation; instead, the client reuses whatever segment was\n // already active in that slot on the previous route.\n newRouterStateChild = reuseActiveSegmentInDefaultSlot(\n oldUrl,\n oldRouterStateChild\n )\n newSegmentChild = newRouterStateChild[0]\n\n // Since we're switching to a different route tree, these are no\n // longer valid, because they correspond to the outer tree.\n seedDataChild = null\n seedHeadChild = null\n prefetchDataChild = null\n prefetchHeadChild = null\n isPrefetchHeadPartialChild = false\n }\n\n const newSegmentKeyChild = createRouterCacheKey(newSegmentChild)\n const oldCacheNodeChild =\n oldSegmentMapChild !== undefined\n ? oldSegmentMapChild.get(newSegmentKeyChild)\n : undefined\n\n const taskChild = updateCacheNodeOnNavigation(\n navigatedAt,\n oldUrl,\n oldCacheNodeChild,\n oldRouterStateChild,\n newRouterStateChild,\n freshness,\n childDidFindRootLayout,\n seedDataChild ?? null,\n seedHeadChild,\n prefetchDataChild ?? null,\n prefetchHeadChild,\n isPrefetchHeadPartialChild,\n isSamePageNavigation,\n segmentPath,\n parallelRouteKey,\n parentNeedsDynamicRequest || needsDynamicRequest,\n refreshUrl,\n accumulation\n )\n\n if (taskChild === null) {\n // One of the child tasks discovered a change to the root layout.\n // Immediately unwind from this recursive traversal. This will trigger a\n // full-page navigation.\n return null\n }\n\n // Recursively propagate up the child tasks.\n if (taskChildren === null) {\n taskChildren = new Map()\n }\n taskChildren.set(parallelRouteKey, taskChild)\n const newCacheNodeChild = taskChild.node\n if (newCacheNodeChild !== null) {\n const newSegmentMapChild: ChildSegmentMap = new Map(\n shouldDropSiblingCaches ? undefined : oldSegmentMapChild\n )\n newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild)\n newParallelRoutes.set(parallelRouteKey, newSegmentMapChild)\n }\n\n // The child tree's route state may be different from the prefetched\n // route sent by the server. We need to clone it as we traverse back up\n // the tree.\n const taskChildRoute = taskChild.route\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute\n\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree\n if (dynamicRequestTreeChild !== null) {\n // Something in the child tree is dynamic.\n childNeedsDynamicRequest = true\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute\n }\n }\n\n return {\n status: needsDynamicRequest\n ? NavigationTaskStatus.Pending\n : NavigationTaskStatus.Fulfilled,\n route: patchRouterStateWithNewChildren(\n newRouterState,\n patchedRouterStateChildren\n ),\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(\n newRouterState,\n dynamicRequestTreeChildren,\n needsDynamicRequest,\n childNeedsDynamicRequest,\n parentNeedsDynamicRequest\n ),\n refreshUrl,\n children: taskChildren,\n }\n}\n\nfunction createCacheNodeOnNavigation(\n navigatedAt: number,\n newRouterState: FlightRouterState,\n oldCacheNode: CacheNode | void,\n freshness: FreshnessPolicy,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n prefetchData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n parentSegmentPath: FlightSegmentPath | null,\n parentParallelRouteKey: string | null,\n parentNeedsDynamicRequest: boolean,\n accumulation: NavigationRequestAccumulation\n): NavigationTask {\n // Same traversal as updateCacheNodeNavigation, but simpler. We switch to this\n // path once we reach the part of the tree that was not in the previous route.\n // We don't need to diff against the old tree, we just need to create a new\n // one. We also don't need to worry about any refresh-related logic.\n //\n // For the most part, this is a subset of updateCacheNodeOnNavigation, so any\n // change that happens in this function likely needs to be applied to that\n // one, too. However there are some places where the behavior intentionally\n // diverges, which is why we keep them separate.\n\n const newSegment = newRouterState[0]\n const segmentPath =\n parentParallelRouteKey !== null && parentSegmentPath !== null\n ? parentSegmentPath.concat([parentParallelRouteKey, newSegment])\n : // NOTE: The root segment is intentionally omitted from the segment path\n []\n\n const newRouterStateChildren = newRouterState[1]\n const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null\n const seedDataChildren = seedData !== null ? seedData[1] : null\n const oldParallelRoutes =\n oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined\n\n let shouldDropSiblingCaches: boolean = false\n let shouldRefreshDynamicData: boolean = false\n let dropPrefetchRsc: boolean = false\n switch (freshness) {\n case FreshnessPolicy.Default:\n // We should never drop dynamic data in sibling caches except during\n // a refresh.\n shouldDropSiblingCaches = false\n\n // Only reuse the dynamic data if experimental.staleTimes.dynamic config\n // is set, and the data is not stale. (This is not a recommended API with\n // Cache Components, but it's supported for backwards compatibility. Use\n // cacheLife instead.)\n //\n // DYNAMIC_STALETIME_MS defaults to 0, but it can be increased.\n shouldRefreshDynamicData =\n oldCacheNode === undefined ||\n navigatedAt - oldCacheNode.navigatedAt >= DYNAMIC_STALETIME_MS\n\n dropPrefetchRsc = false\n break\n case FreshnessPolicy.Hydration:\n // During hydration, we assume the data sent by the server is both\n // consistent and complete.\n shouldRefreshDynamicData = false\n shouldDropSiblingCaches = false\n dropPrefetchRsc = false\n break\n case FreshnessPolicy.HistoryTraversal:\n // During back/forward navigations, we reuse the dynamic data regardless\n // of how stale it may be.\n shouldRefreshDynamicData = false\n shouldRefreshDynamicData = false\n\n // Only show prefetched data if the dynamic data is still pending. This\n // avoids a flash back to the prefetch state in a case where it's highly\n // likely to have already streamed in.\n //\n // Tehnically, what we're actually checking is whether the dynamic network\n // response was received. But since it's a streaming response, this does\n // not mean that all the dynamic data has fully streamed in. It just means\n // that _some_ of the dynamic data was received. But as a heuristic, we\n // assume that the rest dynamic data will stream in quickly, so it's still\n // better to skip the prefetch state.\n if (oldCacheNode !== undefined) {\n const oldRsc = oldCacheNode.rsc\n const oldRscDidResolve =\n !isDeferredRsc(oldRsc) || oldRsc.status !== 'pending'\n dropPrefetchRsc = oldRscDidResolve\n } else {\n dropPrefetchRsc = false\n }\n break\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n // Drop all dynamic data.\n shouldRefreshDynamicData = true\n shouldDropSiblingCaches = true\n dropPrefetchRsc = false\n break\n default:\n freshness satisfies never\n break\n }\n\n const newParallelRoutes = new Map(\n shouldDropSiblingCaches ? undefined : oldParallelRoutes\n )\n const isLeafSegment = Object.keys(newRouterStateChildren).length === 0\n\n if (isLeafSegment) {\n // The segment path of every leaf segment (i.e. page) is collected into\n // a result array. This is used by the LayoutRouter to scroll to ensure that\n // new pages are visible after a navigation.\n //\n // This only happens for new pages, not for refreshed pages.\n //\n // TODO: We should use a string to represent the segment path instead of\n // an array. We already use a string representation for the path when\n // accessing the Segment Cache, so we can use the same one.\n if (accumulation.scrollableSegments === null) {\n accumulation.scrollableSegments = []\n }\n accumulation.scrollableSegments.push(segmentPath)\n }\n\n let newCacheNode: CacheNode\n let needsDynamicRequest: boolean\n if (!shouldRefreshDynamicData && oldCacheNode !== undefined) {\n // Reuse the existing CacheNode\n newCacheNode = reuseDynamicCacheNode(\n dropPrefetchRsc,\n oldCacheNode,\n newParallelRoutes\n )\n needsDynamicRequest = false\n } else if (seedData !== null && seedData[0] !== null) {\n // If this navigation was the result of an action, then check if the\n // server sent back data in the action response. We should favor using\n // that, rather than performing a separate request. This is both better\n // for performance and it's more likely to be consistent with any\n // writes that were just performed by the action, compared to a\n // separate request.\n const seedRsc = seedData[0]\n const seedLoading = seedData[2]\n const isSeedRscPartial = false\n const isSeedHeadPartial =\n seedHead === null && freshness !== FreshnessPolicy.Hydration\n newCacheNode = readCacheNodeFromSeedData(\n seedRsc,\n seedLoading,\n isSeedRscPartial,\n seedHead,\n isSeedHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest = isLeafSegment && isSeedHeadPartial\n } else if (\n freshness === FreshnessPolicy.Hydration &&\n isLeafSegment &&\n seedHead !== null\n ) {\n // This is another weird case related to \"not found\" pages and hydration.\n // There will be a head sent by the server, but no page seed data.\n // TODO: We really should get rid of all these \"not found\" specific quirks\n // and make sure the tree is always consistent.\n const seedRsc = null\n const seedLoading = null\n const isSeedRscPartial = false\n const isSeedHeadPartial = false\n newCacheNode = readCacheNodeFromSeedData(\n seedRsc,\n seedLoading,\n isSeedRscPartial,\n seedHead,\n isSeedHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest = false\n } else if (freshness !== FreshnessPolicy.Hydration && prefetchData !== null) {\n // Consult the prefetch cache.\n const prefetchRsc = prefetchData[0]\n const prefetchLoading = prefetchData[2]\n const isPrefetchRSCPartial = prefetchData[3]\n newCacheNode = readCacheNodeFromSeedData(\n prefetchRsc,\n prefetchLoading,\n isPrefetchRSCPartial,\n prefetchHead,\n isPrefetchHeadPartial,\n isLeafSegment,\n newParallelRoutes,\n navigatedAt\n )\n needsDynamicRequest =\n isPrefetchRSCPartial || (isLeafSegment && isPrefetchHeadPartial)\n } else {\n // Spawn a request to fetch new data from the server.\n newCacheNode = spawnNewCacheNode(\n newParallelRoutes,\n isLeafSegment,\n navigatedAt,\n freshness\n )\n needsDynamicRequest = true\n }\n\n let patchedRouterStateChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n let taskChildren = null\n\n let childNeedsDynamicRequest = false\n let dynamicRequestTreeChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n\n for (let parallelRouteKey in newRouterStateChildren) {\n const newRouterStateChild: FlightRouterState =\n newRouterStateChildren[parallelRouteKey]\n const oldSegmentMapChild =\n oldParallelRoutes !== undefined\n ? oldParallelRoutes.get(parallelRouteKey)\n : undefined\n const seedDataChild: CacheNodeSeedData | void | null =\n seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null\n const prefetchDataChild: CacheNodeSeedData | void | null =\n prefetchDataChildren !== null\n ? prefetchDataChildren[parallelRouteKey]\n : null\n\n const newSegmentChild = newRouterStateChild[0]\n const newSegmentKeyChild = createRouterCacheKey(newSegmentChild)\n\n const oldCacheNodeChild =\n oldSegmentMapChild !== undefined\n ? oldSegmentMapChild.get(newSegmentKeyChild)\n : undefined\n\n const taskChild = createCacheNodeOnNavigation(\n navigatedAt,\n newRouterStateChild,\n oldCacheNodeChild,\n freshness,\n seedDataChild ?? null,\n seedHead,\n prefetchDataChild ?? null,\n prefetchHead,\n isPrefetchHeadPartial,\n segmentPath,\n parallelRouteKey,\n parentNeedsDynamicRequest || needsDynamicRequest,\n accumulation\n )\n\n if (taskChildren === null) {\n taskChildren = new Map()\n }\n taskChildren.set(parallelRouteKey, taskChild)\n const newCacheNodeChild = taskChild.node\n if (newCacheNodeChild !== null) {\n const newSegmentMapChild: ChildSegmentMap = new Map(\n shouldDropSiblingCaches ? undefined : oldSegmentMapChild\n )\n newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild)\n newParallelRoutes.set(parallelRouteKey, newSegmentMapChild)\n }\n\n const taskChildRoute = taskChild.route\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute\n\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree\n if (dynamicRequestTreeChild !== null) {\n childNeedsDynamicRequest = true\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute\n }\n }\n\n return {\n status: needsDynamicRequest\n ? NavigationTaskStatus.Pending\n : NavigationTaskStatus.Fulfilled,\n route: patchRouterStateWithNewChildren(\n newRouterState,\n patchedRouterStateChildren\n ),\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(\n newRouterState,\n dynamicRequestTreeChildren,\n needsDynamicRequest,\n childNeedsDynamicRequest,\n parentNeedsDynamicRequest\n ),\n // This route is not part of the current tree, so there's no reason to\n // track the refresh URL.\n refreshUrl: null,\n children: taskChildren,\n }\n}\n\nfunction patchRouterStateWithNewChildren(\n baseRouterState: FlightRouterState,\n newChildren: { [parallelRouteKey: string]: FlightRouterState }\n): FlightRouterState {\n const clone: FlightRouterState = [baseRouterState[0], newChildren]\n // Based on equivalent logic in apply-router-state-patch-to-tree, but should\n // confirm whether we need to copy all of these fields. Not sure the server\n // ever sends, e.g. the refetch marker.\n if (2 in baseRouterState) {\n clone[2] = baseRouterState[2]\n }\n if (3 in baseRouterState) {\n clone[3] = baseRouterState[3]\n }\n if (4 in baseRouterState) {\n clone[4] = baseRouterState[4]\n }\n return clone\n}\n\nfunction createDynamicRequestTree(\n newRouterState: FlightRouterState,\n dynamicRequestTreeChildren: Record,\n needsDynamicRequest: boolean,\n childNeedsDynamicRequest: boolean,\n parentNeedsDynamicRequest: boolean\n): FlightRouterState | null {\n // Create a FlightRouterState that instructs the server how to render the\n // requested segment.\n //\n // Or, if neither this segment nor any of the children require a new data,\n // then we return `null` to skip the request.\n let dynamicRequestTree: FlightRouterState | null = null\n if (needsDynamicRequest) {\n dynamicRequestTree = patchRouterStateWithNewChildren(\n newRouterState,\n dynamicRequestTreeChildren\n )\n // The \"refetch\" marker is set on the top-most segment that requires new\n // data. We can omit it if a parent was already marked.\n if (!parentNeedsDynamicRequest) {\n dynamicRequestTree[3] = 'refetch'\n }\n } else if (childNeedsDynamicRequest) {\n // This segment does not request new data, but at least one of its\n // children does.\n dynamicRequestTree = patchRouterStateWithNewChildren(\n newRouterState,\n dynamicRequestTreeChildren\n )\n } else {\n dynamicRequestTree = null\n }\n return dynamicRequestTree\n}\n\nfunction accumulateRefreshUrl(\n accumulation: NavigationRequestAccumulation,\n refreshUrl: string\n) {\n // This is a refresh navigation, and we're inside a \"default\" slot that's\n // not part of the current route; it was reused from an older route. In\n // order to get fresh data for this reused route, we need to issue a\n // separate request using the old route's URL.\n //\n // Track these extra URLs in the accumulated result. Later, we'll construct\n // an appropriate request for each unique URL in the final set. The reason\n // we don't do it immediately here is so we can deduplicate multiple\n // instances of the same URL into a single request. See\n // listenForDynamicRequest for more details.\n const separateRefreshUrls = accumulation.separateRefreshUrls\n if (separateRefreshUrls === null) {\n accumulation.separateRefreshUrls = new Set([refreshUrl])\n } else {\n separateRefreshUrls.add(refreshUrl)\n }\n}\n\nfunction reuseActiveSegmentInDefaultSlot(\n oldUrl: URL,\n oldRouterState: FlightRouterState\n): FlightRouterState {\n // This is a \"default\" segment. These are never sent by the server during a\n // soft navigation; instead, the client reuses whatever segment was already\n // active in that slot on the previous route. This means if we later need to\n // refresh the segment, it will have to be refetched from the previous route's\n // URL. We store it in the Flight Router State.\n //\n // TODO: We also mark the segment with a \"refresh\" marker but I think we can\n // get rid of that eventually by making sure we only add URLs to page segments\n // that are reused. Then the presence of the URL alone is enough.\n let reusedRouterState\n\n const oldRefreshMarker = oldRouterState[3]\n if (oldRefreshMarker === 'refresh') {\n // This segment was already reused from an even older route. Keep its\n // existing URL and refresh marker.\n reusedRouterState = oldRouterState\n } else {\n // This segment was not previously reused, and it's not on the new route.\n // So it must have been delivered in the old route.\n reusedRouterState = patchRouterStateWithNewChildren(\n oldRouterState,\n oldRouterState[1]\n )\n reusedRouterState[2] = createHrefFromUrl(oldUrl)\n reusedRouterState[3] = 'refresh'\n }\n\n return reusedRouterState\n}\n\nfunction reuseDynamicCacheNode(\n dropPrefetchRsc: boolean,\n existingCacheNode: CacheNode,\n parallelRoutes: Map\n): CacheNode {\n // Clone an existing CacheNode's data, with (possibly) new children.\n const cacheNode: CacheNode = {\n rsc: existingCacheNode.rsc,\n prefetchRsc: dropPrefetchRsc ? null : existingCacheNode.prefetchRsc,\n head: existingCacheNode.head,\n prefetchHead: dropPrefetchRsc ? null : existingCacheNode.prefetchHead,\n loading: existingCacheNode.loading,\n\n parallelRoutes,\n\n // Don't update the navigatedAt timestamp, since we're reusing\n // existing data.\n navigatedAt: existingCacheNode.navigatedAt,\n }\n return cacheNode\n}\n\nfunction readCacheNodeFromSeedData(\n seedRsc: React.ReactNode,\n seedLoading: LoadingModuleData | Promise,\n isSeedRscPartial: boolean,\n seedHead: HeadData | null,\n isSeedHeadPartial: boolean,\n isPageSegment: boolean,\n parallelRoutes: Map,\n navigatedAt: number\n): CacheNode {\n // TODO: Currently this is threaded through the navigation logic using the\n // CacheNodeSeedData type, but in the future this will read directly from\n // the Segment Cache. See readRenderSnapshotFromCache.\n\n let rsc: React.ReactNode\n let prefetchRsc: React.ReactNode\n if (isSeedRscPartial) {\n // The prefetched data contains dynamic holes. Create a pending promise that\n // will be fulfilled when the dynamic data is received from the server.\n prefetchRsc = seedRsc\n rsc = createDeferredRsc()\n } else {\n // The prefetched data is complete. Use it directly.\n prefetchRsc = null\n rsc = seedRsc\n }\n\n // If this is a page segment, also read the head.\n let prefetchHead: HeadData | null\n let head: HeadData | null\n if (isPageSegment) {\n if (isSeedHeadPartial) {\n prefetchHead = seedHead\n head = createDeferredRsc()\n } else {\n prefetchHead = null\n head = seedHead\n }\n } else {\n prefetchHead = null\n head = null\n }\n\n const cacheNode: CacheNode = {\n rsc,\n prefetchRsc,\n head,\n prefetchHead,\n // TODO: Technically, a loading boundary could contain dynamic data. We\n // should have separate `loading` and `prefetchLoading` fields to handle\n // this, like we do for the segment data and head.\n loading: seedLoading,\n parallelRoutes,\n navigatedAt,\n }\n\n return cacheNode\n}\n\nfunction spawnNewCacheNode(\n parallelRoutes: Map,\n isLeafSegment: boolean,\n navigatedAt: number,\n freshness: FreshnessPolicy\n): CacheNode {\n // We should never spawn network requests during hydration. We must treat the\n // initial payload as authoritative, because the initial page load is used\n // as a last-ditch mechanism for recovering the app.\n //\n // This is also an important safety check because if this leaks into the\n // server rendering path (which theoretically it never should because\n // the server payload should be consistent), the server would hang because\n // these promises would never resolve.\n //\n // TODO: There is an existing case where the global \"not found\" boundary\n // triggers this path. But it does render correctly despite that. That's an\n // unusual render path so it's not surprising, but we should look into\n // modeling it in a more consistent way. See also the /_notFound special\n // case in updateCacheNodeOnNavigation.\n const isHydration = freshness === FreshnessPolicy.Hydration\n\n const cacheNode: CacheNode = {\n rsc: !isHydration ? createDeferredRsc() : null,\n prefetchRsc: null,\n head: !isHydration && isLeafSegment ? createDeferredRsc() : null,\n prefetchHead: null,\n loading: !isHydration ? createDeferredRsc() : null,\n parallelRoutes,\n navigatedAt,\n }\n return cacheNode\n}\n\n// Represents whether the previuos navigation resulted in a route tree mismatch.\n// A mismatch results in a refresh of the page. If there are two successive\n// mismatches, we will fall back to an MPA navigation, to prevent a retry loop.\nlet previousNavigationDidMismatch = false\n\n// Writes a dynamic server response into the tree created by\n// updateCacheNodeOnNavigation. All pending promises that were spawned by the\n// navigation will be resolved, either with dynamic data from the server, or\n// `null` to indicate that the data is missing.\n//\n// A `null` value will trigger a lazy fetch during render, which will then patch\n// up the tree using the same mechanism as the non-PPR implementation\n// (serverPatchReducer).\n//\n// Usually, the server will respond with exactly the subset of data that we're\n// waiting for — everything below the nearest shared layout. But technically,\n// the server can return anything it wants.\n//\n// This does _not_ create a new tree; it modifies the existing one in place.\n// Which means it must follow the Suspense rules of cache safety.\nexport function spawnDynamicRequests(\n task: NavigationTask,\n primaryUrl: URL,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n accumulation: NavigationRequestAccumulation\n): void {\n const dynamicRequestTree = task.dynamicRequestTree\n if (dynamicRequestTree === null) {\n // This navigation was fully cached. There are no dynamic requests to spawn.\n previousNavigationDidMismatch = false\n return\n }\n\n // This is intentionally not an async function to discourage the caller from\n // awaiting the result. Any subsequent async operations spawned by this\n // function should result in a separate navigation task, rather than\n // block the original one.\n //\n // In this function we spawn (but do not await) all the network requests that\n // block the navigation, and collect the promises. The next function,\n // `finishNavigationTask`, can await the promises in any order without\n // accidentally introducing a network waterfall.\n const primaryRequestPromise = fetchMissingDynamicData(\n task,\n dynamicRequestTree,\n primaryUrl,\n nextUrl,\n freshnessPolicy\n )\n\n const separateRefreshUrls = accumulation.separateRefreshUrls\n let refreshRequestPromises: Array<\n ReturnType\n > | null = null\n if (separateRefreshUrls !== null) {\n // There are multiple URLs that we need to request the data from. This\n // happens when a \"default\" parallel route slot is present in the tree, and\n // its data cannot be fetched from the current route. We need to split the\n // combined dynamic request tree into separate requests per URL.\n\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n\n // Construct a request tree for each additional refresh URL. This will\n // prune away everything except the parts of the tree that match the\n // given refresh URL.\n refreshRequestPromises = []\n const canonicalUrl = createHrefFromUrl(primaryUrl)\n for (const refreshUrl of separateRefreshUrls) {\n if (refreshUrl === canonicalUrl) {\n // We already initiated a request for the this URL, above. Skip it.\n // TODO: This only happens because the main URL is not tracked as\n // part of the separateRefreshURLs set. There's probably a better way\n // to structure this so this case doesn't happen.\n continue\n }\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n // const scopedDynamicRequestTree = splitTaskByURL(task, refreshUrl)\n const scopedDynamicRequestTree = dynamicRequestTree\n if (scopedDynamicRequestTree !== null) {\n refreshRequestPromises.push(\n fetchMissingDynamicData(\n task,\n scopedDynamicRequestTree,\n new URL(refreshUrl, location.origin),\n // TODO: Just noticed that this should actually the Next-Url at the\n // time the refresh URL was set, not the current Next-Url. Need to\n // start tracking this alongside the refresh URL. In the meantime,\n // if a refresh fails due to a mismatch, it will trigger a\n // hard refresh.\n nextUrl,\n freshnessPolicy\n )\n )\n }\n }\n }\n\n // Further async operations are moved into this separate function to\n // discourage sequential network requests.\n const voidPromise = finishNavigationTask(\n task,\n nextUrl,\n primaryRequestPromise,\n refreshRequestPromises\n )\n // `finishNavigationTask` is responsible for error handling, so we can attach\n // noop callbacks to this promise.\n voidPromise.then(noop, noop)\n}\n\nasync function finishNavigationTask(\n task: NavigationTask,\n nextUrl: string | null,\n primaryRequestPromise: ReturnType,\n refreshRequestPromises: Array<\n ReturnType\n > | null\n): Promise {\n // Wait for all the requests to finish, or for the first one to fail.\n let exitStatus = await waitForRequestsToFinish(\n primaryRequestPromise,\n refreshRequestPromises\n )\n\n // Once the all the requests have finished, check the tree for any remaining\n // pending tasks. If anything is still pending, it means the server response\n // does not match the client, and we must refresh to get back to a consistent\n // state. We can skip this step if we already detected a mismatch during the\n // first phase; it doesn't matter in that case because we're going to refresh\n // the whole tree regardless.\n if (exitStatus === NavigationTaskExitStatus.Done) {\n exitStatus = abortRemainingPendingTasks(task, null, null)\n }\n\n switch (exitStatus) {\n case NavigationTaskExitStatus.Done: {\n // The task has completely finished. There's no missing data. Exit.\n previousNavigationDidMismatch = false\n return\n }\n case NavigationTaskExitStatus.SoftRetry: {\n // Some data failed to finish loading. Trigger a soft retry.\n // TODO: As an extra precaution against soft retry loops, consider\n // tracking whether a navigation was itself triggered by a retry. If two\n // happen in a row, fall back to a hard retry.\n const isHardRetry = false\n const primaryRequestResult = await primaryRequestPromise\n dispatchRetryDueToTreeMismatch(\n isHardRetry,\n primaryRequestResult.url,\n nextUrl,\n primaryRequestResult.seed,\n task.route\n )\n return\n }\n case NavigationTaskExitStatus.HardRetry: {\n // Some data failed to finish loading in a non-recoverable way, such as a\n // network error. Trigger an MPA navigation.\n //\n // Hard navigating/refreshing is how we prevent an infinite retry loop\n // caused by a network error — when the network fails, we fall back to the\n // browser behavior for offline navigations. In the future, Next.js may\n // introduce its own custom handling of offline navigations, but that\n // doesn't exist yet.\n const isHardRetry = true\n const primaryRequestResult = await primaryRequestPromise\n dispatchRetryDueToTreeMismatch(\n isHardRetry,\n primaryRequestResult.url,\n nextUrl,\n primaryRequestResult.seed,\n task.route\n )\n return\n }\n default: {\n return exitStatus satisfies never\n }\n }\n}\n\nfunction waitForRequestsToFinish(\n primaryRequestPromise: ReturnType,\n refreshRequestPromises: Array<\n ReturnType\n > | null\n) {\n // Custom async combinator logic. This could be replaced by Promise.any but\n // we don't assume that's available.\n //\n // Each promise resolves once the server responsds and the data is written\n // into the CacheNode tree. Resolve the combined promise once all the\n // requests finish.\n //\n // Or, resolve as soon as one of the requests fails, without waiting for the\n // others to finish.\n return new Promise((resolve) => {\n const onFulfill = (result: { exitStatus: NavigationTaskExitStatus }) => {\n if (result.exitStatus === NavigationTaskExitStatus.Done) {\n remainingCount--\n if (remainingCount === 0) {\n // All the requests finished successfully.\n resolve(NavigationTaskExitStatus.Done)\n }\n } else {\n // One of the requests failed. Exit with a failing status.\n // NOTE: It's possible for one of the requests to fail with SoftRetry\n // and a later one to fail with HardRetry. In this case, we choose to\n // retry immediately, rather than delay the retry until all the requests\n // finish. If it fails again, we will hard retry on the next\n // attempt, anyway.\n resolve(result.exitStatus)\n }\n }\n // onReject shouldn't ever be called because fetchMissingDynamicData's\n // entire body is wrapped in a try/catch. This is just defensive.\n const onReject = () => resolve(NavigationTaskExitStatus.HardRetry)\n\n // Attach the listeners to the promises.\n let remainingCount = 1\n primaryRequestPromise.then(onFulfill, onReject)\n if (refreshRequestPromises !== null) {\n remainingCount += refreshRequestPromises.length\n refreshRequestPromises.forEach((refreshRequestPromise) =>\n refreshRequestPromise.then(onFulfill, onReject)\n )\n }\n })\n}\n\nfunction dispatchRetryDueToTreeMismatch(\n isHardRetry: boolean,\n retryUrl: URL,\n retryNextUrl: string | null,\n seed: NavigationSeed | null,\n baseTree: FlightRouterState\n) {\n // If this is the second time in a row that a navigation resulted in a\n // mismatch, fall back to a hard (MPA) refresh.\n isHardRetry = isHardRetry || previousNavigationDidMismatch\n previousNavigationDidMismatch = true\n const retryAction: ServerPatchAction = {\n type: ACTION_SERVER_PATCH,\n previousTree: baseTree,\n url: retryUrl,\n nextUrl: retryNextUrl,\n seed,\n mpa: isHardRetry,\n }\n dispatchAppRouterAction(retryAction)\n}\n\nasync function fetchMissingDynamicData(\n task: NavigationTask,\n dynamicRequestTree: FlightRouterState,\n url: URL,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy\n): Promise<{\n exitStatus: NavigationTaskExitStatus\n url: URL\n seed: NavigationSeed | null\n}> {\n try {\n const result = await fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n isHmrRefresh: freshnessPolicy === FreshnessPolicy.HMRRefresh,\n })\n if (typeof result === 'string') {\n // fetchServerResponse will return an href to indicate that the SPA\n // navigation failed. For example, if the server triggered a hard\n // redirect, or the fetch request errored. Initiate an MPA navigation\n // to the given href.\n return {\n exitStatus: NavigationTaskExitStatus.HardRetry,\n url: new URL(result, location.origin),\n seed: null,\n }\n }\n const seed = convertServerPatchToFullTree(\n task.route,\n result.flightData,\n result.renderedSearch\n )\n const didReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(\n task,\n seed.tree,\n seed.data,\n seed.head,\n result.debugInfo\n )\n return {\n exitStatus: didReceiveUnknownParallelRoute\n ? NavigationTaskExitStatus.SoftRetry\n : NavigationTaskExitStatus.Done,\n url: new URL(result.canonicalUrl, location.origin),\n seed,\n }\n } catch {\n // This shouldn't happen because fetchServerResponse's entire body is\n // wrapped in a try/catch. If it does, though, it implies the server failed\n // to respond with any tree at all. So we must fall back to a hard retry.\n return {\n exitStatus: NavigationTaskExitStatus.HardRetry,\n url: url,\n seed: null,\n }\n }\n}\n\nfunction writeDynamicDataIntoNavigationTask(\n task: NavigationTask,\n serverRouterState: FlightRouterState,\n dynamicData: CacheNodeSeedData | null,\n dynamicHead: HeadData,\n debugInfo: Array | null\n): boolean {\n if (task.status === NavigationTaskStatus.Pending && dynamicData !== null) {\n task.status = NavigationTaskStatus.Fulfilled\n finishPendingCacheNode(task.node, dynamicData, dynamicHead, debugInfo)\n }\n\n const taskChildren = task.children\n const serverChildren = serverRouterState[1]\n const dynamicDataChildren = dynamicData !== null ? dynamicData[1] : null\n\n // Detect whether the server sends a parallel route slot that the client\n // doesn't know about.\n let didReceiveUnknownParallelRoute = false\n\n if (taskChildren !== null) {\n for (const parallelRouteKey in serverChildren) {\n const serverRouterStateChild: FlightRouterState =\n serverChildren[parallelRouteKey]\n const dynamicDataChild: CacheNodeSeedData | null | void =\n dynamicDataChildren !== null\n ? dynamicDataChildren[parallelRouteKey]\n : null\n\n const taskChild = taskChildren.get(parallelRouteKey)\n if (taskChild === undefined) {\n // The server sent a child segment that the client doesn't know about.\n //\n // When we receive an unknown parallel route, we must consider it a\n // mismatch. This is unlike the case where the segment itself\n // mismatches, because multiple routes can be active simultaneously.\n // But a given layout should never have a mismatching set of\n // child slots.\n //\n // Theoretically, this should only happen in development during an HMR\n // refresh, because the set of parallel routes for a layout does not\n // change over the lifetime of a build/deployment. In production, we\n // should have already mismatched on either the build id or the segment\n // path. But as an extra precaution, we validate in prod, too.\n didReceiveUnknownParallelRoute = true\n } else {\n const taskSegment = taskChild.route[0]\n if (\n matchSegment(serverRouterStateChild[0], taskSegment) &&\n dynamicDataChild !== null &&\n dynamicDataChild !== undefined\n ) {\n // Found a match for this task. Keep traversing down the task tree.\n const childDidReceiveUnknownParallelRoute =\n writeDynamicDataIntoNavigationTask(\n taskChild,\n serverRouterStateChild,\n dynamicDataChild,\n dynamicHead,\n debugInfo\n )\n if (childDidReceiveUnknownParallelRoute) {\n didReceiveUnknownParallelRoute = true\n }\n }\n }\n }\n }\n\n return didReceiveUnknownParallelRoute\n}\n\nfunction finishPendingCacheNode(\n cacheNode: CacheNode,\n dynamicData: CacheNodeSeedData,\n dynamicHead: HeadData,\n debugInfo: Array | null\n): void {\n // Writes a dynamic response into an existing Cache Node tree. This does _not_\n // create a new tree, it updates the existing tree in-place. So it must follow\n // the Suspense rules of cache safety — it can resolve pending promises, but\n // it cannot overwrite existing data. It can add segments to the tree (because\n // a missing segment will cause the layout router to suspend).\n // but it cannot delete them.\n //\n // We must resolve every promise in the tree, or else it will suspend\n // indefinitely. If we did not receive data for a segment, we will resolve its\n // data promise to `null` to trigger a lazy fetch during render.\n\n // Use the dynamic data from the server to fulfill the deferred RSC promise\n // on the Cache Node.\n const rsc = cacheNode.rsc\n const dynamicSegmentData = dynamicData[0]\n\n if (dynamicSegmentData === null) {\n // This is an empty CacheNode; this particular server request did not\n // render this segment. There may be a separate pending request that will,\n // though, so we won't abort the task until all pending requests finish.\n return\n }\n\n if (rsc === null) {\n // This is a lazy cache node. We can overwrite it. This is only safe\n // because we know that the LayoutRouter suspends if `rsc` is `null`.\n cacheNode.rsc = dynamicSegmentData\n } else if (isDeferredRsc(rsc)) {\n // This is a deferred RSC promise. We can fulfill it with the data we just\n // received from the server. If it was already resolved by a different\n // navigation, then this does nothing because we can't overwrite data.\n rsc.resolve(dynamicSegmentData, debugInfo)\n } else {\n // This is not a deferred RSC promise, nor is it empty, so it must have\n // been populated by a different navigation. We must not overwrite it.\n }\n\n // If we navigated without a prefetch, then `loading` will be a deferred promise too.\n // Fulfill it using the dynamic response so that we can display the loading boundary.\n const loading = cacheNode.loading\n if (isDeferredRsc(loading)) {\n const dynamicLoading = dynamicData[2]\n loading.resolve(dynamicLoading, debugInfo)\n }\n\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved with the dynamic head from\n // the server.\n const head = cacheNode.head\n if (isDeferredRsc(head)) {\n head.resolve(dynamicHead, debugInfo)\n }\n}\n\nfunction abortRemainingPendingTasks(\n task: NavigationTask,\n error: any,\n debugInfo: Array | null\n): NavigationTaskExitStatus {\n let exitStatus\n if (task.status === NavigationTaskStatus.Pending) {\n // The data for this segment is still missing.\n task.status = NavigationTaskStatus.Rejected\n abortPendingCacheNode(task.node, error, debugInfo)\n\n // If the server failed to fulfill the data for this segment, it implies\n // that the route tree received from the server mismatched the tree that\n // was previously prefetched.\n //\n // In an app with fully static routes and no proxy-driven redirects or\n // rewrites, this should never happen, because the route for a URL would\n // always be the same across multiple requests. So, this implies that some\n // runtime routing condition changed, likely in a proxy, without being\n // pushed to the client.\n //\n // When this happens, we treat this the same as a refresh(). The entire\n // tree will be re-rendered from the root.\n if (task.refreshUrl === null) {\n // Trigger a \"soft\" refresh. Essentially the same as calling `refresh()`\n // in a Server Action.\n exitStatus = NavigationTaskExitStatus.SoftRetry\n } else {\n // The mismatch was discovered inside an inactive parallel route. This\n // implies the inactive parallel route is no longer reachable at the URL\n // that originally rendered it. Fall back to an MPA refresh.\n // TODO: An alternative could be to trigger a soft refresh but to _not_\n // re-use the inactive parallel routes this time. Similar to what would\n // happen if were to do a hard refrehs, but without the HTML page.\n exitStatus = NavigationTaskExitStatus.HardRetry\n }\n } else {\n // This segment finished. (An error here is treated as Done because they are\n // surfaced to the application during render.)\n exitStatus = NavigationTaskExitStatus.Done\n }\n\n const taskChildren = task.children\n if (taskChildren !== null) {\n for (const [, taskChild] of taskChildren) {\n const childExitStatus = abortRemainingPendingTasks(\n taskChild,\n error,\n debugInfo\n )\n // Propagate the exit status up the tree. The statuses are ordered by\n // their precedence.\n if (childExitStatus > exitStatus) {\n exitStatus = childExitStatus\n }\n }\n }\n\n return exitStatus\n}\n\nfunction abortPendingCacheNode(\n cacheNode: CacheNode,\n error: any,\n debugInfo: Array | null\n): void {\n const rsc = cacheNode.rsc\n if (isDeferredRsc(rsc)) {\n if (error === null) {\n // This will trigger a lazy fetch during render.\n rsc.resolve(null, debugInfo)\n } else {\n // This will trigger an error during rendering.\n rsc.reject(error, debugInfo)\n }\n }\n\n const loading = cacheNode.loading\n if (isDeferredRsc(loading)) {\n loading.resolve(null, debugInfo)\n }\n\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved. If an error was provided, we\n // will not resolve it with an error, since this is rendered at the root of\n // the app. We want the segment to error, not the entire app.\n const head = cacheNode.head\n if (isDeferredRsc(head)) {\n head.resolve(null, debugInfo)\n }\n}\n\nconst DEFERRED = Symbol()\n\ntype PendingDeferredRsc = Promise & {\n status: 'pending'\n resolve: (value: T, debugInfo: Array | null) => void\n reject: (error: any, debugInfo: Array | null) => void\n tag: Symbol\n _debugInfo: Array\n}\n\ntype FulfilledDeferredRsc = Promise & {\n status: 'fulfilled'\n value: T\n resolve: (value: T, debugInfo: Array | null) => void\n reject: (error: any, debugInfo: Array | null) => void\n tag: Symbol\n _debugInfo: Array\n}\n\ntype RejectedDeferredRsc = Promise & {\n status: 'rejected'\n reason: any\n resolve: (value: T, debugInfo: Array | null) => void\n reject: (error: any, debugInfo: Array | null) => void\n tag: Symbol\n _debugInfo: Array\n}\n\ntype DeferredRsc =\n | PendingDeferredRsc\n | FulfilledDeferredRsc\n | RejectedDeferredRsc\n\n// This type exists to distinguish a DeferredRsc from a Flight promise. It's a\n// compromise to avoid adding an extra field on every Cache Node, which would be\n// awkward because the pre-PPR parts of codebase would need to account for it,\n// too. We can remove it once type Cache Node type is more settled.\nexport function isDeferredRsc(value: any): value is DeferredRsc {\n return value && typeof value === 'object' && value.tag === DEFERRED\n}\n\nfunction createDeferredRsc<\n T extends React.ReactNode = React.ReactNode,\n>(): PendingDeferredRsc {\n // Create an unresolved promise that represents data derived from a Flight\n // response. The promise will be resolved later as soon as we start receiving\n // data from the server, i.e. as soon as the Flight client decodes and returns\n // the top-level response object.\n\n // The `_debugInfo` field contains profiling information. Promises that are\n // created by Flight already have this info added by React; for any derived\n // promise created by the router, we need to transfer the Flight debug info\n // onto the derived promise.\n //\n // The debug info represents the latency between the start of the navigation\n // and the start of rendering. (It does not represent the time it takes for\n // whole stream to finish.)\n const debugInfo: Array = []\n\n let resolve: any\n let reject: any\n const pendingRsc = new Promise((res, rej) => {\n resolve = res\n reject = rej\n }) as PendingDeferredRsc\n pendingRsc.status = 'pending'\n pendingRsc.resolve = (value: T, responseDebugInfo: Array | null) => {\n if (pendingRsc.status === 'pending') {\n const fulfilledRsc: FulfilledDeferredRsc = pendingRsc as any\n fulfilledRsc.status = 'fulfilled'\n fulfilledRsc.value = value\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo)\n }\n resolve(value)\n }\n }\n pendingRsc.reject = (error: any, responseDebugInfo: Array | null) => {\n if (pendingRsc.status === 'pending') {\n const rejectedRsc: RejectedDeferredRsc = pendingRsc as any\n rejectedRsc.status = 'rejected'\n rejectedRsc.reason = error\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo)\n }\n reject(error)\n }\n }\n pendingRsc.tag = DEFERRED\n pendingRsc._debugInfo = debugInfo\n\n return pendingRsc\n}\n"],"names":["DEFAULT_SEGMENT_KEY","NOT_FOUND_SEGMENT_KEY","matchSegment","createHrefFromUrl","createRouterCacheKey","fetchServerResponse","dispatchAppRouterAction","ACTION_SERVER_PATCH","isNavigatingToNewRootLayout","DYNAMIC_STALETIME_MS","convertServerPatchToFullTree","FreshnessPolicy","noop","createInitialCacheNodeForHydration","navigatedAt","initialTree","seedData","seedHead","accumulation","scrollableSegments","separateRefreshUrls","task","createCacheNodeOnNavigation","undefined","node","startPPRNavigation","oldUrl","oldCacheNode","oldRouterState","newRouterState","freshness","prefetchData","prefetchHead","isPrefetchHeadPartial","isSamePageNavigation","didFindRootLayout","parentNeedsDynamicRequest","parentRefreshUrl","updateCacheNodeOnNavigation","parentSegmentPath","parentParallelRouteKey","oldSegment","newSegment","segmentPath","concat","newRouterStateChildren","oldRouterStateChildren","seedDataChildren","prefetchDataChildren","isRootLayout","childDidFindRootLayout","oldParallelRoutes","parallelRoutes","shouldDropSiblingCaches","shouldRefreshDynamicData","newParallelRoutes","Map","isLeafSegment","Object","keys","length","newCacheNode","needsDynamicRequest","dropPrefetchRsc","reuseDynamicCacheNode","seedRsc","seedLoading","isSeedRscPartial","isSeedHeadPartial","readCacheNodeFromSeedData","prefetchRsc","prefetchLoading","isPrefetchRSCPartial","spawnNewCacheNode","href","refreshUrl","accumulateRefreshUrl","patchedRouterStateChildren","taskChildren","childNeedsDynamicRequest","dynamicRequestTreeChildren","parallelRouteKey","newRouterStateChild","oldRouterStateChild","oldSegmentMapChild","get","seedDataChild","prefetchDataChild","newSegmentChild","seedHeadChild","prefetchHeadChild","isPrefetchHeadPartialChild","reuseActiveSegmentInDefaultSlot","newSegmentKeyChild","oldCacheNodeChild","taskChild","set","newCacheNodeChild","newSegmentMapChild","taskChildRoute","route","dynamicRequestTreeChild","dynamicRequestTree","status","patchRouterStateWithNewChildren","createDynamicRequestTree","children","oldRsc","rsc","oldRscDidResolve","isDeferredRsc","push","baseRouterState","newChildren","clone","Set","add","reusedRouterState","oldRefreshMarker","existingCacheNode","cacheNode","head","loading","isPageSegment","createDeferredRsc","isHydration","previousNavigationDidMismatch","spawnDynamicRequests","primaryUrl","nextUrl","freshnessPolicy","primaryRequestPromise","fetchMissingDynamicData","refreshRequestPromises","canonicalUrl","scopedDynamicRequestTree","URL","location","origin","voidPromise","finishNavigationTask","then","exitStatus","waitForRequestsToFinish","abortRemainingPendingTasks","isHardRetry","primaryRequestResult","dispatchRetryDueToTreeMismatch","url","seed","Promise","resolve","onFulfill","result","remainingCount","onReject","forEach","refreshRequestPromise","retryUrl","retryNextUrl","baseTree","retryAction","type","previousTree","mpa","flightRouterState","isHmrRefresh","flightData","renderedSearch","didReceiveUnknownParallelRoute","writeDynamicDataIntoNavigationTask","tree","data","debugInfo","serverRouterState","dynamicData","dynamicHead","finishPendingCacheNode","serverChildren","dynamicDataChildren","serverRouterStateChild","dynamicDataChild","taskSegment","childDidReceiveUnknownParallelRoute","dynamicSegmentData","dynamicLoading","error","abortPendingCacheNode","childExitStatus","reject","DEFERRED","Symbol","value","tag","pendingRsc","res","rej","responseDebugInfo","fulfilledRsc","apply","rejectedRsc","reason","_debugInfo"],"mappings":";;;;;;;;;;;;AAaA,SACEA,mBAAmB,EACnBC,qBAAqB,QAChB,8BAA6B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MAAMiG,cAAsCN;YAC5CM,YAAYjG,MAAM,GAAG;YACrBiG,YAAYC,MAAM,GAAGf;YACrB,IAAIW,sBAAsB,MAAM;gBAC9B,kDAAkD;gBAClDxB,UAAU9D,IAAI,CAACwF,KAAK,CAAC1B,WAAWwB;YAClC;YACAR,OAAOH;QACT;IACF;IACAQ,WAAWD,GAAG,GAAGH;IACjBI,WAAWQ,UAAU,GAAG7B;IAExB,OAAOqB;AACT","ignoreList":[0]}}, diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js index 656ca66..3f69a44 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js @@ -16,11 +16,13 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__proje var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$clock$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Clock$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js [app-ssr] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$target$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Target$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/target.js [app-ssr] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$hash$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Hash$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/hash.js [app-ssr] (ecmascript) "); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)"); 'use client'; ; ; ; ; +; const DEFAULT_SETTINGS = { genre: '', subGenre: '', @@ -32,6 +34,7 @@ const DEFAULT_SETTINGS = { themes: '' }; const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useLanguage"])(); const [settings, setSettings] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(project.settings || DEFAULT_SETTINGS); const [showDeleteConfirm, setShowDeleteConfirm] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(false); (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useEffect"])(()=>{ @@ -72,42 +75,42 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ size: 24 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 51, + lineNumber: 54, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 50, + lineNumber: 53, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("h2", { className: "text-2xl font-bold", - children: "Paramètres Généraux du Roman" + children: t('book_settings.title') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 54, + lineNumber: 57, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-slate-400 text-sm", - children: "Définissez l'identité, le ton et les règles de votre œuvre pour guider l'IA." + children: t('book_settings.subtitle') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 55, + lineNumber: 58, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 53, + lineNumber: 56, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 49, + lineNumber: 52, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -124,14 +127,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "text-blue-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 62, + lineNumber: 65, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Informations de Base" + " ", + t('book_settings.basic_info') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 61, + lineNumber: 64, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -141,10 +145,10 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Titre du Roman" + children: t('book_settings.novel_title') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 66, + lineNumber: 69, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -157,23 +161,23 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 67, + lineNumber: 70, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 65, + lineNumber: 68, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Nom d'Auteur" + children: t('book_settings.author_name') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 75, + lineNumber: 78, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -186,51 +190,51 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 76, + lineNumber: 79, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 74, + lineNumber: 77, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 64, + lineNumber: 67, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Synopsis Global" + children: t('book_settings.global_synopsis') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 85, + lineNumber: 88, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { value: settings.synopsis, onChange: (e)=>handleChange('synopsis', e.target.value), className: "w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300", - placeholder: "De quoi parle votre histoire dans les grandes lignes ?" + placeholder: t('book_settings.synopsis_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 86, + lineNumber: 89, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 84, + lineNumber: 87, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 60, + lineNumber: 63, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("section", { @@ -244,14 +248,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "text-red-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 97, + lineNumber: 100, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Genre & Public" + " ", + t('book_settings.genre_audience') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 96, + lineNumber: 99, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -261,10 +266,10 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Genre Principal" + children: t('book_settings.main_genre') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 101, + lineNumber: 104, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -273,10 +278,10 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.genre, onChange: (e)=>handleChange('genre', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Fantasy" + placeholder: t('book_settings.genre_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 102, + lineNumber: 105, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("datalist", { @@ -285,28 +290,28 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: g }, g, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 111, + lineNumber: 114, columnNumber: 54 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 110, + lineNumber: 113, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 100, + lineNumber: 103, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Sous-Genre" + children: t('book_settings.sub_genre') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 115, + lineNumber: 118, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -314,26 +319,26 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.subGenre || '', onChange: (e)=>handleChange('subGenre', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Dark Fantasy" + placeholder: t('book_settings.subgenre_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 116, + lineNumber: 119, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 114, + lineNumber: 117, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Public Cible" + children: t('book_settings.target_audience') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 125, + lineNumber: 128, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -341,32 +346,32 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.targetAudience, onChange: (e)=>handleChange('targetAudience', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Jeune Adulte, Adulte..." + placeholder: t('book_settings.audience_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 126, + lineNumber: 129, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 124, + lineNumber: 127, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 99, + lineNumber: 102, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Thèmes Clés" + children: t('book_settings.key_themes') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 136, + lineNumber: 139, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -377,7 +382,7 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "absolute left-3 top-3 text-theme-muted" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 138, + lineNumber: 141, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -385,28 +390,28 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.themes, onChange: (e)=>handleChange('themes', e.target.value), className: "w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Vengeance, Rédemption, Voyage initiatique..." + placeholder: t('book_settings.themes_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 139, + lineNumber: 142, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 137, + lineNumber: 140, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 135, + lineNumber: 138, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 95, + lineNumber: 98, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("section", { @@ -420,14 +425,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "text-purple-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 152, + lineNumber: 155, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Narration & Style" + " ", + t('book_settings.narration_style') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 151, + lineNumber: 154, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -442,14 +448,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 157, + lineNumber: 160, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), - " Point de Vue (POV)" + " ", + t('book_settings.pov') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 156, + lineNumber: 159, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -459,30 +466,30 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "", - children: "Sélectionner..." + children: t('book_settings.select') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 164, + lineNumber: 167, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["POV_OPTIONS"].map((o)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: o, - children: o + children: t(`pov_options.${o.toLowerCase().replace(/\s+/g, '_')}`) || o }, o, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 165, + lineNumber: 168, columnNumber: 59 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 159, + lineNumber: 162, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 155, + lineNumber: 158, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -494,14 +501,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 170, + lineNumber: 173, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), - " Temps du récit" + " ", + t('book_settings.tense') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 169, + lineNumber: 172, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -511,40 +519,40 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "", - children: "Sélectionner..." + children: t('book_settings.select') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 177, + lineNumber: 180, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["TENSE_OPTIONS"].map((o)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: o, - children: o + children: t(`tense_options.${o.toLowerCase().replace(/\s+/g, '_')}`) || o }, o, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 178, + lineNumber: 181, columnNumber: 61 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 172, + lineNumber: 175, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 168, + lineNumber: 171, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Ton Général" + children: t('book_settings.general_tone') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 182, + lineNumber: 185, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -553,36 +561,36 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.tone, onChange: (e)=>handleChange('tone', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Sombre, Ironique..." + placeholder: t('book_settings.tone_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 183, + lineNumber: 186, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("datalist", { id: "tone-suggestions", - children: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["TONES"].map((t)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: t - }, t, false, { + children: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["TONES"].map((tOption)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { + value: tOption + }, tOption, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 192, - columnNumber: 53 + lineNumber: 195, + columnNumber: 59 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 191, + lineNumber: 194, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 181, + lineNumber: 184, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 154, + lineNumber: 157, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -590,40 +598,40 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Guide de Style & Instructions IA (Prompt Système)" + children: t('book_settings.style_guide') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 198, + lineNumber: 201, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-xs text-theme-muted mb-2", - children: 'Ces instructions seront envoyées à l\'IA à chaque génération. Décrivez ici le style d\'écriture désiré (ex: "phrases courtes", "vocabulaire soutenu", "beaucoup de métaphores").' + children: t('book_settings.style_guide_help') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 201, + lineNumber: 204, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { value: project.styleGuide || '', onChange: (e)=>handleStyleGuideChange(e.target.value), className: "w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300", - placeholder: "Ex: Utilise un style descriptif et sensoriel. Évite les adverbes. Le narrateur est cynique." + placeholder: t('book_settings.style_guide_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 204, + lineNumber: 207, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 197, + lineNumber: 200, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 150, + lineNumber: 153, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("section", { @@ -637,14 +645,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: "⚠️" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 215, + lineNumber: 218, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Zone de Danger" + " ", + t('book_settings.danger_zone') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 214, + lineNumber: 217, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -652,18 +661,18 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("h4", { className: "font-bold text-red-900 mb-2", - children: "Supprimer le projet" + children: t('book_settings.delete_project') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 218, + lineNumber: 221, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-sm text-red-700 mb-4", - children: "Cette action est irréversible. Toutes les données associées à ce projet (chapitres, entités, idées) seront définitivement effacées." + children: t('book_settings.delete_warning') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 219, + lineNumber: 222, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), showDeleteConfirm ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -671,71 +680,71 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-sm font-bold text-theme-text", - children: "Êtes-vous sûr ?" + children: t('book_settings.are_you_sure') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 224, + lineNumber: 227, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: onDeleteProject, className: "px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 text-sm font-bold opacity-90 transition-opacity", - children: "Oui, supprimer définitivement" + children: t('book_settings.confirm_delete') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 225, + lineNumber: 228, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setShowDeleteConfirm(false), className: "px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity", - children: "Annuler" + children: t('book_settings.cancel') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 231, + lineNumber: 234, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 223, + lineNumber: 226, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setShowDeleteConfirm(true), className: "px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300", - children: "Supprimer ce projet" + children: t('book_settings.delete_button') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 239, + lineNumber: 242, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 217, + lineNumber: 220, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 213, + lineNumber: 216, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 59, + lineNumber: 62, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 47, + lineNumber: 50, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 46, + lineNumber: 49, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); }; diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js.map b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js.map index 1712614..26d8515 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js.map +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_6fd8b93a._.js.map @@ -2,11 +2,11 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/BookSettings.tsx"],"sourcesContent":["'use client';\n\nimport React, { useEffect, useState } from 'react';\nimport { BookProject, BookSettings } from '@/lib/types';\nimport { GENRES, TONES, POV_OPTIONS, TENSE_OPTIONS } from '@/lib/constants';\nimport { Settings, Book, Feather, Users, Clock, Target, Hash } from 'lucide-react';\n\ninterface BookSettingsProps {\n project: BookProject;\n onUpdate: (project: BookProject) => void;\n onDeleteProject: () => void;\n}\n\nconst DEFAULT_SETTINGS: BookSettings = {\n genre: '',\n subGenre: '',\n targetAudience: '',\n tone: '',\n pov: '',\n tense: '',\n synopsis: '',\n themes: ''\n};\n\nconst BookSettingsComponent: React.FC = ({ project, onUpdate, onDeleteProject }) => {\n const [settings, setSettings] = useState(project.settings || DEFAULT_SETTINGS);\n const [showDeleteConfirm, setShowDeleteConfirm] = useState(false);\n\n useEffect(() => {\n if (project.settings) {\n setSettings(project.settings);\n }\n }, [project.settings]);\n\n const handleChange = (key: keyof BookSettings, value: string) => {\n const newSettings = { ...settings, [key]: value };\n setSettings(newSettings);\n onUpdate({ ...project, settings: newSettings });\n };\n\n const handleStyleGuideChange = (value: string) => {\n onUpdate({ ...project, styleGuide: value });\n };\n\n return (\n
\n
\n\n
\n
\n \n
\n
\n

Paramètres Généraux du Roman

\n

Définissez l'identité, le ton et les règles de votre œuvre pour guider l'IA.

\n
\n
\n\n
\n
\n

\n Informations de Base\n

\n
\n
\n \n onUpdate({ ...project, title: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300\"\n />\n
\n
\n \n onUpdate({ ...project, author: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n />\n
\n
\n
\n \n handleChange('synopsis', e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300\"\n placeholder=\"De quoi parle votre histoire dans les grandes lignes ?\"\n />\n
\n
\n\n
\n

\n Genre & Public\n

\n
\n
\n \n handleChange('genre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Fantasy\"\n />\n \n {GENRES.map(g => \n
\n
\n \n handleChange('subGenre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Dark Fantasy\"\n />\n
\n
\n \n handleChange('targetAudience', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Jeune Adulte, Adulte...\"\n />\n
\n
\n
\n \n
\n \n handleChange('themes', e.target.value)}\n className=\"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Vengeance, Rédemption, Voyage initiatique...\"\n />\n
\n
\n
\n\n
\n

\n Narration & Style\n

\n
\n
\n \n handleChange('pov', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {POV_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tense', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {TENSE_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tone', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Sombre, Ironique...\"\n />\n \n {TONES.map(t => \n
\n
\n\n
\n \n

\n Ces instructions seront envoyées à l'IA à chaque génération. Décrivez ici le style d'écriture désiré (ex: \"phrases courtes\", \"vocabulaire soutenu\", \"beaucoup de métaphores\").\n

\n handleStyleGuideChange(e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300\"\n placeholder=\"Ex: Utilise un style descriptif et sensoriel. Évite les adverbes. Le narrateur est cynique.\"\n />\n
\n
\n\n
\n

\n ⚠️ Zone de Danger\n

\n
\n

Supprimer le projet

\n

\n Cette action est irréversible. Toutes les données associées à ce projet (chapitres, entités, idées) seront définitivement effacées.\n

\n {showDeleteConfirm ? (\n
\n Êtes-vous sûr ?\n \n Oui, supprimer définitivement\n \n setShowDeleteConfirm(false)}\n className=\"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity\"\n >\n Annuler\n \n
\n ) : (\n setShowDeleteConfirm(true)}\n className=\"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300\"\n >\n Supprimer ce projet\n \n )}\n
\n
\n
\n
\n
\n );\n};\n\nexport default BookSettingsComponent;"],"names":[],"mappings":";;;;;AAEA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AALA;;;;;AAaA,MAAM,mBAAiC;IACnC,OAAO;IACP,UAAU;IACV,gBAAgB;IAChB,MAAM;IACN,KAAK;IACL,OAAO;IACP,UAAU;IACV,QAAQ;AACZ;AAEA,MAAM,wBAAqD,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE;IAC9F,MAAM,CAAC,UAAU,YAAY,GAAG,IAAA,6PAAQ,EAAe,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umeia/src/app/project/%5Bid%5D/settings/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport BookSettingsComponent from '@/components/BookSettings';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function SettingsPage() {\r\n const { project, updateProject, deleteProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject(updates)}\r\n onDeleteProject={async () => {\r\n await deleteProject();\r\n router.push('/dashboard');\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AAJA;;;;;AAMe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,IAAA,qMAAiB;IACnE,MAAM,SAAS,IAAA,2LAAS;IAExB,qBACI,0RAAC,yLAAqB;QAClB,SAAS;QACT,UAAU,CAAC,UAAY,cAAc;QACrC,iBAAiB;YACb,MAAM;YACN,OAAO,IAAI,CAAC;QAChB;;;;;;AAGZ"}}, - {"offset": {"line": 779, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/feather.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/feather.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z',\n key: '18jl4k',\n },\n ],\n ['path', { d: 'M16 8 2 22', key: 'vp34q' }],\n ['path', { d: 'M17.5 15H9', key: '1oz8nu' }],\n];\n\n/**\n * @component @name Feather\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuNjcgMTlhMiAyIDAgMCAwIDEuNDE2LS41ODhsNi4xNTQtNi4xNzJhNiA2IDAgMCAwLTguNDktOC40OUw1LjU4NiA5LjkxNEEyIDIgMCAwIDAgNSAxMS4zMjhWMThhMSAxIDAgMCAwIDEgMXoiIC8+CiAgPHBhdGggZD0iTTE2IDggMiAyMiIgLz4KICA8cGF0aCBkPSJNMTcuNSAxNUg5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/feather\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Feather = createLucideIcon('feather', __iconNode);\n\nexport default Feather;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,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AAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 831, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/users.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/users.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2', key: '1yyitq' }],\n ['path', { d: 'M16 3.128a4 4 0 0 1 0 7.744', key: '16gr8j' }],\n ['path', { d: 'M22 21v-2a4 4 0 0 0-3-3.87', key: 'kshegd' }],\n ['circle', { cx: '9', cy: '7', r: '4', key: 'nufk8' }],\n];\n\n/**\n * @component @name Users\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTYgMjF2LTJhNCA0IDAgMCAwLTQtNEg2YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8cGF0aCBkPSJNMTYgMy4xMjhhNCA0IDAgMCAxIDAgNy43NDQiIC8+CiAgPHBhdGggZD0iTTIyIDIxdi0yYTQgNCAwIDAgMC0zLTMuODciIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/users\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Users = createLucideIcon('users', __iconNode);\n\nexport default Users;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA6C,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC1E;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA+B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA8B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC3D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,GAAA,CAAA;YAAK,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,OAAA;QAAA,CAAS;KAAA;CACvD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 892, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 939, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/target.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __iconNode);\n\nexport default Target;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzD;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACxD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 997, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/hash.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/hash.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n];\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iOSIgeTI9IjkiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE1IiB5Mj0iMTUiIC8+CiAgPGxpbmUgeDE9IjEwIiB4Mj0iOCIgeTE9IjMiIHkyPSIyMSIgLz4KICA8bGluZSB4MT0iMTYiIHgyPSIxNCIgeTE9IjMiIHkyPSIyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon('hash', __iconNode);\n\nexport default Hash;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC/D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,MAAA,CAAA;QAAQ,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACnE;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/BookSettings.tsx"],"sourcesContent":["'use client';\n\nimport React, { useEffect, useState } from 'react';\nimport { BookProject, BookSettings } from '@/lib/types';\nimport { GENRES, TONES, POV_OPTIONS, TENSE_OPTIONS } from '@/lib/constants';\nimport { Settings, Book, Feather, Users, Clock, Target, Hash } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { TranslationKey } from '@/lib/i18n/translations';\n\ninterface BookSettingsProps {\n project: BookProject;\n onUpdate: (project: BookProject) => void;\n onDeleteProject: () => void;\n}\n\nconst DEFAULT_SETTINGS: BookSettings = {\n genre: '',\n subGenre: '',\n targetAudience: '',\n tone: '',\n pov: '',\n tense: '',\n synopsis: '',\n themes: ''\n};\n\nconst BookSettingsComponent: React.FC = ({ project, onUpdate, onDeleteProject }) => {\n const { t } = useLanguage();\n const [settings, setSettings] = useState(project.settings || DEFAULT_SETTINGS);\n const [showDeleteConfirm, setShowDeleteConfirm] = useState(false);\n\n useEffect(() => {\n if (project.settings) {\n setSettings(project.settings);\n }\n }, [project.settings]);\n\n const handleChange = (key: keyof BookSettings, value: string) => {\n const newSettings = { ...settings, [key]: value };\n setSettings(newSettings);\n onUpdate({ ...project, settings: newSettings });\n };\n\n const handleStyleGuideChange = (value: string) => {\n onUpdate({ ...project, styleGuide: value });\n };\n\n return (\n
\n
\n\n
\n
\n \n
\n
\n

{t('book_settings.title')}

\n

{t('book_settings.subtitle')}

\n
\n
\n\n
\n
\n

\n {t('book_settings.basic_info')}\n

\n
\n
\n \n onUpdate({ ...project, title: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300\"\n />\n
\n
\n \n onUpdate({ ...project, author: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n />\n
\n
\n
\n \n handleChange('synopsis', e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300\"\n placeholder={t('book_settings.synopsis_placeholder')}\n />\n
\n
\n\n
\n

\n {t('book_settings.genre_audience')}\n

\n
\n
\n \n handleChange('genre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.genre_placeholder')}\n />\n \n {GENRES.map(g => \n
\n
\n \n handleChange('subGenre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.subgenre_placeholder')}\n />\n
\n
\n \n handleChange('targetAudience', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.audience_placeholder')}\n />\n
\n
\n
\n \n
\n \n handleChange('themes', e.target.value)}\n className=\"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.themes_placeholder')}\n />\n
\n
\n
\n\n
\n

\n {t('book_settings.narration_style')}\n

\n
\n
\n \n handleChange('pov', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {POV_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tense', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {TENSE_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tone', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.tone_placeholder')}\n />\n \n {TONES.map(tOption => \n
\n
\n\n
\n \n

\n {t('book_settings.style_guide_help')}\n

\n handleStyleGuideChange(e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300\"\n placeholder={t('book_settings.style_guide_placeholder')}\n />\n
\n
\n\n
\n

\n ⚠️ {t('book_settings.danger_zone')}\n

\n
\n

{t('book_settings.delete_project')}

\n

\n {t('book_settings.delete_warning')}\n

\n {showDeleteConfirm ? (\n
\n {t('book_settings.are_you_sure')}\n \n {t('book_settings.confirm_delete')}\n \n setShowDeleteConfirm(false)}\n className=\"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity\"\n >\n {t('book_settings.cancel')}\n \n
\n ) : (\n setShowDeleteConfirm(true)}\n className=\"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300\"\n >\n {t('book_settings.delete_button')}\n \n )}\n
\n
\n
\n
\n
\n );\n};\n\nexport default BookSettingsComponent;"],"names":[],"mappings":";;;;;AAEA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AANA;;;;;;AAeA,MAAM,mBAAiC;IACnC,OAAO;IACP,UAAU;IACV,gBAAgB;IAChB,MAAM;IACN,KAAK;IACL,OAAO;IACP,UAAU;IACV,QAAQ;AACZ;AAEA,MAAM,wBAAqD,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE;IAC9F,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,gMAAW;IACzB,MAAM,CAAC,UAAU,YAAY,GAAG,IAAA,6PAAQ,EAAe,QAAQ,QAAQ,IAAI;IAC3E,MAAM,CAAC,mBAAmB,qBAAqB,GAAG,IAAA,6PAAQ,EAAC;IAE3D,IAAA,8PAAS,EAAC;QACN,IAAI,QAAQ,QAAQ,EAAE;YAClB,YAAY,QAAQ,QAAQ;QAChC;IACJ,GAAG;QAAC,QAAQ,QAAQ;KAAC;IAErB,MAAM,eAAe,CAAC,KAAyB;QAC3C,MAAM,cAAc;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;;;;;;;;;;;;;;;;;;;;;;;;;;AASvC;uCAEe"}}, + {"offset": {"line": 755, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/settings/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport BookSettingsComponent from '@/components/BookSettings';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function SettingsPage() {\r\n const { project, updateProject, deleteProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject(updates)}\r\n onDeleteProject={async () => {\r\n await deleteProject();\r\n router.push('/dashboard');\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AAJA;;;;;AAMe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,IAAA,qMAAiB;IACnE,MAAM,SAAS,IAAA,2LAAS;IAExB,qBACI,0RAAC,yLAAqB;QAClB,SAAS;QACT,UAAU,CAAC,UAAY,cAAc;QACrC,iBAAiB;YACb,MAAM;YACN,OAAO,IAAI,CAAC;QAChB;;;;;;AAGZ"}}, + {"offset": {"line": 788, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/feather.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/feather.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z',\n key: '18jl4k',\n },\n ],\n ['path', { d: 'M16 8 2 22', key: 'vp34q' }],\n ['path', { d: 'M17.5 15H9', key: '1oz8nu' }],\n];\n\n/**\n * @component @name Feather\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuNjcgMTlhMiAyIDAgMCAwIDEuNDE2LS41ODhsNi4xNTQtNi4xNzJhNiA2IDAgMCAwLTguNDktOC40OUw1LjU4NiA5LjkxNEEyIDIgMCAwIDAgNSAxMS4zMjhWMThhMSAxIDAgMCAwIDEgMXoiIC8+CiAgPHBhdGggZD0iTTE2IDggMiAyMiIgLz4KICA8cGF0aCBkPSJNMTcuNSAxNUg5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/feather\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Feather = createLucideIcon('feather', __iconNode);\n\nexport default Feather;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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AAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 840, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/users.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/users.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2', key: '1yyitq' }],\n ['path', { d: 'M16 3.128a4 4 0 0 1 0 7.744', key: '16gr8j' }],\n ['path', { d: 'M22 21v-2a4 4 0 0 0-3-3.87', key: 'kshegd' }],\n ['circle', { cx: '9', cy: '7', r: '4', key: 'nufk8' }],\n];\n\n/**\n * @component @name Users\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTYgMjF2LTJhNCA0IDAgMCAwLTQtNEg2YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8cGF0aCBkPSJNMTYgMy4xMjhhNCA0IDAgMCAxIDAgNy43NDQiIC8+CiAgPHBhdGggZD0iTTIyIDIxdi0yYTQgNCAwIDAgMC0zLTMuODciIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/users\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Users = createLucideIcon('users', __iconNode);\n\nexport default Users;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA6C,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC1E;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA+B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA8B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC3D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,GAAA,CAAA;YAAK,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,OAAA;QAAA,CAAS;KAAA;CACvD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 901, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 948, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/target.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __iconNode);\n\nexport default Target;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzD;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACxD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1006, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/hash.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/hash.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n];\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iOSIgeTI9IjkiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE1IiB5Mj0iMTUiIC8+CiAgPGxpbmUgeDE9IjEwIiB4Mj0iOCIgeTE9IjMiIHkyPSIyMSIgLz4KICA8bGluZSB4MT0iMTYiIHgyPSIxNCIgeTE9IjMiIHkyPSIyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon('hash', __iconNode);\n\nexport default Hash;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC/D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,MAAA,CAAA;QAAQ,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACnE;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] } \ No newline at end of file diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js index dcce055..0b27e9a 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js @@ -16,11 +16,13 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__proje var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$message$2d$circle$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__MessageCircle$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/message-circle.js [app-ssr] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$zap$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Zap$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/zap.js [app-ssr] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$palette$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Palette$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/palette.js [app-ssr] (ecmascript) "); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)"); 'use client'; ; ; ; ; +; const CARD_WIDTH = 260; const CARD_HEIGHT = 220; const INITIAL_COLORS = [ @@ -31,13 +33,13 @@ const INITIAL_COLORS = [ '#fee2e2', '#f3e8ff' ]; -const renderTextWithLinks = (text, entities, onNavigate)=>{ +const renderTextWithLinks = (text, entities, onNavigate, t)=>{ if (!text) return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-slate-400 italic", - children: "Description..." + children: t('sw.desc_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 28, + lineNumber: 29, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)); const parts = [ @@ -59,11 +61,11 @@ const renderTextWithLinks = (text, entities, onNavigate)=>{ onNavigate(entity.id); }, className: "text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all", - title: `Voir la fiche de ${entity.name}`, + title: t('sw.see_sheet') + entity.name, children: s }, `${entity.id}-${idx}`, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 44, + lineNumber: 45, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)); } @@ -80,13 +82,15 @@ const renderTextWithLinks = (text, entities, onNavigate)=>{ }, void 0, false); }; const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["default"].memo(({ node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors, onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing, onToggleColorPicker, onSaveColor, onNavigateToEntity, onInputFocus, onInputCheckAutocomplete, onKeyDownInInput })=>{ + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useLanguage"])(); const [showTypePicker, setShowTypePicker] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(false); const richDescription = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useMemo"])(()=>{ - return renderTextWithLinks(node.description, entities, onNavigateToEntity); + return renderTextWithLinks(node.description, entities, onNavigateToEntity, t); }, [ node.description, entities, - onNavigateToEntity + onNavigateToEntity, + t ]); return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: `absolute flex flex-col rounded-xl shadow-sm border z-10 group @@ -109,7 +113,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "h-1.5 rounded-t-xl bg-black/5 w-full cursor-grab active:cursor-grabbing" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 120, + lineNumber: 121, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -128,7 +132,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ autoFocus: true }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 125, + lineNumber: 126, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "font-bold text-slate-800 cursor-text truncate mr-6 text-sm", @@ -136,7 +140,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ children: node.title }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 133, + lineNumber: 134, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -149,12 +153,12 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 145, + lineNumber: 146, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 141, + lineNumber: 142, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), activeColorPickerId === node.id && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -173,12 +177,12 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ } }, color, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 152, + lineNumber: 153, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 150, + lineNumber: 151, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -195,46 +199,46 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 162, + lineNumber: 163, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 161, + lineNumber: 162, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>onSaveColor(node.color || '#ffffff'), className: "text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right", - children: "+ SAUVER" + children: t('sw.save_color') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 169, + lineNumber: 170, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 160, + lineNumber: 161, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 149, + lineNumber: 150, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 123, + lineNumber: 124, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex-1 overflow-y-auto custom-scrollbar relative mb-4", children: isEditing ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { className: `w-full h-full bg-white/70 resize-none outline-none text-xs leading-relaxed p-2 rounded border border-indigo-100 shadow-inner ${node.type === 'dialogue' ? 'font-mono text-slate-700' : 'text-slate-600'}`, - placeholder: node.type === 'dialogue' ? "Héros: Salut !\nGuide: ..." : "Résumé de l'intrigue...", + placeholder: node.type === 'dialogue' ? t('sw.dialogue_ph') : t('sw.plot_ph'), value: node.description, onChange: (e)=>onInputCheckAutocomplete(e, node.id, 'description'), onKeyDown: (e)=>onKeyDownInInput(e, node.id), @@ -242,7 +246,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ onBlur: ()=>onSetEditing(null) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 182, + lineNumber: 183, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: `w-full h-full text-xs text-slate-600 leading-relaxed p-1 cursor-text whitespace-pre-wrap ${node.type === 'dialogue' ? 'font-mono bg-indigo-50/30 rounded pl-2 border-l-2 border-indigo-200' : ''}`, @@ -250,12 +254,12 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ children: richDescription }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 192, + lineNumber: 193, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 180, + lineNumber: 181, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -274,18 +278,18 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ setShowTypePicker(false); }, className: `p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`, - title: "Narration", + title: t('sw.type_story'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$book$2d$open$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__BookOpen$3e$__["BookOpen"], { size: 14, className: "text-slate-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 209, + lineNumber: 210, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 204, + lineNumber: 205, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -297,18 +301,18 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ setShowTypePicker(false); }, className: `p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`, - title: "Action", + title: t('sw.type_action'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$zap$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Zap$3e$__["Zap"], { size: 14, className: "text-amber-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 216, + lineNumber: 217, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 211, + lineNumber: 212, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -320,24 +324,24 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ setShowTypePicker(false); }, className: `p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`, - title: "Dialogue", + title: t('sw.type_dialogue'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$message$2d$circle$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__MessageCircle$3e$__["MessageCircle"], { size: 14, className: "text-blue-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 223, + lineNumber: 224, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 218, + lineNumber: 219, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 203, + lineNumber: 204, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -352,7 +356,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "text-slate-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 232, + lineNumber: 233, columnNumber: 51 }, ("TURBOPACK compile-time value", void 0)), node.type === 'action' && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$zap$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Zap$3e$__["Zap"], { @@ -360,7 +364,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "text-amber-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 233, + lineNumber: 234, columnNumber: 52 }, ("TURBOPACK compile-time value", void 0)), node.type === 'dialogue' && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$message$2d$circle$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__MessageCircle$3e$__["MessageCircle"], { @@ -368,25 +372,25 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "text-blue-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 234, + lineNumber: 235, columnNumber: 54 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 228, + lineNumber: 229, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 201, + lineNumber: 202, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 122, + lineNumber: 123, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -396,24 +400,25 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ size: 12 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 243, + lineNumber: 244, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 239, + lineNumber: 240, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 103, + lineNumber: 104, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); }, (prev, next)=>{ return prev.node === next.node && prev.isSelected === next.isSelected && prev.isEditing === next.isEditing && prev.isDragging === next.isDragging && prev.activeColorPickerId === next.activeColorPickerId && prev.entities === next.entities; }); const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useLanguage"])(); const containerRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useRef"])(null); const rafRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useRef"])(null); const [internalNodes, setInternalNodes] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(data.nodes); @@ -756,7 +761,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ id: `node-${Date.now()}`, x, y, - title: 'Nouvel événement', + title: t('sw.new_event'), description: '', color: INITIAL_COLORS[0], type: 'story' @@ -794,7 +799,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ id: `node-${Date.now()}`, x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2, y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2, - title: 'Nouveau point d\'intrigue', + title: t('sw.new_plot_point'), description: '', color: INITIAL_COLORS[0], type: 'story' @@ -828,35 +833,36 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 616, + lineNumber: 618, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), - " AJOUTER NŒUD" + " ", + t('sw.add_node') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 615, + lineNumber: 617, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-theme-border mx-2" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 618, + lineNumber: 620, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "text-[10px] uppercase font-bold text-theme-muted tracking-wider", - children: selectedNodeIds.size > 0 ? `${selectedNodeIds.size} SÉLECTIONNÉ(S)` : 'Double-cliquez sur le canvas pour créer' + children: selectedNodeIds.size > 0 ? `${selectedNodeIds.size} ${t('sw.selected')}` : t('sw.double_click_create') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 619, + lineNumber: 621, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 614, + lineNumber: 616, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -865,28 +871,28 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ onClick: handleDeleteSelected, disabled: selectedNodeIds.size === 0, className: "p-2 text-red-500 hover:bg-red-500/10 rounded-lg disabled:opacity-30 transition-colors", - title: "Supprimer", + title: t('sw.delete'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$trash$2d$2$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Trash2$3e$__["Trash2"], { size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 625, + lineNumber: 627, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 624, + lineNumber: 626, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 623, + lineNumber: 625, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 613, + lineNumber: 615, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -922,7 +928,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ markerEnd: "url(#arrowhead)" }, conn.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 652, + lineNumber: 654, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)); }), @@ -937,7 +943,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ markerEnd: "url(#arrowhead-blue)" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 656, + lineNumber: 658, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("defs", { @@ -954,12 +960,12 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ fill: "var(--theme-border)" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 665, + lineNumber: 667, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 664, + lineNumber: 666, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("marker", { @@ -974,24 +980,24 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ fill: "#6366f1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 668, + lineNumber: 670, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 667, + lineNumber: 669, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 663, + lineNumber: 665, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 642, + lineNumber: 644, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), internalNodes.map((node)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(StoryNode, { @@ -1015,13 +1021,13 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ onKeyDownInInput: handleKeyDownInInput }, node.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 674, + lineNumber: 676, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 630, + lineNumber: 632, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), activeSuggestion && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1034,13 +1040,10 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "px-3 py-2 bg-indigo-600 text-white text-[10px] font-black uppercase tracking-widest", - children: [ - "Insérer ", - activeSuggestion.trigger === '@' ? 'Personnage' : activeSuggestion.trigger === '#' ? 'Lieu' : 'Objet' - ] - }, void 0, true, { + children: activeSuggestion.trigger === '@' ? t('sw.insert_char') : activeSuggestion.trigger === '#' ? t('sw.insert_loc') : t('sw.insert_obj') + }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 700, + lineNumber: 702, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1051,31 +1054,31 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ children: ent.name }, ent.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 706, + lineNumber: 708, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0))) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "p-4 text-xs text-slate-400 italic text-center", - children: "Aucun résultat" + children: t('sw.no_result') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 715, + lineNumber: 717, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 703, + lineNumber: 705, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 699, + lineNumber: 701, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 612, + lineNumber: 614, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); }; diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js.map b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js.map index 42210fd..be3543a 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js.map +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_ba56306a._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/StoryWorkflow.tsx"],"sourcesContent":["'use client';\n\n\nimport React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';\nimport { WorkflowData, PlotNode, PlotConnection, PlotNodeType, Entity, EntityType } from '@/lib/types';\nimport { Plus, Trash2, ArrowRight, BookOpen, MessageCircle, Zap, Palette, Save, Link2 } from 'lucide-react';\n\ninterface StoryWorkflowProps {\n data: WorkflowData;\n onUpdate: (data: WorkflowData) => void;\n entities: Entity[];\n onNavigateToEntity: (entityId: string) => void;\n}\n\nconst CARD_WIDTH = 260;\nconst CARD_HEIGHT = 220;\n\nconst INITIAL_COLORS = [\n '#ffffff', // White\n '#dbeafe', // Blue\n '#dcfce7', // Green\n '#fef9c3', // Yellow\n '#fee2e2', // Red\n '#f3e8ff', // Purple\n];\n\nconst renderTextWithLinks = (text: string, entities: Entity[], onNavigate: (id: string) => void) => {\n if (!text) return Description...;\n\n const parts: (string | React.ReactNode)[] = [text];\n\n entities.forEach(entity => {\n if (!entity.name) return;\n const regex = new RegExp(`(${entity.name})`, 'gi');\n\n for (let i = 0; i < parts.length; i++) {\n const part = parts[i];\n if (typeof part === 'string') {\n const split = part.split(regex);\n if (split.length > 1) {\n const newParts = split.map((s, idx) => {\n if (s.toLowerCase() === entity.name.toLowerCase()) {\n return (\n { e.stopPropagation(); onNavigate(entity.id); }}\n className=\"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all\"\n title={`Voir la fiche de ${entity.name}`}\n >\n {s}\n \n );\n }\n return s;\n });\n parts.splice(i, 1, ...newParts);\n i += newParts.length - 1;\n }\n }\n }\n });\n\n return <>{parts};\n};\n\ninterface StoryNodeProps {\n node: PlotNode;\n isSelected: boolean;\n isEditing: boolean;\n isDragging: boolean;\n activeColorPickerId: string | null;\n entities: Entity[];\n savedColors: string[];\n\n onMouseDown: (e: React.MouseEvent, id: string) => void;\n onMouseUp: (e: React.MouseEvent, id: string) => void;\n onStartConnection: (e: React.MouseEvent, id: string) => void;\n onUpdate: (id: string, updates: Partial) => void;\n onSetEditing: (id: string | null) => void;\n onToggleColorPicker: (id: string) => void;\n onSaveColor: (color: string) => void;\n onNavigateToEntity: (id: string) => void;\n\n onInputFocus: (e: React.FocusEvent) => void;\n onInputCheckAutocomplete: (e: React.ChangeEvent, id: string, field: 'title' | 'description') => void;\n onKeyDownInInput: (e: React.KeyboardEvent, id: string) => void;\n}\n\nconst StoryNode = React.memo(({\n node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors,\n onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing,\n onToggleColorPicker, onSaveColor, onNavigateToEntity,\n onInputFocus, onInputCheckAutocomplete, onKeyDownInInput\n}: StoryNodeProps) => {\n\n const [showTypePicker, setShowTypePicker] = useState(false);\n\n const richDescription = useMemo(() => {\n return renderTextWithLinks(node.description, entities, onNavigateToEntity);\n }, [node.description, entities, onNavigateToEntity]);\n\n return (\n onMouseDown(e, node.id)}\n onMouseUp={(e) => onMouseUp(e, node.id)}\n onDoubleClick={(e) => e.stopPropagation()}\n onMouseLeave={() => setShowTypePicker(false)}\n >\n
\n\n
\n
\n {isEditing ? (\n onUpdate(node.id, { title: e.target.value })}\n onFocus={onInputFocus}\n autoFocus\n />\n ) : (\n onSetEditing(node.id)}\n >\n {node.title}\n
\n )}\n\n { e.stopPropagation(); onToggleColorPicker(node.id); }}\n className=\"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0\"\n >\n \n \n\n {activeColorPickerId === node.id && (\n
e.stopPropagation()}>\n
\n {savedColors.map(color => (\n onUpdate(node.id, { color })}\n className={`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${node.color === color ? 'ring-2 ring-offset-1 ring-indigo-400' : ''}`}\n style={{ backgroundColor: color }}\n />\n ))}\n
\n
\n
\n onUpdate(node.id, { color: e.target.value })}\n />\n
\n onSaveColor(node.color || '#ffffff')}\n className=\"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right\"\n >\n + SAUVER\n \n
\n
\n )}\n
\n\n
\n {isEditing ? (\n onInputCheckAutocomplete(e, node.id, 'description')}\n onKeyDown={(e) => onKeyDownInInput(e, node.id)}\n onFocus={onInputFocus}\n onBlur={() => onSetEditing(null)}\n />\n ) : (\n onSetEditing(node.id)}\n >\n {richDescription}\n
\n )}\n
\n\n
\n {showTypePicker && (\n
e.stopPropagation()}>\n { e.stopPropagation(); onUpdate(node.id, { type: 'story' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`}\n title=\"Narration\"\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'action' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`}\n title=\"Action\"\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'dialogue' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`}\n title=\"Dialogue\"\n >\n \n \n
\n )}\n\n { e.stopPropagation(); setShowTypePicker(!showTypePicker); }}\n >\n {node.type === 'story' && }\n {node.type === 'action' && }\n {node.type === 'dialogue' && }\n \n
\n \n\n onStartConnection(e, node.id)}\n >\n \n \n \n );\n}, (prev, next) => {\n return (\n prev.node === next.node &&\n prev.isSelected === next.isSelected &&\n prev.isEditing === next.isEditing &&\n prev.isDragging === next.isDragging &&\n prev.activeColorPickerId === next.activeColorPickerId &&\n prev.entities === next.entities\n );\n});\n\ninterface SuggestionState {\n active: boolean;\n trigger: string;\n query: string;\n nodeId: string;\n field: 'title' | 'description';\n cursorIndex: number;\n selectedIndex: number;\n filteredEntities: Entity[];\n}\n\nconst StoryWorkflow: React.FC = ({ data, onUpdate, entities, onNavigateToEntity }) => {\n const containerRef = useRef(null);\n const rafRef = useRef(null);\n\n const [internalNodes, setInternalNodes] = useState(data.nodes);\n const internalNodesRef = useRef(internalNodes);\n useEffect(() => { internalNodesRef.current = internalNodes; }, [internalNodes]);\n\n useEffect(() => {\n setInternalNodes(data.nodes);\n }, [data.nodes]);\n\n useEffect(() => {\n return () => {\n if (rafRef.current) cancelAnimationFrame(rafRef.current);\n };\n }, []);\n\n const [activeSuggestion, setActiveSuggestion] = useState(null);\n const [selectedNodeIds, setSelectedNodeIds] = useState>(new Set());\n const [savedColors, setSavedColors] = useState(INITIAL_COLORS);\n const [activeColorPickerId, setActiveColorPickerId] = useState(null);\n const [editingNodeId, setEditingNodeId] = useState(null);\n const [history, setHistory] = useState([]);\n\n const [isDragging, setIsDragging] = useState(false);\n const [dragStartPositions, setDragStartPositions] = useState>(new Map());\n const [dragStartMouse, setDragStartMouse] = useState({ x: 0, y: 0 });\n\n const [connectingNodeId, setConnectingNodeId] = useState(null);\n const [mousePos, setMousePos] = useState({ x: 0, y: 0 });\n\n const [isPanning, setIsPanning] = useState(false);\n const [panStart, setPanStart] = useState({ x: 0, y: 0 });\n const [scrollStart, setScrollStart] = useState({ x: 0, y: 0 });\n\n const pushHistory = useCallback(() => {\n setHistory(prev => {\n const newHistory = [...prev, data];\n if (newHistory.length > 20) return newHistory.slice(newHistory.length - 20);\n return newHistory;\n });\n }, [data]);\n\n const updateNode = useCallback((id: string, updates: Partial) => {\n const currentNodes = internalNodesRef.current;\n onUpdate({\n ...data,\n nodes: currentNodes.map(n => n.id === id ? { ...n, ...updates } : n)\n });\n }, [data, onUpdate]);\n\n const handleInputFocus = useCallback((e: React.FocusEvent) => {\n e.stopPropagation();\n }, []);\n\n const handleInputWithAutocomplete = useCallback((\n e: React.ChangeEvent,\n nodeId: string,\n field: 'title' | 'description'\n ) => {\n const val = e.target.value;\n updateNode(nodeId, { [field]: val });\n\n const cursor = e.target.selectionStart || 0;\n const textBeforeCursor = val.slice(0, cursor);\n const match = textBeforeCursor.match(/([@#^])([^@#^\\s]*)$/);\n\n if (match) {\n const trigger = match[1];\n const query = match[2].toLowerCase();\n const targetType = trigger === '@' ? EntityType.CHARACTER : trigger === '#' ? EntityType.LOCATION : EntityType.OBJECT;\n const filtered = entities.filter(ent =>\n ent.type === targetType &&\n ent.name.toLowerCase().includes(query)\n );\n\n setActiveSuggestion({\n active: true,\n trigger,\n query,\n nodeId,\n field,\n cursorIndex: cursor,\n selectedIndex: 0,\n filteredEntities: filtered\n });\n } else {\n setActiveSuggestion(null);\n }\n }, [updateNode, entities]);\n\n const insertEntity = (entity: Entity) => {\n if (!activeSuggestion) return;\n const { nodeId, field, trigger, query } = activeSuggestion;\n const node = internalNodesRef.current.find(n => n.id === nodeId);\n if (!node) return;\n const currentText = node[field] as string;\n const cursor = activeSuggestion.cursorIndex;\n const insertionLength = trigger.length + query.length;\n const startIdx = cursor - insertionLength;\n if (startIdx < 0) return;\n const before = currentText.slice(0, startIdx);\n const after = currentText.slice(cursor);\n const isDialogue = node.type === 'dialogue' && activeSuggestion.trigger === '@';\n const suffix = isDialogue ? \": \" : \" \";\n updateNode(nodeId, { [field]: before + entity.name + suffix + after });\n setActiveSuggestion(null);\n };\n\n const handleKeyDownInInput = useCallback((e: React.KeyboardEvent, nodeId: string) => {\n if (activeSuggestion && activeSuggestion.nodeId === nodeId) {\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex + 1) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex - 1 + prev.filteredEntities.length) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'Tab' || e.key === 'Enter') {\n e.preventDefault();\n if (activeSuggestion.filteredEntities.length > 0) {\n insertEntity(activeSuggestion.filteredEntities[activeSuggestion.selectedIndex]);\n } else {\n setActiveSuggestion(null);\n }\n return;\n } else if (e.key === 'Escape') {\n setActiveSuggestion(null);\n return;\n }\n }\n }, [activeSuggestion, entities, updateNode]);\n\n const handleNodeMouseDown = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n setActiveColorPickerId(null);\n\n setSelectedNodeIds(prevSelected => {\n const newSelection = new Set(prevSelected);\n if (e.ctrlKey) {\n if (newSelection.has(nodeId)) newSelection.delete(nodeId);\n else newSelection.add(nodeId);\n } else {\n if (!newSelection.has(nodeId)) {\n newSelection.clear();\n newSelection.add(nodeId);\n }\n }\n const finalDragIds = e.ctrlKey ? newSelection : (newSelection.has(nodeId) ? newSelection : new Set([nodeId]));\n const startPositions = new Map();\n internalNodesRef.current.forEach(n => {\n if (finalDragIds.has(n.id)) {\n startPositions.set(n.id, { x: n.x, y: n.y });\n }\n });\n setDragStartPositions(startPositions);\n return newSelection;\n });\n\n setIsDragging(true);\n setDragStartMouse({ x: e.clientX, y: e.clientY });\n pushHistory();\n }, [pushHistory]);\n\n const startConnection = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n pushHistory();\n setConnectingNodeId(nodeId);\n }, [pushHistory]);\n\n const finishConnection = useCallback((e: React.MouseEvent, targetId: string) => {\n if (connectingNodeId && connectingNodeId !== targetId) {\n const exists = data.connections.some(c => c.source === connectingNodeId && c.target === targetId);\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetId\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn]\n });\n }\n }\n setConnectingNodeId(null);\n }, [data, onUpdate, connectingNodeId]);\n\n const handleToggleColorPicker = useCallback((id: string) => {\n setActiveColorPickerId(prev => prev === id ? null : id);\n }, []);\n\n const handleSaveColor = useCallback((color: string) => {\n setSavedColors(prev => !prev.includes(color) ? [...prev, color] : prev);\n }, []);\n\n const handleMouseMove = (e: React.MouseEvent) => {\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const clientX = e.clientX;\n const clientY = e.clientY;\n\n if (isPanning && containerRef.current) {\n const dx = clientX - panStart.x;\n const dy = clientY - panStart.y;\n containerRef.current.scrollLeft = scrollStart.x - dx;\n containerRef.current.scrollTop = scrollStart.y - dy;\n return;\n }\n\n // Only update mousePos when connecting (drawing a line), not during node drag\n if (connectingNodeId) {\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n setMousePos({ x: clientX - rect.left + scrollLeft, y: clientY - rect.top + scrollTop });\n }\n\n if (isDragging) {\n if (rafRef.current) return;\n rafRef.current = requestAnimationFrame(() => {\n const dx = clientX - dragStartMouse.x;\n const dy = clientY - dragStartMouse.y;\n setInternalNodes(prevNodes => prevNodes.map(node => {\n const startPos = dragStartPositions.get(node.id);\n if (startPos) return { ...node, x: startPos.x + dx, y: startPos.y + dy };\n return node;\n }));\n rafRef.current = null;\n });\n }\n };\n\n const handleMouseUp = (e: React.MouseEvent) => {\n if (rafRef.current) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n if (isDragging) onUpdate({ ...data, nodes: internalNodesRef.current });\n\n // Hit-test: if connecting, check if mouse is over any node\n if (connectingNodeId && containerRef.current) {\n const rect = containerRef.current.getBoundingClientRect();\n const scrollLeft = containerRef.current.scrollLeft;\n const scrollTop = containerRef.current.scrollTop;\n const mx = e.clientX - rect.left + scrollLeft;\n const my = e.clientY - rect.top + scrollTop;\n\n const targetNode = internalNodesRef.current.find(n =>\n n.id !== connectingNodeId &&\n mx >= n.x && mx <= n.x + CARD_WIDTH &&\n my >= n.y && my <= n.y + CARD_HEIGHT\n );\n\n if (targetNode) {\n const exists = data.connections.some(\n c => c.source === connectingNodeId && c.target === targetNode.id\n );\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetNode.id,\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn],\n });\n }\n }\n }\n\n setIsDragging(false);\n setIsPanning(false);\n setConnectingNodeId(null);\n };\n\n const handleCanvasMouseDown = (e: React.MouseEvent) => {\n if (!e.ctrlKey) setSelectedNodeIds(new Set());\n setActiveSuggestion(null);\n setActiveColorPickerId(null);\n setEditingNodeId(null);\n setIsPanning(true);\n setPanStart({ x: e.clientX, y: e.clientY });\n if (containerRef.current) {\n setScrollStart({ x: containerRef.current.scrollLeft, y: containerRef.current.scrollTop });\n }\n };\n\n const handleCanvasDoubleClick = (e: React.MouseEvent) => {\n e.preventDefault();\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const x = e.clientX - rect.left + (containerRef.current?.scrollLeft || 0) - CARD_WIDTH / 2;\n const y = e.clientY - rect.top + (containerRef.current?.scrollTop || 0) - CARD_HEIGHT / 2;\n pushHistory();\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x,\n y,\n title: 'Nouvel événement',\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n const handleDeleteSelected = () => {\n if (selectedNodeIds.size === 0) return;\n pushHistory();\n const newNodes = internalNodes.filter(n => !selectedNodeIds.has(n.id));\n const newConnections = data.connections.filter(c => !selectedNodeIds.has(c.source) && !selectedNodeIds.has(c.target));\n onUpdate({ nodes: newNodes, connections: newConnections });\n setSelectedNodeIds(new Set());\n };\n\n const handleAddNodeCenter = () => {\n pushHistory();\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n const clientWidth = containerRef.current?.clientWidth || 800;\n const clientHeight = containerRef.current?.clientHeight || 600;\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2,\n y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2,\n title: 'Nouveau point d\\'intrigue',\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n return (\n
\n
\n
\n \n
\n
\n {selectedNodeIds.size > 0 ? `${selectedNodeIds.size} SÉLECTIONNÉ(S)` : 'Double-cliquez sur le canvas pour créer'}\n
\n
\n
\n \n
\n
\n\n \n \n {data.connections.map(conn => {\n const source = internalNodes.find(n => n.id === conn.source);\n const target = internalNodes.find(n => n.id === conn.target);\n if (!source || !target) return null;\n const startX = source.x + CARD_WIDTH / 2;\n const startY = source.y + CARD_HEIGHT / 2;\n const endX = target.x + CARD_WIDTH / 2;\n const endY = target.y + CARD_HEIGHT / 2;\n return (\n \n );\n })}\n {connectingNodeId && (\n n.id === connectingNodeId)?.x || 0) + CARD_WIDTH / 2}\n y1={(internalNodes.find(n => n.id === connectingNodeId)?.y || 0) + CARD_HEIGHT / 2}\n x2={mousePos.x} y2={mousePos.y}\n stroke=\"#6366f1\" strokeWidth=\"2\" strokeDasharray=\"5,5\" markerEnd=\"url(#arrowhead-blue)\"\n />\n )}\n \n \n \n \n \n \n \n \n \n\n {internalNodes.map(node => (\n \n ))}\n
\n\n {activeSuggestion && (\n
\n
\n Insérer {activeSuggestion.trigger === '@' ? 'Personnage' : activeSuggestion.trigger === '#' ? 'Lieu' : 'Objet'}\n
\n
\n {activeSuggestion.filteredEntities.length > 0 ? (\n activeSuggestion.filteredEntities.map((ent, idx) => (\n insertEntity(ent)}\n >\n {ent.name}\n \n ))\n ) : (\n
Aucun résultat
\n )}\n
\n
\n )}\n
\n );\n};\n\nexport default StoryWorkflow;\n"],"names":[],"mappings":";;;;;AAGA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AALA;;;;;AAcA,MAAM,aAAa;AACnB,MAAM,cAAc;AAEpB,MAAM,iBAAiB;IACnB;IACA;IACA;IACA;IACA;IACA;CACH;AAED,MAAM,sBAAsB,CAAC,MAAc,UAAoB;IAC3D,IAAI,CAAC,MAAM,qBAAO,0RAAC;QAAK,WAAU;kBAAwB;;;;;;IAE1D,MAAM,QAAsC;QAAC;KAAK;IAElD,SAAS,OAAO,CAAC,CAAA;QACb,IAAI,CAAC,OAAO,IAAI,EAAE;QAClB,MAAM,QAAQ,IAAI,OAAO,CAAC,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE;QAE7C,IAAK,IAAI,IA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Y,gBAAgB,GAAG,CAAC,KAAK,EAAE;4BACvC,WAAW,kBAAkB,KAAK,EAAE;4BACpC,YAAY;4BACZ,qBAAqB;4BACrB,UAAU;4BACV,aAAa;4BACb,aAAa;4BACb,WAAW;4BACX,mBAAmB;4BACnB,UAAU;4BACV,cAAc;4BACd,qBAAqB;4BACrB,aAAa;4BACb,oBAAoB;4BACpB,cAAc;4BACd,0BAA0B;4BAC1B,kBAAkB;2BAlBb,KAAK,EAAE;;;;;;;;;;;YAuBvB,kCACG,0RAAC;gBAAI,WAAU;gBAAmG,OAAO;oBAAE,MAAM;oBAAO,KAAK;oBAAO,WAAW;gBAAwB;;kCACnL,0RAAC;wBAAI,WAAU;;4BAAsF;4BACxF,iBAAiB,OAAO,KAAK,MAAM,eAAe,iBAAiB,OAAO,KAAK,MAAM,SAAS;;;;;;;kCAE3G,0RAAC;wBAAI,WAAU;kCACV,iBAAiB,gBAAgB,CAAC,MAAM,GAAG,IACxC,iBAAiB,gBAAgB,CAAC,GAAG,CAAC,CAAC,KAAK,oBACxC,0RAAC;gCAEG,WAAW,CAAC,gGAAgG,EAAE,QAAQ,iBAAiB,aAAa,GAAG,2CAA2C,kBAAkB;gCACpN,SAAS,IAAM,aAAa;0CAE3B,IAAI,IAAI;+BAJJ,IAAI,EAAE;;;;0FAQnB,0RAAC;4BAAI,WAAU;sCAAgD;;;;;;;;;;;;;;;;;;;;;;;AAO3F;uCAEe"}}, - {"offset": {"line": 1086, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/workflow/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport StoryWorkflow from '@/components/StoryWorkflow';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function WorkflowPage() {\r\n const { project, projectId, updateProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject({ workflow })}\r\n entities={project.entities || []}\r\n onNavigateToEntity={() => router.push(`/project/${projectId}/world`)}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AAJA;;;;;AAMe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,IAAA,qMAAiB;IAC/D,MAAM,SAAS,IAAA,2LAAS;IAExB,qBACI,0RAAC,0LAAa;QACV,MAAM,QAAQ,QAAQ,IAAI;YAAE,OAAO,EAAE;YAAE,aAAa,EAAE;QAAC;QACvD,UAAU,CAAC,WAAa,cAAc;gBAAE;YAAS;QACjD,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,oBAAoB,IAAM,OAAO,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,MAAM,CAAC;;;;;;AAG/E"}}, - {"offset": {"line": 1122, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/arrow-right.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAiB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CAChD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,KAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1167, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/palette.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/palette.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z',\n key: 'e79jfc',\n },\n ],\n ['circle', { cx: '13.5', cy: '6.5', r: '.5', fill: 'currentColor', key: '1okk4w' }],\n ['circle', { cx: '17.5', cy: '10.5', r: '.5', fill: 'currentColor', key: 'f64h9f' }],\n ['circle', { cx: '6.5', cy: '12.5', r: '.5', fill: 'currentColor', key: 'qy21gx' }],\n ['circle', { cx: '8.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'fotxhn' }],\n];\n\n/**\n * @component @name Palette\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMjJhMSAxIDAgMCAxIDAtMjAgMTAgOSAwIDAgMSAxMCA5IDUgNSAwIDAgMS01IDVoLTIuMjVhMS43NSAxLjc1IDAgMCAwLTEuNCAyLjhsLjMuNGExLjc1IDEuNzUgMCAwIDEtMS40IDIuOHoiIC8+CiAgPGNpcmNsZSBjeD0iMTMuNSIgY3k9IjYuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSIxNy41IiBjeT0iMTAuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSI2LjUiIGN5PSIxMi41IiByPSIuNSIgZmlsbD0iY3VycmVudENvbG9yIiAvPgogIDxjaXJjbGUgY3g9IjguNSIgY3k9IjcuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/palette\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Palette = createLucideIcon('palette', __iconNode);\n\nexport default Palette;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CA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A,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/StoryWorkflow.tsx"],"sourcesContent":["'use client';\n\n\nimport React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';\nimport { WorkflowData, PlotNode, PlotConnection, PlotNodeType, Entity, EntityType } from '@/lib/types';\nimport { Plus, Trash2, ArrowRight, BookOpen, MessageCircle, Zap, Palette, Save, Link2 } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\n\ninterface StoryWorkflowProps {\n data: WorkflowData;\n onUpdate: (data: WorkflowData) => void;\n entities: Entity[];\n onNavigateToEntity: (entityId: string) => void;\n}\n\nconst CARD_WIDTH = 260;\nconst CARD_HEIGHT = 220;\n\nconst INITIAL_COLORS = [\n '#ffffff', // White\n '#dbeafe', // Blue\n '#dcfce7', // Green\n '#fef9c3', // Yellow\n '#fee2e2', // Red\n '#f3e8ff', // Purple\n];\n\nconst renderTextWithLinks = (text: string, entities: Entity[], onNavigate: (id: string) => void, t: any) => {\n if (!text) return {t('sw.desc_ph')};\n\n const parts: (string | React.ReactNode)[] = [text];\n\n entities.forEach(entity => {\n if (!entity.name) return;\n const regex = new RegExp(`(${entity.name})`, 'gi');\n\n for (let i = 0; i < parts.length; i++) {\n const part = parts[i];\n if (typeof part === 'string') {\n const split = part.split(regex);\n if (split.length > 1) {\n const newParts = split.map((s, idx) => {\n if (s.toLowerCase() === entity.name.toLowerCase()) {\n return (\n { e.stopPropagation(); onNavigate(entity.id); }}\n className=\"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all\"\n title={t('sw.see_sheet') + entity.name}\n >\n {s}\n \n );\n }\n return s;\n });\n parts.splice(i, 1, ...newParts);\n i += newParts.length - 1;\n }\n }\n }\n });\n\n return <>{parts};\n};\n\ninterface StoryNodeProps {\n node: PlotNode;\n isSelected: boolean;\n isEditing: boolean;\n isDragging: boolean;\n activeColorPickerId: string | null;\n entities: Entity[];\n savedColors: string[];\n\n onMouseDown: (e: React.MouseEvent, id: string) => void;\n onMouseUp: (e: React.MouseEvent, id: string) => void;\n onStartConnection: (e: React.MouseEvent, id: string) => void;\n onUpdate: (id: string, updates: Partial) => void;\n onSetEditing: (id: string | null) => void;\n onToggleColorPicker: (id: string) => void;\n onSaveColor: (color: string) => void;\n onNavigateToEntity: (id: string) => void;\n\n onInputFocus: (e: React.FocusEvent) => void;\n onInputCheckAutocomplete: (e: React.ChangeEvent, id: string, field: 'title' | 'description') => void;\n onKeyDownInInput: (e: React.KeyboardEvent, id: string) => void;\n}\n\nconst StoryNode = React.memo(({\n node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors,\n onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing,\n onToggleColorPicker, onSaveColor, onNavigateToEntity,\n onInputFocus, onInputCheckAutocomplete, onKeyDownInInput\n}: StoryNodeProps) => {\n const { t } = useLanguage();\n const [showTypePicker, setShowTypePicker] = useState(false);\n\n const richDescription = useMemo(() => {\n return renderTextWithLinks(node.description, entities, onNavigateToEntity, t);\n }, [node.description, entities, onNavigateToEntity, t]);\n\n return (\n onMouseDown(e, node.id)}\n onMouseUp={(e) => onMouseUp(e, node.id)}\n onDoubleClick={(e) => e.stopPropagation()}\n onMouseLeave={() => setShowTypePicker(false)}\n >\n
\n\n
\n
\n {isEditing ? (\n onUpdate(node.id, { title: e.target.value })}\n onFocus={onInputFocus}\n autoFocus\n />\n ) : (\n onSetEditing(node.id)}\n >\n {node.title}\n
\n )}\n\n { e.stopPropagation(); onToggleColorPicker(node.id); }}\n className=\"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0\"\n >\n \n \n\n {activeColorPickerId === node.id && (\n
e.stopPropagation()}>\n
\n {savedColors.map(color => (\n onUpdate(node.id, { color })}\n className={`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${node.color === color ? 'ring-2 ring-offset-1 ring-indigo-400' : ''}`}\n style={{ backgroundColor: color }}\n />\n ))}\n
\n
\n
\n onUpdate(node.id, { color: e.target.value })}\n />\n
\n onSaveColor(node.color || '#ffffff')}\n className=\"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right\"\n >\n {t('sw.save_color')}\n \n
\n
\n )}\n
\n\n
\n {isEditing ? (\n onInputCheckAutocomplete(e, node.id, 'description')}\n onKeyDown={(e) => onKeyDownInInput(e, node.id)}\n onFocus={onInputFocus}\n onBlur={() => onSetEditing(null)}\n />\n ) : (\n onSetEditing(node.id)}\n >\n {richDescription}\n
\n )}\n
\n\n
\n {showTypePicker && (\n
e.stopPropagation()}>\n { e.stopPropagation(); onUpdate(node.id, { type: 'story' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`}\n title={t('sw.type_story')}\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'action' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`}\n title={t('sw.type_action')}\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'dialogue' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`}\n title={t('sw.type_dialogue')}\n >\n \n \n
\n )}\n\n { e.stopPropagation(); setShowTypePicker(!showTypePicker); }}\n >\n {node.type === 'story' && }\n {node.type === 'action' && }\n {node.type === 'dialogue' && }\n \n
\n \n\n onStartConnection(e, node.id)}\n >\n \n \n \n );\n}, (prev, next) => {\n return (\n prev.node === next.node &&\n prev.isSelected === next.isSelected &&\n prev.isEditing === next.isEditing &&\n prev.isDragging === next.isDragging &&\n prev.activeColorPickerId === next.activeColorPickerId &&\n prev.entities === next.entities\n );\n});\n\ninterface SuggestionState {\n active: boolean;\n trigger: string;\n query: string;\n nodeId: string;\n field: 'title' | 'description';\n cursorIndex: number;\n selectedIndex: number;\n filteredEntities: Entity[];\n}\n\nconst StoryWorkflow: React.FC = ({ data, onUpdate, entities, onNavigateToEntity }) => {\n const { t } = useLanguage();\n const containerRef = useRef(null);\n const rafRef = useRef(null);\n\n const [internalNodes, setInternalNodes] = useState(data.nodes);\n const internalNodesRef = useRef(internalNodes);\n useEffect(() => { internalNodesRef.current = internalNodes; }, [internalNodes]);\n\n useEffect(() => {\n setInternalNodes(data.nodes);\n }, [data.nodes]);\n\n useEffect(() => {\n return () => {\n if (rafRef.current) cancelAnimationFrame(rafRef.current);\n };\n }, []);\n\n const [activeSuggestion, setActiveSuggestion] = useState(null);\n const [selectedNodeIds, setSelectedNodeIds] = useState>(new Set());\n const [savedColors, setSavedColors] = useState(INITIAL_COLORS);\n const [activeColorPickerId, setActiveColorPickerId] = useState(null);\n const [editingNodeId, setEditingNodeId] = useState(null);\n const [history, setHistory] = useState([]);\n\n const [isDragging, setIsDragging] = useState(false);\n const [dragStartPositions, setDragStartPositions] = useState>(new Map());\n const [dragStartMouse, setDragStartMouse] = useState({ x: 0, y: 0 });\n\n const [connectingNodeId, setConnectingNodeId] = useState(null);\n const [mousePos, setMousePos] = useState({ x: 0, y: 0 });\n\n const [isPanning, setIsPanning] = useState(false);\n const [panStart, setPanStart] = useState({ x: 0, y: 0 });\n const [scrollStart, setScrollStart] = useState({ x: 0, y: 0 });\n\n const pushHistory = useCallback(() => {\n setHistory(prev => {\n const newHistory = [...prev, data];\n if (newHistory.length > 20) return newHistory.slice(newHistory.length - 20);\n return newHistory;\n });\n }, [data]);\n\n const updateNode = useCallback((id: string, updates: Partial) => {\n const currentNodes = internalNodesRef.current;\n onUpdate({\n ...data,\n nodes: currentNodes.map(n => n.id === id ? { ...n, ...updates } : n)\n });\n }, [data, onUpdate]);\n\n const handleInputFocus = useCallback((e: React.FocusEvent) => {\n e.stopPropagation();\n }, []);\n\n const handleInputWithAutocomplete = useCallback((\n e: React.ChangeEvent,\n nodeId: string,\n field: 'title' | 'description'\n ) => {\n const val = e.target.value;\n updateNode(nodeId, { [field]: val });\n\n const cursor = e.target.selectionStart || 0;\n const textBeforeCursor = val.slice(0, cursor);\n const match = textBeforeCursor.match(/([@#^])([^@#^\\s]*)$/);\n\n if (match) {\n const trigger = match[1];\n const query = match[2].toLowerCase();\n const targetType = trigger === '@' ? EntityType.CHARACTER : trigger === '#' ? EntityType.LOCATION : EntityType.OBJECT;\n const filtered = entities.filter(ent =>\n ent.type === targetType &&\n ent.name.toLowerCase().includes(query)\n );\n\n setActiveSuggestion({\n active: true,\n trigger,\n query,\n nodeId,\n field,\n cursorIndex: cursor,\n selectedIndex: 0,\n filteredEntities: filtered\n });\n } else {\n setActiveSuggestion(null);\n }\n }, [updateNode, entities]);\n\n const insertEntity = (entity: Entity) => {\n if (!activeSuggestion) return;\n const { nodeId, field, trigger, query } = activeSuggestion;\n const node = internalNodesRef.current.find(n => n.id === nodeId);\n if (!node) return;\n const currentText = node[field] as string;\n const cursor = activeSuggestion.cursorIndex;\n const insertionLength = trigger.length + query.length;\n const startIdx = cursor - insertionLength;\n if (startIdx < 0) return;\n const before = currentText.slice(0, startIdx);\n const after = currentText.slice(cursor);\n const isDialogue = node.type === 'dialogue' && activeSuggestion.trigger === '@';\n const suffix = isDialogue ? \": \" : \" \";\n updateNode(nodeId, { [field]: before + entity.name + suffix + after });\n setActiveSuggestion(null);\n };\n\n const handleKeyDownInInput = useCallback((e: React.KeyboardEvent, nodeId: string) => {\n if (activeSuggestion && activeSuggestion.nodeId === nodeId) {\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex + 1) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex - 1 + prev.filteredEntities.length) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'Tab' || e.key === 'Enter') {\n e.preventDefault();\n if (activeSuggestion.filteredEntities.length > 0) {\n insertEntity(activeSuggestion.filteredEntities[activeSuggestion.selectedIndex]);\n } else {\n setActiveSuggestion(null);\n }\n return;\n } else if (e.key === 'Escape') {\n setActiveSuggestion(null);\n return;\n }\n }\n }, [activeSuggestion, entities, updateNode]);\n\n const handleNodeMouseDown = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n setActiveColorPickerId(null);\n\n setSelectedNodeIds(prevSelected => {\n const newSelection = new Set(prevSelected);\n if (e.ctrlKey) {\n if (newSelection.has(nodeId)) newSelection.delete(nodeId);\n else newSelection.add(nodeId);\n } else {\n if (!newSelection.has(nodeId)) {\n newSelection.clear();\n newSelection.add(nodeId);\n }\n }\n const finalDragIds = e.ctrlKey ? newSelection : (newSelection.has(nodeId) ? newSelection : new Set([nodeId]));\n const startPositions = new Map();\n internalNodesRef.current.forEach(n => {\n if (finalDragIds.has(n.id)) {\n startPositions.set(n.id, { x: n.x, y: n.y });\n }\n });\n setDragStartPositions(startPositions);\n return newSelection;\n });\n\n setIsDragging(true);\n setDragStartMouse({ x: e.clientX, y: e.clientY });\n pushHistory();\n }, [pushHistory]);\n\n const startConnection = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n pushHistory();\n setConnectingNodeId(nodeId);\n }, [pushHistory]);\n\n const finishConnection = useCallback((e: React.MouseEvent, targetId: string) => {\n if (connectingNodeId && connectingNodeId !== targetId) {\n const exists = data.connections.some(c => c.source === connectingNodeId && c.target === targetId);\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetId\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn]\n });\n }\n }\n setConnectingNodeId(null);\n }, [data, onUpdate, connectingNodeId]);\n\n const handleToggleColorPicker = useCallback((id: string) => {\n setActiveColorPickerId(prev => prev === id ? null : id);\n }, []);\n\n const handleSaveColor = useCallback((color: string) => {\n setSavedColors(prev => !prev.includes(color) ? [...prev, color] : prev);\n }, []);\n\n const handleMouseMove = (e: React.MouseEvent) => {\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const clientX = e.clientX;\n const clientY = e.clientY;\n\n if (isPanning && containerRef.current) {\n const dx = clientX - panStart.x;\n const dy = clientY - panStart.y;\n containerRef.current.scrollLeft = scrollStart.x - dx;\n containerRef.current.scrollTop = scrollStart.y - dy;\n return;\n }\n\n // Only update mousePos when connecting (drawing a line), not during node drag\n if (connectingNodeId) {\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n setMousePos({ x: clientX - rect.left + scrollLeft, y: clientY - rect.top + scrollTop });\n }\n\n if (isDragging) {\n if (rafRef.current) return;\n rafRef.current = requestAnimationFrame(() => {\n const dx = clientX - dragStartMouse.x;\n const dy = clientY - dragStartMouse.y;\n setInternalNodes(prevNodes => prevNodes.map(node => {\n const startPos = dragStartPositions.get(node.id);\n if (startPos) return { ...node, x: startPos.x + dx, y: startPos.y + dy };\n return node;\n }));\n rafRef.current = null;\n });\n }\n };\n\n const handleMouseUp = (e: React.MouseEvent) => {\n if (rafRef.current) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n if (isDragging) onUpdate({ ...data, nodes: internalNodesRef.current });\n\n // Hit-test: if connecting, check if mouse is over any node\n if (connectingNodeId && containerRef.current) {\n const rect = containerRef.current.getBoundingClientRect();\n const scrollLeft = containerRef.current.scrollLeft;\n const scrollTop = containerRef.current.scrollTop;\n const mx = e.clientX - rect.left + scrollLeft;\n const my = e.clientY - rect.top + scrollTop;\n\n const targetNode = internalNodesRef.current.find(n =>\n n.id !== connectingNodeId &&\n mx >= n.x && mx <= n.x + CARD_WIDTH &&\n my >= n.y && my <= n.y + CARD_HEIGHT\n );\n\n if (targetNode) {\n const exists = data.connections.some(\n c => c.source === connectingNodeId && c.target === targetNode.id\n );\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetNode.id,\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn],\n });\n }\n }\n }\n\n setIsDragging(false);\n setIsPanning(false);\n setConnectingNodeId(null);\n };\n\n const handleCanvasMouseDown = (e: React.MouseEvent) => {\n if (!e.ctrlKey) setSelectedNodeIds(new Set());\n setActiveSuggestion(null);\n setActiveColorPickerId(null);\n setEditingNodeId(null);\n setIsPanning(true);\n setPanStart({ x: e.clientX, y: e.clientY });\n if (containerRef.current) {\n setScrollStart({ x: containerRef.current.scrollLeft, y: containerRef.current.scrollTop });\n }\n };\n\n const handleCanvasDoubleClick = (e: React.MouseEvent) => {\n e.preventDefault();\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const x = e.clientX - rect.left + (containerRef.current?.scrollLeft || 0) - CARD_WIDTH / 2;\n const y = e.clientY - rect.top + (containerRef.current?.scrollTop || 0) - CARD_HEIGHT / 2;\n pushHistory();\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x,\n y,\n title: t('sw.new_event'),\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n const handleDeleteSelected = () => {\n if (selectedNodeIds.size === 0) return;\n pushHistory();\n const newNodes = internalNodes.filter(n => !selectedNodeIds.has(n.id));\n const newConnections = data.connections.filter(c => !selectedNodeIds.has(c.source) && !selectedNodeIds.has(c.target));\n onUpdate({ nodes: newNodes, connections: newConnections });\n setSelectedNodeIds(new Set());\n };\n\n const handleAddNodeCenter = () => {\n pushHistory();\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n const clientWidth = containerRef.current?.clientWidth || 800;\n const clientHeight = containerRef.current?.clientHeight || 600;\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2,\n y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2,\n title: t('sw.new_plot_point'),\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n return (\n
\n
\n
\n \n
\n
\n {selectedNodeIds.size > 0 ? `${selectedNodeIds.size} ${t('sw.selected')}` : t('sw.double_click_create')}\n
\n
\n
\n \n
\n
\n\n \n \n {data.connections.map(conn => {\n const source = internalNodes.find(n => n.id === conn.source);\n const target = internalNodes.find(n => n.id === conn.target);\n if (!source || !target) return null;\n const startX = source.x + CARD_WIDTH / 2;\n const startY = source.y + CARD_HEIGHT / 2;\n const endX = target.x + CARD_WIDTH / 2;\n const endY = target.y + CARD_HEIGHT / 2;\n return (\n \n );\n })}\n {connectingNodeId && (\n n.id === connectingNodeId)?.x || 0) + CARD_WIDTH / 2}\n y1={(internalNodes.find(n => n.id === connectingNodeId)?.y || 0) + CARD_HEIGHT / 2}\n x2={mousePos.x} y2={mousePos.y}\n stroke=\"#6366f1\" strokeWidth=\"2\" strokeDasharray=\"5,5\" markerEnd=\"url(#arrowhead-blue)\"\n />\n )}\n \n \n \n \n \n \n \n \n \n\n {internalNodes.map(node => (\n \n ))}\n
\n\n {activeSuggestion && (\n
\n
\n {activeSuggestion.trigger === '@' ? t('sw.insert_char') : activeSuggestion.trigger === '#' ? t('sw.insert_loc') : t('sw.insert_obj')}\n
\n
\n {activeSuggestion.filteredEntities.length > 0 ? (\n activeSuggestion.filteredEntities.map((ent, idx) => (\n insertEntity(ent)}\n >\n {ent.name}\n \n ))\n ) : (\n
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AiB,OAAO,KAAK,MAAM,EAAE,mBAAmB,EAAE;;;;;;kCAExH,0RAAC;wBAAI,WAAU;kCACV,iBAAiB,gBAAgB,CAAC,MAAM,GAAG,IACxC,iBAAiB,gBAAgB,CAAC,GAAG,CAAC,CAAC,KAAK,oBACxC,0RAAC;gCAEG,WAAW,CAAC,gGAAgG,EAAE,QAAQ,iBAAiB,aAAa,GAAG,2CAA2C,kBAAkB;gCACpN,SAAS,IAAM,aAAa;0CAE3B,IAAI,IAAI;+BAJJ,IAAI,EAAE;;;;0FAQnB,0RAAC;4BAAI,WAAU;sCAAiD,EAAE;;;;;;;;;;;;;;;;;;;;;;;AAO9F;uCAEe"}}, + {"offset": {"line": 1089, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/workflow/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport StoryWorkflow from '@/components/StoryWorkflow';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function WorkflowPage() {\r\n const { project, projectId, updateProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject({ workflow })}\r\n entities={project.entities || []}\r\n onNavigateToEntity={() => router.push(`/project/${projectId}/world`)}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AAJA;;;;;AAMe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,IAAA,qMAAiB;IAC/D,MAAM,SAAS,IAAA,2LAAS;IAExB,qBACI,0RAAC,0LAAa;QACV,MAAM,QAAQ,QAAQ,IAAI;YAAE,OAAO,EAAE;YAAE,aAAa,EAAE;QAAC;QACvD,UAAU,CAAC,WAAa,cAAc;gBAAE;YAAS;QACjD,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,oBAAoB,IAAM,OAAO,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,MAAM,CAAC;;;;;;AAG/E"}}, + {"offset": {"line": 1125, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/arrow-right.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAiB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CAChD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,KAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1170, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/palette.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/palette.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z',\n key: 'e79jfc',\n },\n ],\n ['circle', { cx: '13.5', cy: '6.5', r: '.5', fill: 'currentColor', key: '1okk4w' }],\n ['circle', { cx: '17.5', cy: '10.5', r: '.5', fill: 'currentColor', key: 'f64h9f' }],\n ['circle', { cx: '6.5', cy: '12.5', r: '.5', fill: 'currentColor', key: 'qy21gx' }],\n ['circle', { cx: '8.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'fotxhn' }],\n];\n\n/**\n * @component @name Palette\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMjJhMSAxIDAgMCAxIDAtMjAgMTAgOSAwIDAgMSAxMCA5IDUgNSAwIDAgMS01IDVoLTIuMjVhMS43NSAxLjc1IDAgMCAwLTEuNCAyLjhsLjMuNGExLjc1IDEuNzUgMCAwIDEtMS40IDIuOHoiIC8+CiAgPGNpcmNsZSBjeD0iMTMuNSIgY3k9IjYuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSIxNy41IiBjeT0iMTAuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSI2LjUiIGN5PSIxMi41IiByPSIuNSIgZmlsbD0iY3VycmVudENvbG9yIiAvPgogIDxjaXJjbGUgY3g9IjguNSIgY3k9IjcuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/palette\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Palette = createLucideIcon('palette', __iconNode);\n\nexport default Palette;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YACH,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA;KAET;IACA;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU,CAAA;YAAE,CAAA,CAAA,EAA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AAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAgB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAClF;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAO,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAO,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,cAAA,CAAA;YAAgB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACnF;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,OAAA,CAAA,CAAA,KAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] } \ No newline at end of file diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js index f4a659d..7b0f890 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js @@ -19,39 +19,42 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__proje var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$trash$2d$2$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Trash2$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/trash-2.js [app-ssr] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$pen$2d$line$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Edit3$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/pen-line.js [app-ssr] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$save$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Save$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/save.js [app-ssr] (ecmascript) "); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)"); 'use client'; ; ; ; +; const CATEGORIES = { plot: { - label: 'Intrigue', + labelKey: 'ideaboard.cat_plot', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$lightbulb$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Lightbulb$3e$__["Lightbulb"] }, character: { - label: 'Personnage', + labelKey: 'ideaboard.cat_char', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Search$3e$__["Search"] }, research: { - label: 'Recherche', + labelKey: 'ideaboard.cat_research', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Search$3e$__["Search"] }, todo: { - label: 'À faire', + labelKey: 'ideaboard.cat_todo', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$circle$2d$check$2d$big$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__CheckCircle$3e$__["CheckCircle"] } }; const STATUS_LABELS = { - todo: 'Idées / À faire', - progress: 'En cours', - done: 'Terminé / Validé' + todo: 'ideaboard.stat_todo', + progress: 'ideaboard.stat_prog', + done: 'ideaboard.stat_done' }; const MAX_DESCRIPTION_LENGTH = 500; const IdeaBoard = ({ ideas, onUpdate })=>{ + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useLanguage"])(); const [newIdeaTitle, setNewIdeaTitle] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(''); const [newIdeaCategory, setNewIdeaCategory] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])('plot'); // Drag and Drop State @@ -77,7 +80,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ setNewIdeaTitle(''); }; const handleDelete = (id)=>{ - if (confirm("Supprimer cette carte ?")) { + if (confirm(t('ideaboard.delete') + " ?")) { onUpdate(ideas.filter((i)=>i.id !== id)); if (editingItem?.id === id) setEditingItem(null); } @@ -148,7 +151,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ onDragOver: handleDragOver, onDrop: (e)=>handleDrop(e, status), onDoubleClick: ()=>openQuickAdd(status), - title: "Double-cliquez dans le vide pour ajouter une carte ici", + title: t('ideaboard.empty_desc'), children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: `p-4 border-b border-theme-border flex justify-between items-center transition-colors duration-300 ${status === 'todo' ? 'bg-theme-bg' : status === 'progress' ? 'bg-indigo-500/10' : 'bg-green-500/10'}`, @@ -160,14 +163,14 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 139, + lineNumber: 142, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), title ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 138, + lineNumber: 141, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -183,12 +186,12 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 147, + lineNumber: 150, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 143, + lineNumber: 146, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -196,19 +199,19 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: columnIdeas.length }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 149, + lineNumber: 152, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 142, + lineNumber: 145, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 134, + lineNumber: 137, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -230,10 +233,10 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: `text-[10px] uppercase font-bold px-2 py-0.5 rounded-full flex items-center gap-1 ${CATEGORIES[idea.category].color}`, - children: CATEGORIES[idea.category].label + children: t(CATEGORIES[idea.category].labelKey) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 174, + lineNumber: 177, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -249,12 +252,12 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 182, + lineNumber: 185, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 178, + lineNumber: 181, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -267,24 +270,24 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 188, + lineNumber: 191, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 184, + lineNumber: 187, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 177, + lineNumber: 180, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 173, + lineNumber: 176, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -295,7 +298,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: idea.title }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 195, + lineNumber: 197, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), idea.description && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { @@ -304,13 +307,13 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: truncatedDesc }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 197, + lineNumber: 199, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 194, + lineNumber: 196, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -323,15 +326,15 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 10 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 205, + lineNumber: 207, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)), " ", - new Date(idea.createdAt).toLocaleDateString() + new Date(idea.createdAt).toLocaleDateString('fr-FR') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 204, + lineNumber: 206, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$grip$2d$vertical$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__GripVertical$3e$__["GripVertical"], { @@ -339,19 +342,19 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "opacity-20" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 207, + lineNumber: 209, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 203, + lineNumber: 205, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, idea.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 163, + lineNumber: 166, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)); }), @@ -360,36 +363,36 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "mb-2", - children: "Vide" + children: t('ideaboard.empty') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 214, + lineNumber: 216, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-xs opacity-70", - children: "Double-cliquez pour ajouter" + children: t('ideaboard.empty_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 215, + lineNumber: 217, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 213, + lineNumber: 215, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 156, + lineNumber: 159, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 126, + lineNumber: 129, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)); }; @@ -408,28 +411,29 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "text-yellow-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 230, + lineNumber: 232, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), - " Boîte à Idées" + " ", + t('ideaboard.title') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 229, + lineNumber: 231, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-theme-muted text-sm", - children: "Organisez vos tâches, idées de scènes et recherches." + children: t('ideaboard.desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 232, + lineNumber: 234, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 228, + lineNumber: 230, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("form", { @@ -442,26 +446,26 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300", children: Object.entries(CATEGORIES).map(([key, val])=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: key, - children: val.label + children: t(val.labelKey) }, key, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 242, + lineNumber: 244, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 236, + lineNumber: 238, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: "text", value: newIdeaTitle, onChange: (e)=>setNewIdeaTitle(e.target.value), - placeholder: "Titre de la nouvelle idée...", + placeholder: t('ideaboard.add_idea'), className: "flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 245, + lineNumber: 247, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -472,60 +476,60 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 257, + lineNumber: 259, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 252, + lineNumber: 254, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 235, + lineNumber: 237, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 227, + lineNumber: 229, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex-1 grid grid-cols-1 md:grid-cols-3 gap-6 min-h-0", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(Column, { - title: "Idées / À faire", + title: t('ideaboard.stat_todo'), status: "todo", icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$circle$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Circle$3e$__["Circle"] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 264, + lineNumber: 266, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(Column, { - title: "En cours", + title: t('ideaboard.stat_prog'), status: "progress", icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$clock$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Clock$3e$__["Clock"] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 265, + lineNumber: 267, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(Column, { - title: "Terminé", + title: t('ideaboard.stat_done'), status: "done", icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$circle$2d$check$2d$big$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__CheckCircle$3e$__["CheckCircle"] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 266, + lineNumber: 268, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 263, + lineNumber: 265, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), editingItem && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -543,20 +547,20 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 275, + lineNumber: 277, columnNumber: 51 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$plus$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Plus$3e$__["Plus"], { size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 275, + lineNumber: 277, columnNumber: 73 }, ("TURBOPACK compile-time value", void 0)), - editingItem.id ? 'Éditer la carte' : 'Ajouter une carte' + editingItem.id ? t('ideaboard.edit_card') : t('ideaboard.add_card') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 274, + lineNumber: 276, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -566,18 +570,18 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 279, + lineNumber: 281, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 278, + lineNumber: 280, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 273, + lineNumber: 275, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -587,10 +591,10 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Titre" + children: t('ideaboard.title_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 285, + lineNumber: 287, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -601,27 +605,27 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ title: e.target.value }), className: "w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300", - placeholder: "Titre de la tâche ou de l'idée...", + placeholder: t('ideaboard.add_idea'), autoFocus: true }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 286, + lineNumber: 288, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 284, + lineNumber: 286, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Description" + children: t('ideaboard.desc_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 297, + lineNumber: 299, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -635,7 +639,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ placeholder: "Détails, notes, liens..." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 298, + lineNumber: 300, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -648,13 +652,13 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 305, + lineNumber: 307, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 296, + lineNumber: 298, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -664,10 +668,10 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Catégorie" + children: t('ideaboard.cat_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 314, + lineNumber: 316, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -679,31 +683,31 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300", children: Object.entries(CATEGORIES).map(([key, val])=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: key, - children: val.label + children: t(val.labelKey) }, key, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 321, + lineNumber: 323, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 315, + lineNumber: 317, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 313, + lineNumber: 315, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Statut" + children: t('ideaboard.stat_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 326, + lineNumber: 328, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -715,33 +719,33 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300", children: Object.entries(STATUS_LABELS).map(([key, val])=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: key, - children: val + children: t(val) }, key, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 333, + lineNumber: 335, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 327, + lineNumber: 329, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 325, + lineNumber: 327, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 312, + lineNumber: 314, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 283, + lineNumber: 285, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -750,19 +754,19 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ editingItem.id && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>handleDelete(editingItem.id), className: "mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2", - children: "Supprimer" + children: t('ideaboard.delete') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 342, + lineNumber: 344, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setEditingItem(null), className: "px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300", - children: "Annuler" + children: t('ideaboard.cancel') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 349, + lineNumber: 351, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -774,37 +778,38 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 360, + lineNumber: 362, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), - " Enregistrer" + " ", + t('ideaboard.save') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 355, + lineNumber: 357, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 340, + lineNumber: 342, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 272, + lineNumber: 274, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 271, + lineNumber: 273, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 224, + lineNumber: 226, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); }; diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js.map b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js.map index 0a140c8..e3530d3 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js.map +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_c8c5edb6._.js.map @@ -2,13 +2,13 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/IdeaBoard.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState } from 'react';\nimport { Idea, IdeaStatus, IdeaCategory } from '@/lib/types';\nimport { Plus, X, GripVertical, CheckCircle, Circle, Clock, Lightbulb, Search, Trash2, Edit3, Save } from 'lucide-react';\n\ninterface IdeaBoardProps {\n ideas: Idea[];\n onUpdate: (ideas: Idea[]) => void;\n}\n\nconst CATEGORIES: Record = {\n plot: { label: 'Intrigue', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: Lightbulb },\n character: { label: 'Personnage', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: Search },\n research: { label: 'Recherche', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: Search },\n todo: { label: 'À faire', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: CheckCircle },\n};\n\nconst STATUS_LABELS: Record = {\n todo: 'Idées / À faire',\n progress: 'En cours',\n done: 'Terminé / Validé'\n};\n\nconst MAX_DESCRIPTION_LENGTH = 500;\n\nconst IdeaBoard: React.FC = ({ ideas, onUpdate }) => {\n const [newIdeaTitle, setNewIdeaTitle] = useState('');\n const [newIdeaCategory, setNewIdeaCategory] = useState('plot');\n\n // Drag and Drop State\n const [draggedIdeaId, setDraggedIdeaId] = useState(null);\n\n // Modal State for Edit/Quick Add\n const [editingItem, setEditingItem] = useState | null>(null);\n\n // --- ACTIONS ---\n\n const handleAddIdea = (e: React.FormEvent) => {\n e.preventDefault();\n if (!newIdeaTitle.trim()) return;\n\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: newIdeaTitle,\n description: '',\n category: newIdeaCategory,\n status: 'todo',\n createdAt: Date.now()\n };\n\n onUpdate([...ideas, newIdea]);\n setNewIdeaTitle('');\n };\n\n const handleDelete = (id: string) => {\n if (confirm(\"Supprimer cette carte ?\")) {\n onUpdate(ideas.filter(i => i.id !== id));\n if (editingItem?.id === id) setEditingItem(null);\n }\n };\n\n const handleSaveEdit = () => {\n if (!editingItem || !editingItem.title?.trim()) return;\n\n if (editingItem.id) {\n // Update existing\n onUpdate(ideas.map(i => i.id === editingItem.id ? { ...i, ...editingItem } as Idea : i));\n } else {\n // Create new from modal\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: editingItem.title || '',\n description: editingItem.description || '',\n category: editingItem.category || 'plot',\n status: editingItem.status || 'todo',\n createdAt: Date.now()\n };\n onUpdate([...ideas, newIdea]);\n }\n setEditingItem(null);\n };\n\n const openQuickAdd = (status: IdeaStatus) => {\n setEditingItem({\n title: '',\n description: '',\n category: 'plot',\n status: status\n });\n };\n\n const openEdit = (idea: Idea) => {\n setEditingItem({ ...idea });\n };\n\n // --- DRAG HANDLERS ---\n\n const handleDragStart = (e: React.DragEvent, id: string) => {\n setDraggedIdeaId(id);\n e.dataTransfer.effectAllowed = 'move';\n };\n\n const handleDrop = (e: React.DragEvent, status: IdeaStatus) => {\n e.preventDefault();\n if (draggedIdeaId) {\n const updatedIdeas = ideas.map(idea =>\n idea.id === draggedIdeaId ? { ...idea, status } : idea\n );\n onUpdate(updatedIdeas);\n setDraggedIdeaId(null);\n }\n };\n\n const handleDragOver = (e: React.DragEvent) => {\n e.preventDefault();\n e.dataTransfer.dropEffect = 'move';\n };\n\n // --- RENDERERS ---\n\n const Column = ({ title, status, icon: Icon }: { title: string, status: IdeaStatus, icon: any }) => {\n const columnIdeas = ideas.filter(i => i.status === status);\n\n return (\n handleDrop(e, status)}\n onDoubleClick={() => openQuickAdd(status)}\n title=\"Double-cliquez dans le vide pour ajouter une carte ici\"\n >\n {/* Column Header */}\n
\n
\n \n {title}\n
\n
\n { e.stopPropagation(); openQuickAdd(status); }}\n className=\"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors\"\n >\n \n \n \n {columnIdeas.length}\n \n
\n
\n\n {/* Column Body */}\n
\n {columnIdeas.map(idea => {\n const truncatedDesc = idea.description.length > 300\n ? idea.description.substring(0, 300) + '...'\n : idea.description;\n\n return (\n handleDragStart(e, idea.id)}\n onDoubleClick={(e) => {\n e.stopPropagation(); // Prevent column double-click\n openEdit(idea);\n }}\n className=\"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200\"\n >\n
\n \n {CATEGORIES[idea.category].label}\n \n
\n { e.stopPropagation(); openEdit(idea); }}\n className=\"text-slate-300 hover:text-blue-500\"\n >\n \n \n { e.stopPropagation(); handleDelete(idea.id); }}\n className=\"text-slate-300 hover:text-red-500\"\n >\n \n \n
\n
\n\n {/* CARD CONTENT */}\n
\n

{idea.title}

\n {idea.description && (\n

300 ? \"Description tronquée (voir détail)\" : undefined}>\n {truncatedDesc}\n

\n )}\n
\n\n
\n \n {new Date(idea.createdAt).toLocaleDateString()}\n \n \n
\n
\n );\n })}\n {columnIdeas.length === 0 && (\n
\n Vide\n Double-cliquez pour ajouter\n
\n )}\n \n \n );\n };\n\n return (\n
\n\n {/* Header & Add Form (Top Bar) */}\n
\n
\n

\n Boîte à Idées\n

\n

Organisez vos tâches, idées de scènes et recherches.

\n
\n\n
\n setNewIdeaCategory(e.target.value as IdeaCategory)}\n className=\"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n setNewIdeaTitle(e.target.value)}\n placeholder=\"Titre de la nouvelle idée...\"\n className=\"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300\"\n />\n \n \n \n \n
\n\n {/* Kanban Board */}\n
\n \n \n \n
\n\n {/* EDIT / QUICK ADD MODAL */}\n {editingItem && (\n
\n
\n
\n

\n {editingItem.id ? : }\n {editingItem.id ? 'Éditer la carte' : 'Ajouter une carte'}\n

\n \n
\n\n
\n
\n \n setEditingItem({ ...editingItem, title: e.target.value })}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300\"\n placeholder=\"Titre de la tâche ou de l'idée...\"\n autoFocus\n />\n
\n\n
\n \n setEditingItem({ ...editingItem, description: e.target.value })}\n maxLength={MAX_DESCRIPTION_LENGTH}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300\"\n placeholder=\"Détails, notes, liens...\"\n />\n
= MAX_DESCRIPTION_LENGTH ? 'text-red-500 font-bold' :\n (editingItem.description?.length || 0) > MAX_DESCRIPTION_LENGTH * 0.9 ? 'text-orange-500' : 'text-slate-400'\n }`}>\n {editingItem.description?.length || 0} / {MAX_DESCRIPTION_LENGTH} caractères\n
\n
\n\n
\n
\n \n setEditingItem({ ...editingItem, category: e.target.value as IdeaCategory })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n
\n
\n \n setEditingItem({ ...editingItem, status: e.target.value as IdeaStatus })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(STATUS_LABELS).map(([key, val]) => (\n \n ))}\n \n
\n
\n
\n\n
\n {editingItem.id && (\n handleDelete(editingItem.id!)}\n className=\"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2\"\n >\n Supprimer\n \n )}\n setEditingItem(null)}\n className=\"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300\"\n >\n Annuler\n \n \n Enregistrer\n \n
\n
\n
\n )}\n\n
\n );\n};\n\nexport default IdeaBoard;"],"names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;;;;;;;;;;;;;;;;;sCAOjC,0RAAC;4BAAI,WAAU;;gCACV,YAAY,EAAE,kBACX,0RAAC;oCACG,SAAS,IAAM,aAAa,YAAY,EAAE;oCAC1C,WAAU;8CACb;;;;;;8CAIL,0RAAC;oCACG,SAAS,IAAM,eAAe;oCAC9B,WAAU;8CACb;;;;;;8CAGD,0RAAC;oCACG,SAAS;oCACT,UAAU,CAAC,YAAY,KAAK,EAAE;oCAC9B,WAAU;;sDAEV,0RAAC,sPAAI;4CAAC,MAAM;;;;;;wCAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASlD;uCAEe"}}, - {"offset": {"line": 815, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/ideas/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport IdeaBoard from '@/components/IdeaBoard';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function IdeasPage() {\r\n const { project, updateProject } = useProjectContext();\r\n\r\n return (\r\n updateProject({ ideas })}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AAHA;;;;AAKe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,IAAA,qMAAiB;IAEpD,qBACI,0RAAC,sLAAS;QACN,OAAO,QAAQ,KAAK,IAAI,EAAE;QAC1B,UAAU,CAAC,QAAU,cAAc;gBAAE;YAAM;;;;;;AAGvD"}}, - {"offset": {"line": 843, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/grip-vertical.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/grip-vertical.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '9', cy: '12', r: '1', key: '1vctgf' }],\n ['circle', { cx: '9', cy: '5', r: '1', key: 'hp0tcf' }],\n ['circle', { cx: '9', cy: '19', r: '1', key: 'fkjjf6' }],\n ['circle', { cx: '15', cy: '12', r: '1', key: '1tmaij' }],\n ['circle', { cx: '15', cy: '5', r: '1', key: '19l28e' }],\n ['circle', { cx: '15', cy: '19', r: '1', key: 'f4zoj3' }],\n];\n\n/**\n * @component @name GripVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjUiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjE5IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iMTUiIGN5PSI1IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTkiIHI9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/grip-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GripVertical = createLucideIcon('grip-vertical', __iconNode);\n\nexport default GripVertical;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,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A,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACvD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,YAAA,CAAA,CAAA,KAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 928, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle-check-big.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-check-big.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21.801 10A10 10 0 1 1 17 3.335', key: 'yps3ct' }],\n ['path', { d: 'm9 11 3 3L22 4', key: '1pflzl' }],\n];\n\n/**\n * @component @name CircleCheckBig\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuODAxIDEwQTEwIDEwIDAgMSAxIDE3IDMuMzM1IiAvPgogIDxwYXRoIGQ9Im05IDExIDMgM0wyMiA0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check-big\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheckBig = createLucideIcon('circle-check-big', __iconNode);\n\nexport default CircleCheckBig;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAmC,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAkB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACjD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,cAAA,CAAA,CAAA,KAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAoB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 973, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }]];\n\n/**\n * @component @name Circle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Circle = createLucideIcon('circle', __iconNode);\n\nexport default Circle;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAuB;IAAC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAC;CAAA;AAa/F,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1013, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1060, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/search.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/search.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAoB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1107, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/pen-line.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/pen-line.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M13 21h8', key: '1jsn5i' }],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name PenLine\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgMjFoOCIgLz4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen-line\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PenLine = createLucideIcon('pen-line', __iconNode);\n\nexport default PenLine;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YACH,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA;KACP;CAEJ;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,OAAA,CAAA,CAAA,KAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1152, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/save.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/save.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n key: '1c8476',\n },\n ],\n ['path', { d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7', key: '1ydtos' }],\n ['path', { d: 'M7 3v4a1 1 0 0 0 1 1h7', key: 't51u73' }],\n];\n\n/**\n * @component @name Save\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUuMiAzYTIgMiAwIDAgMSAxLjQuNmwzLjggMy44YTIgMiAwIDAgMSAuNiAxLjRWMTlhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yeiIgLz4KICA8cGF0aCBkPSJNMTcgMjF2LTdhMSAxIDAgMCAwLTEtMUg4YTEgMSAwIDAgMC0xIDF2NyIgLz4KICA8cGF0aCBkPSJNNyAzdjRhMSAxIDAgMCAwIDEgMWg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/save\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Save = createLucideIcon('save', __iconNode);\n\nexport default Save;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,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AA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/IdeaBoard.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState } from 'react';\nimport { Idea, IdeaStatus, IdeaCategory } from '@/lib/types';\nimport { Plus, X, GripVertical, CheckCircle, Circle, Clock, Lightbulb, Search, Trash2, Edit3, Save } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { TranslationKey } from '@/lib/i18n/translations';\n\ninterface IdeaBoardProps {\n ideas: Idea[];\n onUpdate: (ideas: Idea[]) => void;\n}\n\nconst CATEGORIES: Record = {\n plot: { labelKey: 'ideaboard.cat_plot', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: Lightbulb },\n character: { labelKey: 'ideaboard.cat_char', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: Search },\n research: { labelKey: 'ideaboard.cat_research', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: Search },\n todo: { labelKey: 'ideaboard.cat_todo', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: CheckCircle },\n};\n\nconst STATUS_LABELS: Record = {\n todo: 'ideaboard.stat_todo',\n progress: 'ideaboard.stat_prog',\n done: 'ideaboard.stat_done'\n};\n\nconst MAX_DESCRIPTION_LENGTH = 500;\n\nconst IdeaBoard: React.FC = ({ ideas, onUpdate }) => {\n const { t } = useLanguage();\n const [newIdeaTitle, setNewIdeaTitle] = useState('');\n const [newIdeaCategory, setNewIdeaCategory] = useState('plot');\n\n // Drag and Drop State\n const [draggedIdeaId, setDraggedIdeaId] = useState(null);\n\n // Modal State for Edit/Quick Add\n const [editingItem, setEditingItem] = useState | null>(null);\n\n // --- ACTIONS ---\n\n const handleAddIdea = (e: React.FormEvent) => {\n e.preventDefault();\n if (!newIdeaTitle.trim()) return;\n\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: newIdeaTitle,\n description: '',\n category: newIdeaCategory,\n status: 'todo',\n createdAt: Date.now()\n };\n\n onUpdate([...ideas, newIdea]);\n setNewIdeaTitle('');\n };\n\n const handleDelete = (id: string) => {\n if (confirm(t('ideaboard.delete') + \" ?\")) {\n onUpdate(ideas.filter(i => i.id !== id));\n if (editingItem?.id === id) setEditingItem(null);\n }\n };\n\n const handleSaveEdit = () => {\n if (!editingItem || !editingItem.title?.trim()) return;\n\n if (editingItem.id) {\n // Update existing\n onUpdate(ideas.map(i => i.id === editingItem.id ? { ...i, ...editingItem } as Idea : i));\n } else {\n // Create new from modal\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: editingItem.title || '',\n description: editingItem.description || '',\n category: editingItem.category || 'plot',\n status: editingItem.status || 'todo',\n createdAt: Date.now()\n };\n onUpdate([...ideas, newIdea]);\n }\n setEditingItem(null);\n };\n\n const openQuickAdd = (status: IdeaStatus) => {\n setEditingItem({\n title: '',\n description: '',\n category: 'plot',\n status: status\n });\n };\n\n const openEdit = (idea: Idea) => {\n setEditingItem({ ...idea });\n };\n\n // --- DRAG HANDLERS ---\n\n const handleDragStart = (e: React.DragEvent, id: string) => {\n setDraggedIdeaId(id);\n e.dataTransfer.effectAllowed = 'move';\n };\n\n const handleDrop = (e: React.DragEvent, status: IdeaStatus) => {\n e.preventDefault();\n if (draggedIdeaId) {\n const updatedIdeas = ideas.map(idea =>\n idea.id === draggedIdeaId ? { ...idea, status } : idea\n );\n onUpdate(updatedIdeas);\n setDraggedIdeaId(null);\n }\n };\n\n const handleDragOver = (e: React.DragEvent) => {\n e.preventDefault();\n e.dataTransfer.dropEffect = 'move';\n };\n\n // --- RENDERERS ---\n\n const Column = ({ title, status, icon: Icon }: { title: string, status: IdeaStatus, icon: any }) => {\n const columnIdeas = ideas.filter(i => i.status === status);\n\n return (\n handleDrop(e, status)}\n onDoubleClick={() => openQuickAdd(status)}\n title={t('ideaboard.empty_desc')}\n >\n {/* Column Header */}\n
\n
\n \n {title}\n
\n
\n { e.stopPropagation(); openQuickAdd(status); }}\n className=\"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors\"\n >\n \n \n \n {columnIdeas.length}\n \n
\n
\n\n {/* Column Body */}\n
\n {columnIdeas.map(idea => {\n const truncatedDesc = idea.description.length > 300\n ? idea.description.substring(0, 300) + '...'\n : idea.description;\n\n return (\n handleDragStart(e, idea.id)}\n onDoubleClick={(e) => {\n e.stopPropagation(); // Prevent column double-click\n openEdit(idea);\n }}\n className=\"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200\"\n >\n
\n \n {t(CATEGORIES[idea.category].labelKey as TranslationKey)}\n \n
\n { e.stopPropagation(); openEdit(idea); }}\n className=\"text-slate-300 hover:text-blue-500\"\n >\n \n \n { e.stopPropagation(); handleDelete(idea.id); }}\n className=\"text-slate-300 hover:text-red-500\"\n >\n \n \n
\n
\n\n
\n

{idea.title}

\n {idea.description && (\n

300 ? \"Description tronquée (voir détail)\" : undefined}>\n {truncatedDesc}\n

\n )}\n
\n\n
\n \n {new Date(idea.createdAt).toLocaleDateString('fr-FR')}\n \n \n
\n
\n );\n })}\n {columnIdeas.length === 0 && (\n
\n {t('ideaboard.empty')}\n {t('ideaboard.empty_desc')}\n
\n )}\n \n \n );\n };\n\n return (\n
\n\n {/* Header & Add Form (Top Bar) */}\n
\n
\n

\n {t('ideaboard.title')}\n

\n

{t('ideaboard.desc')}

\n
\n\n
\n setNewIdeaCategory(e.target.value as IdeaCategory)}\n className=\"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n setNewIdeaTitle(e.target.value)}\n placeholder={t('ideaboard.add_idea')}\n className=\"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300\"\n />\n \n \n \n \n
\n\n {/* Kanban Board */}\n
\n \n \n \n
\n\n {/* EDIT / QUICK ADD MODAL */}\n {editingItem && (\n
\n
\n
\n

\n {editingItem.id ? : }\n {editingItem.id ? t('ideaboard.edit_card') : t('ideaboard.add_card')}\n

\n \n
\n\n
\n
\n \n setEditingItem({ ...editingItem, title: e.target.value })}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300\"\n placeholder={t('ideaboard.add_idea')}\n autoFocus\n />\n
\n\n
\n \n setEditingItem({ ...editingItem, description: e.target.value })}\n maxLength={MAX_DESCRIPTION_LENGTH}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300\"\n placeholder=\"Détails, notes, liens...\"\n />\n
= MAX_DESCRIPTION_LENGTH ? 'text-red-500 font-bold' :\n (editingItem.description?.length || 0) > MAX_DESCRIPTION_LENGTH * 0.9 ? 'text-orange-500' : 'text-slate-400'\n }`}>\n {editingItem.description?.length || 0} / {MAX_DESCRIPTION_LENGTH} caractères\n
\n
\n\n
\n
\n \n setEditingItem({ ...editingItem, category: e.target.value as IdeaCategory })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n
\n
\n \n setEditingItem({ ...editingItem, status: e.target.value as IdeaStatus })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(STATUS_LABELS).map(([key, val]) => (\n \n ))}\n \n
\n
\n
\n\n
\n {editingItem.id && (\n handleDelete(editingItem.id!)}\n className=\"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2\"\n >\n {t('ideaboard.delete')}\n \n )}\n setEditingItem(null)}\n className=\"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300\"\n >\n {t('ideaboard.cancel')}\n \n \n {t('ideaboard.save')}\n \n
\n
\n
\n )}\n\n
\n );\n};\n\nexport default IdeaBoard;"],"names":[],"mappings":";;;;;AAEA;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AALA;;;;;AAaA,MAAM,aAAmF;IACrF,MAAM;QAAE,UAAU;QAAsB,OAAO;QAA6C,MAAM,qQAAS;IAAC;IAC5G,WAAW;QAAE,UAAU;QAAsB,OAAO;QAA6C,MAAM,4PAAM;IAAC;IAC9G,UAAU;QAAE,UAAU;QAA0B,OAAO;QAAgD,MAAM,4PAAM;IAAC;IACpH,MAAM;QAAE,UAAU;QAAsB,OAAO;QAAgD,MAAM,sRAAW;IAAC;AACrH;AAEA,MAAM,gBAA4C;IAC9C,MAAM;IACN,UAAU;IACV,MAAM;AACV;AAEA,MAAM,yBAAyB;AAE/B,MAAM,YAAsC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE;IAC5D,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,gMAAW;IACzB,MAAM,CAAC,cAAc,gBAAgB,GAAG,IAAA,6PAAQ,EAAC;IACjD,MAAM,CAAC,iBAAiB,mBAAmB,GAAG,IAAA,6PAAQ,EAAe;IAErE,sBAAsB;IACtB,MAAM,CAAC,eAAe,iBAAiB,GAAG,IAAA,6PAAQ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AAC;oDAAM,WAAU;8DAA2D,EAAE;;;;;;8DAC9E,0RAAC;oDACG,OAAO,YAAY,QAAQ;oDAC3B,UAAU,CAAC,IAAM,eAAe;4DAAE,GAAG,WAAW;4DAAE,UAAU,EAAE,MAAM,CAAC,KAAK;wDAAiB;oDAC3F,WAAU;8DAET,OAAO,OAAO,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,iBACvC,0RAAC;4DAAiB,OAAO;sEAAM,EAAE,IAAI,QAAQ;2DAAhC;;;;;;;;;;;;;;;;sDAIzB,0RAAC;;8DACG,0RAAC;oDAAM,WAAU;8DAA2D,EAAE;;;;;;8DAC9E,0RAAC;oDACG,OAAO,YAAY,MAAM;oDACzB,UAAU,CAAC,IAAM,eAAe;4DAAE,GAAG,WAAW;4DAAE,QAAQ,EAAE,MAAM,CAAC,KAAK;wDAAe;oDACvF,WAAU;8DAET,OAAO,OAAO,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,iBAC1C,0RAAC;4DAAiB,OAAO;sEAAM,EAAE;2DAApB;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAOjC,0RAAC;4BAAI,WAAU;;gCACV,YAAY,EAAE,kBACX,0RAAC;oCACG,SAAS,IAAM,aAAa,YAAY,EAAE;oCAC1C,WAAU;8CAET,EAAE;;;;;;8CAGX,0RAAC;oCACG,SAAS,IAAM,eAAe;oCAC9B,WAAU;8CAET,EAAE;;;;;;8CAEP,0RAAC;oCACG,SAAS;oCACT,UAAU,CAAC,YAAY,KAAK,EAAE;oCAC9B,WAAU;;sDAEV,0RAAC,sPAAI;4CAAC,MAAM;;;;;;wCAAM;wCAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAStD;uCAEe"}}, + {"offset": {"line": 820, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/ideas/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport IdeaBoard from '@/components/IdeaBoard';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function IdeasPage() {\r\n const { project, updateProject } = useProjectContext();\r\n\r\n return (\r\n updateProject({ ideas })}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AAHA;;;;AAKe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,IAAA,qMAAiB;IAEpD,qBACI,0RAAC,sLAAS;QACN,OAAO,QAAQ,KAAK,IAAI,EAAE;QAC1B,UAAU,CAAC,QAAU,cAAc;gBAAE;YAAM;;;;;;AAGvD"}}, + {"offset": {"line": 848, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/grip-vertical.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/grip-vertical.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '9', cy: '12', r: '1', key: '1vctgf' }],\n ['circle', { cx: '9', cy: '5', r: '1', key: 'hp0tcf' }],\n ['circle', { cx: '9', cy: '19', r: '1', key: 'fkjjf6' }],\n ['circle', { cx: '15', cy: '12', r: '1', key: '1tmaij' }],\n ['circle', { cx: '15', cy: '5', r: '1', key: '19l28e' }],\n ['circle', { cx: '15', cy: '19', r: '1', key: 'f4zoj3' }],\n];\n\n/**\n * @component @name GripVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjUiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjE5IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iMTUiIGN5PSI1IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTkiIHI9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/grip-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GripVertical = createLucideIcon('grip-vertical', __iconNode);\n\nexport default GripVertical;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACvD;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,GAAA,CAAA;YAAK,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,C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,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 933, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle-check-big.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-check-big.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21.801 10A10 10 0 1 1 17 3.335', key: 'yps3ct' }],\n ['path', { d: 'm9 11 3 3L22 4', key: '1pflzl' }],\n];\n\n/**\n * @component @name CircleCheckBig\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuODAxIDEwQTEwIDEwIDAgMSAxIDE3IDMuMzM1IiAvPgogIDxwYXRoIGQ9Im05IDExIDMgM0wyMiA0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check-big\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheckBig = createLucideIcon('circle-check-big', __iconNode);\n\nexport default CircleCheckBig;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAmC,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAkB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACjD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,cAAA,CAAA,CAAA,KAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAoB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 978, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }]];\n\n/**\n * @component @name Circle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Circle = createLucideIcon('circle', __iconNode);\n\nexport default Circle;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAuB;IAAC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAC;CAAA;AAa/F,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1018, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1065, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/search.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/search.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAoB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1112, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/pen-line.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/pen-line.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M13 21h8', key: '1jsn5i' }],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name PenLine\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgMjFoOCIgLz4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen-line\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PenLine = createLucideIcon('pen-line', __iconNode);\n\nexport default PenLine;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,C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AA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1157, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/save.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/save.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n key: '1c8476',\n },\n ],\n ['path', { d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7', key: '1ydtos' }],\n ['path', { d: 'M7 3v4a1 1 0 0 0 1 1h7', key: 't51u73' }],\n];\n\n/**\n * @component @name Save\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUuMiAzYTIgMiAwIDAgMSAxLjQuNmwzLjggMy44YTIgMiAwIDAgMSAuNiAxLjRWMTlhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yeiIgLz4KICA8cGF0aCBkPSJNMTcgMjF2LTdhMSAxIDAgMCAwLTEtMUg4YTEgMSAwIDAgMC0xIDF2NyIgLz4KICA8cGF0aCBkPSJNNyAzdjRhMSAxIDAgMCAwIDEgMWg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/save\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Save = createLucideIcon('save', __iconNode);\n\nexport default Save;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YACH,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA;KAET;IACA;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA6C,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC1E;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA0B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACzD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,0MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] } \ No newline at end of file diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js index fb17f20..c7f09d6 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js @@ -8,6 +8,7 @@ __turbopack_context__.s([ ]); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js [app-ssr] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js [app-ssr] (ecmascript)"); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-ssr] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/lib/types.ts [app-ssr] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$plus$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Plus$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/plus.js [app-ssr] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$trash$2d$2$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Trash2$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/trash-2.js [app-ssr] (ecmascript) "); @@ -27,6 +28,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__proje ; ; ; +; const DEFAULT_CHAR_ATTRIBUTES = { age: 30, height: 175, @@ -43,6 +45,7 @@ const DEFAULT_CHAR_ATTRIBUTES = { behavioralQuirk: '' }; const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId })=>{ + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useLanguage"])(); const [editingId, setEditingId] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(null); const [tempEntity, setTempEntity] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(null); const [mode, setMode] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])('entities'); @@ -116,7 +119,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd setTempEntity(null); }; const handleDelete = (id)=>{ - if (confirm('Supprimer cet élément ?')) { + if (confirm(t('wb.delete_confirm'))) { onDelete(id); if (editingId === id) { setEditingId(null); @@ -164,7 +167,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd const addCustomField = (type)=>{ const newField = { id: `field-${Date.now()}`, - label: 'Nouveau Champ', + label: t('wb.new_field'), type: 'text', placeholder: '' }; @@ -233,14 +236,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 212, + lineNumber: 214, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Identité Narrative" + " ", + t('wb.id_narrative') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 211, + lineNumber: 213, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -250,10 +254,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-2", - children: "Archétype" + children: t('wb.archetype') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 216, + lineNumber: 218, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -262,10 +266,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd value: attrs.archetype, onChange: (e)=>updateAttribute('archetype', e.target.value), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500", - placeholder: "Ex: Le Héros, Le Sage..." + placeholder: t('wb.archetype_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 217, + lineNumber: 219, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("datalist", { @@ -274,28 +278,28 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd value: a }, a, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 226, + lineNumber: 228, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 225, + lineNumber: 227, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 215, + lineNumber: 217, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-2", - children: "Rôle dans l'histoire" + children: t('wb.role') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 230, + lineNumber: 232, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -303,19 +307,19 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ { val: 'protagonist', - label: 'Protagoniste' + label: t('wb.role_protagonist') }, { val: 'antagonist', - label: 'Antagoniste' + label: t('wb.role_antagonist') }, { val: 'support', - label: 'Secondaire' + label: t('wb.role_support') }, { val: 'extra', - label: 'Figurant' + label: t('wb.role_extra') } ].map((opt)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: `cursor-pointer px-3 py-1.5 rounded text-xs border transition-colors ${attrs.role === opt.val ? 'bg-indigo-100 border-indigo-300 text-indigo-700 font-bold' : 'bg-theme-bg border-theme-border text-theme-muted hover:bg-theme-border'}`, @@ -329,37 +333,37 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "hidden" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 239, + lineNumber: 241, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), opt.label ] }, opt.val, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 238, + lineNumber: 240, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 231, + lineNumber: 233, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 229, + lineNumber: 231, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 214, + lineNumber: 216, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 210, + lineNumber: 212, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -372,14 +376,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 258, + lineNumber: 260, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Apparence Physique" + " ", + t('wb.appearance') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 257, + lineNumber: 259, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -394,15 +399,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-xs mb-1", children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "font-semibold text-theme-muted", - children: "Âge (ans)" + children: t('wb.age') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 264, + lineNumber: 266, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 263, + lineNumber: 265, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -417,7 +422,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 267, + lineNumber: 269, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -427,19 +432,19 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 273, + lineNumber: 275, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 266, + lineNumber: 268, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 262, + lineNumber: 264, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -448,15 +453,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-xs mb-1", children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "font-semibold text-theme-muted", - children: "Taille (cm)" + children: t('wb.height') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 284, + lineNumber: 286, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 283, + lineNumber: 285, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -471,7 +476,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 287, + lineNumber: 289, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -481,25 +486,25 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 293, + lineNumber: 295, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 286, + lineNumber: 288, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 282, + lineNumber: 284, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 261, + lineNumber: 263, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -512,10 +517,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Cheveux" + children: t('wb.hair') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 306, + lineNumber: 308, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -527,28 +532,28 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: c }, c, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 312, + lineNumber: 314, columnNumber: 43 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 307, + lineNumber: 309, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 305, + lineNumber: 307, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Yeux" + children: t('wb.eyes') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 316, + lineNumber: 318, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -560,69 +565,69 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: c }, c, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 322, + lineNumber: 324, columnNumber: 42 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 317, + lineNumber: 319, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 315, + lineNumber: 317, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 304, + lineNumber: 306, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Signe distinctif" + children: t('wb.physical_quirk') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 327, + lineNumber: 329, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: "text", value: attrs.physicalQuirk, onChange: (e)=>updateAttribute('physicalQuirk', e.target.value), - placeholder: "Cicatrice, tatouage...", + placeholder: t('wb.physical_quirk_ph'), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 328, + lineNumber: 330, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 326, + lineNumber: 328, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 303, + lineNumber: 305, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 260, + lineNumber: 262, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 256, + lineNumber: 258, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -635,14 +640,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 343, + lineNumber: 345, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Psychologie & Comportement" + " ", + t('wb.psychology') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 342, + lineNumber: 344, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -658,23 +664,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Introverti" + children: t('wb.introvert') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 350, + lineNumber: 352, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Extraverti" + children: t('wb.extravert') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 351, + lineNumber: 353, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 349, + lineNumber: 351, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -686,13 +692,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 353, + lineNumber: 355, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 348, + lineNumber: 350, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -702,23 +708,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Émotionnel" + children: t('wb.emotional') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 362, + lineNumber: 364, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Rationnel" + children: t('wb.rational') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 363, + lineNumber: 365, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 361, + lineNumber: 363, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -730,13 +736,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 365, + lineNumber: 367, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 360, + lineNumber: 362, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -746,23 +752,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Chaotique" + children: t('wb.chaotic') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 374, + lineNumber: 376, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Loyal" + children: t('wb.lawful') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 375, + lineNumber: 377, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 373, + lineNumber: 375, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -774,19 +780,19 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 377, + lineNumber: 379, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 372, + lineNumber: 374, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 347, + lineNumber: 349, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -794,45 +800,45 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Toc ou habitude comportementale" + children: t('wb.behavioral_quirk') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 387, + lineNumber: 389, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: "text", value: attrs.behavioralQuirk, onChange: (e)=>updateAttribute('behavioralQuirk', e.target.value), - placeholder: "Joue avec sa bague, bégaie quand il ment...", + placeholder: t('wb.behavioral_quirk_ph'), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 388, + lineNumber: 390, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 386, + lineNumber: 388, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 346, + lineNumber: 348, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 341, + lineNumber: 343, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 207, + lineNumber: 209, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); }; @@ -849,14 +855,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 409, + lineNumber: 411, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), - " Champs Personnalisés" + " ", + t('wb.custom_fields') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 408, + lineNumber: 410, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -870,7 +877,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: field.label }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 417, + lineNumber: 419, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), field.type === 'textarea' ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -880,7 +887,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd placeholder: field.placeholder }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 420, + lineNumber: 422, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) : field.type === 'select' ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { value: value, @@ -889,10 +896,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "", - children: "Sélectionner..." + children: t('wb.select') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 432, + lineNumber: 434, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), field.options?.map((opt)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { @@ -900,13 +907,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: opt }, opt, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 434, + lineNumber: 436, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 427, + lineNumber: 429, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) : field.type === 'boolean' ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "flex items-center gap-2 cursor-pointer", @@ -918,21 +925,21 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-4 h-4 text-indigo-600 rounded border-theme-border focus:ring-indigo-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 439, + lineNumber: 441, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-sm text-theme-text", - children: "Activé / Oui" + children: t('wb.active_yes') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 445, + lineNumber: 447, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 438, + lineNumber: 440, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: field.type === 'number' ? 'number' : 'text', @@ -942,25 +949,25 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd placeholder: field.placeholder }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 448, + lineNumber: 450, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, field.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 416, + lineNumber: 418, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)); }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 411, + lineNumber: 413, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 407, + lineNumber: 409, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); }; @@ -985,28 +992,29 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "text-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 472, + lineNumber: 474, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), - " Éditeur de Modèles" + " ", + t('wb.template_editor') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 471, + lineNumber: 473, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-theme-muted text-sm mt-1", - children: "Configurez les champs personnalisés pour chaque type de fiche." + children: t('wb.template_editor_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 474, + lineNumber: 476, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 470, + lineNumber: 472, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1016,18 +1024,18 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 479, + lineNumber: 481, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 478, + lineNumber: 480, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 469, + lineNumber: 471, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1038,12 +1046,12 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: type }, type, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 485, + lineNumber: 487, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 483, + lineNumber: 485, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1059,10 +1067,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Nom du champ" + children: t('wb.field_name') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 503, + lineNumber: 505, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -1074,23 +1082,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 504, + lineNumber: 506, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 502, + lineNumber: 504, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Type" + children: t('wb.field_type') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 512, + lineNumber: 514, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -1102,54 +1110,54 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "text", - children: "Texte court" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 518, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "textarea", - children: "Texte long" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 519, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "number", - children: "Nombre" + children: t('wb.type_text') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 520, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "boolean", - children: "Case à cocher" + value: "textarea", + children: t('wb.type_textarea') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 521, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "select", - children: "Liste déroulante" + value: "number", + children: t('wb.type_num') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 522, columnNumber: 21 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { + value: "boolean", + children: t('wb.type_bool') + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 523, + columnNumber: 21 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { + value: "select", + children: t('wb.type_select') + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 524, + columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 513, + lineNumber: 515, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 511, + lineNumber: 513, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), field.type === 'select' && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1157,10 +1165,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Options (séparées par des virgules)" + children: t('wb.options_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 527, + lineNumber: 529, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -1170,22 +1178,22 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd options: e.target.value.split(',').map((s)=>s.trim()) }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm", - placeholder: "Option A, Option B, Option C" + placeholder: t('wb.options_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 528, + lineNumber: 530, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 526, + lineNumber: 528, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 501, + lineNumber: 503, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1195,18 +1203,18 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 542, + lineNumber: 544, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 538, + lineNumber: 540, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, field.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 500, + lineNumber: 502, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0))), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1217,135 +1225,137 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 551, + lineNumber: 553, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Ajouter un champ" + " ", + t('wb.add_field') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 547, + lineNumber: 549, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 498, + lineNumber: 500, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 468, + lineNumber: 470, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); }; if (mode === 'templates') { return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex h-full gap-6 p-6 bg-theme-bg", + className: "flex flex-col md:flex-row h-full gap-4 md:gap-6 p-4 md:p-6 bg-theme-bg", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "w-1/3 opacity-50 pointer-events-none filter blur-[1px]", + className: "hidden md:block w-1/3 opacity-50 pointer-events-none filter blur-[1px]", children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "bg-theme-panel rounded-lg p-6 shadow-sm border border-theme-border", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("h3", { className: "font-bold text-theme-text mb-4", - children: "Aperçu Fiches" + children: t('wb.preview_cards') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 563, + lineNumber: 565, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "space-y-2", children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "h-10 bg-indigo-500/10 rounded" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 565, - columnNumber: 15 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "h-10 bg-indigo-500/10 rounded" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 566, - columnNumber: 15 - }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "h-10 bg-indigo-500/10 rounded" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 567, columnNumber: 15 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { + className: "h-10 bg-indigo-500/10 rounded" + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 568, + columnNumber: 15 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { + className: "h-10 bg-indigo-500/10 rounded" + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 569, + columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 564, + lineNumber: 566, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 562, + lineNumber: 564, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 561, + lineNumber: 563, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), renderTemplateManager() ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 560, + lineNumber: 562, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); } return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex h-full gap-6 p-6 bg-theme-bg", + className: "flex flex-col md:flex-row h-full gap-4 md:gap-6 p-4 md:p-6 bg-theme-bg", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "w-1/3 flex flex-col gap-4", + className: `${editingId ? 'hidden md:flex' : 'flex'} w-full md:w-1/3 flex-col gap-4 h-full`, children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex justify-between items-center px-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("h2", { className: "text-lg font-bold text-theme-text", - children: "Explorateur" + children: t('wb.explorer') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 580, + lineNumber: 582, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setMode('templates'), className: "flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors", - title: "Gérer les modèles de fiches", + title: t('wb.manage_templates'), children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$settings$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__Settings$3e$__["Settings"], { size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 586, + lineNumber: 588, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Modèles" + " ", + t('wb.templates') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 581, + lineNumber: 583, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 579, + lineNumber: 581, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1363,7 +1373,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["ENTITY_ICONS"][type] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 595, + lineNumber: 597, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " ", @@ -1372,7 +1382,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 594, + lineNumber: 596, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1382,18 +1392,18 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 601, + lineNumber: 603, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 597, + lineNumber: 599, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 593, + lineNumber: 595, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1401,10 +1411,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ filterByType(type).length === 0 && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "p-4 text-sm text-theme-muted italic text-center", - children: "Aucun élément" + children: t('wb.no_element') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 606, + lineNumber: 608, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), filterByType(type).map((entity)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1418,7 +1428,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: entity.name }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 615, + lineNumber: 617, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1426,13 +1436,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: entity.description }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 616, + lineNumber: 618, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 614, + lineNumber: 616, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1445,45 +1455,45 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 622, + lineNumber: 624, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 618, + lineNumber: 620, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, entity.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 609, + lineNumber: 611, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 604, + lineNumber: 606, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, type, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 592, + lineNumber: 594, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 590, + lineNumber: 592, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 578, + lineNumber: 580, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-8 overflow-y-auto", + className: `${!editingId ? 'hidden md:block' : 'block'} flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-4 sm:p-6 md:p-8 overflow-y-auto h-full`, children: editingId && tempEntity ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "space-y-6 animate-in fade-in duration-200", children: [ @@ -1498,21 +1508,21 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: tempEntity.type }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 637, + lineNumber: 639, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("h2", { className: "text-2xl font-bold text-theme-text", - children: tempEntity.type === __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["EntityType"].CHARACTER ? 'Fiche Personnage' : 'Édition de la fiche' + children: tempEntity.type === __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["EntityType"].CHARACTER ? t('wb.char_sheet') : t('wb.edit_sheet') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 640, + lineNumber: 642, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 636, + lineNumber: 638, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1524,23 +1534,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 646, + lineNumber: 648, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 645, + lineNumber: 647, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 644, + lineNumber: 646, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 635, + lineNumber: 637, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1550,10 +1560,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-medium text-theme-text mb-1", - children: "Nom" + children: t('wb.name') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 653, + lineNumber: 655, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -1564,26 +1574,26 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd name: e.target.value }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg", - placeholder: "Ex: Gandalf le Gris" + placeholder: t('wb.name_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 654, + lineNumber: 656, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 652, + lineNumber: 654, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-medium text-theme-text mb-1", - children: "Description Courte (pour l'IA)" + children: t('wb.short_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 664, + lineNumber: 666, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -1593,16 +1603,16 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd description: e.target.value }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20", - placeholder: "Un magicien puissant qui guide la communauté..." + placeholder: t('wb.short_desc_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 665, + lineNumber: 667, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 663, + lineNumber: 665, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), tempEntity.type === __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["EntityType"].CHARACTER && renderCharacterEditor(), @@ -1619,14 +1629,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 680, + lineNumber: 682, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), - " Contexte Narratif (Auto-généré)" + " ", + t('wb.story_context') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 679, + lineNumber: 681, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -1636,16 +1647,16 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd storyContext: e.target.value }), className: "w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted", - placeholder: "Les événements vécus par ce personnage apparaîtront ici..." + placeholder: t('wb.story_context_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 682, + lineNumber: 684, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 678, + lineNumber: 680, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1653,10 +1664,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-medium text-theme-text mb-1", - children: "Notes & Biographie Complète" + children: t('wb.notes_bio') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 691, + lineNumber: 693, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -1666,22 +1677,22 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd details: e.target.value }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif", - placeholder: "Histoire détaillée, secrets, origines..." + placeholder: t('wb.notes_bio_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 692, + lineNumber: 694, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 690, + lineNumber: 692, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 677, + lineNumber: 679, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1694,31 +1705,31 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 706, + lineNumber: 708, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), - "Enregistrer la fiche" + t('wb.save') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 702, + lineNumber: 704, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 701, + lineNumber: 703, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 651, + lineNumber: 653, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 634, + lineNumber: 636, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "h-full flex flex-col items-center justify-center text-theme-muted", @@ -1728,40 +1739,40 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: "🌍" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 714, + lineNumber: 716, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-lg", - children: "Sélectionnez ou créez une fiche pour commencer." + children: t('wb.select_start') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 715, + lineNumber: 717, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-sm", - children: "Ces informations aideront l'IA à rester cohérente." + children: t('wb.ai_help') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 716, + lineNumber: 718, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 713, + lineNumber: 715, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 632, + lineNumber: 634, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 577, + lineNumber: 579, columnNumber: 5 }, ("TURBOPACK compile-time value", void 0)); }; diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js.map b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js.map index 8e66b51..90990ce 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js.map +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_46da9c24._.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/WorldBuilder.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState, useMemo, useEffect } from 'react';\nimport { Entity, EntityType, CharacterAttributes, EntityTemplate, CustomFieldDefinition, CustomFieldType } from '@/lib/types';\nimport { Plus, Trash2, Save, X, Sparkles, User, Activity, Brain, Ruler, Settings, Layout, List, ToggleLeft } from 'lucide-react';\nimport { ENTITY_ICONS, ENTITY_COLORS, HAIR_COLORS, EYE_COLORS, ARCHETYPES } from '@/lib/constants';\n\ninterface WorldBuilderProps {\n entities: Entity[];\n onCreate: (entity: Omit) => Promise;\n onUpdate: (id: string, updates: Partial) => void;\n onDelete: (id: string) => void;\n templates: EntityTemplate[];\n onUpdateTemplates: (templates: EntityTemplate[]) => void;\n initialSelectedId?: string | null;\n}\n\nconst DEFAULT_CHAR_ATTRIBUTES: CharacterAttributes = {\n age: 30,\n height: 175,\n hair: 'Brun',\n eyes: 'Marron',\n archetype: 'Le Héros',\n role: 'support',\n personality: {\n spectrumIntrovertExtravert: 50,\n spectrumEmotionalRational: 50,\n spectrumChaoticLawful: 50,\n },\n physicalQuirk: '',\n behavioralQuirk: ''\n};\n\nconst WorldBuilder: React.FC = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId }) => {\n const [editingId, setEditingId] = useState(null);\n const [tempEntity, setTempEntity] = useState(null);\n const [mode, setMode] = useState<'entities' | 'templates'>('entities');\n\n // Template Editor State\n const [activeTemplateType, setActiveTemplateType] = useState(EntityType.CHARACTER);\n\n // Handle external navigation request (deep link)\n useEffect(() => {\n if (initialSelectedId) {\n const entity = entities.find(e => e.id === initialSelectedId);\n if (entity) {\n handleEdit(entity);\n setMode('entities');\n }\n }\n }, [initialSelectedId, entities]);\n\n // Dynamic Archetypes List\n const allArchetypes = useMemo(() => {\n const existing = entities\n .filter(e => e.type === EntityType.CHARACTER && e.attributes?.archetype)\n .map(e => e.attributes!.archetype);\n return Array.from(new Set([...ARCHETYPES, ...existing])).sort();\n }, [entities]);\n\n // --- ENTITY ACTIONS ---\n\n const handleAdd = (type: EntityType) => {\n const newEntity: Entity = {\n id: Date.now().toString(), // Helper ID for UI\n type,\n name: '',\n description: '',\n details: '',\n storyContext: '',\n attributes: type === EntityType.CHARACTER ? { ...DEFAULT_CHAR_ATTRIBUTES } : undefined,\n customValues: {}\n };\n setTempEntity(newEntity);\n setEditingId('NEW');\n };\n\n const handleEdit = (entity: Entity) => {\n // Ensure attributes exist if it's a character (backward compatibility)\n const entityToEdit = { ...entity };\n if (entity.type === EntityType.CHARACTER && !entity.attributes) {\n entityToEdit.attributes = { ...DEFAULT_CHAR_ATTRIBUTES };\n }\n if (!entity.customValues) {\n entityToEdit.customValues = {};\n }\n setTempEntity(entityToEdit);\n setEditingId(entity.id);\n };\n\n const handleSave = async () => {\n if (!tempEntity || !tempEntity.name) return;\n\n if (editingId === 'NEW') {\n const { id, ...entityData } = tempEntity;\n await onCreate(entityData);\n } else {\n onUpdate(tempEntity.id, tempEntity);\n }\n setEditingId(null);\n setTempEntity(null);\n };\n\n const handleDelete = (id: string) => {\n if (confirm('Supprimer cet élément ?')) {\n onDelete(id);\n if (editingId === id) {\n setEditingId(null);\n setTempEntity(null);\n }\n }\n };\n\n const updateAttribute = (key: keyof CharacterAttributes, value: any) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: { ...tempEntity.attributes, [key]: value }\n });\n }\n };\n\n const updatePersonality = (key: keyof CharacterAttributes['personality'], value: number) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: {\n ...tempEntity.attributes,\n personality: { ...tempEntity.attributes.personality, [key]: value }\n }\n });\n }\n };\n\n const updateCustomValue = (fieldId: string, value: any) => {\n if (tempEntity) {\n setTempEntity({\n ...tempEntity,\n customValues: {\n ...tempEntity.customValues,\n [fieldId]: value\n }\n });\n }\n };\n\n // --- TEMPLATE ACTIONS ---\n\n const addCustomField = (type: EntityType) => {\n const newField: CustomFieldDefinition = {\n id: `field-${Date.now()}`,\n label: 'Nouveau Champ',\n type: 'text',\n placeholder: ''\n };\n\n // Correct immutable update\n const updatedTemplates = templates.map(t => {\n if (t.entityType === type) {\n return {\n ...t,\n fields: [...t.fields, newField]\n };\n }\n return t;\n });\n\n // If template didn't exist (unlikely given App.tsx init, but safe)\n if (!updatedTemplates.some(t => t.entityType === type)) {\n updatedTemplates.push({ entityType: type, fields: [newField] });\n }\n\n onUpdateTemplates(updatedTemplates);\n };\n\n const updateCustomField = (type: EntityType, fieldId: string, updates: Partial) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.map(f => f.id === fieldId ? { ...f, ...updates } : f)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const deleteCustomField = (type: EntityType, fieldId: string) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.filter(f => f.id !== fieldId)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const filterByType = (type: EntityType) => entities.filter(e => e.type === type);\n\n // --- RENDER HELPERS ---\n\n const renderCharacterEditor = () => {\n if (!tempEntity?.attributes) return null;\n const attrs = tempEntity.attributes;\n\n return (\n
\n\n {/* SECTION 1: ROLE & ARCHETYPE */}\n
\n

\n Identité Narrative\n

\n
\n
\n \n updateAttribute('archetype', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500\"\n placeholder=\"Ex: Le Héros, Le Sage...\"\n />\n \n {allArchetypes.map(a => \n
\n
\n \n
\n {[\n { val: 'protagonist', label: 'Protagoniste' },\n { val: 'antagonist', label: 'Antagoniste' },\n { val: 'support', label: 'Secondaire' },\n { val: 'extra', label: 'Figurant' }\n ].map(opt => (\n \n ))}\n
\n
\n
\n
\n\n {/* SECTION 2: PHYSIQUE */}\n
\n

\n Apparence Physique\n

\n
\n
\n
\n
\n \n
\n
\n updateAttribute('age', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('age', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n\n
\n
\n \n
\n
\n updateAttribute('height', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('height', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n
\n\n
\n
\n
\n \n updateAttribute('hair', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {HAIR_COLORS.map(c => )}\n \n
\n
\n \n updateAttribute('eyes', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {EYE_COLORS.map(c => )}\n \n
\n
\n
\n \n updateAttribute('physicalQuirk', e.target.value)}\n placeholder=\"Cicatrice, tatouage...\"\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n\n {/* SECTION 3: PSYCHOLOGIE */}\n
\n

\n Psychologie & Comportement\n

\n\n
\n
\n
\n
\n Introverti\n Extraverti\n
\n updatePersonality('spectrumIntrovertExtravert', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n Émotionnel\n Rationnel\n
\n updatePersonality('spectrumEmotionalRational', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n Chaotique\n Loyal\n
\n updatePersonality('spectrumChaoticLawful', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n\n
\n \n updateAttribute('behavioralQuirk', e.target.value)}\n placeholder=\"Joue avec sa bague, bégaie quand il ment...\"\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n );\n };\n\n const renderCustomFieldsEditor = () => {\n const currentTemplate = templates.find(t => t.entityType === tempEntity?.type);\n if (!currentTemplate || currentTemplate.fields.length === 0) return null;\n\n return (\n
\n

\n Champs Personnalisés\n

\n
\n {currentTemplate.fields.map(field => {\n const value = tempEntity?.customValues?.[field.id] ?? '';\n\n return (\n
\n \n\n {field.type === 'textarea' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n ) : field.type === 'select' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n >\n \n {field.options?.map(opt => (\n \n ))}\n \n ) : field.type === 'boolean' ? (\n \n ) : (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n )}\n
\n );\n })}\n
\n
\n );\n };\n\n const renderTemplateManager = () => {\n const template = templates.find(t => t.entityType === activeTemplateType) || { entityType: activeTemplateType, fields: [] };\n\n return (\n
\n
\n
\n

\n Éditeur de Modèles\n

\n

\n Configurez les champs personnalisés pour chaque type de fiche.\n

\n
\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n setActiveTemplateType(type)}\n className={`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${activeTemplateType === type\n ? 'bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600'\n : 'text-theme-muted hover:text-theme-text hover:bg-theme-panel/50'\n }`}\n >\n {type}\n \n ))}\n
\n\n
\n {template.fields.map((field, idx) => (\n
\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { label: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n />\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { type: e.target.value as CustomFieldType })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n \n \n \n \n \n \n
\n {field.type === 'select' && (\n
\n \n updateCustomField(activeTemplateType, field.id, { options: e.target.value.split(',').map(s => s.trim()) })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n placeholder=\"Option A, Option B, Option C\"\n />\n
\n )}\n
\n deleteCustomField(activeTemplateType, field.id)}\n className=\"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5\"\n >\n \n \n
\n ))}\n\n addCustomField(activeTemplateType)}\n className=\"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2\"\n >\n Ajouter un champ\n \n
\n
\n );\n };\n\n if (mode === 'templates') {\n return (\n
\n
\n
\n

Aperçu Fiches

\n
\n
\n
\n
\n
\n
\n
\n {renderTemplateManager()}\n
\n );\n }\n\n return (\n
\n
\n
\n

Explorateur

\n setMode('templates')}\n className=\"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors\"\n title=\"Gérer les modèles de fiches\"\n >\n Modèles\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n
\n
\n

\n {ENTITY_ICONS[type]} {type}s\n

\n handleAdd(type)}\n className=\"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors\"\n >\n \n \n
\n
\n {filterByType(type).length === 0 && (\n

Aucun élément

\n )}\n {filterByType(type).map(entity => (\n handleEdit(entity)}\n className={`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${editingId === entity.id ? 'bg-blue-500/10 border-l-4 border-blue-500' : ''}`}\n >\n
\n
{entity.name}
\n
{entity.description}
\n
\n { e.stopPropagation(); handleDelete(entity.id); }}\n className=\"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity\"\n >\n \n \n
\n ))}\n
\n
\n ))}\n
\n
\n\n
\n {editingId && tempEntity ? (\n
\n
\n
\n \n {tempEntity.type}\n \n

\n {tempEntity.type === EntityType.CHARACTER ? 'Fiche Personnage' : 'Édition de la fiche'}\n

\n
\n
\n \n
\n
\n\n
\n
\n \n setTempEntity({ ...tempEntity, name: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg\"\n placeholder=\"Ex: Gandalf le Gris\"\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, description: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20\"\n placeholder=\"Un magicien puissant qui guide la communauté...\"\n />\n
\n\n {tempEntity.type === EntityType.CHARACTER && renderCharacterEditor()}\n\n {renderCustomFieldsEditor()}\n\n
\n
\n \n setTempEntity({ ...tempEntity, storyContext: e.target.value })}\n className=\"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted\"\n placeholder=\"Les événements vécus par ce personnage apparaîtront ici...\"\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, details: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif\"\n placeholder=\"Histoire détaillée, secrets, origines...\"\n />\n
\n
\n\n
\n \n \n Enregistrer la fiche\n \n
\n
\n
\n ) : (\n
\n
🌍
\n

Sélectionnez ou créez une fiche pour commencer.

\n

Ces informations aideront l'IA à rester cohérente.

\n
\n )}\n
\n \n );\n};\n\nexport default WorldBuilder;"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AALA;;;;;;AAiBA,MAAM,0BAA+C;IACnD,KAAK;IACL,QAAQ;IACR,MAAM;IACN,MAAM;IACN,WAAW;IACX,MAAM;IACN,aAAa;QACX,4BAA4B;QAC5B,2BAA2B;QAC3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;oDAC3E,WAAU;oDACV,aAAY;;;;;;;;;;;;sDAIhB,0RAAC;4CAAI,WAAU;;8DACb,0RAAC;oDAAM,WAAU;8DAAiD;;;;;;8DAClE,0RAAC;oDACC,OAAO,WAAW,OAAO;oDACzB,UAAU,CAAA,IAAK,cAAc;4DAAE,GAAG,UAAU;4DAAE,SAAS,EAAE,MAAM,CAAC,KAAK;wDAAC;oDACtE,WAAU;oDACV,aAAY;;;;;;;;;;;;;;;;;;8CAKlB,0RAAC;oCAAI,WAAU;8CACb,cAAA,0RAAC;wCACC,SAAS;wCACT,WAAU;;0DAEV,0RAAC,sPAAI;gDAAC,MAAM;;;;;;4CAAM;;;;;;;;;;;;;;;;;;;;;;;6EAO1B,0RAAC;oBAAI,WAAU;;sCACb,0RAAC;4BAAI,WAAU;sCAA2B;;;;;;sCAC1C,0RAAC;4BAAE,WAAU;sCAAU;;;;;;sCACvB,0RAAC;4BAAE,WAAU;sCAAU;;;;;;;;;;;;;;;;;;;;;;;AAMnC;uCAEe"}}, - {"offset": {"line": 1772, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/world/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport WorldBuilder from '@/components/WorldBuilder';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function WorldPage() {\r\n const { project, updateProject, createEntity, updateEntity, deleteEntity } = useProjectContext();\r\n\r\n return (\r\n {\r\n return await createEntity(entityData.type, entityData);\r\n }}\r\n onUpdate={(entityId, updates) => updateEntity(entityId, updates)}\r\n onDelete={(entityId) => deleteEntity(entityId)}\r\n templates={project.templates || []}\r\n onUpdateTemplates={(t) => updateProject({ templates: t })}\r\n initialSelectedId={null}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AAHA;;;;AAKe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,IAAA,qMAAiB;IAE9F,qBACI,0RAAC,yLAAY;QACT,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,UAAU,OAAO;YACb,OAAO,MAAM,aAAa,WAAW,IAAI,EAAE;QAC/C;QACA,UAAU,CAAC,UAAU,UAAY,aAAa,UAAU;QACxD,UAAU,CAAC,WAAa,aAAa;QACrC,WAAW,QAAQ,SAAS,IAAI,EAAE;QAClC,mBAAmB,CAAC,IAAM,cAAc;gBAAE,WAAW;YAAE;QACvD,mBAAmB;;;;;;AAG/B"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/WorldBuilder.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState, useMemo, useEffect } from 'react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { Entity, EntityType, CharacterAttributes, EntityTemplate, CustomFieldDefinition, CustomFieldType } from '@/lib/types';\nimport { Plus, Trash2, Save, X, Sparkles, User, Activity, Brain, Ruler, Settings, Layout, List, ToggleLeft } from 'lucide-react';\nimport { ENTITY_ICONS, ENTITY_COLORS, HAIR_COLORS, EYE_COLORS, ARCHETYPES } from '@/lib/constants';\n\ninterface WorldBuilderProps {\n entities: Entity[];\n onCreate: (entity: Omit) => Promise;\n onUpdate: (id: string, updates: Partial) => void;\n onDelete: (id: string) => void;\n templates: EntityTemplate[];\n onUpdateTemplates: (templates: EntityTemplate[]) => void;\n initialSelectedId?: string | null;\n}\n\nconst DEFAULT_CHAR_ATTRIBUTES: CharacterAttributes = {\n age: 30,\n height: 175,\n hair: 'Brun',\n eyes: 'Marron',\n archetype: 'Le Héros',\n role: 'support',\n personality: {\n spectrumIntrovertExtravert: 50,\n spectrumEmotionalRational: 50,\n spectrumChaoticLawful: 50,\n },\n physicalQuirk: '',\n behavioralQuirk: ''\n};\n\nconst WorldBuilder: React.FC = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId }) => {\n const { t } = useLanguage();\n const [editingId, setEditingId] = useState(null);\n const [tempEntity, setTempEntity] = useState(null);\n const [mode, setMode] = useState<'entities' | 'templates'>('entities');\n\n // Template Editor State\n const [activeTemplateType, setActiveTemplateType] = useState(EntityType.CHARACTER);\n\n // Handle external navigation request (deep link)\n useEffect(() => {\n if (initialSelectedId) {\n const entity = entities.find(e => e.id === initialSelectedId);\n if (entity) {\n handleEdit(entity);\n setMode('entities');\n }\n }\n }, [initialSelectedId, entities]);\n\n // Dynamic Archetypes List\n const allArchetypes = useMemo(() => {\n const existing = entities\n .filter(e => e.type === EntityType.CHARACTER && e.attributes?.archetype)\n .map(e => e.attributes!.archetype);\n return Array.from(new Set([...ARCHETYPES, ...existing])).sort();\n }, [entities]);\n\n // --- ENTITY ACTIONS ---\n\n const handleAdd = (type: EntityType) => {\n const newEntity: Entity = {\n id: Date.now().toString(), // Helper ID for UI\n type,\n name: '',\n description: '',\n details: '',\n storyContext: '',\n attributes: type === EntityType.CHARACTER ? { ...DEFAULT_CHAR_ATTRIBUTES } : undefined,\n customValues: {}\n };\n setTempEntity(newEntity);\n setEditingId('NEW');\n };\n\n const handleEdit = (entity: Entity) => {\n // Ensure attributes exist if it's a character (backward compatibility)\n const entityToEdit = { ...entity };\n if (entity.type === EntityType.CHARACTER && !entity.attributes) {\n entityToEdit.attributes = { ...DEFAULT_CHAR_ATTRIBUTES };\n }\n if (!entity.customValues) {\n entityToEdit.customValues = {};\n }\n setTempEntity(entityToEdit);\n setEditingId(entity.id);\n };\n\n const handleSave = async () => {\n if (!tempEntity || !tempEntity.name) return;\n\n if (editingId === 'NEW') {\n const { id, ...entityData } = tempEntity;\n await onCreate(entityData);\n } else {\n onUpdate(tempEntity.id, tempEntity);\n }\n setEditingId(null);\n setTempEntity(null);\n };\n\n const handleDelete = (id: string) => {\n if (confirm(t('wb.delete_confirm'))) {\n onDelete(id);\n if (editingId === id) {\n setEditingId(null);\n setTempEntity(null);\n }\n }\n };\n\n const updateAttribute = (key: keyof CharacterAttributes, value: any) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: { ...tempEntity.attributes, [key]: value }\n });\n }\n };\n\n const updatePersonality = (key: keyof CharacterAttributes['personality'], value: number) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: {\n ...tempEntity.attributes,\n personality: { ...tempEntity.attributes.personality, [key]: value }\n }\n });\n }\n };\n\n const updateCustomValue = (fieldId: string, value: any) => {\n if (tempEntity) {\n setTempEntity({\n ...tempEntity,\n customValues: {\n ...tempEntity.customValues,\n [fieldId]: value\n }\n });\n }\n };\n\n // --- TEMPLATE ACTIONS ---\n\n const addCustomField = (type: EntityType) => {\n const newField: CustomFieldDefinition = {\n id: `field-${Date.now()}`,\n label: t('wb.new_field'),\n type: 'text',\n placeholder: ''\n };\n\n // Correct immutable update\n const updatedTemplates = templates.map(t => {\n if (t.entityType === type) {\n return {\n ...t,\n fields: [...t.fields, newField]\n };\n }\n return t;\n });\n\n // If template didn't exist (unlikely given App.tsx init, but safe)\n if (!updatedTemplates.some(t => t.entityType === type)) {\n updatedTemplates.push({ entityType: type, fields: [newField] });\n }\n\n onUpdateTemplates(updatedTemplates);\n };\n\n const updateCustomField = (type: EntityType, fieldId: string, updates: Partial) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.map(f => f.id === fieldId ? { ...f, ...updates } : f)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const deleteCustomField = (type: EntityType, fieldId: string) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.filter(f => f.id !== fieldId)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const filterByType = (type: EntityType) => entities.filter(e => e.type === type);\n\n // --- RENDER HELPERS ---\n\n const renderCharacterEditor = () => {\n if (!tempEntity?.attributes) return null;\n const attrs = tempEntity.attributes;\n\n return (\n
\n\n {/* SECTION 1: ROLE & ARCHETYPE */}\n
\n

\n {t('wb.id_narrative')}\n

\n
\n
\n \n updateAttribute('archetype', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500\"\n placeholder={t('wb.archetype_ph')}\n />\n \n {allArchetypes.map(a => \n
\n
\n \n
\n {[\n { val: 'protagonist', label: t('wb.role_protagonist') },\n { val: 'antagonist', label: t('wb.role_antagonist') },\n { val: 'support', label: t('wb.role_support') },\n { val: 'extra', label: t('wb.role_extra') }\n ].map(opt => (\n \n ))}\n
\n
\n
\n
\n\n {/* SECTION 2: PHYSIQUE */}\n
\n

\n {t('wb.appearance')}\n

\n
\n
\n
\n
\n \n
\n
\n updateAttribute('age', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('age', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n\n
\n
\n \n
\n
\n updateAttribute('height', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('height', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n
\n\n
\n
\n
\n \n updateAttribute('hair', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {HAIR_COLORS.map(c => )}\n \n
\n
\n \n updateAttribute('eyes', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {EYE_COLORS.map(c => )}\n \n
\n
\n
\n \n updateAttribute('physicalQuirk', e.target.value)}\n placeholder={t('wb.physical_quirk_ph')}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n\n {/* SECTION 3: PSYCHOLOGIE */}\n
\n

\n {t('wb.psychology')}\n

\n\n
\n
\n
\n
\n {t('wb.introvert')}\n {t('wb.extravert')}\n
\n updatePersonality('spectrumIntrovertExtravert', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n {t('wb.emotional')}\n {t('wb.rational')}\n
\n updatePersonality('spectrumEmotionalRational', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n {t('wb.chaotic')}\n {t('wb.lawful')}\n
\n updatePersonality('spectrumChaoticLawful', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n\n
\n \n updateAttribute('behavioralQuirk', e.target.value)}\n placeholder={t('wb.behavioral_quirk_ph')}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n );\n };\n\n const renderCustomFieldsEditor = () => {\n const currentTemplate = templates.find(t => t.entityType === tempEntity?.type);\n if (!currentTemplate || currentTemplate.fields.length === 0) return null;\n\n return (\n
\n

\n {t('wb.custom_fields')}\n

\n
\n {currentTemplate.fields.map(field => {\n const value = tempEntity?.customValues?.[field.id] ?? '';\n\n return (\n
\n \n\n {field.type === 'textarea' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n ) : field.type === 'select' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n >\n \n {field.options?.map(opt => (\n \n ))}\n \n ) : field.type === 'boolean' ? (\n \n ) : (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n )}\n
\n );\n })}\n
\n
\n );\n };\n\n const renderTemplateManager = () => {\n const template = templates.find(t => t.entityType === activeTemplateType) || { entityType: activeTemplateType, fields: [] };\n\n return (\n
\n
\n
\n

\n {t('wb.template_editor')}\n

\n

\n {t('wb.template_editor_desc')}\n

\n
\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n setActiveTemplateType(type)}\n className={`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${activeTemplateType === type\n ? 'bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600'\n : 'text-theme-muted hover:text-theme-text hover:bg-theme-panel/50'\n }`}\n >\n {type}\n \n ))}\n
\n\n
\n {template.fields.map((field, idx) => (\n
\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { label: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n />\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { type: e.target.value as CustomFieldType })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n \n \n \n \n \n \n
\n {field.type === 'select' && (\n
\n \n updateCustomField(activeTemplateType, field.id, { options: e.target.value.split(',').map(s => s.trim()) })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n placeholder={t('wb.options_ph')}\n />\n
\n )}\n
\n deleteCustomField(activeTemplateType, field.id)}\n className=\"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5\"\n >\n \n \n
\n ))}\n\n addCustomField(activeTemplateType)}\n className=\"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2\"\n >\n {t('wb.add_field')}\n \n
\n
\n );\n };\n\n if (mode === 'templates') {\n return (\n
\n
\n
\n

{t('wb.preview_cards')}

\n
\n
\n
\n
\n
\n
\n
\n {renderTemplateManager()}\n
\n );\n }\n\n return (\n
\n
\n
\n

{t('wb.explorer')}

\n setMode('templates')}\n className=\"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors\"\n title={t('wb.manage_templates')}\n >\n {t('wb.templates')}\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n
\n
\n

\n {ENTITY_ICONS[type]} {type}s\n

\n handleAdd(type)}\n className=\"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors\"\n >\n \n \n
\n
\n {filterByType(type).length === 0 && (\n

{t('wb.no_element')}

\n )}\n {filterByType(type).map(entity => (\n handleEdit(entity)}\n className={`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${editingId === entity.id ? 'bg-blue-500/10 border-l-4 border-blue-500' : ''}`}\n >\n
\n
{entity.name}
\n
{entity.description}
\n
\n { e.stopPropagation(); handleDelete(entity.id); }}\n className=\"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity\"\n >\n \n \n
\n ))}\n
\n
\n ))}\n
\n
\n\n
\n {editingId && tempEntity ? (\n
\n
\n
\n \n {tempEntity.type}\n \n

\n {tempEntity.type === EntityType.CHARACTER ? t('wb.char_sheet') : t('wb.edit_sheet')}\n

\n
\n
\n \n
\n
\n\n
\n
\n \n setTempEntity({ ...tempEntity, name: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg\"\n placeholder={t('wb.name_ph')}\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, description: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20\"\n placeholder={t('wb.short_desc_ph')}\n />\n
\n\n {tempEntity.type === EntityType.CHARACTER && renderCharacterEditor()}\n\n {renderCustomFieldsEditor()}\n\n
\n
\n \n setTempEntity({ ...tempEntity, storyContext: e.target.value })}\n className=\"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted\"\n placeholder={t('wb.story_context_ph')}\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, details: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif\"\n placeholder={t('wb.notes_bio_ph')}\n />\n
\n
\n\n
\n \n \n {t('wb.save')}\n \n
\n
\n
\n ) : (\n
\n
🌍
\n

{t('wb.select_start')}

\n

{t('wb.ai_help')}

\n
\n )}\n
\n \n );\n};\n\nexport default WorldBuilder;"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AANA;;;;;;;AAkBA,MAAM,0BAA+C;IACnD,KAAK;IACL,QAAQ;IACR,MAAM;IACN,MAAM;IACN,WAAW;IACX,MAAM;IACN,aAAa;QACX,4BAA4B;QAC5B,2BAA2B;QAC3B,uBAAuB;IACzB;IACA,eAAe;IACf,iBAAiB;AACnB;AAEA,MAAM,eAA4C,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,iBAAiB,EAAE;IAC5I,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,gMAAW;IACzB,MAAM,CAAC,WAAW,aAAa,GAAG,IAAA,6PAAQ,EAAgB;IAC1D,MAAM,CAAC,YAAY,cAAc,GAAG,IAAA,6PAAQ,EAAgB;IAC5D,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAA,6PAAQ,EAA2B;IAE3D,wBAAwB;IACxB,MAAM,CAAC,oBA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IAAI;oDAClC,UAAU,CAAA,IAAK,cAAc;4DAAE,GAAG,UAAU;4DAAE,cAAc,EAAE,MAAM,CAAC,KAAK;wDAAC;oDAC3E,WAAU;oDACV,aAAa,EAAE;;;;;;;;;;;;sDAInB,0RAAC;4CAAI,WAAU;;8DACb,0RAAC;oDAAM,WAAU;8DAAkD,EAAE;;;;;;8DACrE,0RAAC;oDACC,OAAO,WAAW,OAAO;oDACzB,UAAU,CAAA,IAAK,cAAc;4DAAE,GAAG,UAAU;4DAAE,SAAS,EAAE,MAAM,CAAC,KAAK;wDAAC;oDACtE,WAAU;oDACV,aAAa,EAAE;;;;;;;;;;;;;;;;;;8CAKrB,0RAAC;oCAAI,WAAU;8CACb,cAAA,0RAAC;wCACC,SAAS;wCACT,WAAU;;0DAEV,0RAAC,sPAAI;gDAAC,MAAM;;;;;;4CACX,EAAE;;;;;;;;;;;;;;;;;;;;;;;6EAMX,0RAAC;oBAAI,WAAU;;sCACb,0RAAC;4BAAI,WAAU;sCAA2B;;;;;;sCAC1C,0RAAC;4BAAE,WAAU;sCAAW,EAAE;;;;;;sCAC1B,0RAAC;4BAAE,WAAU;sCAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;AAMtC;uCAEe"}}, + {"offset": {"line": 1783, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/world/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport WorldBuilder from '@/components/WorldBuilder';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function WorldPage() {\r\n const { project, updateProject, createEntity, updateEntity, deleteEntity } = useProjectContext();\r\n\r\n return (\r\n {\r\n return await createEntity(entityData.type, entityData);\r\n }}\r\n onUpdate={(entityId, updates) => updateEntity(entityId, updates)}\r\n onDelete={(entityId) => deleteEntity(entityId)}\r\n templates={project.templates || []}\r\n onUpdateTemplates={(t) => updateProject({ templates: t })}\r\n initialSelectedId={null}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AAHA;;;;AAKe,SAAS;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,IAAA,qMAAiB;IAE9F,qBACI,0RAAC,yLAAY;QACT,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,UAAU,OAAO;YACb,OAAO,MAAM,aAAa,WAAW,IAAI,EAAE;QAC/C;QACA,UAAU,CAAC,UAAU,UAAY,aAAa,UAAU;QACxD,UAAU,CAAC,WAAa,aAAa;QACrC,WAAW,QAAQ,SAAS,IAAI,EAAE;QAClC,mBAAmB,CAAC,IAAM,cAAc;gBAAE,WAAW;YAAE;QACvD,mBAAmB;;;;;;AAG/B"}}] } \ No newline at end of file diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js index 7996976..6b29c9a 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js @@ -40,6 +40,10 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj // Auto-Save State const [saveStatus, setSaveStatus] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])('saved'); const saveTimeoutRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useRef"])(null); + // Track sync state to avoid autosave loopbacks wiping current edits + // Start as null so the initial useEffect ALWAYS writes initialContent to the div + const syncRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useRef"])(null); + const latestContentRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useRef"])(initialContent); // Context Menu State const [contextMenu, setContextMenu] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(null); const [isAiLoading, setIsAiLoading] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useState"])(false); @@ -146,16 +150,32 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj })); // --- Effects --- (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useEffect"])(()=>{ - if (contentRef.current && contentRef.current.innerHTML !== initialContent) { - // Only update if difference is significant to avoid cursor jumps on small re-renders? - // OR better: Only update if NOT focused? - if (!isFocused && Math.abs(contentRef.current.innerHTML.length - initialContent.length) > 5) { - contentRef.current.innerHTML = initialContent; - } - } + if (!contentRef.current || initialContent === undefined) return; + // Ignore exact loopbacks from our own saves + if (initialContent === syncRef.current) return; + // Safety: never overwrite real content with an empty string from a stale/placeholder source + const hasRealContent = latestContentRef.current && latestContentRef.current.trim().length > 0; + if (!initialContent && hasRealContent) return; + // We reached here, so initialContent is genuinely NEW data we didn't know about. + // E.g. clicked another chapter, or data was modified in another tab/device. + contentRef.current.innerHTML = initialContent; + syncRef.current = initialContent; + latestContentRef.current = initialContent; }, [ - initialContent, - isFocused + initialContent + ]); + // Flush pending save on unmount + (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["useEffect"])(()=>{ + return ()=>{ + if (saveTimeoutRef.current) { + clearTimeout(saveTimeoutRef.current); + if (latestContentRef.current !== syncRef.current && onSave) { + onSave(latestContentRef.current); + } + } + }; + }, [ + onSave ]); // --- Event Handlers --- const execCommand = (command, value = undefined)=>{ @@ -165,14 +185,18 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj }; const handleInput = ()=>{ if (contentRef.current) { - if (onChange) onChange(contentRef.current.innerHTML); + const currentHtml = contentRef.current.innerHTML; + latestContentRef.current = currentHtml; + if (onChange) onChange(currentHtml); // Auto-Save Debounce if (onSave) { setSaveStatus('unsaved'); if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current); saveTimeoutRef.current = setTimeout(async ()=>{ setSaveStatus('saving'); - await onSave(contentRef.current?.innerHTML || ""); + const htmlToSave = latestContentRef.current; + await onSave(htmlToSave); + syncRef.current = htmlToSave; // Record that we've synced this exact string to the server setSaveStatus('saved'); }, 2000); // 2 seconds } @@ -281,12 +305,12 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 311, + lineNumber: 340, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 298, + lineNumber: 327, columnNumber: 5 }, ("TURBOPACK compile-time value", void 0)); const hasSelection = savedRange.current && !savedRange.current.collapsed; @@ -304,7 +328,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj ` }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 319, + lineNumber: 348, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -316,7 +340,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Gras" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 330, + lineNumber: 359, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -325,7 +349,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Italique" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 331, + lineNumber: 360, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -334,14 +358,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Souligné" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 332, + lineNumber: 361, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 333, + lineNumber: 362, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -351,7 +375,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Titre 1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 334, + lineNumber: 363, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -361,14 +385,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Titre 2" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 335, + lineNumber: 364, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 336, + lineNumber: 365, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -377,7 +401,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Aligner à gauche" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 337, + lineNumber: 366, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -386,7 +410,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Centrer" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 338, + lineNumber: 367, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -395,14 +419,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Aligner à droite" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 339, + lineNumber: 368, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 340, + lineNumber: 369, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -411,14 +435,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj label: "Liste" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 341, + lineNumber: 370, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 343, + lineNumber: 372, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -431,7 +455,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj className: "animate-spin" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 347, + lineNumber: 376, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)), " Sauvegarde..." @@ -444,7 +468,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj className: "text-green-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 348, + lineNumber: 377, columnNumber: 40 }, ("TURBOPACK compile-time value", void 0)), " Sauvegardé" @@ -455,20 +479,20 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj children: "Modifications non enregistrées..." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 349, + lineNumber: 378, columnNumber: 40 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 346, + lineNumber: 375, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 352, + lineNumber: 381, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -478,13 +502,13 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj isActive: showHistoryMargin }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 353, + lineNumber: 382, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 329, + lineNumber: 358, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -497,6 +521,8 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj ref: contentRef, contentEditable: true, suppressContentEditableWarning: true, + spellCheck: true, + lang: "fr-FR", className: "bg-theme-editor-bg shadow-sm w-[800px] min-h-[1000px] p-12 outline-none font-serif text-lg leading-relaxed text-theme-editor-text editor-content transition-colors duration-300", onInput: handleInput, onBlur: ()=>{ @@ -512,7 +538,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj "data-placeholder": "Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 369, + lineNumber: 398, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), showHistoryMargin && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -526,7 +552,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj className: "mx-auto mb-2 opacity-20" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 391, + lineNumber: 422, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { @@ -534,13 +560,13 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj children: "L'historique des modifications IA apparaîtra ici, aligné avec votre texte." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 392, + lineNumber: 423, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 390, + lineNumber: 421, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), versionGroups.map((group)=>{ @@ -559,7 +585,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj className: "absolute inset-0 bg-white border border-indigo-100 rounded-lg transform -translate-x-1 -translate-y-1 -z-10 shadow-sm" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 412, + lineNumber: 443, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -574,7 +600,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj className: "text-indigo-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 422, + lineNumber: 453, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -582,13 +608,13 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj children: latest.type }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 424, + lineNumber: 455, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 420, + lineNumber: 451, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -602,7 +628,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 432, + lineNumber: 463, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)), isStack && (isExpanded ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$up$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__ChevronUp$3e$__["ChevronUp"], { @@ -610,26 +636,26 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj className: "text-slate-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 436, + lineNumber: 467, columnNumber: 42 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$down$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__$3c$export__default__as__ChevronDown$3e$__["ChevronDown"], { size: 14, className: "text-slate-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 436, + lineNumber: 467, columnNumber: 95 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 431, + lineNumber: 462, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 416, + lineNumber: 447, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)), !isExpanded && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -644,7 +670,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 444, + lineNumber: 475, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -655,20 +681,20 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 10 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 451, + lineNumber: 482, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), " Restaurer" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 447, + lineNumber: 478, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 443, + lineNumber: 474, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), isExpanded && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -684,7 +710,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj children: i === 0 ? 'Dernière version' : `Version -${i}` }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 462, + lineNumber: 493, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -696,13 +722,13 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 465, + lineNumber: 496, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 461, + lineNumber: 492, columnNumber: 31 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -714,7 +740,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 469, + lineNumber: 500, columnNumber: 31 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -725,54 +751,54 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 10 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 476, + lineNumber: 507, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), " Restaurer cette version" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 472, + lineNumber: 503, columnNumber: 31 }, ("TURBOPACK compile-time value", void 0)) ] }, v.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 460, + lineNumber: 491, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 458, + lineNumber: 489, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 408, + lineNumber: 439, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) }, group.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 403, + lineNumber: 434, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)); }) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 387, + lineNumber: 418, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 366, + lineNumber: 395, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 362, + lineNumber: 391, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), contextMenu && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["Fragment"], { @@ -786,7 +812,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj } }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 494, + lineNumber: 525, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -803,7 +829,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 24 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 505, + lineNumber: 536, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -811,13 +837,13 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj children: "L'IA travaille..." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 506, + lineNumber: 537, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 504, + lineNumber: 535, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["Fragment"], { children: [ @@ -826,7 +852,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj children: "Outils IA" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 510, + lineNumber: 541, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -838,14 +864,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 519, + lineNumber: 550, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Corriger l'orthographe" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 514, + lineNumber: 545, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -857,14 +883,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 527, + lineNumber: 558, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Reformuler" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 522, + lineNumber: 553, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -876,14 +902,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 535, + lineNumber: 566, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Développer" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 530, + lineNumber: 561, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -894,21 +920,21 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 542, + lineNumber: 573, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Continuer l'écriture" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 538, + lineNumber: 569, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "h-px bg-slate-100 my-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 545, + lineNumber: 576, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -916,7 +942,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj children: "Édition" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 547, + lineNumber: 578, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -928,14 +954,14 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 556, + lineNumber: 587, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Copier" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 551, + lineNumber: 582, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$ssr$2f$react$2d$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$ssr$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -946,21 +972,21 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 563, + lineNumber: 594, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Tout sélectionner" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 559, + lineNumber: 590, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 499, + lineNumber: 530, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] @@ -968,7 +994,7 @@ const RichTextEditor = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$proj ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 318, + lineNumber: 347, columnNumber: 5 }, ("TURBOPACK compile-time value", void 0)); }); diff --git a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js.map b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js.map index af1d4ba..2919edf 100644 --- a/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js.map +++ b/.next/dev/server/chunks/ssr/Documents_00 - projet_plumeia_src_47fff37c._.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/RichTextEditor.tsx"],"sourcesContent":["'use client';\n\nimport React, { useRef, useEffect, useState, useImperativeHandle, forwardRef, useMemo } from 'react';\nimport {\n Bold, Italic, Underline, AlignLeft, AlignCenter, AlignRight, List, Heading1, Heading2,\n Copy, Wand2, Check, RefreshCw, Maximize2, Loader2, MousePointerClick, History, RotateCcw,\n ChevronDown, ChevronUp, Layers\n} from 'lucide-react';\n\nexport interface RichTextEditorHandle {\n insertHtml: (html: string) => void;\n}\n\ninterface RichTextEditorProps {\n initialContent: string;\n onChange?: (html: string) => void;\n onSave?: (html: string) => void;\n onSelectionChange?: (text: string) => void;\n onAiTransform?: (text: string, mode: 'correct' | 'rewrite' | 'expand' | 'continue') => Promise;\n}\n\ninterface Version {\n id: string;\n timestamp: number;\n type: string;\n content: string; // Full HTML snapshot\n snippet: string; // Selected text snippet before change\n topOffset: number; // Y position relative to editor top\n}\n\ninterface VersionGroup {\n id: string;\n topOffset: number;\n versions: Version[];\n}\n\nconst RichTextEditor = forwardRef(({ initialContent, onChange, onSave, onSelectionChange, onAiTransform }, ref) => {\n const contentRef = useRef(null);\n const scrollContainerRef = useRef(null);\n const [isFocused, setIsFocused] = useState(false);\n\n // Auto-Save State\n const [saveStatus, setSaveStatus] = useState<'saved' | 'saving' | 'unsaved'>('saved');\n const saveTimeoutRef = useRef(null);\n\n // Context Menu State\n const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);\n const [isAiLoading, setIsAiLoading] = useState(false);\n\n // History State\n const [versions, setVersions] = useState([]);\n const [showHistoryMargin, setShowHistoryMargin] = useState(true);\n const [expandedGroupIds, setExpandedGroupIds] = useState>(new Set());\n\n // Refs to track selection\n const savedRange = useRef(null);\n const lastCursorPosition = useRef(null);\n\n // --- Helpers ---\n\n // Group versions by proximity (within 60px) to stack them\n const versionGroups = useMemo(() => {\n const sortedVersions = [...versions].sort((a, b) => b.timestamp - a.timestamp);\n const groups: VersionGroup[] = [];\n\n sortedVersions.forEach(v => {\n // Find an existing group close to this version\n const existingGroup = groups.find(g => Math.abs(g.topOffset - v.topOffset) < 60);\n\n if (existingGroup) {\n existingGroup.versions.push(v);\n // Keep the group timestamp sorted\n existingGroup.versions.sort((a, b) => b.timestamp - a.timestamp);\n } else {\n groups.push({\n id: `group-${v.id}`,\n topOffset: v.topOffset,\n versions: [v]\n });\n }\n });\n\n return groups;\n }, [versions]);\n\n const toggleGroup = (groupId: string) => {\n const newSet = new Set(expandedGroupIds);\n if (newSet.has(groupId)) {\n newSet.delete(groupId);\n } else {\n newSet.add(groupId);\n }\n setExpandedGroupIds(newSet);\n };\n\n const getSelectionTopOffset = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current) {\n const range = sel.getRangeAt(0);\n const rect = range.getBoundingClientRect();\n // We need offset relative to the content container (contentRef)\n // contentRef is the white page div.\n const containerRect = contentRef.current.getBoundingClientRect();\n return rect.top - containerRect.top;\n }\n return 0;\n };\n\n const saveVersion = (type: string, textSnippet: string) => {\n if (!contentRef.current) return;\n\n const topOffset = getSelectionTopOffset();\n\n const newVersion: Version = {\n id: Date.now().toString(),\n timestamp: Date.now(),\n type: type,\n content: contentRef.current.innerHTML,\n snippet: textSnippet.substring(0, 80) + (textSnippet.length > 80 ? '...' : ''),\n topOffset\n };\n\n setVersions(prev => [newVersion, ...prev]);\n setShowHistoryMargin(true);\n };\n\n const restoreVersion = (version: Version) => {\n if (!contentRef.current) return;\n if (confirm('Restaurer cette version ? Le contenu actuel sera remplacé.')) {\n contentRef.current.innerHTML = version.content;\n handleInput();\n }\n };\n\n // --- Exposed Methods ---\n\n useImperativeHandle(ref, () => ({\n insertHtml: (text: string) => {\n saveVersion('Insertion Chat', 'Insertion depuis le panneau IA');\n\n contentRef.current?.focus();\n\n const sel = window.getSelection();\n if (lastCursorPosition.current) {\n sel?.removeAllRanges();\n sel?.addRange(lastCursorPosition.current);\n } else if (contentRef.current) {\n const range = document.createRange();\n range.selectNodeContents(contentRef.current);\n range.collapse(false);\n sel?.removeAllRanges();\n sel?.addRange(range);\n }\n\n const htmlToInsert = text.includes('<') ? text : text.replace(/\\n/g, '
');\n document.execCommand('insertHTML', false, htmlToInsert);\n handleInput();\n }\n }));\n\n // --- Effects ---\n\n useEffect(() => {\n if (contentRef.current && contentRef.current.innerHTML !== initialContent) {\n // Only update if difference is significant to avoid cursor jumps on small re-renders?\n // OR better: Only update if NOT focused?\n if (!isFocused && Math.abs(contentRef.current.innerHTML.length - initialContent.length) > 5) {\n contentRef.current.innerHTML = initialContent;\n }\n }\n }, [initialContent, isFocused]);\n\n // --- Event Handlers ---\n\n const execCommand = (command: string, value: string | undefined = undefined) => {\n document.execCommand(command, false, value);\n handleInput();\n contentRef.current?.focus();\n };\n\n const handleInput = () => {\n if (contentRef.current) {\n if (onChange) onChange(contentRef.current.innerHTML);\n\n // Auto-Save Debounce\n if (onSave) {\n setSaveStatus('unsaved');\n if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);\n\n saveTimeoutRef.current = setTimeout(async () => {\n setSaveStatus('saving');\n await onSave(contentRef.current?.innerHTML || \"\");\n setSaveStatus('saved');\n }, 2000); // 2 seconds\n }\n }\n };\n\n const saveSelection = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current?.contains(sel.anchorNode)) {\n lastCursorPosition.current = sel.getRangeAt(0).cloneRange();\n }\n };\n\n const handleSelection = () => {\n const selection = window.getSelection();\n saveSelection();\n\n if (selection && selection.toString().length > 0 && onSelectionChange) {\n onSelectionChange(selection.toString());\n } else if (onSelectionChange) {\n onSelectionChange(\"\");\n }\n };\n\n const handleContextMenu = (e: React.MouseEvent) => {\n e.preventDefault();\n const selection = window.getSelection();\n\n if (selection && selection.rangeCount > 0) {\n const range = selection.getRangeAt(0);\n if (contentRef.current?.contains(range.commonAncestorContainer)) {\n savedRange.current = range.cloneRange();\n setContextMenu({ x: e.clientX, y: e.clientY });\n return;\n }\n }\n\n savedRange.current = null;\n setContextMenu({ x: e.clientX, y: e.clientY });\n };\n\n const handleAiAction = async (mode: 'correct' | 'rewrite' | 'expand' | 'continue') => {\n if (!onAiTransform) return;\n\n const range = savedRange.current;\n const text = range?.toString() || \"\";\n\n if (!text && mode !== 'continue') return;\n\n const typeLabels: Record = {\n correct: 'Correction',\n rewrite: 'Reformulation',\n expand: 'Développement',\n continue: 'Continuation'\n };\n saveVersion(typeLabels[mode], text || \"Position curseur\");\n\n setIsAiLoading(true);\n try {\n const result = await onAiTransform(text, mode);\n\n if (result) {\n contentRef.current?.focus();\n const sel = window.getSelection();\n sel?.removeAllRanges();\n\n if (range) {\n sel?.addRange(range);\n }\n\n if (mode === 'continue') {\n sel?.collapseToEnd();\n document.execCommand('insertText', false, \" \" + result);\n } else {\n document.execCommand('insertText', false, result);\n }\n\n handleInput();\n }\n } catch (e) {\n console.error(\"AI Action failed\", e);\n } finally {\n setIsAiLoading(false);\n setContextMenu(null);\n }\n };\n\n const handleCopy = () => {\n if (savedRange.current) {\n const sel = window.getSelection();\n sel?.removeAllRanges();\n sel?.addRange(savedRange.current);\n document.execCommand('copy');\n }\n setContextMenu(null);\n };\n\n const handleSelectAll = () => {\n contentRef.current?.focus();\n document.execCommand('selectAll');\n handleSelection();\n setContextMenu(null);\n }\n\n const ToolbarButton = ({ icon: Icon, cmd, arg, label, onClick, isActive }: any) => (\n {\n if (onClick) {\n e.preventDefault();\n onClick();\n } else {\n e.preventDefault();\n execCommand(cmd, arg);\n }\n }}\n className={`p-1.5 rounded transition-colors ${isActive ? 'bg-indigo-100 text-indigo-700' : 'text-slate-500 hover:text-slate-800 hover:bg-slate-200'}`}\n title={label}\n >\n \n \n );\n\n const hasSelection = savedRange.current && !savedRange.current.collapsed;\n\n return (\n
\n \n\n {/* Toolbar */}\n
\n \n \n \n
\n \n \n
\n \n \n \n
\n \n\n
\n\n {/* Save Status Indicator */}\n
\n {saveStatus === 'saving' && <> Sauvegarde...}\n {saveStatus === 'saved' && <> Sauvegardé}\n {saveStatus === 'unsaved' && Modifications non enregistrées...}\n
\n\n
\n setShowHistoryMargin(!showHistoryMargin)}\n isActive={showHistoryMargin}\n />\n
\n\n {/* Main Container - Scrollable Area */}\n \n
\n\n {/* Editor Content Page */}\n { setIsFocused(false); saveSelection(); }}\n onFocus={() => setIsFocused(true)}\n onKeyUp={saveSelection}\n onMouseUp={saveSelection}\n onSelect={handleSelection}\n onClick={() => contentRef.current?.focus()}\n onContextMenu={handleContextMenu}\n data-placeholder=\"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)\"\n />\n\n {/* History Track - Moving with the page */}\n {showHistoryMargin && (\n
\n {/* Placeholder for empty history */}\n {versionGroups.length === 0 && (\n
\n \n

L'historique des modifications IA apparaîtra ici, aligné avec votre texte.

\n
\n )}\n\n {/* Render Groups */}\n {versionGroups.map((group) => {\n const isExpanded = expandedGroupIds.has(group.id);\n const isStack = group.versions.length > 1;\n const latest = group.versions[0];\n\n return (\n \n
\n\n {/* Stack Effect Background Card */}\n {isStack && !isExpanded && (\n
\n )}\n\n {/* Main Card Header */}\n isStack && toggleGroup(group.id)}\n >\n
\n {isStack && (\n \n )}\n \n {latest.type}\n \n
\n
\n \n {new Date(latest.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}\n \n {isStack && (\n isExpanded ? : \n )}\n
\n
\n\n {/* Card Content (Latest) */}\n {!isExpanded && (\n
\n
\n \"{latest.snippet}\"\n
\n restoreVersion(latest)}\n className=\"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors\"\n >\n Restaurer\n \n
\n )}\n\n {/* Expanded Stack View */}\n {isExpanded && (\n
\n {group.versions.map((v, i) => (\n
\n
\n \n {i === 0 ? 'Dernière version' : `Version -${i}`}\n \n \n {new Date(v.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit' })}\n \n
\n
\n \"{v.snippet}\"\n
\n restoreVersion(v)}\n className=\"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors\"\n >\n Restaurer cette version\n \n
\n ))}\n
\n )}\n
\n
\n );\n })}\n
\n )}\n
\n
\n\n {/* Context Menu Overlay */}\n {contextMenu && (\n <>\n setContextMenu(null)}\n onContextMenu={(e) => { e.preventDefault(); setContextMenu(null); }}\n />\n \n {isAiLoading ? (\n
\n \n L'IA travaille...\n
\n ) : (\n <>\n
\n Outils IA\n
\n\n handleAiAction('correct')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Corriger l'orthographe\n \n\n handleAiAction('rewrite')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Reformuler\n \n\n handleAiAction('expand')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Développer\n \n\n handleAiAction('continue')}\n className=\"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors\"\n >\n Continuer l'écriture\n \n\n
\n\n
\n Édition\n
\n\n \n Copier\n \n\n \n Tout sélectionner\n \n \n )}\n
\n \n )}\n
\n );\n});\n\nexport default RichTextEditor;\n"],"names":[],"mappings":";;;;;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAHA;;;;AAoCA,MAAM,+BAAiB,IAAA,+PAAU,EAA4C,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE;IACpJ,MAAM,aAAa,IAAA,2PAAM,EAAiB;IAC1C,MAAM,qBAAqB,IAAA,2PAAM,EAAiB;IAClD,MAAM,CAAC,WAAW,aAAa,GAAG,IAAA,6PAAQ,EAAC;IAE3C,kBAAkB;IAClB,MAAM,CAAC,YAAY,cAAc,GAAG,IAAA,6PAAQ,EAAiC;IAC7E,MAAM,iBAAiB,IAAA,2PAAM,EAAwB;IAErD,qBAAqB;IACrB,MAAM,CAAC,aAAa,eAAe,GAAG,IAAA,6PAAQ,EAAkC;IAChF,MAAM,CAAC,aAAa,eAAe,GAAG,IAAA,6PAAQ,EAAC;IAE/C,gBAAgB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;oCAAI,WAAU;8CAA0E;;;;;;8CAIzF,0RAAC;oCACC,SAAS,IAAM,eAAe;oCAC9B,UAAU,CAAC;oCACX,WAAW,CAAC,sEAAsE,EAAE,CAAC,eAAe,sCAAsC,2DAA2D;;sDAErM,0RAAC,yPAAK;4CAAC,MAAM;;;;;;wCAAM;;;;;;;8CAGrB,0RAAC;oCACC,SAAS,IAAM,eAAe;oCAC9B,UAAU,CAAC;oCACX,WAAW,CAAC,sEAAsE,EAAE,CAAC,eAAe,sCAAsC,2DAA2D;;sDAErM,0RAAC,yQAAS;4CAAC,MAAM;;;;;;wCAAM;;;;;;;8CAGzB,0RAAC;oCACC,SAAS,IAAM,eAAe;oCAC9B,UAAU,CAAC;oCACX,WAAW,CAAC,sEAAsE,EAAE,CAAC,eAAe,sCAAsC,2DAA2D;;sDAErM,0RAAC,yQAAS;4CAAC,MAAM;;;;;;wCAAM;;;;;;;8CAGzB,0RAAC;oCACC,SAAS,IAAM,eAAe;oCAC9B,WAAU;;sDAEV,0RAAC,oQAAK;4CAAC,MAAM;;;;;;wCAAM;;;;;;;8CAGrB,0RAAC;oCAAI,WAAU;;;;;;8CAEf,0RAAC;oCAAI,WAAU;8CAA0E;;;;;;8CAIzF,0RAAC;oCACC,SAAS;oCACT,UAAU,CAAC;oCACX,WAAW,CAAC,sEAAsE,EAAE,CAAC,eAAe,sCAAsC,oCAAoC;;sDAE9K,0RAAC,sPAAI;4CAAC,MAAM;;;;;;wCAAM;;;;;;;8CAGpB,0RAAC;oCACC,SAAS;oCACT,WAAU;;sDAEV,0RAAC,qSAAiB;4CAAC,MAAM;;;;;;wCAAM;;;;;;;;;;;;;;;;;;;;;;AASjD;uCAEe"}}, - {"offset": {"line": 979, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport React, { useRef } from 'react';\r\nimport RichTextEditor, { RichTextEditorHandle } from '@/components/RichTextEditor';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport api from '@/lib/api';\r\n\r\nexport default function WritePage() {\r\n const editorRef = useRef(null);\r\n const { project, user, currentChapterId, updateChapter, incrementUsage } = useProjectContext();\r\n\r\n if (!currentChapterId) return null;\r\n\r\n const currentChapter = project.chapters?.find(c => c.id === currentChapterId);\r\n\r\n return (\r\n updateChapter(currentChapterId, { content: html })}\r\n onAiTransform={async (text, mode) => {\r\n const result = await api.ai.transform(text, mode, currentChapter?.content || '', user);\r\n incrementUsage();\r\n return result;\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AACA;AALA;;;;;;AAOe,SAAS;IACpB,MAAM,YAAY,IAAA,2PAAM,EAAuB;IAC/C,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,IAAA,qMAAiB;IAE5F,IAAI,CAAC,kBAAkB,OAAO;IAE9B,MAAM,iBAAiB,QAAQ,QAAQ,EAAE,KAAK,CAAA,IAAK,EAAE,EAAE,KAAK;IAE5D,qBACI,0RAAC,2LAAc;QACX,KAAK;QACL,gBAAgB,gBAAgB,WAAW;QAC3C,QAAQ,CAAC,OAAS,cAAc,kBAAkB;gBAAE,SAAS;YAAK;QAClE,eAAe,OAAO,MAAM;YACxB,MAAM,SAAS,MAAM,wKAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,MAAM,gBAAgB,WAAW,IAAI;YACjF;YACA,OAAO;QACX;;;;;;AAGZ"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/RichTextEditor.tsx"],"sourcesContent":["'use client';\n\nimport React, { useRef, useEffect, useState, useImperativeHandle, forwardRef, useMemo } from 'react';\nimport {\n Bold, Italic, Underline, AlignLeft, AlignCenter, AlignRight, List, Heading1, Heading2,\n Copy, Wand2, Check, RefreshCw, Maximize2, Loader2, MousePointerClick, History, RotateCcw,\n ChevronDown, ChevronUp, Layers\n} from 'lucide-react';\n\nexport interface RichTextEditorHandle {\n insertHtml: (html: string) => void;\n}\n\ninterface RichTextEditorProps {\n initialContent: string;\n onChange?: (html: string) => void;\n onSave?: (html: string) => void;\n onSelectionChange?: (text: string) => void;\n onAiTransform?: (text: string, mode: 'correct' | 'rewrite' | 'expand' | 'continue') => Promise;\n}\n\ninterface Version {\n id: string;\n timestamp: number;\n type: string;\n content: string; // Full HTML snapshot\n snippet: string; // Selected text snippet before change\n topOffset: number; // Y position relative to editor top\n}\n\ninterface VersionGroup {\n id: string;\n topOffset: number;\n versions: Version[];\n}\n\nconst RichTextEditor = forwardRef(({ initialContent, onChange, onSave, onSelectionChange, onAiTransform }, ref) => {\n const contentRef = useRef(null);\n const scrollContainerRef = useRef(null);\n const [isFocused, setIsFocused] = useState(false);\n\n // Auto-Save State\n const [saveStatus, setSaveStatus] = useState<'saved' | 'saving' | 'unsaved'>('saved');\n const saveTimeoutRef = useRef(null);\n\n // Track sync state to avoid autosave loopbacks wiping current edits\n // Start as null so the initial useEffect ALWAYS writes initialContent to the div\n const syncRef = useRef(null);\n const latestContentRef = useRef(initialContent);\n\n // Context Menu State\n const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);\n const [isAiLoading, setIsAiLoading] = useState(false);\n\n // History State\n const [versions, setVersions] = useState([]);\n const [showHistoryMargin, setShowHistoryMargin] = useState(true);\n const [expandedGroupIds, setExpandedGroupIds] = useState>(new Set());\n\n // Refs to track selection\n const savedRange = useRef(null);\n const lastCursorPosition = useRef(null);\n\n // --- Helpers ---\n\n // Group versions by proximity (within 60px) to stack them\n const versionGroups = useMemo(() => {\n const sortedVersions = [...versions].sort((a, b) => b.timestamp - a.timestamp);\n const groups: VersionGroup[] = [];\n\n sortedVersions.forEach(v => {\n // Find an existing group close to this version\n const existingGroup = groups.find(g => Math.abs(g.topOffset - v.topOffset) < 60);\n\n if (existingGroup) {\n existingGroup.versions.push(v);\n // Keep the group timestamp sorted\n existingGroup.versions.sort((a, b) => b.timestamp - a.timestamp);\n } else {\n groups.push({\n id: `group-${v.id}`,\n topOffset: v.topOffset,\n versions: [v]\n });\n }\n });\n\n return groups;\n }, [versions]);\n\n const toggleGroup = (groupId: string) => {\n const newSet = new Set(expandedGroupIds);\n if (newSet.has(groupId)) {\n newSet.delete(groupId);\n } else {\n newSet.add(groupId);\n }\n setExpandedGroupIds(newSet);\n };\n\n const getSelectionTopOffset = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current) {\n const range = sel.getRangeAt(0);\n const rect = range.getBoundingClientRect();\n // We need offset relative to the content container (contentRef)\n // contentRef is the white page div.\n const containerRect = contentRef.current.getBoundingClientRect();\n return rect.top - containerRect.top;\n }\n return 0;\n };\n\n const saveVersion = (type: string, textSnippet: string) => {\n if (!contentRef.current) return;\n\n const topOffset = getSelectionTopOffset();\n\n const newVersion: Version = {\n id: Date.now().toString(),\n timestamp: Date.now(),\n type: type,\n content: contentRef.current.innerHTML,\n snippet: textSnippet.substring(0, 80) + (textSnippet.length > 80 ? '...' : ''),\n topOffset\n };\n\n setVersions(prev => [newVersion, ...prev]);\n setShowHistoryMargin(true);\n };\n\n const restoreVersion = (version: Version) => {\n if (!contentRef.current) return;\n if (confirm('Restaurer cette version ? Le contenu actuel sera remplacé.')) {\n contentRef.current.innerHTML = version.content;\n handleInput();\n }\n };\n\n // --- Exposed Methods ---\n\n useImperativeHandle(ref, () => ({\n insertHtml: (text: string) => {\n saveVersion('Insertion Chat', 'Insertion depuis le panneau IA');\n\n contentRef.current?.focus();\n\n const sel = window.getSelection();\n if (lastCursorPosition.current) {\n sel?.removeAllRanges();\n sel?.addRange(lastCursorPosition.current);\n } else if (contentRef.current) {\n const range = document.createRange();\n range.selectNodeContents(contentRef.current);\n range.collapse(false);\n sel?.removeAllRanges();\n sel?.addRange(range);\n }\n\n const htmlToInsert = text.includes('<') ? text : text.replace(/\\n/g, '
');\n document.execCommand('insertHTML', false, htmlToInsert);\n handleInput();\n }\n }));\n\n // --- Effects ---\n\n useEffect(() => {\n if (!contentRef.current || initialContent === undefined) return;\n\n // Ignore exact loopbacks from our own saves\n if (initialContent === syncRef.current) return;\n\n // Safety: never overwrite real content with an empty string from a stale/placeholder source\n const hasRealContent = latestContentRef.current && latestContentRef.current.trim().length > 0;\n if (!initialContent && hasRealContent) return;\n\n // We reached here, so initialContent is genuinely NEW data we didn't know about.\n // E.g. clicked another chapter, or data was modified in another tab/device.\n contentRef.current.innerHTML = initialContent;\n syncRef.current = initialContent;\n latestContentRef.current = initialContent;\n }, [initialContent]);\n\n // Flush pending save on unmount\n useEffect(() => {\n return () => {\n if (saveTimeoutRef.current) {\n clearTimeout(saveTimeoutRef.current);\n if (latestContentRef.current !== syncRef.current && onSave) {\n onSave(latestContentRef.current);\n }\n }\n };\n }, [onSave]);\n\n // --- Event Handlers ---\n\n const execCommand = (command: string, value: string | undefined = undefined) => {\n document.execCommand(command, false, value);\n handleInput();\n contentRef.current?.focus();\n };\n\n const handleInput = () => {\n if (contentRef.current) {\n const currentHtml = contentRef.current.innerHTML;\n latestContentRef.current = currentHtml;\n\n if (onChange) onChange(currentHtml);\n\n // Auto-Save Debounce\n if (onSave) {\n setSaveStatus('unsaved');\n if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);\n\n saveTimeoutRef.current = setTimeout(async () => {\n setSaveStatus('saving');\n const htmlToSave = latestContentRef.current;\n await onSave(htmlToSave);\n syncRef.current = htmlToSave; // Record that we've synced this exact string to the server\n setSaveStatus('saved');\n }, 2000); // 2 seconds\n }\n }\n };\n\n const saveSelection = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current?.contains(sel.anchorNode)) {\n lastCursorPosition.current = sel.getRangeAt(0).cloneRange();\n }\n };\n\n const handleSelection = () => {\n const selection = window.getSelection();\n saveSelection();\n\n if (selection && selection.toString().length > 0 && onSelectionChange) {\n onSelectionChange(selection.toString());\n } else if (onSelectionChange) {\n onSelectionChange(\"\");\n }\n };\n\n const handleContextMenu = (e: React.MouseEvent) => {\n e.preventDefault();\n const selection = window.getSelection();\n\n if (selection && selection.rangeCount > 0) {\n const range = selection.getRangeAt(0);\n if (contentRef.current?.contains(range.commonAncestorContainer)) {\n savedRange.current = range.cloneRange();\n setContextMenu({ x: e.clientX, y: e.clientY });\n return;\n }\n }\n\n savedRange.current = null;\n setContextMenu({ x: e.clientX, y: e.clientY });\n };\n\n const handleAiAction = async (mode: 'correct' | 'rewrite' | 'expand' | 'continue') => {\n if (!onAiTransform) return;\n\n const range = savedRange.current;\n const text = range?.toString() || \"\";\n\n if (!text && mode !== 'continue') return;\n\n const typeLabels: Record = {\n correct: 'Correction',\n rewrite: 'Reformulation',\n expand: 'Développement',\n continue: 'Continuation'\n };\n saveVersion(typeLabels[mode], text || \"Position curseur\");\n\n setIsAiLoading(true);\n try {\n const result = await onAiTransform(text, mode);\n\n if (result) {\n contentRef.current?.focus();\n const sel = window.getSelection();\n sel?.removeAllRanges();\n\n if (range) {\n sel?.addRange(range);\n }\n\n if (mode === 'continue') {\n sel?.collapseToEnd();\n document.execCommand('insertText', false, \" \" + result);\n } else {\n document.execCommand('insertText', false, result);\n }\n\n handleInput();\n }\n } catch (e) {\n console.error(\"AI Action failed\", e);\n } finally {\n setIsAiLoading(false);\n setContextMenu(null);\n }\n };\n\n const handleCopy = () => {\n if (savedRange.current) {\n const sel = window.getSelection();\n sel?.removeAllRanges();\n sel?.addRange(savedRange.current);\n document.execCommand('copy');\n }\n setContextMenu(null);\n };\n\n const handleSelectAll = () => {\n contentRef.current?.focus();\n document.execCommand('selectAll');\n handleSelection();\n setContextMenu(null);\n }\n\n const ToolbarButton = ({ icon: Icon, cmd, arg, label, onClick, isActive }: any) => (\n {\n if (onClick) {\n e.preventDefault();\n onClick();\n } else {\n e.preventDefault();\n execCommand(cmd, arg);\n }\n }}\n className={`p-1.5 rounded transition-colors ${isActive ? 'bg-indigo-100 text-indigo-700' : 'text-slate-500 hover:text-slate-800 hover:bg-slate-200'}`}\n title={label}\n >\n \n \n );\n\n const hasSelection = savedRange.current && !savedRange.current.collapsed;\n\n return (\n
\n \n\n {/* Toolbar */}\n
\n \n \n \n
\n \n \n
\n \n \n \n
\n \n\n
\n\n {/* Save Status Indicator */}\n
\n {saveStatus === 'saving' && <> Sauvegarde...}\n {saveStatus === 'saved' && <> Sauvegardé}\n {saveStatus === 'unsaved' && Modifications non enregistrées...}\n
\n\n
\n setShowHistoryMargin(!showHistoryMargin)}\n isActive={showHistoryMargin}\n />\n
\n\n {/* Main Container - Scrollable Area */}\n \n
\n\n {/* Editor Content Page */}\n { setIsFocused(false); saveSelection(); }}\n onFocus={() => setIsFocused(true)}\n onKeyUp={saveSelection}\n onMouseUp={saveSelection}\n onSelect={handleSelection}\n onClick={() => contentRef.current?.focus()}\n onContextMenu={handleContextMenu}\n data-placeholder=\"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)\"\n />\n\n {/* History Track - Moving with the page */}\n {showHistoryMargin && (\n
\n {/* Placeholder for empty history */}\n {versionGroups.length === 0 && (\n
\n \n

L'historique des modifications IA apparaîtra ici, aligné avec votre texte.

\n
\n )}\n\n {/* Render Groups */}\n {versionGroups.map((group) => {\n const isExpanded = expandedGroupIds.has(group.id);\n const isStack = group.versions.length > 1;\n const latest = group.versions[0];\n\n return (\n \n
\n\n {/* Stack Effect Background Card */}\n {isStack && !isExpanded && (\n
\n )}\n\n {/* Main Card Header */}\n isStack && toggleGroup(group.id)}\n >\n
\n {isStack && (\n \n )}\n \n {latest.type}\n \n
\n
\n \n {new Date(latest.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}\n \n {isStack && (\n isExpanded ? : \n )}\n
\n
\n\n {/* Card Content (Latest) */}\n {!isExpanded && (\n
\n
\n \"{latest.snippet}\"\n
\n restoreVersion(latest)}\n className=\"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors\"\n >\n Restaurer\n \n
\n )}\n\n {/* Expanded Stack View */}\n {isExpanded && (\n
\n {group.versions.map((v, i) => (\n
\n
\n \n {i === 0 ? 'Dernière version' : `Version -${i}`}\n \n \n {new Date(v.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit' })}\n \n
\n
\n \"{v.snippet}\"\n
\n restoreVersion(v)}\n className=\"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors\"\n >\n Restaurer cette version\n \n
\n ))}\n
\n )}\n
\n
\n );\n })}\n
\n )}\n
\n
\n\n {/* Context Menu Overlay */}\n {contextMenu && (\n <>\n setContextMenu(null)}\n onContextMenu={(e) => { e.preventDefault(); setContextMenu(null); }}\n />\n \n {isAiLoading ? (\n
\n \n L'IA travaille...\n
\n ) : (\n <>\n
\n Outils IA\n
\n\n handleAiAction('correct')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Corriger l'orthographe\n \n\n handleAiAction('rewrite')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Reformuler\n \n\n handleAiAction('expand')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Développer\n \n\n handleAiAction('continue')}\n className=\"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-col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["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport React, { useRef } from 'react';\r\nimport RichTextEditor, { RichTextEditorHandle } from '@/components/RichTextEditor';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport api from '@/lib/api';\r\n\r\nexport default function WritePage() {\r\n const editorRef = useRef(null);\r\n const { project, user, currentChapterId, updateChapter, incrementUsage } = useProjectContext();\r\n\r\n if (!currentChapterId) return null;\r\n\r\n const currentChapter = project.chapters?.find(c => c.id === currentChapterId);\r\n\r\n return (\r\n updateChapter(currentChapterId, { content: html })}\r\n onAiTransform={async (text, mode) => {\r\n const result = await api.ai.transform(text, mode, currentChapter?.content || '', user);\r\n incrementUsage();\r\n return result;\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AACA;AALA;;;;;;AAOe,SAAS;IACpB,MAAM,YAAY,IAAA,2PAAM,EAAuB;IAC/C,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,IAAA,qMAAiB;IAE5F,IAAI,CAAC,kBAAkB,OAAO;IAE9B,MAAM,iBAAiB,QAAQ,QAAQ,EAAE,KAAK,CAAA,IAAK,EAAE,EAAE,KAAK;IAE5D,qBACI,0RAAC,2LAAc;QACX,KAAK;QACL,gBAAgB,gBAAgB,WAAW;QAC3C,QAAQ,CAAC,OAAS,cAAc,kBAAkB;gBAAE,SAAS;YAAK;QAClE,eAAe,OAAO,MAAM;YACxB,MAAM,SAAS,MAAM,wKAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,MAAM,gBAAgB,WAAW,IAAI;YACjF;YACA,OAAO;QACX;;;;;;AAGZ"}}] } \ No newline at end of file diff --git a/.next/dev/server/next-font-manifest.js b/.next/dev/server/next-font-manifest.js index f555279..a292786 100644 --- a/.next/dev/server/next-font-manifest.js +++ b/.next/dev/server/next-font-manifest.js @@ -1 +1 @@ -self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/Documents/00 - projet/plumeia/src/app/features/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/pricing/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}" \ No newline at end of file +self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/login/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}" \ No newline at end of file diff --git a/.next/dev/server/next-font-manifest.json b/.next/dev/server/next-font-manifest.json index d8ca697..b38890f 100644 --- a/.next/dev/server/next-font-manifest.json +++ b/.next/dev/server/next-font-manifest.json @@ -1,14 +1,30 @@ { "app": { - "[project]/Documents/00 - projet/plumeia/src/app/features/page": [ + "[project]/Documents/00 - projet/plumeia/src/app/dashboard/page": [ "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" ], - "[project]/Documents/00 - projet/plumeia/src/app/page": [ + "[project]/Documents/00 - projet/plumeia/src/app/login/page": [ "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" ], - "[project]/Documents/00 - projet/plumeia/src/app/pricing/page": [ + "[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page": [ + "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", + "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" + ], + "[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page": [ + "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", + "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" + ], + "[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page": [ + "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", + "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" + ], + "[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page": [ + "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", + "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" + ], + "[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page": [ "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" ] diff --git a/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js b/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js index de14945..532c069 100644 --- a/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js +++ b/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js @@ -6372,7 +6372,7 @@ var EntryStatus = /*#__PURE__*/ function(EntryStatus) { EntryStatus[EntryStatus["Rejected"] = 3] = "Rejected"; return EntryStatus; }({}); -const isOutputExportMode = ("TURBOPACK compile-time value", "development") === 'production' && ("TURBOPACK compile-time value", void 0) === 'export'; +const isOutputExportMode = ("TURBOPACK compile-time value", "development") === 'production' && ("TURBOPACK compile-time value", "standalone") === 'export'; const MetadataOnlyRequestTree = [ '', {}, diff --git a/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js.map b/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js.map index fdda3c1..0198df6 100644 --- a/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js.map +++ b/.next/dev/static/chunks/549ce_next_dist_client_8db15200._.js.map @@ -49,7 +49,7 @@ {"offset": {"line": 5871, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/add-base-path.ts"],"sourcesContent":["import { addPathPrefix } from '../shared/lib/router/utils/add-path-prefix'\nimport { normalizePathTrailingSlash } from './normalize-trailing-slash'\n\nconst basePath = (process.env.__NEXT_ROUTER_BASEPATH as string) || ''\n\nexport function addBasePath(path: string, required?: boolean): string {\n return normalizePathTrailingSlash(\n process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required\n ? path\n : addPathPrefix(path, basePath)\n )\n}\n"],"names":["addBasePath","basePath","process","env","__NEXT_ROUTER_BASEPATH","path","required","normalizePathTrailingSlash","__NEXT_MANUAL_CLIENT_BASE_PATH","addPathPrefix"],"mappings":"AAGkBE,QAAQC,GAAG,CAACC,sBAAsB;;;;;+BAEpCJ,eAAAA;;;eAAAA;;;+BALc;wCACa;AAE3C,MAAMC,mDAA6D;AAE5D,SAASD,YAAYK,IAAY,EAAEC,QAAkB;IAC1D,OAAOC,CAAAA,GAAAA,wBAAAA,0BAA0B,EAC/BL,QAAQC,GAAG,CAACK,0BACRH,IADsC,IAAI,CAACC,iBAE3CG,CAAAA,GAAAA,eAAAA,aAAa,EAACJ,MAAMJ;AAE5B","ignoreList":[0]}}, {"offset": {"line": 5899, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/app-router-utils.ts"],"sourcesContent":["import { isBot } from '../../shared/lib/router/utils/is-bot'\nimport { addBasePath } from '../add-base-path'\n\nexport function isExternalURL(url: URL) {\n return url.origin !== window.location.origin\n}\n\n/**\n * Given a link href, constructs the URL that should be prefetched. Returns null\n * in cases where prefetching should be disabled, like external URLs, or\n * during development.\n * @param href The href passed to , router.prefetch(), or similar\n * @returns A URL object to prefetch, or null if prefetching should be disabled\n */\nexport function createPrefetchURL(href: string): URL | null {\n // Don't prefetch for bots as they don't navigate.\n if (isBot(window.navigator.userAgent)) {\n return null\n }\n\n let url: URL\n try {\n url = new URL(addBasePath(href), window.location.href)\n } catch (_) {\n // TODO: Does this need to throw or can we just console.error instead? Does\n // anyone rely on this throwing? (Seems unlikely.)\n throw new Error(\n `Cannot prefetch '${href}' because it cannot be converted to a URL.`\n )\n }\n\n // Don't prefetch during development (improves compilation performance)\n if (process.env.NODE_ENV === 'development') {\n return null\n }\n\n // External urls can't be prefetched in the same way.\n if (isExternalURL(url)) {\n return null\n }\n\n return url\n}\n"],"names":["createPrefetchURL","isExternalURL","url","origin","window","location","href","isBot","navigator","userAgent","URL","addBasePath","_","Error","process","env","NODE_ENV"],"mappings":"AAgCMc,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;IAlBfhB,iBAAiB,EAAA;eAAjBA;;IAXAC,aAAa,EAAA;eAAbA;;;uBAHM;6BACM;AAErB,SAASA,cAAcC,GAAQ;IACpC,OAAOA,IAAIC,MAAM,KAAKC,OAAOC,QAAQ,CAACF,MAAM;AAC9C;AASO,SAASH,kBAAkBM,IAAY;IAC5C,kDAAkD;IAClD,IAAIC,CAAAA,GAAAA,OAAAA,KAAK,EAACH,OAAOI,SAAS,CAACC,SAAS,GAAG;QACrC,OAAO;IACT;IAEA,IAAIP;IACJ,IAAI;QACFA,MAAM,IAAIQ,IAAIC,CAAAA,GAAAA,aAAAA,WAAW,EAACL,OAAOF,OAAOC,QAAQ,CAACC,IAAI;IACvD,EAAE,OAAOM,GAAG;QACV,2EAA2E;QAC3E,kDAAkD;QAClD,MAAM,OAAA,cAEL,CAFK,IAAIC,MACR,CAAC,iBAAiB,EAAEP,KAAK,0CAA0C,CAAC,GADhE,qBAAA;mBAAA;wBAAA;0BAAA;QAEN;IACF;IAEA,uEAAuE;IACvE,wCAA4C;QAC1C,OAAO;IACT;;;AAQF","ignoreList":[0]}}, {"offset": {"line": 5962, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/links.ts"],"sourcesContent":["import type { FlightRouterState } from '../../shared/lib/app-router-types'\nimport type { AppRouterInstance } from '../../shared/lib/app-router-context.shared-runtime'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n PrefetchPriority,\n} from './segment-cache/types'\nimport { createCacheKey } from './segment-cache/cache-key'\nimport {\n type PrefetchTask,\n schedulePrefetchTask as scheduleSegmentPrefetchTask,\n cancelPrefetchTask,\n reschedulePrefetchTask,\n isPrefetchTaskDirty,\n} from './segment-cache/scheduler'\nimport { startTransition } from 'react'\n\ntype LinkElement = HTMLAnchorElement | SVGAElement\n\ntype Element = LinkElement | HTMLFormElement\n\n// Properties that are shared between Link and Form instances. We use the same\n// shape for both to prevent a polymorphic de-opt in the VM.\ntype LinkOrFormInstanceShared = {\n router: AppRouterInstance\n fetchStrategy: PrefetchTaskFetchStrategy\n\n isVisible: boolean\n\n // The most recently initiated prefetch task. It may or may not have\n // already completed. The same prefetch task object can be reused across\n // multiple prefetches of the same link.\n prefetchTask: PrefetchTask | null\n}\n\nexport type FormInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: null\n}\n\ntype PrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype NonPrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: null\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype PrefetchableInstance = PrefetchableLinkInstance | FormInstance\n\nexport type LinkInstance =\n | PrefetchableLinkInstance\n | NonPrefetchableLinkInstance\n\n// Tracks the most recently navigated link instance. When null, indicates\n// the current navigation was not initiated by a link click.\nlet linkForMostRecentNavigation: LinkInstance | null = null\n\n// Status object indicating link is pending\nexport const PENDING_LINK_STATUS = { pending: true }\n\n// Status object indicating link is idle\nexport const IDLE_LINK_STATUS = { pending: false }\n\n// Updates the loading state when navigating between links\n// - Resets the previous link's loading state\n// - Sets the new link's loading state\n// - Updates tracking of current navigation\nexport function setLinkForCurrentNavigation(link: LinkInstance | null) {\n startTransition(() => {\n linkForMostRecentNavigation?.setOptimisticLinkStatus(IDLE_LINK_STATUS)\n link?.setOptimisticLinkStatus(PENDING_LINK_STATUS)\n linkForMostRecentNavigation = link\n })\n}\n\n// Unmounts the current link instance from navigation tracking\nexport function unmountLinkForCurrentNavigation(link: LinkInstance) {\n if (linkForMostRecentNavigation === link) {\n linkForMostRecentNavigation = null\n }\n}\n\n// Use a WeakMap to associate a Link instance with its DOM element. This is\n// used by the IntersectionObserver to track the link's visibility.\nconst prefetchable:\n | WeakMap\n | Map =\n typeof WeakMap === 'function' ? new WeakMap() : new Map()\n\n// A Set of the currently visible links. We re-prefetch visible links after a\n// cache invalidation, or when the current URL changes. It's a separate data\n// structure from the WeakMap above because only the visible links need to\n// be enumerated.\nconst prefetchableAndVisible: Set = new Set()\n\n// A single IntersectionObserver instance shared by all components.\nconst observer: IntersectionObserver | null =\n typeof IntersectionObserver === 'function'\n ? new IntersectionObserver(handleIntersect, {\n rootMargin: '200px',\n })\n : null\n\nfunction observeVisibility(element: Element, instance: PrefetchableInstance) {\n const existingInstance = prefetchable.get(element)\n if (existingInstance !== undefined) {\n // This shouldn't happen because each component should have its own\n // anchor tag instance, but it's defensive coding to avoid a memory leak in\n // case there's a logical error somewhere else.\n unmountPrefetchableInstance(element)\n }\n // Only track prefetchable links that have a valid prefetch URL\n prefetchable.set(element, instance)\n if (observer !== null) {\n observer.observe(element)\n }\n}\n\nfunction coercePrefetchableUrl(href: string): URL | null {\n if (typeof window !== 'undefined') {\n const { createPrefetchURL } =\n require('./app-router-utils') as typeof import('./app-router-utils')\n\n try {\n return createPrefetchURL(href)\n } catch {\n // createPrefetchURL sometimes throws an error if an invalid URL is\n // provided, though I'm not sure if it's actually necessary.\n // TODO: Consider removing the throw from the inner function, or change it\n // to reportError. Or maybe the error isn't even necessary for automatic\n // prefetches, just navigations.\n const reportErrorFn =\n typeof reportError === 'function' ? reportError : console.error\n reportErrorFn(\n `Cannot prefetch '${href}' because it cannot be converted to a URL.`\n )\n return null\n }\n } else {\n return null\n }\n}\n\nexport function mountLinkInstance(\n element: LinkElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy,\n prefetchEnabled: boolean,\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n): LinkInstance {\n if (prefetchEnabled) {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL !== null) {\n const instance: PrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus,\n }\n // We only observe the link's visibility if it's prefetchable. For\n // example, this excludes links to external URLs.\n observeVisibility(element, instance)\n return instance\n }\n }\n // If the link is not prefetchable, we still create an instance so we can\n // track its optimistic state (i.e. useLinkStatus).\n const instance: NonPrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: null,\n setOptimisticLinkStatus,\n }\n return instance\n}\n\nexport function mountFormInstance(\n element: HTMLFormElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy\n): void {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL === null) {\n // This href is not prefetchable, so we don't track it.\n // TODO: We currently observe/unobserve a form every time its href changes.\n // For Links, this isn't a big deal because the href doesn't usually change,\n // but for forms it's extremely common. We should optimize this.\n return\n }\n const instance: FormInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus: null,\n }\n observeVisibility(element, instance)\n}\n\nexport function unmountPrefetchableInstance(element: Element) {\n const instance = prefetchable.get(element)\n if (instance !== undefined) {\n prefetchable.delete(element)\n prefetchableAndVisible.delete(instance)\n const prefetchTask = instance.prefetchTask\n if (prefetchTask !== null) {\n cancelPrefetchTask(prefetchTask)\n }\n }\n if (observer !== null) {\n observer.unobserve(element)\n }\n}\n\nfunction handleIntersect(entries: Array) {\n for (const entry of entries) {\n // Some extremely old browsers or polyfills don't reliably support\n // isIntersecting so we check intersectionRatio instead. (Do we care? Not\n // really. But whatever this is fine.)\n const isVisible = entry.intersectionRatio > 0\n onLinkVisibilityChanged(entry.target as HTMLAnchorElement, isVisible)\n }\n}\n\nexport function onLinkVisibilityChanged(element: Element, isVisible: boolean) {\n if (process.env.NODE_ENV !== 'production') {\n // Prefetching on viewport is disabled in development for performance\n // reasons, because it requires compiling the target page.\n // TODO: Investigate re-enabling this.\n return\n }\n\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n\n instance.isVisible = isVisible\n if (isVisible) {\n prefetchableAndVisible.add(instance)\n } else {\n prefetchableAndVisible.delete(instance)\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Default)\n}\n\nexport function onNavigationIntent(\n element: HTMLAnchorElement | SVGAElement,\n unstable_upgradeToDynamicPrefetch: boolean\n) {\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n // Prefetch the link on hover/touchstart.\n if (instance !== undefined) {\n if (\n process.env.__NEXT_DYNAMIC_ON_HOVER &&\n unstable_upgradeToDynamicPrefetch\n ) {\n // Switch to a full prefetch\n instance.fetchStrategy = FetchStrategy.Full\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Intent)\n }\n}\n\nfunction rescheduleLinkPrefetch(\n instance: PrefetchableInstance,\n priority: PrefetchPriority.Default | PrefetchPriority.Intent\n) {\n // Ensures that app-router-instance is not compiled in the server bundle\n if (typeof window !== 'undefined') {\n const existingPrefetchTask = instance.prefetchTask\n\n if (!instance.isVisible) {\n // Cancel any in-progress prefetch task. (If it already finished then this\n // is a no-op.)\n if (existingPrefetchTask !== null) {\n cancelPrefetchTask(existingPrefetchTask)\n }\n // We don't need to reset the prefetchTask to null upon cancellation; an\n // old task object can be rescheduled with reschedulePrefetchTask. This is a\n // micro-optimization but also makes the code simpler (don't need to\n // worry about whether an old task object is stale).\n return\n }\n\n const { getCurrentAppRouterState } =\n require('./app-router-instance') as typeof import('./app-router-instance')\n\n const appRouterState = getCurrentAppRouterState()\n if (appRouterState !== null) {\n const treeAtTimeOfPrefetch = appRouterState.tree\n if (existingPrefetchTask === null) {\n // Initiate a prefetch task.\n const nextUrl = appRouterState.nextUrl\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority,\n null\n )\n } else {\n // We already have an old task object that we can reschedule. This is\n // effectively the same as canceling the old task and creating a new one.\n reschedulePrefetchTask(\n existingPrefetchTask,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority\n )\n }\n }\n }\n}\n\nexport function pingVisibleLinks(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // For each currently visible link, cancel the existing prefetch task (if it\n // exists) and schedule a new one. This is effectively the same as if all the\n // visible links left and then re-entered the viewport.\n //\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n for (const instance of prefetchableAndVisible) {\n const task = instance.prefetchTask\n if (task !== null && !isPrefetchTaskDirty(task, nextUrl, tree)) {\n // The cache has not been invalidated, and none of the inputs have\n // changed. Bail out.\n continue\n }\n // Something changed. Cancel the existing prefetch task and schedule a\n // new one.\n if (task !== null) {\n cancelPrefetchTask(task)\n }\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n tree,\n instance.fetchStrategy,\n PrefetchPriority.Default,\n null\n )\n }\n}\n"],"names":["IDLE_LINK_STATUS","PENDING_LINK_STATUS","mountFormInstance","mountLinkInstance","onLinkVisibilityChanged","onNavigationIntent","pingVisibleLinks","setLinkForCurrentNavigation","unmountLinkForCurrentNavigation","unmountPrefetchableInstance","linkForMostRecentNavigation","pending","link","startTransition","setOptimisticLinkStatus","prefetchable","WeakMap","Map","prefetchableAndVisible","Set","observer","IntersectionObserver","handleIntersect","rootMargin","observeVisibility","element","instance","existingInstance","get","undefined","set","observe","coercePrefetchableUrl","href","window","createPrefetchURL","require","reportErrorFn","reportError","console","error","router","fetchStrategy","prefetchEnabled","prefetchURL","isVisible","prefetchTask","prefetchHref","delete","cancelPrefetchTask","unobserve","entries","entry","intersectionRatio","target","process","env","NODE_ENV","add","rescheduleLinkPrefetch","PrefetchPriority","Default","unstable_upgradeToDynamicPrefetch","__NEXT_DYNAMIC_ON_HOVER","FetchStrategy","Full","Intent","priority","existingPrefetchTask","getCurrentAppRouterState","appRouterState","treeAtTimeOfPrefetch","tree","nextUrl","cacheKey","createCacheKey","scheduleSegmentPrefetchTask","reschedulePrefetchTask","task","isPrefetchTaskDirty"],"mappings":"AA2OMuD,QAAQC,GAAG,CAACC,QAAQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;IA3KlBzD,gBAAgB,EAAA;eAAhBA;;IAHAC,mBAAmB,EAAA;eAAnBA;;IA2HGC,iBAAiB,EAAA;eAAjBA;;IAtCAC,iBAAiB,EAAA;eAAjBA;;IAwFAC,uBAAuB,EAAA;eAAvBA;;IAsBAC,kBAAkB,EAAA;eAAlBA;;IAyEAC,gBAAgB,EAAA;eAAhBA;;IAnQAC,2BAA2B,EAAA;eAA3BA;;IASAC,+BAA+B,EAAA;eAA/BA;;IAkIAC,2BAA2B,EAAA;eAA3BA;;;uBA3MT;0BACwB;2BAOxB;uBACyB;AAyChC,yEAAyE;AACzE,4DAA4D;AAC5D,IAAIC,8BAAmD;AAGhD,MAAMT,sBAAsB;IAAEU,SAAS;AAAK;AAG5C,MAAMX,mBAAmB;IAAEW,SAAS;AAAM;AAM1C,SAASJ,4BAA4BK,IAAyB;IACnEC,CAAAA,GAAAA,OAAAA,eAAe,EAAC;QACdH,6BAA6BI,wBAAwBd;QACrDY,MAAME,wBAAwBb;QAC9BS,8BAA8BE;IAChC;AACF;AAGO,SAASJ,gCAAgCI,IAAkB;IAChE,IAAIF,gCAAgCE,MAAM;QACxCF,8BAA8B;IAChC;AACF;AAEA,2EAA2E;AAC3E,mEAAmE;AACnE,MAAMK,eAGJ,OAAOC,YAAY,aAAa,IAAIA,YAAY,IAAIC;AAEtD,6EAA6E;AAC7E,4EAA4E;AAC5E,0EAA0E;AAC1E,iBAAiB;AACjB,MAAMC,yBAAoD,IAAIC;AAE9D,0EAA0E;AAC1E,MAAMC,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AwB;QAC7C,MAAM4D,OAAOpD,SAASoB,YAAY;QAClC,IAAIgC,SAAS,QAAQ,CAACC,CAAAA,GAAAA,WAAAA,mBAAmB,EAACD,MAAML,SAASD,OAAO;YAG9D;QACF;QACA,sEAAsE;QACtE,WAAW;QACX,IAAIM,SAAS,MAAM;YACjB7B,CAAAA,GAAAA,WAAAA,kBAAkB,EAAC6B;QACrB;QACA,MAAMJ,WAAWC,CAAAA,GAAAA,UAAAA,cAAc,EAACjD,SAASqB,YAAY,EAAE0B;QACvD/C,SAASoB,YAAY,GAAG8B,CAAAA,GAAAA,WAAAA,oBAA2B,EACjDF,UACAF,MACA9C,SAASgB,aAAa,EACtBkB,OAAAA,gBAAgB,CAACC,OAAO,EACxB;IAEJ;AACF","ignoreList":[0]}}, - {"offset": {"line": 6248, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/segment-cache/cache.ts"],"sourcesContent":["import type {\n TreePrefetch,\n RootTreePrefetch,\n SegmentPrefetch,\n} from '../../../server/app-render/collect-segment-data'\nimport type { LoadingModuleData } from '../../../shared/lib/app-router-types'\nimport type {\n CacheNodeSeedData,\n Segment as FlightRouterStateSegment,\n} from '../../../shared/lib/app-router-types'\nimport { HasLoadingBoundary } from '../../../shared/lib/app-router-types'\nimport {\n NEXT_DID_POSTPONE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STALE_TIME_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n RSC_CONTENT_TYPE_HEADER,\n RSC_HEADER,\n} from '../app-router-headers'\nimport {\n createFetch,\n createFromNextReadableStream,\n type RSCResponse,\n type RequestHeaders,\n} from '../router-reducer/fetch-server-response'\nimport {\n pingPrefetchTask,\n isPrefetchTaskDirty,\n type PrefetchTask,\n type PrefetchSubtaskResult,\n startRevalidationCooldown,\n} from './scheduler'\nimport {\n type RouteVaryPath,\n type SegmentVaryPath,\n type PartialSegmentVaryPath,\n getRouteVaryPath,\n getFulfilledRouteVaryPath,\n getSegmentVaryPathForRequest,\n appendLayoutVaryPath,\n finalizeLayoutVaryPath,\n finalizePageVaryPath,\n clonePageVaryPathWithNewSearchParams,\n type PageVaryPath,\n finalizeMetadataVaryPath,\n} from './vary-path'\nimport { getAppBuildId } from '../../app-build-id'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport type { NormalizedSearch, RouteCacheKey } from './cache-key'\n// TODO: Rename this module to avoid confusion with other types of cache keys\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key'\nimport {\n doesStaticSegmentAppearInURL,\n getCacheKeyForDynamicParam,\n getRenderedPathname,\n getRenderedSearch,\n parseDynamicParamFromURLPart,\n} from '../../route-params'\nimport {\n createCacheMap,\n getFromCacheMap,\n setInCacheMap,\n setSizeInCacheMap,\n deleteFromCacheMap,\n isValueExpired,\n type CacheMap,\n type UnknownMapEntry,\n} from './cache-map'\nimport {\n appendSegmentRequestKeyPart,\n convertSegmentPathToStaticExportFilename,\n createSegmentRequestKeyPart,\n HEAD_REQUEST_KEY,\n ROOT_SEGMENT_REQUEST_KEY,\n type SegmentRequestKey,\n} from '../../../shared/lib/segment-cache/segment-value-encoding'\nimport type {\n FlightRouterState,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n} from '../../flight-data-helpers'\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer'\nimport { pingVisibleLinks } from '../links'\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment'\nimport { FetchStrategy } from './types'\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers'\n\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */\nexport function getStaleTimeMs(staleTimeSeconds: number): number {\n return Math.max(staleTimeSeconds, 30) * 1000\n}\n\n// A note on async/await when working in the prefetch cache:\n//\n// Most async operations in the prefetch cache should *not* use async/await,\n// Instead, spawn a subtask that writes the results to a cache entry, and attach\n// a \"ping\" listener to notify the prefetch queue to try again.\n//\n// The reason is we need to be able to access the segment cache and traverse its\n// data structures synchronously. For example, if there's a synchronous update\n// we can take an immediate snapshot of the cache to produce something we can\n// render. Limiting the use of async/await also makes it easier to avoid race\n// conditions, which is especially important because is cache is mutable.\n//\n// Another reason is that while we're performing async work, it's possible for\n// existing entries to become stale, or for Link prefetches to be removed from\n// the queue. For optimal scheduling, we need to be able to \"cancel\" subtasks\n// that are no longer needed. So, when a segment is received from the server, we\n// restart from the root of the tree that's being prefetched, to confirm all the\n// parent segments are still cached. If the segment is no longer reachable from\n// the root, then it's effectively canceled. This is similar to the design of\n// Rust Futures, or React Suspense.\n\ntype RouteTreeShared = {\n requestKey: SegmentRequestKey\n // TODO: Remove the `segment` field, now that it can be reconstructed\n // from `param`.\n segment: FlightRouterStateSegment\n slots: null | {\n [parallelRouteKey: string]: RouteTree\n }\n isRootLayout: boolean\n\n // If this is a dynamic route, indicates whether there is a loading boundary\n // somewhere in the tree. If not, we can skip the prefetch for the data,\n // because we know it would be an empty response. (For a static/PPR route,\n // this value is disregarded, because in that model `loading.tsx` is treated\n // like any other Suspense boundary.)\n hasLoadingBoundary: HasLoadingBoundary\n\n // Indicates whether this route has a runtime prefetch that we can request.\n // This is determined by the server; it's not purely a user configuration\n // because the server may determine that a route is fully static and doesn't\n // need runtime prefetching regardless of the configuration.\n hasRuntimePrefetch: boolean\n}\n\ntype LayoutRouteTree = RouteTreeShared & {\n isPage: false\n varyPath: SegmentVaryPath\n}\n\ntype PageRouteTree = RouteTreeShared & {\n isPage: true\n varyPath: PageVaryPath\n}\n\nexport type RouteTree = LayoutRouteTree | PageRouteTree\n\ntype RouteCacheEntryShared = {\n // This is false only if we're certain the route cannot be intercepted. It's\n // true in all other cases, including on initialization when we haven't yet\n // received a response from the server.\n couldBeIntercepted: boolean\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */\nexport const enum EntryStatus {\n Empty = 0,\n Pending = 1,\n Fulfilled = 2,\n Rejected = 3,\n}\n\ntype PendingRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Empty | EntryStatus.Pending\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: false\n}\n\ntype RejectedRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Rejected\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: boolean\n}\n\nexport type FulfilledRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Fulfilled\n blockedTasks: null\n canonicalUrl: string\n renderedSearch: NormalizedSearch\n tree: RouteTree\n metadata: RouteTree\n isPPREnabled: boolean\n}\n\nexport type RouteCacheEntry =\n | PendingRouteCacheEntry\n | FulfilledRouteCacheEntry\n | RejectedRouteCacheEntry\n\ntype SegmentCacheEntryShared = {\n fetchStrategy: FetchStrategy\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\nexport type EmptySegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Empty\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type PendingSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Pending\n rsc: null\n loading: null\n isPartial: boolean\n promise: null | PromiseWithResolvers\n}\n\ntype RejectedSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Rejected\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type FulfilledSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Fulfilled\n rsc: React.ReactNode | null\n loading: LoadingModuleData | Promise\n isPartial: boolean\n promise: null\n}\n\nexport type SegmentCacheEntry =\n | EmptySegmentCacheEntry\n | PendingSegmentCacheEntry\n | RejectedSegmentCacheEntry\n | FulfilledSegmentCacheEntry\n\nexport type NonEmptySegmentCacheEntry = Exclude<\n SegmentCacheEntry,\n EmptySegmentCacheEntry\n>\n\nconst isOutputExportMode =\n process.env.NODE_ENV === 'production' &&\n process.env.__NEXT_CONFIG_OUTPUT === 'export'\n\nconst MetadataOnlyRequestTree: FlightRouterState = [\n '',\n {},\n null,\n 'metadata-only',\n]\n\nlet routeCacheMap: CacheMap = createCacheMap()\nlet segmentCacheMap: CacheMap = createCacheMap()\n\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners: Set | null = null\n\n// Incrementing counter used to track cache invalidations.\nlet currentCacheVersion = 0\n\nexport function getCurrentCacheVersion(): number {\n return currentCacheVersion\n}\n\n/**\n * Used to clear the client prefetch cache when a server action calls\n * revalidatePath or revalidateTag. Eventually we will support only clearing the\n * segments that were actually affected, but there's more work to be done on the\n * server before the client is able to do this correctly.\n */\nexport function revalidateEntireCache(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // Increment the current cache version. This does not eagerly evict anything\n // from the cache, but because all the entries are versioned, and we check\n // the version when reading from the cache, this effectively causes all\n // entries to be evicted lazily. We do it lazily because in the future,\n // actions like revalidateTag or refresh will not evict the entire cache,\n // but rather some subset of the entries.\n currentCacheVersion++\n\n // Start a cooldown before re-prefetching to allow CDN cache propagation.\n startRevalidationCooldown()\n\n // Prefetch all the currently visible links again, to re-fill the cache.\n pingVisibleLinks(nextUrl, tree)\n\n // Similarly, notify all invalidation listeners (i.e. those passed to\n // `router.prefetch(onInvalidate)`), so they can trigger a new prefetch\n // if needed.\n pingInvalidationListeners(nextUrl, tree)\n}\n\nfunction attachInvalidationListener(task: PrefetchTask): void {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([task])\n } else {\n invalidationListeners.add(task)\n }\n }\n}\n\nfunction notifyInvalidationListener(task: PrefetchTask): void {\n const onInvalidate = task.onInvalidate\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null\n\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate()\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error)\n } else {\n console.error(error)\n }\n }\n }\n}\n\nexport function pingInvalidationListeners(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners\n invalidationListeners = null\n for (const task of tasks) {\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task)\n }\n }\n }\n}\n\nexport function readRouteCacheEntry(\n now: number,\n key: RouteCacheKey\n): RouteCacheEntry | null {\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n routeCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function readSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nfunction readRevalidatingSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = true\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function waitForSegmentCacheEntry(\n pendingEntry: PendingSegmentCacheEntry\n): Promise {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise =\n createPromiseWithResolvers()\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise\n}\n\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateRouteCacheEntry(\n now: number,\n task: PrefetchTask,\n key: RouteCacheKey\n): RouteCacheEntry {\n attachInvalidationListener(task)\n\n const existingEntry = readRouteCacheEntry(now, key)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry: PendingRouteCacheEntry = {\n canonicalUrl: null,\n status: EntryStatus.Empty,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n isPPREnabled: false,\n renderedSearch: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentCacheVersion(),\n }\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation)\n return pendingEntry\n}\n\nexport function requestOptimisticRouteCacheEntry(\n now: number,\n requestedUrl: URL,\n nextUrl: string | null\n): FulfilledRouteCacheEntry | null {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search as NormalizedSearch\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null\n }\n const urlWithoutSearchParams = new URL(requestedUrl)\n urlWithoutSearchParams.search = ''\n const routeWithNoSearchParams = readRouteCacheEntry(\n now,\n createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl)\n )\n\n if (\n routeWithNoSearchParams === null ||\n routeWithNoSearchParams.status !== EntryStatus.Fulfilled\n ) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null\n }\n\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(\n routeWithNoSearchParams.canonicalUrl,\n requestedUrl.origin\n )\n const optimisticCanonicalSearch =\n canonicalUrlForRouteWithNoSearchParams.search !== ''\n ? // Base route was redirected. Reuse the same redirected search string.\n canonicalUrlForRouteWithNoSearchParams.search\n : requestedSearch\n\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch =\n routeWithNoSearchParams.renderedSearch !== ''\n ? // Base route was rewritten. Reuse the same rewritten search string.\n routeWithNoSearchParams.renderedSearch\n : requestedSearch\n\n const optimisticUrl = new URL(\n routeWithNoSearchParams.canonicalUrl,\n location.origin\n )\n optimisticUrl.search = optimisticCanonicalSearch\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl)\n\n const optimisticRouteTree = createOptimisticRouteTree(\n routeWithNoSearchParams.tree,\n optimisticRenderedSearch\n )\n const optimisticMetadataTree = createOptimisticRouteTree(\n routeWithNoSearchParams.metadata,\n optimisticRenderedSearch\n )\n\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry: FulfilledRouteCacheEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n\n status: EntryStatus.Fulfilled,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n isPPREnabled: routeWithNoSearchParams.isPPREnabled,\n\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version,\n }\n\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry\n}\n\nfunction createOptimisticRouteTree(\n tree: RouteTree,\n newRenderedSearch: NormalizedSearch\n): RouteTree {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n\n let clonedSlots: Record | null = null\n const originalSlots = tree.slots\n if (originalSlots !== null) {\n clonedSlots = {}\n for (const parallelRouteKey in originalSlots) {\n const childTree = originalSlots[parallelRouteKey]\n clonedSlots[parallelRouteKey] = createOptimisticRouteTree(\n childTree,\n newRenderedSearch\n )\n }\n }\n\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: clonePageVaryPathWithNewSearchParams(\n tree.varyPath,\n newRenderedSearch\n ),\n isPage: true,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n }\n\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n}\n\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateSegmentCacheEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function readOrCreateRevalidatingSegmentEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function overwriteRevalidatingSegmentCacheEntry(\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function upsertSegmentEntry(\n now: number,\n varyPath: SegmentVaryPath,\n candidateEntry: SegmentCacheEntry\n): SegmentCacheEntry | null {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n\n if (isValueExpired(now, getCurrentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null\n }\n\n const existingEntry = readSegmentCacheEntry(now, varyPath)\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // ``.\n if (\n // We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n (candidateEntry.fetchStrategy !== existingEntry.fetchStrategy &&\n !canNewFetchStrategyProvideMoreContent(\n existingEntry.fetchStrategy,\n candidateEntry.fetchStrategy\n )) ||\n // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n (!existingEntry.isPartial && candidateEntry.isPartial)\n ) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry: RejectedSegmentCacheEntry = candidateEntry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.loading = null\n rejectedEntry.rsc = null\n return null\n }\n\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry)\n }\n\n const isRevalidation = false\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation)\n return candidateEntry\n}\n\nexport function createDetachedSegmentCacheEntry(\n staleAt: number\n): EmptySegmentCacheEntry {\n const emptyEntry: EmptySegmentCacheEntry = {\n status: EntryStatus.Empty,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n loading: null,\n isPartial: true,\n promise: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0,\n }\n return emptyEntry\n}\n\nexport function upgradeToPendingSegment(\n emptyEntry: EmptySegmentCacheEntry,\n fetchStrategy: FetchStrategy\n): PendingSegmentCacheEntry {\n const pendingEntry: PendingSegmentCacheEntry = emptyEntry as any\n pendingEntry.status = EntryStatus.Pending\n pendingEntry.fetchStrategy = fetchStrategy\n\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false\n }\n\n // Set the version here, since this is right before the request is initiated.\n // The next time the global cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentCacheVersion()\n return pendingEntry\n}\n\nfunction pingBlockedTasks(entry: {\n blockedTasks: Set | null\n}): void {\n const blockedTasks = entry.blockedTasks\n if (blockedTasks !== null) {\n for (const task of blockedTasks) {\n pingPrefetchTask(task)\n }\n entry.blockedTasks = null\n }\n}\n\nfunction fulfillRouteCacheEntry(\n entry: RouteCacheEntry,\n tree: RouteTree,\n metadataVaryPath: PageVaryPath,\n staleAt: number,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n renderedSearch: NormalizedSearch,\n isPPREnabled: boolean\n): FulfilledRouteCacheEntry {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata: RouteTree = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n isRootLayout: false,\n hasLoadingBoundary: HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n hasRuntimePrefetch: false,\n }\n const fulfilledEntry: FulfilledRouteCacheEntry = entry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.tree = tree\n fulfilledEntry.metadata = metadata\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted\n fulfilledEntry.canonicalUrl = canonicalUrl\n fulfilledEntry.renderedSearch = renderedSearch\n fulfilledEntry.isPPREnabled = isPPREnabled\n pingBlockedTasks(entry)\n return fulfilledEntry\n}\n\nfunction fulfillSegmentCacheEntry(\n segmentCacheEntry: PendingSegmentCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n staleAt: number,\n isPartial: boolean\n): FulfilledSegmentCacheEntry {\n const fulfilledEntry: FulfilledSegmentCacheEntry = segmentCacheEntry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.rsc = rsc\n fulfilledEntry.loading = loading\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.isPartial = isPartial\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry)\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null\n }\n return fulfilledEntry\n}\n\nfunction rejectRouteCacheEntry(\n entry: PendingRouteCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedRouteCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n pingBlockedTasks(entry)\n}\n\nfunction rejectSegmentCacheEntry(\n entry: PendingSegmentCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedSegmentCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null)\n entry.promise = null\n }\n}\n\ntype RouteTreeAccumulator = {\n metadataVaryPath: PageVaryPath | null\n}\n\nfunction convertRootTreePrefetchToRouteTree(\n rootTree: RootTreePrefetch,\n renderedPathname: string,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY\n return convertTreePrefetchToRouteTree(\n rootTree.tree,\n rootSegment,\n null,\n ROOT_SEGMENT_REQUEST_KEY,\n pathnameParts,\n index,\n renderedSearch,\n acc\n )\n}\n\nfunction convertTreePrefetchToRouteTree(\n prefetch: TreePrefetch,\n segment: FlightRouterStateSegment,\n partialVaryPath: PartialSegmentVaryPath | null,\n requestKey: SegmentRequestKey,\n pathnameParts: Array,\n pathnamePartsIndex: number,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n const prefetchSlots = prefetch.slots\n if (prefetchSlots !== null) {\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n\n slots = {}\n for (let parallelRouteKey in prefetchSlots) {\n const childPrefetch = prefetchSlots[parallelRouteKey]\n const childParamName = childPrefetch.name\n const childParamType = childPrefetch.paramType\n const childServerSentParamKey = childPrefetch.paramKey\n\n let childDoesAppearInURL: boolean\n let childSegment: FlightRouterStateSegment\n let childPartialVaryPath: PartialSegmentVaryPath | null\n if (childParamType !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(\n childParamType,\n pathnameParts,\n pathnamePartsIndex\n )\n\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey =\n // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childServerSentParamKey !== null\n ? childServerSentParamKey\n : // If no param key was sent, use the value parsed on the client.\n getCacheKeyForDynamicParam(\n childParamValue,\n '' as NormalizedSearch\n )\n\n childPartialVaryPath = appendLayoutVaryPath(\n partialVaryPath,\n childParamKey\n )\n childSegment = [childParamName, childParamKey, childParamType]\n childDoesAppearInURL = true\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath\n childSegment = childParamName\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childParamName)\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(\n childPrefetch,\n childSegment,\n childPartialVaryPath,\n childRequestKey,\n pathnameParts,\n childPathnamePartsIndex,\n renderedSearch,\n acc\n )\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: prefetch.isRootLayout,\n // This field is only relevant to dynamic routes. For a PPR/static route,\n // there's always some partial loading state we can fetch.\n hasLoadingBoundary: HasLoadingBoundary.SegmentHasLoadingBoundary,\n hasRuntimePrefetch: prefetch.hasRuntimePrefetch,\n }\n}\n\nfunction convertRootFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n return convertFlightRouterStateToRouteTree(\n flightRouterState,\n ROOT_SEGMENT_REQUEST_KEY,\n null,\n renderedSearch,\n acc\n )\n}\n\nfunction convertFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n requestKey: SegmentRequestKey,\n parentPartialVaryPath: PartialSegmentVaryPath | null,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n const originalSegment = flightRouterState[0]\n\n let segment: FlightRouterStateSegment\n let partialVaryPath: PartialSegmentVaryPath | null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n if (Array.isArray(originalSegment)) {\n isPage = false\n const paramCacheKey = originalSegment[1]\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, paramCacheKey)\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n segment = originalSegment\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n segment = originalSegment\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n\n const parallelRoutes = flightRouterState[1]\n for (let parallelRouteKey in parallelRoutes) {\n const childRouterState = parallelRoutes[parallelRouteKey]\n const childSegment = childRouterState[0]\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n const childTree = convertFlightRouterStateToRouteTree(\n childRouterState,\n childRequestKey,\n partialVaryPath,\n renderedSearch,\n acc\n )\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree,\n }\n } else {\n slots[parallelRouteKey] = childTree\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: flightRouterState[4] === true,\n hasLoadingBoundary:\n flightRouterState[5] !== undefined\n ? flightRouterState[5]\n : HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n\n // Non-static tree responses are only used by apps that haven't adopted\n // Cache Components. So this is always false.\n hasRuntimePrefetch: false,\n }\n}\n\nexport function convertRouteTreeToFlightRouterState(\n routeTree: RouteTree\n): FlightRouterState {\n const parallelRoutes: Record = {}\n if (routeTree.slots !== null) {\n for (const parallelRouteKey in routeTree.slots) {\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(\n routeTree.slots[parallelRouteKey]\n )\n }\n }\n const flightRouterState: FlightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null,\n routeTree.isRootLayout,\n ]\n return flightRouterState\n}\n\nexport async function fetchRouteOnCacheMiss(\n entry: PendingRouteCacheEntry,\n task: PrefetchTask,\n key: RouteCacheKey\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname\n const search = key.search\n const nextUrl = key.nextUrl\n const segmentPath = '/_tree' as SegmentRequestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n try {\n const url = new URL(pathname + search, location.origin)\n let response\n let urlAfterRedirects\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to : /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD',\n })\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n urlAfterRedirects = headResponse.redirected\n ? new URL(headResponse.url)\n : url\n\n response = await fetchPrefetchResponse(\n addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath),\n headers\n )\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers)\n urlAfterRedirects =\n response !== null && response.redirected ? new URL(response.url) : url\n }\n\n if (\n !response ||\n !response.ok ||\n // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects)\n\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary')\n const couldBeIntercepted =\n varyHeader !== null && varyHeader.includes(NEXT_URL)\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' ||\n // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode\n\n if (routeIsPPREnabled) {\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData = await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootTreePrefetchToRouteTree(\n serverData,\n renderedPathname,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n const staleTimeMs = getStaleTimeMs(serverData.staleTime)\n fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n Date.now() + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData =\n await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n writeDynamicTreeResponseIntoCache(\n Date.now(),\n task,\n // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary,\n response as RSCResponse,\n serverData,\n entry,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled\n )\n }\n\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath: RouteVaryPath = getFulfilledRouteVaryPath(\n pathname,\n search,\n nextUrl,\n couldBeIntercepted\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation)\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentOnCacheMiss(\n route: FulfilledRouteCacheEntry,\n segmentCacheEntry: PendingSegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = routeKey.nextUrl\n\n const requestKey = tree.requestKey\n const normalizedRequestKey =\n requestKey === ROOT_SEGMENT_REQUEST_KEY\n ? // The root segment is a special case. To simplify the server-side\n // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n ('/_index' as SegmentRequestKey)\n : requestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n const requestUrl = isOutputExportMode\n ? // In output: \"export\" mode, we need to add the segment path to the URL.\n addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey)\n : url\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers)\n if (\n !response ||\n !response.ok ||\n response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n (response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' &&\n // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode) ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // Wrap the original stream in a new stream that never closes. That way the\n // Flight client doesn't error if there's a hanging promise.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(segmentCacheEntry, size)\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n return {\n value: fulfillSegmentCacheEntry(\n segmentCacheEntry,\n serverData.rsc,\n serverData.loading,\n // TODO: The server does not currently provide per-segment stale time.\n // So we use the stale time of the route.\n route.staleAt,\n serverData.isPartial\n ),\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise,\n }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n dynamicRequestTree: FlightRouterState,\n spawnedEntries: Map\n): Promise | null> {\n const key = task.key\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = key.nextUrl\n\n if (\n spawnedEntries.size === 1 &&\n spawnedEntries.has(route.metadata.requestKey)\n ) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree\n }\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]:\n prepareFlightRouterStateForRequest(dynamicRequestTree),\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n switch (fetchStrategy) {\n case FetchStrategy.Full: {\n // We omit the prefetch header from a full prefetch because it's essentially\n // just a navigation request that happens ahead of time — it should include\n // all the same data in the response.\n break\n }\n case FetchStrategy.PPRRuntime: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2'\n break\n }\n case FetchStrategy.LoadingBoundary: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1'\n break\n }\n default: {\n fetchStrategy satisfies never\n }\n }\n\n try {\n const response = await fetchPrefetchResponse(url, headers)\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n const renderedSearch = getRenderedSearch(response)\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n let fulfilledEntries: Array | null = null\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assiging each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length\n for (const entry of fulfilledEntries) {\n setSizeInCacheMap(entry, averageSize)\n }\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n\n const isResponsePartial =\n fetchStrategy === FetchStrategy.PPRRuntime\n ? // A runtime prefetch may have holes.\n serverData.rp?.[0] === true\n : // Full and LoadingBoundary prefetches cannot have holes.\n // (even if we did set the prefetch header, we only use this codepath for non-PPR-enabled routes)\n false\n\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n fulfilledEntries = writeDynamicRenderResponseIntoCache(\n Date.now(),\n task,\n fetchStrategy,\n response as RSCResponse,\n serverData,\n isResponsePartial,\n route,\n spawnedEntries\n )\n\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n}\n\nfunction writeDynamicTreeResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n entry: PendingRouteCacheEntry,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n routeIsPPREnabled: boolean\n) {\n // Get the URL that was used to render the target page. This may be different\n // from the URL in the request URL, if the page was rewritten.\n const renderedSearch = getRenderedSearch(response)\n\n const normalizedFlightDataResult = normalizeFlightData(serverData.f)\n if (\n // A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' ||\n normalizedFlightDataResult.length !== 1\n ) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n const flightData = normalizedFlightDataResult[0]\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const flightRouterState = flightData.tree\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n\n // If the response contains dynamic holes, then we must conservatively assume\n // that any individual segment might contain dynamic holes, and also the\n // head. If it did not contain dynamic holes, then we can assume every segment\n // and the head is completely static.\n const isResponsePartial =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1'\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootFlightRouterStateToRouteTree(\n flightRouterState,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const fulfilledEntry = fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n now + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n //\n // TODO: When `clientSegmentCache` is enabled, the server does not include\n // segment data when responding to a route tree prefetch request. However,\n // when `clientSegmentCache` is set to \"client-only\", and PPR is enabled (or\n // the page is fully static), the normal check is bypassed and the server\n // responds with the full page. This is a temporary situation until we can\n // remove the \"client-only\" option. Then, we can delete this function call.\n writeDynamicRenderResponseIntoCache(\n now,\n task,\n fetchStrategy,\n response,\n serverData,\n isResponsePartial,\n fulfilledEntry,\n null\n )\n}\n\nfunction rejectSegmentEntriesIfStillPending(\n entries: Map,\n staleAt: number\n): Array {\n const fulfilledEntries = []\n for (const entry of entries.values()) {\n if (entry.status === EntryStatus.Pending) {\n rejectSegmentCacheEntry(entry, staleAt)\n } else if (entry.status === EntryStatus.Fulfilled) {\n fulfilledEntries.push(entry)\n }\n }\n return fulfilledEntries\n}\n\nfunction writeDynamicRenderResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n isResponsePartial: boolean,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map | null\n): Array | null {\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n\n const flightDatas = normalizeFlightData(serverData.f)\n if (typeof flightDatas === 'string') {\n // This means navigating to this route will result in an MPA navigation.\n // TODO: We should cache this, too, so that the MPA navigation is immediate.\n return null\n }\n\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n const staleAt = now + staleTimeMs\n\n for (const flightData of flightDatas) {\n const seedData = flightData.seedData\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightData.segmentPath\n let tree = route.tree\n for (let i = 0; i < segmentPath.length; i += 2) {\n const parallelRouteKey: string = segmentPath[i]\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey]\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n }\n\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n tree,\n staleAt,\n seedData,\n isResponsePartial,\n spawnedEntries\n )\n }\n\n const head = flightData.head\n if (head !== null) {\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n head,\n null,\n flightData.isHeadPartial,\n staleAt,\n route.metadata,\n spawnedEntries\n )\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(\n spawnedEntries,\n now + 10 * 1000\n )\n return fulfilledEntries\n }\n return null\n}\n\nfunction writeSeedDataIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n staleAt: number,\n seedData: CacheNodeSeedData,\n isResponsePartial: boolean,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0]\n const loading = seedData[2]\n const isPartial = rsc === null || isResponsePartial\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n rsc,\n loading,\n isPartial,\n staleAt,\n tree,\n entriesOwnedByCurrentTask\n )\n\n // Recursively write the child data into the cache.\n const slots = tree.slots\n if (slots !== null) {\n const seedDataChildren = seedData[1]\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childSeedData: CacheNodeSeedData | null | void =\n seedDataChildren[parallelRouteKey]\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n childTree,\n staleAt,\n childSeedData,\n isResponsePartial,\n entriesOwnedByCurrentTask\n )\n }\n }\n }\n}\n\nfunction fulfillEntrySpawnedByRuntimePrefetch(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n isPartial: boolean,\n staleAt: number,\n tree: RouteTree,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry =\n entriesOwnedByCurrentTask !== null\n ? entriesOwnedByCurrentTask.get(tree.requestKey)\n : undefined\n if (ownedEntry !== undefined) {\n fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial)\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(\n now,\n fetchStrategy,\n route,\n tree\n )\n if (possiblyNewEntry.status === EntryStatus.Empty) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry\n fulfillSegmentCacheEntry(\n upgradeToPendingSegment(newEntry, fetchStrategy),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(\n upgradeToPendingSegment(\n createDetachedSegmentCacheEntry(staleAt),\n fetchStrategy\n ),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n upsertSegmentEntry(\n now,\n getSegmentVaryPathForRequest(fetchStrategy, tree),\n newEntry\n )\n }\n }\n}\n\nasync function fetchPrefetchResponse(\n url: URL,\n headers: RequestHeaders\n): Promise | null> {\n const fetchPriority = 'low'\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false\n const response = await createFetch(\n url,\n headers,\n fetchPriority,\n shouldImmediatelyDecode\n )\n if (!response.ok) {\n return null\n }\n\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type')\n const isFlightResponse =\n contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n if (!isFlightResponse) {\n return null\n }\n }\n return response\n}\n\nfunction createPrefetchResponseStream(\n originalFlightStream: ReadableStream,\n onStreamClose: () => void,\n onResponseSizeUpdate: (size: number) => void\n): ReadableStream {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n //\n // While processing the original stream, we also incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0\n const reader = originalFlightStream.getReader()\n return new ReadableStream({\n async pull(controller) {\n while (true) {\n const { done, value } = await reader.read()\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value)\n\n // Incrementally update the size of the cache entry in the LRU.\n // NOTE: Since prefetch responses are delivered in a single chunk,\n // it's not really necessary to do this streamingly, but I'm doing it\n // anyway in case this changes in the future.\n totalByteLength += value.byteLength\n onResponseSizeUpdate(totalByteLength)\n continue\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream. We do notify the caller, though.\n onStreamClose()\n return\n }\n },\n })\n}\n\nfunction addSegmentPathToUrlInOutputExportMode(\n url: URL,\n segmentPath: SegmentRequestKey\n): URL {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url)\n const routeDir = staticUrl.pathname.endsWith('/')\n ? staticUrl.pathname.slice(0, -1)\n : staticUrl.pathname\n const staticExportFilename =\n convertSegmentPathToStaticExportFilename(segmentPath)\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`\n return staticUrl\n }\n return url\n}\n\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */\nexport function canNewFetchStrategyProvideMoreContent(\n currentStrategy: FetchStrategy,\n newStrategy: FetchStrategy\n): boolean {\n return currentStrategy < newStrategy\n}\n"],"names":["EntryStatus","canNewFetchStrategyProvideMoreContent","convertRouteTreeToFlightRouterState","createDetachedSegmentCacheEntry","fetchRouteOnCacheMiss","fetchSegmentOnCacheMiss","fetchSegmentPrefetchesUsingDynamicRequest","getCurrentCacheVersion","getStaleTimeMs","overwriteRevalidatingSegmentCacheEntry","pingInvalidationListeners","readOrCreateRevalidatingSegmentEntry","readOrCreateRouteCacheEntry","readOrCreateSegmentCacheEntry","readRouteCacheEntry","readSegmentCacheEntry","requestOptimisticRouteCacheEntry","revalidateEntireCache","upgradeToPendingSegment","upsertSegmentEntry","waitForSegmentCacheEntry","staleTimeSeconds","Math","max","isOutputExportMode","process","env","NODE_ENV","__NEXT_CONFIG_OUTPUT","MetadataOnlyRequestTree","routeCacheMap","createCacheMap","segmentCacheMap","invalidationListeners","currentCacheVersion","nextUrl","tree","startRevalidationCooldown","pingVisibleLinks","attachInvalidationListener","task","onInvalidate","Set","add","notifyInvalidationListener","error","reportError","console","tasks","isPrefetchTaskDirty","now","key","varyPath","getRouteVaryPath","pathname","search","isRevalidation","getFromCacheMap","readRevalidatingSegmentCacheEntry","pendingEntry","promiseWithResolvers","promise","createPromiseWithResolvers","existingEntry","canonicalUrl","status","blockedTasks","metadata","couldBeIntercepted","isPPREnabled","renderedSearch","ref","size","staleAt","Infinity","version","setInCacheMap","requestedUrl","requestedSearch","urlWithoutSearchParams","URL","routeWithNoSearchParams","createPrefetchRequestKey","href","canonicalUrlForRouteWithNoSearchParams","origin","optimisticCanonicalSearch","optimisticRenderedSearch","optimisticUrl","location","optimisticCanonicalUrl","createHrefFromUrl","optimisticRouteTree","createOptimisticRouteTree","optimisticMetadataTree","optimisticEntry","newRenderedSearch","clonedSlots","originalSlots","slots","parallelRouteKey","childTree","isPage","requestKey","segment","clonePageVaryPathWithNewSearchParams","isRootLayout","hasLoadingBoundary","hasRuntimePrefetch","fetchStrategy","route","varyPathForRequest","getSegmentVaryPathForRequest","candidateEntry","isValueExpired","isPartial","rejectedEntry","loading","rsc","deleteFromCacheMap","emptyEntry","FetchStrategy","PPR","Full","pingBlockedTasks","entry","pingPrefetchTask","fulfillRouteCacheEntry","metadataVaryPath","HEAD_REQUEST_KEY","HasLoadingBoundary","SubtreeHasNoLoadingBoundary","fulfilledEntry","fulfillSegmentCacheEntry","segmentCacheEntry","resolve","rejectRouteCacheEntry","rejectSegmentCacheEntry","convertRootTreePrefetchToRouteTree","rootTree","renderedPathname","acc","pathnameParts","split","filter","p","index","rootSegment","ROOT_SEGMENT_REQUEST_KEY","convertTreePrefetchToRouteTree","prefetch","partialVaryPath","pathnamePartsIndex","prefetchSlots","finalizeLayoutVaryPath","childPrefetch","childParamName","name","childParamType","paramType","childServerSentParamKey","paramKey","childDoesAppearInURL","childSegment","childPartialVaryPath","childParamValue","parseDynamicParamFromURLPart","childParamKey","getCacheKeyForDynamicParam","appendLayoutVaryPath","doesStaticSegmentAppearInURL","childPathnamePartsIndex","childRequestKeyPart","createSegmentRequestKeyPart","childRequestKey","appendSegmentRequestKeyPart","endsWith","PAGE_SEGMENT_KEY","finalizePageVaryPath","finalizeMetadataVaryPath","SegmentHasLoadingBoundary","convertRootFlightRouterStateToRouteTree","flightRouterState","convertFlightRouterStateToRouteTree","parentPartialVaryPath","originalSegment","Array","isArray","paramCacheKey","parallelRoutes","childRouterState","undefined","routeTree","segmentPath","headers","RSC_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_URL","url","response","urlAfterRedirects","headResponse","fetch","method","Date","redirected","fetchPrefetchResponse","addSegmentPathToUrlInOutputExportMode","ok","body","varyHeader","get","includes","closed","routeIsPPREnabled","NEXT_DID_POSTPONE_HEADER","prefetchStream","createPrefetchResponseStream","onResponseSizeUpdate","setSizeInCacheMap","serverData","createFromNextReadableStream","buildId","getAppBuildId","getRenderedPathname","getRenderedSearch","staleTimeMs","staleTime","b","writeDynamicTreeResponseIntoCache","LoadingBoundary","fulfilledVaryPath","getFulfilledRouteVaryPath","value","routeKey","normalizedRequestKey","requestUrl","dynamicRequestTree","spawnedEntries","has","NEXT_ROUTER_STATE_TREE_HEADER","prepareFlightRouterStateForRequest","PPRRuntime","rejectSegmentEntriesIfStillPending","fulfilledEntries","totalBytesReceivedSoFar","averageSize","length","isResponsePartial","rp","writeDynamicRenderResponseIntoCache","normalizedFlightDataResult","normalizeFlightData","f","flightData","isRootRender","parseInt","NEXT_ROUTER_STALE_TIME_HEADER","isNaN","STATIC_STALETIME_MS","entries","values","push","flightDatas","seedData","i","writeSeedDataIntoCache","head","fulfillEntrySpawnedByRuntimePrefetch","isHeadPartial","entriesOwnedByCurrentTask","seedDataChildren","childSeedData","ownedEntry","possiblyNewEntry","newEntry","fetchPriority","shouldImmediatelyDecode","createFetch","contentType","isFlightResponse","startsWith","RSC_CONTENT_TYPE_HEADER","originalFlightStream","onStreamClose","totalByteLength","reader","getReader","ReadableStream","pull","controller","done","read","enqueue","byteLength","staticUrl","routeDir","slice","staticExportFilename","convertSegmentPathToStaticExportFilename","currentStrategy","newStrategy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F;AACT;AAEA,SAASkB,6BACPkE,oBAAgD,EAChDC,aAAyB,EACzBlE,oBAA4C;IAE5C,0EAA0E;IAC1E,4EAA4E;IAC5E,uEAAuE;IACvE,0EAA0E;IAC1E,8DAA8D;IAC9D,2CAA2C;IAC3C,EAAE;IACF,2EAA2E;IAC3E,0EAA0E;IAC1E,8EAA8E;IAC9E,+BAA+B;IAC/B,EAAE;IACF,8EAA8E;IAC9E,iCAAiC;IACjC,IAAImE,kBAAkB;IACtB,MAAMC,SAASH,qBAAqBI,SAAS;IAC7C,OAAO,IAAIC,eAAe;QACxB,MAAMC,MAAKC,UAAU;YACnB,MAAO,KAAM;gBACX,MAAM,EAAEC,IAAI,EAAE1D,KAAK,EAAE,GAAG,MAAMqD,OAAOM,IAAI;gBACzC,IAAI,CAACD,MAAM;oBACT,mEAAmE;oBACnE,mBAAmB;oBACnBD,WAAWG,OAAO,CAAC5D;oBAEnB,+DAA+D;oBAC/D,kEAAkE;oBAClE,qEAAqE;oBACrE,6CAA6C;oBAC7CoD,mBAAmBpD,MAAM6D,UAAU;oBACnC5E,qBAAqBmE;oBACrB;gBACF;gBACA,qEAAqE;gBACrE,sDAAsD;gBACtDD;gBACA;YACF;QACF;IACF;AACF;AAEA,SAAS7E,sCACPT,GAAQ,EACRN,WAA8B;IAE9B,IAAIzK,oBAAoB;;IAYxB,OAAO+K;AACT;AAuBO,SAAStM,sCACd4S,eAA8B,EAC9BC,WAA0B;IAE1B,OAAOD,kBAAkBC;AAC3B","ignoreList":[0]}}, + {"offset": {"line": 6248, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/segment-cache/cache.ts"],"sourcesContent":["import type {\n TreePrefetch,\n RootTreePrefetch,\n SegmentPrefetch,\n} from '../../../server/app-render/collect-segment-data'\nimport type { LoadingModuleData } from '../../../shared/lib/app-router-types'\nimport type {\n CacheNodeSeedData,\n Segment as FlightRouterStateSegment,\n} from '../../../shared/lib/app-router-types'\nimport { HasLoadingBoundary } from '../../../shared/lib/app-router-types'\nimport {\n NEXT_DID_POSTPONE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STALE_TIME_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n RSC_CONTENT_TYPE_HEADER,\n RSC_HEADER,\n} from '../app-router-headers'\nimport {\n createFetch,\n createFromNextReadableStream,\n type RSCResponse,\n type RequestHeaders,\n} from '../router-reducer/fetch-server-response'\nimport {\n pingPrefetchTask,\n isPrefetchTaskDirty,\n type PrefetchTask,\n type PrefetchSubtaskResult,\n startRevalidationCooldown,\n} from './scheduler'\nimport {\n type RouteVaryPath,\n type SegmentVaryPath,\n type PartialSegmentVaryPath,\n getRouteVaryPath,\n getFulfilledRouteVaryPath,\n getSegmentVaryPathForRequest,\n appendLayoutVaryPath,\n finalizeLayoutVaryPath,\n finalizePageVaryPath,\n clonePageVaryPathWithNewSearchParams,\n type PageVaryPath,\n finalizeMetadataVaryPath,\n} from './vary-path'\nimport { getAppBuildId } from '../../app-build-id'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport type { NormalizedSearch, RouteCacheKey } from './cache-key'\n// TODO: Rename this module to avoid confusion with other types of cache keys\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key'\nimport {\n doesStaticSegmentAppearInURL,\n getCacheKeyForDynamicParam,\n getRenderedPathname,\n getRenderedSearch,\n parseDynamicParamFromURLPart,\n} from '../../route-params'\nimport {\n createCacheMap,\n getFromCacheMap,\n setInCacheMap,\n setSizeInCacheMap,\n deleteFromCacheMap,\n isValueExpired,\n type CacheMap,\n type UnknownMapEntry,\n} from './cache-map'\nimport {\n appendSegmentRequestKeyPart,\n convertSegmentPathToStaticExportFilename,\n createSegmentRequestKeyPart,\n HEAD_REQUEST_KEY,\n ROOT_SEGMENT_REQUEST_KEY,\n type SegmentRequestKey,\n} from '../../../shared/lib/segment-cache/segment-value-encoding'\nimport type {\n FlightRouterState,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n} from '../../flight-data-helpers'\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer'\nimport { pingVisibleLinks } from '../links'\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment'\nimport { FetchStrategy } from './types'\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers'\n\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */\nexport function getStaleTimeMs(staleTimeSeconds: number): number {\n return Math.max(staleTimeSeconds, 30) * 1000\n}\n\n// A note on async/await when working in the prefetch cache:\n//\n// Most async operations in the prefetch cache should *not* use async/await,\n// Instead, spawn a subtask that writes the results to a cache entry, and attach\n// a \"ping\" listener to notify the prefetch queue to try again.\n//\n// The reason is we need to be able to access the segment cache and traverse its\n// data structures synchronously. For example, if there's a synchronous update\n// we can take an immediate snapshot of the cache to produce something we can\n// render. Limiting the use of async/await also makes it easier to avoid race\n// conditions, which is especially important because is cache is mutable.\n//\n// Another reason is that while we're performing async work, it's possible for\n// existing entries to become stale, or for Link prefetches to be removed from\n// the queue. For optimal scheduling, we need to be able to \"cancel\" subtasks\n// that are no longer needed. So, when a segment is received from the server, we\n// restart from the root of the tree that's being prefetched, to confirm all the\n// parent segments are still cached. If the segment is no longer reachable from\n// the root, then it's effectively canceled. This is similar to the design of\n// Rust Futures, or React Suspense.\n\ntype RouteTreeShared = {\n requestKey: SegmentRequestKey\n // TODO: Remove the `segment` field, now that it can be reconstructed\n // from `param`.\n segment: FlightRouterStateSegment\n slots: null | {\n [parallelRouteKey: string]: RouteTree\n }\n isRootLayout: boolean\n\n // If this is a dynamic route, indicates whether there is a loading boundary\n // somewhere in the tree. If not, we can skip the prefetch for the data,\n // because we know it would be an empty response. (For a static/PPR route,\n // this value is disregarded, because in that model `loading.tsx` is treated\n // like any other Suspense boundary.)\n hasLoadingBoundary: HasLoadingBoundary\n\n // Indicates whether this route has a runtime prefetch that we can request.\n // This is determined by the server; it's not purely a user configuration\n // because the server may determine that a route is fully static and doesn't\n // need runtime prefetching regardless of the configuration.\n hasRuntimePrefetch: boolean\n}\n\ntype LayoutRouteTree = RouteTreeShared & {\n isPage: false\n varyPath: SegmentVaryPath\n}\n\ntype PageRouteTree = RouteTreeShared & {\n isPage: true\n varyPath: PageVaryPath\n}\n\nexport type RouteTree = LayoutRouteTree | PageRouteTree\n\ntype RouteCacheEntryShared = {\n // This is false only if we're certain the route cannot be intercepted. It's\n // true in all other cases, including on initialization when we haven't yet\n // received a response from the server.\n couldBeIntercepted: boolean\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */\nexport const enum EntryStatus {\n Empty = 0,\n Pending = 1,\n Fulfilled = 2,\n Rejected = 3,\n}\n\ntype PendingRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Empty | EntryStatus.Pending\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: false\n}\n\ntype RejectedRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Rejected\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n isPPREnabled: boolean\n}\n\nexport type FulfilledRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Fulfilled\n blockedTasks: null\n canonicalUrl: string\n renderedSearch: NormalizedSearch\n tree: RouteTree\n metadata: RouteTree\n isPPREnabled: boolean\n}\n\nexport type RouteCacheEntry =\n | PendingRouteCacheEntry\n | FulfilledRouteCacheEntry\n | RejectedRouteCacheEntry\n\ntype SegmentCacheEntryShared = {\n fetchStrategy: FetchStrategy\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\nexport type EmptySegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Empty\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type PendingSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Pending\n rsc: null\n loading: null\n isPartial: boolean\n promise: null | PromiseWithResolvers\n}\n\ntype RejectedSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Rejected\n rsc: null\n loading: null\n isPartial: true\n promise: null\n}\n\nexport type FulfilledSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Fulfilled\n rsc: React.ReactNode | null\n loading: LoadingModuleData | Promise\n isPartial: boolean\n promise: null\n}\n\nexport type SegmentCacheEntry =\n | EmptySegmentCacheEntry\n | PendingSegmentCacheEntry\n | RejectedSegmentCacheEntry\n | FulfilledSegmentCacheEntry\n\nexport type NonEmptySegmentCacheEntry = Exclude<\n SegmentCacheEntry,\n EmptySegmentCacheEntry\n>\n\nconst isOutputExportMode =\n process.env.NODE_ENV === 'production' &&\n process.env.__NEXT_CONFIG_OUTPUT === 'export'\n\nconst MetadataOnlyRequestTree: FlightRouterState = [\n '',\n {},\n null,\n 'metadata-only',\n]\n\nlet routeCacheMap: CacheMap = createCacheMap()\nlet segmentCacheMap: CacheMap = createCacheMap()\n\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners: Set | null = null\n\n// Incrementing counter used to track cache invalidations.\nlet currentCacheVersion = 0\n\nexport function getCurrentCacheVersion(): number {\n return currentCacheVersion\n}\n\n/**\n * Used to clear the client prefetch cache when a server action calls\n * revalidatePath or revalidateTag. Eventually we will support only clearing the\n * segments that were actually affected, but there's more work to be done on the\n * server before the client is able to do this correctly.\n */\nexport function revalidateEntireCache(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // Increment the current cache version. This does not eagerly evict anything\n // from the cache, but because all the entries are versioned, and we check\n // the version when reading from the cache, this effectively causes all\n // entries to be evicted lazily. We do it lazily because in the future,\n // actions like revalidateTag or refresh will not evict the entire cache,\n // but rather some subset of the entries.\n currentCacheVersion++\n\n // Start a cooldown before re-prefetching to allow CDN cache propagation.\n startRevalidationCooldown()\n\n // Prefetch all the currently visible links again, to re-fill the cache.\n pingVisibleLinks(nextUrl, tree)\n\n // Similarly, notify all invalidation listeners (i.e. those passed to\n // `router.prefetch(onInvalidate)`), so they can trigger a new prefetch\n // if needed.\n pingInvalidationListeners(nextUrl, tree)\n}\n\nfunction attachInvalidationListener(task: PrefetchTask): void {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([task])\n } else {\n invalidationListeners.add(task)\n }\n }\n}\n\nfunction notifyInvalidationListener(task: PrefetchTask): void {\n const onInvalidate = task.onInvalidate\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null\n\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate()\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error)\n } else {\n console.error(error)\n }\n }\n }\n}\n\nexport function pingInvalidationListeners(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners\n invalidationListeners = null\n for (const task of tasks) {\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task)\n }\n }\n }\n}\n\nexport function readRouteCacheEntry(\n now: number,\n key: RouteCacheKey\n): RouteCacheEntry | null {\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n routeCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function readSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nfunction readRevalidatingSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = true\n return getFromCacheMap(\n now,\n getCurrentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function waitForSegmentCacheEntry(\n pendingEntry: PendingSegmentCacheEntry\n): Promise {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise =\n createPromiseWithResolvers()\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise\n}\n\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateRouteCacheEntry(\n now: number,\n task: PrefetchTask,\n key: RouteCacheKey\n): RouteCacheEntry {\n attachInvalidationListener(task)\n\n const existingEntry = readRouteCacheEntry(now, key)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry: PendingRouteCacheEntry = {\n canonicalUrl: null,\n status: EntryStatus.Empty,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n isPPREnabled: false,\n renderedSearch: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentCacheVersion(),\n }\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation)\n return pendingEntry\n}\n\nexport function requestOptimisticRouteCacheEntry(\n now: number,\n requestedUrl: URL,\n nextUrl: string | null\n): FulfilledRouteCacheEntry | null {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search as NormalizedSearch\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null\n }\n const urlWithoutSearchParams = new URL(requestedUrl)\n urlWithoutSearchParams.search = ''\n const routeWithNoSearchParams = readRouteCacheEntry(\n now,\n createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl)\n )\n\n if (\n routeWithNoSearchParams === null ||\n routeWithNoSearchParams.status !== EntryStatus.Fulfilled\n ) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null\n }\n\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(\n routeWithNoSearchParams.canonicalUrl,\n requestedUrl.origin\n )\n const optimisticCanonicalSearch =\n canonicalUrlForRouteWithNoSearchParams.search !== ''\n ? // Base route was redirected. Reuse the same redirected search string.\n canonicalUrlForRouteWithNoSearchParams.search\n : requestedSearch\n\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch =\n routeWithNoSearchParams.renderedSearch !== ''\n ? // Base route was rewritten. Reuse the same rewritten search string.\n routeWithNoSearchParams.renderedSearch\n : requestedSearch\n\n const optimisticUrl = new URL(\n routeWithNoSearchParams.canonicalUrl,\n location.origin\n )\n optimisticUrl.search = optimisticCanonicalSearch\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl)\n\n const optimisticRouteTree = createOptimisticRouteTree(\n routeWithNoSearchParams.tree,\n optimisticRenderedSearch\n )\n const optimisticMetadataTree = createOptimisticRouteTree(\n routeWithNoSearchParams.metadata,\n optimisticRenderedSearch\n )\n\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry: FulfilledRouteCacheEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n\n status: EntryStatus.Fulfilled,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n isPPREnabled: routeWithNoSearchParams.isPPREnabled,\n\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version,\n }\n\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry\n}\n\nfunction createOptimisticRouteTree(\n tree: RouteTree,\n newRenderedSearch: NormalizedSearch\n): RouteTree {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n\n let clonedSlots: Record | null = null\n const originalSlots = tree.slots\n if (originalSlots !== null) {\n clonedSlots = {}\n for (const parallelRouteKey in originalSlots) {\n const childTree = originalSlots[parallelRouteKey]\n clonedSlots[parallelRouteKey] = createOptimisticRouteTree(\n childTree,\n newRenderedSearch\n )\n }\n }\n\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: clonePageVaryPathWithNewSearchParams(\n tree.varyPath,\n newRenderedSearch\n ),\n isPage: true,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n }\n\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch,\n }\n}\n\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateSegmentCacheEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function readOrCreateRevalidatingSegmentEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): SegmentCacheEntry {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function overwriteRevalidatingSegmentCacheEntry(\n fetchStrategy: FetchStrategy,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function upsertSegmentEntry(\n now: number,\n varyPath: SegmentVaryPath,\n candidateEntry: SegmentCacheEntry\n): SegmentCacheEntry | null {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n\n if (isValueExpired(now, getCurrentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null\n }\n\n const existingEntry = readSegmentCacheEntry(now, varyPath)\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // ``.\n if (\n // We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n (candidateEntry.fetchStrategy !== existingEntry.fetchStrategy &&\n !canNewFetchStrategyProvideMoreContent(\n existingEntry.fetchStrategy,\n candidateEntry.fetchStrategy\n )) ||\n // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n (!existingEntry.isPartial && candidateEntry.isPartial)\n ) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry: RejectedSegmentCacheEntry = candidateEntry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.loading = null\n rejectedEntry.rsc = null\n return null\n }\n\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry)\n }\n\n const isRevalidation = false\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation)\n return candidateEntry\n}\n\nexport function createDetachedSegmentCacheEntry(\n staleAt: number\n): EmptySegmentCacheEntry {\n const emptyEntry: EmptySegmentCacheEntry = {\n status: EntryStatus.Empty,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n loading: null,\n isPartial: true,\n promise: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0,\n }\n return emptyEntry\n}\n\nexport function upgradeToPendingSegment(\n emptyEntry: EmptySegmentCacheEntry,\n fetchStrategy: FetchStrategy\n): PendingSegmentCacheEntry {\n const pendingEntry: PendingSegmentCacheEntry = emptyEntry as any\n pendingEntry.status = EntryStatus.Pending\n pendingEntry.fetchStrategy = fetchStrategy\n\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false\n }\n\n // Set the version here, since this is right before the request is initiated.\n // The next time the global cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentCacheVersion()\n return pendingEntry\n}\n\nfunction pingBlockedTasks(entry: {\n blockedTasks: Set | null\n}): void {\n const blockedTasks = entry.blockedTasks\n if (blockedTasks !== null) {\n for (const task of blockedTasks) {\n pingPrefetchTask(task)\n }\n entry.blockedTasks = null\n }\n}\n\nfunction fulfillRouteCacheEntry(\n entry: RouteCacheEntry,\n tree: RouteTree,\n metadataVaryPath: PageVaryPath,\n staleAt: number,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n renderedSearch: NormalizedSearch,\n isPPREnabled: boolean\n): FulfilledRouteCacheEntry {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata: RouteTree = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n isRootLayout: false,\n hasLoadingBoundary: HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n hasRuntimePrefetch: false,\n }\n const fulfilledEntry: FulfilledRouteCacheEntry = entry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.tree = tree\n fulfilledEntry.metadata = metadata\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted\n fulfilledEntry.canonicalUrl = canonicalUrl\n fulfilledEntry.renderedSearch = renderedSearch\n fulfilledEntry.isPPREnabled = isPPREnabled\n pingBlockedTasks(entry)\n return fulfilledEntry\n}\n\nfunction fulfillSegmentCacheEntry(\n segmentCacheEntry: PendingSegmentCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n staleAt: number,\n isPartial: boolean\n): FulfilledSegmentCacheEntry {\n const fulfilledEntry: FulfilledSegmentCacheEntry = segmentCacheEntry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.rsc = rsc\n fulfilledEntry.loading = loading\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.isPartial = isPartial\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry)\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null\n }\n return fulfilledEntry\n}\n\nfunction rejectRouteCacheEntry(\n entry: PendingRouteCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedRouteCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n pingBlockedTasks(entry)\n}\n\nfunction rejectSegmentCacheEntry(\n entry: PendingSegmentCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedSegmentCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null)\n entry.promise = null\n }\n}\n\ntype RouteTreeAccumulator = {\n metadataVaryPath: PageVaryPath | null\n}\n\nfunction convertRootTreePrefetchToRouteTree(\n rootTree: RootTreePrefetch,\n renderedPathname: string,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY\n return convertTreePrefetchToRouteTree(\n rootTree.tree,\n rootSegment,\n null,\n ROOT_SEGMENT_REQUEST_KEY,\n pathnameParts,\n index,\n renderedSearch,\n acc\n )\n}\n\nfunction convertTreePrefetchToRouteTree(\n prefetch: TreePrefetch,\n segment: FlightRouterStateSegment,\n partialVaryPath: PartialSegmentVaryPath | null,\n requestKey: SegmentRequestKey,\n pathnameParts: Array,\n pathnamePartsIndex: number,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n const prefetchSlots = prefetch.slots\n if (prefetchSlots !== null) {\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n\n slots = {}\n for (let parallelRouteKey in prefetchSlots) {\n const childPrefetch = prefetchSlots[parallelRouteKey]\n const childParamName = childPrefetch.name\n const childParamType = childPrefetch.paramType\n const childServerSentParamKey = childPrefetch.paramKey\n\n let childDoesAppearInURL: boolean\n let childSegment: FlightRouterStateSegment\n let childPartialVaryPath: PartialSegmentVaryPath | null\n if (childParamType !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(\n childParamType,\n pathnameParts,\n pathnamePartsIndex\n )\n\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey =\n // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childServerSentParamKey !== null\n ? childServerSentParamKey\n : // If no param key was sent, use the value parsed on the client.\n getCacheKeyForDynamicParam(\n childParamValue,\n '' as NormalizedSearch\n )\n\n childPartialVaryPath = appendLayoutVaryPath(\n partialVaryPath,\n childParamKey\n )\n childSegment = [childParamName, childParamKey, childParamType]\n childDoesAppearInURL = true\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath\n childSegment = childParamName\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childParamName)\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(\n childPrefetch,\n childSegment,\n childPartialVaryPath,\n childRequestKey,\n pathnameParts,\n childPathnamePartsIndex,\n renderedSearch,\n acc\n )\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: prefetch.isRootLayout,\n // This field is only relevant to dynamic routes. For a PPR/static route,\n // there's always some partial loading state we can fetch.\n hasLoadingBoundary: HasLoadingBoundary.SegmentHasLoadingBoundary,\n hasRuntimePrefetch: prefetch.hasRuntimePrefetch,\n }\n}\n\nfunction convertRootFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n return convertFlightRouterStateToRouteTree(\n flightRouterState,\n ROOT_SEGMENT_REQUEST_KEY,\n null,\n renderedSearch,\n acc\n )\n}\n\nfunction convertFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n requestKey: SegmentRequestKey,\n parentPartialVaryPath: PartialSegmentVaryPath | null,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n const originalSegment = flightRouterState[0]\n\n let segment: FlightRouterStateSegment\n let partialVaryPath: PartialSegmentVaryPath | null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n if (Array.isArray(originalSegment)) {\n isPage = false\n const paramCacheKey = originalSegment[1]\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, paramCacheKey)\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n segment = originalSegment\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n segment = originalSegment\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n\n const parallelRoutes = flightRouterState[1]\n for (let parallelRouteKey in parallelRoutes) {\n const childRouterState = parallelRoutes[parallelRouteKey]\n const childSegment = childRouterState[0]\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n const childTree = convertFlightRouterStateToRouteTree(\n childRouterState,\n childRequestKey,\n partialVaryPath,\n renderedSearch,\n acc\n )\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree,\n }\n } else {\n slots[parallelRouteKey] = childTree\n }\n }\n\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage as boolean as any,\n slots,\n isRootLayout: flightRouterState[4] === true,\n hasLoadingBoundary:\n flightRouterState[5] !== undefined\n ? flightRouterState[5]\n : HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n\n // Non-static tree responses are only used by apps that haven't adopted\n // Cache Components. So this is always false.\n hasRuntimePrefetch: false,\n }\n}\n\nexport function convertRouteTreeToFlightRouterState(\n routeTree: RouteTree\n): FlightRouterState {\n const parallelRoutes: Record = {}\n if (routeTree.slots !== null) {\n for (const parallelRouteKey in routeTree.slots) {\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(\n routeTree.slots[parallelRouteKey]\n )\n }\n }\n const flightRouterState: FlightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null,\n routeTree.isRootLayout,\n ]\n return flightRouterState\n}\n\nexport async function fetchRouteOnCacheMiss(\n entry: PendingRouteCacheEntry,\n task: PrefetchTask,\n key: RouteCacheKey\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname\n const search = key.search\n const nextUrl = key.nextUrl\n const segmentPath = '/_tree' as SegmentRequestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n try {\n const url = new URL(pathname + search, location.origin)\n let response\n let urlAfterRedirects\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to : /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD',\n })\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n urlAfterRedirects = headResponse.redirected\n ? new URL(headResponse.url)\n : url\n\n response = await fetchPrefetchResponse(\n addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath),\n headers\n )\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers)\n urlAfterRedirects =\n response !== null && response.redirected ? new URL(response.url) : url\n }\n\n if (\n !response ||\n !response.ok ||\n // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects)\n\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary')\n const couldBeIntercepted =\n varyHeader !== null && varyHeader.includes(NEXT_URL)\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' ||\n // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode\n\n if (routeIsPPREnabled) {\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData = await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootTreePrefetchToRouteTree(\n serverData,\n renderedPathname,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n const staleTimeMs = getStaleTimeMs(serverData.staleTime)\n fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n Date.now() + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size)\n }\n )\n const serverData =\n await createFromNextReadableStream(\n prefetchStream,\n headers\n )\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n writeDynamicTreeResponseIntoCache(\n Date.now(),\n task,\n // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary,\n response as RSCResponse,\n serverData,\n entry,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled\n )\n }\n\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath: RouteVaryPath = getFulfilledRouteVaryPath(\n pathname,\n search,\n nextUrl,\n couldBeIntercepted\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation)\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentOnCacheMiss(\n route: FulfilledRouteCacheEntry,\n segmentCacheEntry: PendingSegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = routeKey.nextUrl\n\n const requestKey = tree.requestKey\n const normalizedRequestKey =\n requestKey === ROOT_SEGMENT_REQUEST_KEY\n ? // The root segment is a special case. To simplify the server-side\n // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n ('/_index' as SegmentRequestKey)\n : requestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n\n const requestUrl = isOutputExportMode\n ? // In output: \"export\" mode, we need to add the segment path to the URL.\n addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey)\n : url\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers)\n if (\n !response ||\n !response.ok ||\n response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n (response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' &&\n // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode) ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n // Wrap the original stream in a new stream that never closes. That way the\n // Flight client doesn't error if there's a hanging promise.\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(size) {\n setSizeInCacheMap(segmentCacheEntry, size)\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n return {\n value: fulfillSegmentCacheEntry(\n segmentCacheEntry,\n serverData.rsc,\n serverData.loading,\n // TODO: The server does not currently provide per-segment stale time.\n // So we use the stale time of the route.\n route.staleAt,\n serverData.isPartial\n ),\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise,\n }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n dynamicRequestTree: FlightRouterState,\n spawnedEntries: Map\n): Promise | null> {\n const key = task.key\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = key.nextUrl\n\n if (\n spawnedEntries.size === 1 &&\n spawnedEntries.has(route.metadata.requestKey)\n ) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree\n }\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]:\n prepareFlightRouterStateForRequest(dynamicRequestTree),\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n switch (fetchStrategy) {\n case FetchStrategy.Full: {\n // We omit the prefetch header from a full prefetch because it's essentially\n // just a navigation request that happens ahead of time — it should include\n // all the same data in the response.\n break\n }\n case FetchStrategy.PPRRuntime: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2'\n break\n }\n case FetchStrategy.LoadingBoundary: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1'\n break\n }\n default: {\n fetchStrategy satisfies never\n }\n }\n\n try {\n const response = await fetchPrefetchResponse(url, headers)\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n const renderedSearch = getRenderedSearch(response)\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers()\n\n let fulfilledEntries: Array | null = null\n const prefetchStream = createPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assiging each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length\n for (const entry of fulfilledEntries) {\n setSizeInCacheMap(entry, averageSize)\n }\n }\n )\n const serverData = await (createFromNextReadableStream(\n prefetchStream,\n headers\n ) as Promise)\n\n const isResponsePartial =\n fetchStrategy === FetchStrategy.PPRRuntime\n ? // A runtime prefetch may have holes.\n serverData.rp?.[0] === true\n : // Full and LoadingBoundary prefetches cannot have holes.\n // (even if we did set the prefetch header, we only use this codepath for non-PPR-enabled routes)\n false\n\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n fulfilledEntries = writeDynamicRenderResponseIntoCache(\n Date.now(),\n task,\n fetchStrategy,\n response as RSCResponse,\n serverData,\n isResponsePartial,\n route,\n spawnedEntries\n )\n\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n}\n\nfunction writeDynamicTreeResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n entry: PendingRouteCacheEntry,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n routeIsPPREnabled: boolean\n) {\n // Get the URL that was used to render the target page. This may be different\n // from the URL in the request URL, if the page was rewritten.\n const renderedSearch = getRenderedSearch(response)\n\n const normalizedFlightDataResult = normalizeFlightData(serverData.f)\n if (\n // A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' ||\n normalizedFlightDataResult.length !== 1\n ) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n const flightData = normalizedFlightDataResult[0]\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const flightRouterState = flightData.tree\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n\n // If the response contains dynamic holes, then we must conservatively assume\n // that any individual segment might contain dynamic holes, and also the\n // head. If it did not contain dynamic holes, then we can assume every segment\n // and the head is completely static.\n const isResponsePartial =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1'\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootFlightRouterStateToRouteTree(\n flightRouterState,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const fulfilledEntry = fulfillRouteCacheEntry(\n entry,\n routeTree,\n metadataVaryPath,\n now + staleTimeMs,\n couldBeIntercepted,\n canonicalUrl,\n renderedSearch,\n routeIsPPREnabled\n )\n\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n //\n // TODO: When `clientSegmentCache` is enabled, the server does not include\n // segment data when responding to a route tree prefetch request. However,\n // when `clientSegmentCache` is set to \"client-only\", and PPR is enabled (or\n // the page is fully static), the normal check is bypassed and the server\n // responds with the full page. This is a temporary situation until we can\n // remove the \"client-only\" option. Then, we can delete this function call.\n writeDynamicRenderResponseIntoCache(\n now,\n task,\n fetchStrategy,\n response,\n serverData,\n isResponsePartial,\n fulfilledEntry,\n null\n )\n}\n\nfunction rejectSegmentEntriesIfStillPending(\n entries: Map,\n staleAt: number\n): Array {\n const fulfilledEntries = []\n for (const entry of entries.values()) {\n if (entry.status === EntryStatus.Pending) {\n rejectSegmentCacheEntry(entry, staleAt)\n } else if (entry.status === EntryStatus.Fulfilled) {\n fulfilledEntries.push(entry)\n }\n }\n return fulfilledEntries\n}\n\nfunction writeDynamicRenderResponseIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n isResponsePartial: boolean,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map | null\n): Array | null {\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n\n const flightDatas = normalizeFlightData(serverData.f)\n if (typeof flightDatas === 'string') {\n // This means navigating to this route will result in an MPA navigation.\n // TODO: We should cache this, too, so that the MPA navigation is immediate.\n return null\n }\n\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds =\n typeof serverData.rp?.[1] === 'number'\n ? serverData.rp[1]\n : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10)\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n const staleAt = now + staleTimeMs\n\n for (const flightData of flightDatas) {\n const seedData = flightData.seedData\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightData.segmentPath\n let tree = route.tree\n for (let i = 0; i < segmentPath.length; i += 2) {\n const parallelRouteKey: string = segmentPath[i]\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey]\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n }\n\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n tree,\n staleAt,\n seedData,\n isResponsePartial,\n spawnedEntries\n )\n }\n\n const head = flightData.head\n if (head !== null) {\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n head,\n null,\n flightData.isHeadPartial,\n staleAt,\n route.metadata,\n spawnedEntries\n )\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(\n spawnedEntries,\n now + 10 * 1000\n )\n return fulfilledEntries\n }\n return null\n}\n\nfunction writeSeedDataIntoCache(\n now: number,\n task: PrefetchTask,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n staleAt: number,\n seedData: CacheNodeSeedData,\n isResponsePartial: boolean,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0]\n const loading = seedData[2]\n const isPartial = rsc === null || isResponsePartial\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n route,\n rsc,\n loading,\n isPartial,\n staleAt,\n tree,\n entriesOwnedByCurrentTask\n )\n\n // Recursively write the child data into the cache.\n const slots = tree.slots\n if (slots !== null) {\n const seedDataChildren = seedData[1]\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childSeedData: CacheNodeSeedData | null | void =\n seedDataChildren[parallelRouteKey]\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(\n now,\n task,\n fetchStrategy,\n route,\n childTree,\n staleAt,\n childSeedData,\n isResponsePartial,\n entriesOwnedByCurrentTask\n )\n }\n }\n }\n}\n\nfunction fulfillEntrySpawnedByRuntimePrefetch(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n route: FulfilledRouteCacheEntry,\n rsc: React.ReactNode,\n loading: LoadingModuleData | Promise,\n isPartial: boolean,\n staleAt: number,\n tree: RouteTree,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry =\n entriesOwnedByCurrentTask !== null\n ? entriesOwnedByCurrentTask.get(tree.requestKey)\n : undefined\n if (ownedEntry !== undefined) {\n fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial)\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(\n now,\n fetchStrategy,\n route,\n tree\n )\n if (possiblyNewEntry.status === EntryStatus.Empty) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry\n fulfillSegmentCacheEntry(\n upgradeToPendingSegment(newEntry, fetchStrategy),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(\n upgradeToPendingSegment(\n createDetachedSegmentCacheEntry(staleAt),\n fetchStrategy\n ),\n rsc,\n loading,\n staleAt,\n isPartial\n )\n upsertSegmentEntry(\n now,\n getSegmentVaryPathForRequest(fetchStrategy, tree),\n newEntry\n )\n }\n }\n}\n\nasync function fetchPrefetchResponse(\n url: URL,\n headers: RequestHeaders\n): Promise | null> {\n const fetchPriority = 'low'\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false\n const response = await createFetch(\n url,\n headers,\n fetchPriority,\n shouldImmediatelyDecode\n )\n if (!response.ok) {\n return null\n }\n\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type')\n const isFlightResponse =\n contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n if (!isFlightResponse) {\n return null\n }\n }\n return response\n}\n\nfunction createPrefetchResponseStream(\n originalFlightStream: ReadableStream,\n onStreamClose: () => void,\n onResponseSizeUpdate: (size: number) => void\n): ReadableStream {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n //\n // While processing the original stream, we also incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0\n const reader = originalFlightStream.getReader()\n return new ReadableStream({\n async pull(controller) {\n while (true) {\n const { done, value } = await reader.read()\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value)\n\n // Incrementally update the size of the cache entry in the LRU.\n // NOTE: Since prefetch responses are delivered in a single chunk,\n // it's not really necessary to do this streamingly, but I'm doing it\n // anyway in case this changes in the future.\n totalByteLength += value.byteLength\n onResponseSizeUpdate(totalByteLength)\n continue\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream. We do notify the caller, though.\n onStreamClose()\n return\n }\n },\n })\n}\n\nfunction addSegmentPathToUrlInOutputExportMode(\n url: URL,\n segmentPath: SegmentRequestKey\n): URL {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url)\n const routeDir = staticUrl.pathname.endsWith('/')\n ? staticUrl.pathname.slice(0, -1)\n : staticUrl.pathname\n const staticExportFilename =\n convertSegmentPathToStaticExportFilename(segmentPath)\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`\n return staticUrl\n }\n return url\n}\n\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */\nexport function canNewFetchStrategyProvideMoreContent(\n currentStrategy: FetchStrategy,\n newStrategy: FetchStrategy\n): boolean {\n return currentStrategy < newStrategy\n}\n"],"names":["EntryStatus","canNewFetchStrategyProvideMoreContent","convertRouteTreeToFlightRouterState","createDetachedSegmentCacheEntry","fetchRouteOnCacheMiss","fetchSegmentOnCacheMiss","fetchSegmentPrefetchesUsingDynamicRequest","getCurrentCacheVersion","getStaleTimeMs","overwriteRevalidatingSegmentCacheEntry","pingInvalidationListeners","readOrCreateRevalidatingSegmentEntry","readOrCreateRouteCacheEntry","readOrCreateSegmentCacheEntry","readRouteCacheEntry","readSegmentCacheEntry","requestOptimisticRouteCacheEntry","revalidateEntireCache","upgradeToPendingSegment","upsertSegmentEntry","waitForSegmentCacheEntry","staleTimeSeconds","Math","max","isOutputExportMode","process","env","NODE_ENV","__NEXT_CONFIG_OUTPUT","MetadataOnlyRequestTree","routeCacheMap","createCacheMap","segmentCacheMap","invalidationListeners","currentCacheVersion","nextUrl","tree","startRevalidationCooldown","pingVisibleLinks","attachInvalidationListener","task","onInvalidate","Set","add","notifyInvalidationListener","error","reportError","console","tasks","isPrefetchTaskDirty","now","key","varyPath","getRouteVaryPath","pathname","search","isRevalidation","getFromCacheMap","readRevalidatingSegmentCacheEntry","pendingEntry","promiseWithResolvers","promise","createPromiseWithResolvers","existingEntry","canonicalUrl","status","blockedTasks","metadata","couldBeIntercepted","isPPREnabled","renderedSearch","ref","size","staleAt","Infinity","version","setInCacheMap","requestedUrl","requestedSearch","urlWithoutSearchParams","URL","routeWithNoSearchParams","createPrefetchRequestKey","href","canonicalUrlForRouteWithNoSearchParams","origin","optimisticCanonicalSearch","optimisticRenderedSearch","optimisticUrl","location","optimisticCanonicalUrl","createHrefFromUrl","optimisticRouteTree","createOptimisticRouteTree","optimisticMetadataTree","optimisticEntry","newRenderedSearch","clonedSlots","originalSlots","slots","parallelRouteKey","childTree","isPage","requestKey","segment","clonePageVaryPathWithNewSearchParams","isRootLayout","hasLoadingBoundary","hasRuntimePrefetch","fetchStrategy","route","varyPathForRequest","getSegmentVaryPathForRequest","candidateEntry","isValueExpired","isPartial","rejectedEntry","loading","rsc","deleteFromCacheMap","emptyEntry","FetchStrategy","PPR","Full","pingBlockedTasks","entry","pingPrefetchTask","fulfillRouteCacheEntry","metadataVaryPath","HEAD_REQUEST_KEY","HasLoadingBoundary","SubtreeHasNoLoadingBoundary","fulfilledEntry","fulfillSegmentCacheEntry","segmentCacheEntry","resolve","rejectRouteCacheEntry","rejectSegmentCacheEntry","convertRootTreePrefetchToRouteTree","rootTree","renderedPathname","acc","pathnameParts","split","filter","p","index","rootSegment","ROOT_SEGMENT_REQUEST_KEY","convertTreePrefetchToRouteTree","prefetch","partialVaryPath","pathnamePartsIndex","prefetchSlots","finalizeLayoutVaryPath","childPrefetch","childParamName","name","childParamType","paramType","childServerSentParamKey","paramKey","childDoesAppearInURL","childSegment","childPartialVaryPath","childParamValue","parseDynamicParamFromURLPart","childParamKey","getCacheKeyForDynamicParam","appendLayoutVaryPath","doesStaticSegmentAppearInURL","childPathnamePartsIndex","childRequestKeyPart","createSegmentRequestKeyPart","childRequestKey","appendSegmentRequestKeyPart","endsWith","PAGE_SEGMENT_KEY","finalizePageVaryPath","finalizeMetadataVaryPath","SegmentHasLoadingBoundary","convertRootFlightRouterStateToRouteTree","flightRouterState","convertFlightRouterStateToRouteTree","parentPartialVaryPath","originalSegment","Array","isArray","paramCacheKey","parallelRoutes","childRouterState","undefined","routeTree","segmentPath","headers","RSC_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_URL","url","response","urlAfterRedirects","headResponse","fetch","method","Date","redirected","fetchPrefetchResponse","addSegmentPathToUrlInOutputExportMode","ok","body","varyHeader","get","includes","closed","routeIsPPREnabled","NEXT_DID_POSTPONE_HEADER","prefetchStream","createPrefetchResponseStream","onResponseSizeUpdate","setSizeInCacheMap","serverData","createFromNextReadableStream","buildId","getAppBuildId","getRenderedPathname","getRenderedSearch","staleTimeMs","staleTime","b","writeDynamicTreeResponseIntoCache","LoadingBoundary","fulfilledVaryPath","getFulfilledRouteVaryPath","value","routeKey","normalizedRequestKey","requestUrl","dynamicRequestTree","spawnedEntries","has","NEXT_ROUTER_STATE_TREE_HEADER","prepareFlightRouterStateForRequest","PPRRuntime","rejectSegmentEntriesIfStillPending","fulfilledEntries","totalBytesReceivedSoFar","averageSize","length","isResponsePartial","rp","writeDynamicRenderResponseIntoCache","normalizedFlightDataResult","normalizeFlightData","f","flightData","isRootRender","parseInt","NEXT_ROUTER_STALE_TIME_HEADER","isNaN","STATIC_STALETIME_MS","entries","values","push","flightDatas","seedData","i","writeSeedDataIntoCache","head","fulfillEntrySpawnedByRuntimePrefetch","isHeadPartial","entriesOwnedByCurrentTask","seedDataChildren","childSeedData","ownedEntry","possiblyNewEntry","newEntry","fetchPriority","shouldImmediatelyDecode","createFetch","contentType","isFlightResponse","startsWith","RSC_CONTENT_TYPE_HEADER","originalFlightStream","onStreamClose","totalByteLength","reader","getReader","ReadableStream","pull","controller","done","read","enqueue","byteLength","staticUrl","routeDir","slice","staticExportFilename","convertSegmentPathToStaticExportFilename","currentStrategy","newStrategy"],"mappings":"AA+QEyB,QAAQC,GAAG,CAACC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAhGJ3B,WAAW,EAAA;eAAXA;;IAqkEFC,qCAAqC,EAAA;eAArCA;;IAhgCAC,mCAAmC,EAAA;eAAnCA;;IApcAC,+BAA+B,EAAA;eAA/BA;;IAydMC,qBAAqB,EAAA;eAArBA;;IAoRAC,uBAAuB,EAAA;eAAvBA;;IAqHAC,yCAAyC,EAAA;eAAzCA;;IA32CNC,sBAAsB,EAAA;eAAtBA;;IAvMAC,cAAc,EAAA;eAAdA;;IAqoBAC,sCAAsC,EAAA;eAAtCA;;IAzXAC,yBAAyB,EAAA;eAAzBA;;IAuUAC,oCAAoC,EAAA;eAApCA;;IAlPAC,2BAA2B,EAAA;eAA3BA;;IA2NAC,6BAA6B,EAAA;eAA7BA;;IA7RAC,mBAAmB,EAAA;eAAnBA;;IAmBAC,qBAAqB,EAAA;eAArBA;;IA2FAC,gCAAgC,EAAA;eAAhCA;;IA5LAC,qBAAqB,EAAA;eAArBA;;IAqhBAC,uBAAuB,EAAA;eAAvBA;;IA7EAC,kBAAkB,EAAA;eAAlBA;;IA3UAC,wBAAwB,EAAA;eAAxBA;;;gCApamB;kCAU5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E,sCACPT,GAAQ,EACRN,WAA8B;IAE9B,IAAIzK,oBAAoB;;IAYxB,OAAO+K;AACT;AAuBO,SAAStM,sCACd4S,eAA8B,EAC9BC,WAA0B;IAE1B,OAAOD,kBAAkBC;AAC3B","ignoreList":[0]}}, {"offset": {"line": 7622, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/segment-cache/navigation.ts"],"sourcesContent":["import type {\n CacheNodeSeedData,\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../shared/lib/app-router-types'\nimport type { CacheNode } from '../../../shared/lib/app-router-types'\nimport type {\n HeadData,\n LoadingModuleData,\n} from '../../../shared/lib/app-router-types'\nimport type { NormalizedFlightData } from '../../flight-data-helpers'\nimport { fetchServerResponse } from '../router-reducer/fetch-server-response'\nimport {\n startPPRNavigation,\n spawnDynamicRequests,\n FreshnessPolicy,\n type NavigationTask,\n type NavigationRequestAccumulation,\n} from '../router-reducer/ppr-navigations'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport {\n EntryStatus,\n readRouteCacheEntry,\n readSegmentCacheEntry,\n waitForSegmentCacheEntry,\n requestOptimisticRouteCacheEntry,\n type RouteTree,\n type FulfilledRouteCacheEntry,\n} from './cache'\nimport { createCacheKey } from './cache-key'\nimport { addSearchParamsIfPageSegment } from '../../../shared/lib/segment'\nimport { NavigationResultTag } from './types'\n\ntype MPANavigationResult = {\n tag: NavigationResultTag.MPA\n data: string\n}\n\ntype SuccessfulNavigationResult = {\n tag: NavigationResultTag.Success\n data: {\n flightRouterState: FlightRouterState\n cacheNode: CacheNode\n canonicalUrl: string\n renderedSearch: string\n scrollableSegments: Array | null\n shouldScroll: boolean\n hash: string\n }\n}\n\ntype AsyncNavigationResult = {\n tag: NavigationResultTag.Async\n data: Promise\n}\n\nexport type NavigationResult =\n | MPANavigationResult\n | SuccessfulNavigationResult\n | AsyncNavigationResult\n\n/**\n * Navigate to a new URL, using the Segment Cache to construct a response.\n *\n * To allow for synchronous navigations whenever possible, this is not an async\n * function. It returns a promise only if there's no matching prefetch in\n * the cache. Otherwise it returns an immediate result and uses Suspense/RSC to\n * stream in any missing data.\n */\nexport function navigate(\n url: URL,\n currentUrl: URL,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean,\n accumulation: { collectedDebugInfo?: Array }\n): NavigationResult {\n const now = Date.now()\n const href = url.href\n\n // We special case navigations to the exact same URL as the current location.\n // It's a common UI pattern for apps to refresh when you click a link to the\n // current page. So when this happens, we refresh the dynamic data in the page\n // segments.\n //\n // Note that this does not apply if the any part of the hash or search query\n // has changed. This might feel a bit weird but it makes more sense when you\n // consider that the way to trigger this behavior is to click the same link\n // multiple times.\n //\n // TODO: We should probably refresh the *entire* route when this case occurs,\n // not just the page segments. Essentially treating it the same as a refresh()\n // triggered by an action, which is the more explicit way of modeling the UI\n // pattern described above.\n //\n // Also note that this only refreshes the dynamic data, not static/ cached\n // data. If the page segment is fully static and prefetched, the request is\n // skipped. (This is also how refresh() works.)\n const isSamePageNavigation = href === currentUrl.href\n\n const cacheKey = createCacheKey(href, nextUrl)\n const route = readRouteCacheEntry(now, cacheKey)\n if (route !== null && route.status === EntryStatus.Fulfilled) {\n // We have a matching prefetch.\n const snapshot = readRenderSnapshotFromCache(now, route, route.tree)\n const prefetchFlightRouterState = snapshot.flightRouterState\n const prefetchSeedData = snapshot.seedData\n const headSnapshot = readHeadSnapshotFromCache(now, route)\n const prefetchHead = headSnapshot.rsc\n const isPrefetchHeadPartial = headSnapshot.isPartial\n // TODO: The \"canonicalUrl\" stored in the cache doesn't include the hash,\n // because hash entries do not vary by hash fragment. However, the one\n // we set in the router state *does* include the hash, and it's used to\n // sync with the actual browser location. To make this less of a refactor\n // hazard, we should always track the hash separately from the rest of\n // the URL.\n const newCanonicalUrl = route.canonicalUrl + url.hash\n const renderedSearch = route.renderedSearch\n return navigateUsingPrefetchedRouteTree(\n now,\n url,\n currentUrl,\n nextUrl,\n isSamePageNavigation,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n newCanonicalUrl,\n renderedSearch,\n freshnessPolicy,\n shouldScroll\n )\n }\n\n // There was no matching route tree in the cache. Let's see if we can\n // construct an \"optimistic\" route tree.\n //\n // Do not construct an optimistic route tree if there was a cache hit, but\n // the entry has a rejected status, since it may have been rejected due to a\n // rewrite or redirect based on the search params.\n //\n // TODO: There are multiple reasons a prefetch might be rejected; we should\n // track them explicitly and choose what to do here based on that.\n if (route === null || route.status !== EntryStatus.Rejected) {\n const optimisticRoute = requestOptimisticRouteCacheEntry(now, url, nextUrl)\n if (optimisticRoute !== null) {\n // We have an optimistic route tree. Proceed with the normal flow.\n const snapshot = readRenderSnapshotFromCache(\n now,\n optimisticRoute,\n optimisticRoute.tree\n )\n const prefetchFlightRouterState = snapshot.flightRouterState\n const prefetchSeedData = snapshot.seedData\n const headSnapshot = readHeadSnapshotFromCache(now, optimisticRoute)\n const prefetchHead = headSnapshot.rsc\n const isPrefetchHeadPartial = headSnapshot.isPartial\n const newCanonicalUrl = optimisticRoute.canonicalUrl + url.hash\n const newRenderedSearch = optimisticRoute.renderedSearch\n return navigateUsingPrefetchedRouteTree(\n now,\n url,\n currentUrl,\n nextUrl,\n isSamePageNavigation,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n newCanonicalUrl,\n newRenderedSearch,\n freshnessPolicy,\n shouldScroll\n )\n }\n }\n\n // There's no matching prefetch for this route in the cache.\n let collectedDebugInfo = accumulation.collectedDebugInfo ?? []\n if (accumulation.collectedDebugInfo === undefined) {\n collectedDebugInfo = accumulation.collectedDebugInfo = []\n }\n return {\n tag: NavigationResultTag.Async,\n data: navigateDynamicallyWithNoPrefetch(\n now,\n url,\n currentUrl,\n nextUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n shouldScroll,\n collectedDebugInfo\n ),\n }\n}\n\nexport function navigateToSeededRoute(\n now: number,\n url: URL,\n canonicalUrl: string,\n navigationSeed: NavigationSeed,\n currentUrl: URL,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n nextUrl: string | null,\n shouldScroll: boolean\n): SuccessfulNavigationResult | MPANavigationResult {\n // A version of navigate() that accepts the target route tree as an argument\n // rather than reading it from the prefetch cache.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const isSamePageNavigation = url.href === currentUrl.href\n const task = startPPRNavigation(\n now,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n navigationSeed.tree,\n freshnessPolicy,\n navigationSeed.data,\n navigationSeed.head,\n null,\n null,\n false,\n isSamePageNavigation,\n accumulation\n )\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation)\n return navigationTaskToResult(\n task,\n canonicalUrl,\n navigationSeed.renderedSearch,\n accumulation.scrollableSegments,\n shouldScroll,\n url.hash\n )\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl,\n }\n}\n\nfunction navigateUsingPrefetchedRouteTree(\n now: number,\n url: URL,\n currentUrl: URL,\n nextUrl: string | null,\n isSamePageNavigation: boolean,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n prefetchFlightRouterState: FlightRouterState,\n prefetchSeedData: CacheNodeSeedData | null,\n prefetchHead: HeadData | null,\n isPrefetchHeadPartial: boolean,\n canonicalUrl: string,\n renderedSearch: string,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean\n): SuccessfulNavigationResult | MPANavigationResult {\n // Recursively construct a prefetch tree by reading from the Segment Cache. To\n // maintain compatibility, we output the same data structures as the old\n // prefetching implementation: FlightRouterState and CacheNodeSeedData.\n // TODO: Eventually updateCacheNodeOnNavigation (or the equivalent) should\n // read from the Segment Cache directly. It's only structured this way for now\n // so we can share code with the old prefetching implementation.\n const accumulation: NavigationRequestAccumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null,\n }\n const seedData = null\n const seedHead = null\n const task = startPPRNavigation(\n now,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n prefetchFlightRouterState,\n freshnessPolicy,\n seedData,\n seedHead,\n prefetchSeedData,\n prefetchHead,\n isPrefetchHeadPartial,\n isSamePageNavigation,\n accumulation\n )\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation)\n return navigationTaskToResult(\n task,\n canonicalUrl,\n renderedSearch,\n accumulation.scrollableSegments,\n shouldScroll,\n url.hash\n )\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl,\n }\n}\n\nfunction navigationTaskToResult(\n task: NavigationTask,\n canonicalUrl: string,\n renderedSearch: string,\n scrollableSegments: Array | null,\n shouldScroll: boolean,\n hash: string\n): SuccessfulNavigationResult | MPANavigationResult {\n return {\n tag: NavigationResultTag.Success,\n data: {\n flightRouterState: task.route,\n cacheNode: task.node,\n canonicalUrl,\n renderedSearch,\n scrollableSegments,\n shouldScroll,\n hash,\n },\n }\n}\n\nfunction readRenderSnapshotFromCache(\n now: number,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): { flightRouterState: FlightRouterState; seedData: CacheNodeSeedData } {\n let childRouterStates: { [parallelRouteKey: string]: FlightRouterState } = {}\n let childSeedDatas: {\n [parallelRouteKey: string]: CacheNodeSeedData | null\n } = {}\n const slots = tree.slots\n if (slots !== null) {\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childResult = readRenderSnapshotFromCache(now, route, childTree)\n childRouterStates[parallelRouteKey] = childResult.flightRouterState\n childSeedDatas[parallelRouteKey] = childResult.seedData\n }\n }\n\n let rsc: React.ReactNode | null = null\n let loading: LoadingModuleData | Promise = null\n let isPartial: boolean = true\n\n const segmentEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (segmentEntry !== null) {\n switch (segmentEntry.status) {\n case EntryStatus.Fulfilled: {\n // Happy path: a cache hit\n rsc = segmentEntry.rsc\n loading = segmentEntry.loading\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n // We haven't received data for this segment yet, but there's already\n // an in-progress request. Since it's extremely likely to arrive\n // before the dynamic data response, we might as well use it.\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry)\n rsc = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.rsc : null\n )\n loading = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.loading : null\n )\n // Because the request is still pending, we typically don't know yet\n // whether the response will be partial. We shouldn't skip this segment\n // during the dynamic navigation request. Otherwise, we might need to\n // do yet another request to fill in the remaining data, creating\n // a waterfall.\n //\n // The one exception is if this segment is being fetched with via\n // prefetch={true} (i.e. the \"force stale\" or \"full\" strategy). If so,\n // we can assume the response will be full. This field is set to `false`\n // for such segments.\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break\n default:\n segmentEntry satisfies never\n }\n }\n\n // The navigation implementation expects the search params to be\n // included in the segment. However, the Segment Cache tracks search\n // params separately from the rest of the segment key. So we need to\n // add them back here.\n //\n // See corresponding comment in convertFlightRouterStateToTree.\n //\n // TODO: What we should do instead is update the navigation diffing\n // logic to compare search params explicitly. This is a temporary\n // solution until more of the Segment Cache implementation has settled.\n const segment = addSearchParamsIfPageSegment(\n tree.segment,\n Object.fromEntries(new URLSearchParams(route.renderedSearch))\n )\n\n // We don't need this information in a render snapshot, so this can just be a placeholder.\n const hasRuntimePrefetch = false\n\n return {\n flightRouterState: [\n segment,\n childRouterStates,\n null,\n null,\n tree.isRootLayout,\n ],\n seedData: [rsc, childSeedDatas, loading, isPartial, hasRuntimePrefetch],\n }\n}\n\nfunction readHeadSnapshotFromCache(\n now: number,\n route: FulfilledRouteCacheEntry\n): { rsc: HeadData; isPartial: boolean } {\n // Same as readRenderSnapshotFromCache, but for the head\n let rsc: React.ReactNode | null = null\n let isPartial: boolean = true\n const segmentEntry = readSegmentCacheEntry(now, route.metadata.varyPath)\n if (segmentEntry !== null) {\n switch (segmentEntry.status) {\n case EntryStatus.Fulfilled: {\n rsc = segmentEntry.rsc\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry)\n rsc = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.rsc : null\n )\n isPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break\n default:\n segmentEntry satisfies never\n }\n }\n return { rsc, isPartial }\n}\n\n// Used to request all the dynamic data for a route, rather than just a subset,\n// e.g. during a refresh or a revalidation. Typically this gets constructed\n// during the normal flow when diffing the route tree, but for an unprefetched\n// navigation, where we don't know the structure of the target route, we use\n// this instead.\nconst DynamicRequestTreeForEntireRoute: FlightRouterState = [\n '',\n {},\n null,\n 'refetch',\n]\n\nasync function navigateDynamicallyWithNoPrefetch(\n now: number,\n url: URL,\n currentUrl: URL,\n nextUrl: string | null,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n shouldScroll: boolean,\n collectedDebugInfo: Array\n): Promise {\n // Runs when a navigation happens but there's no cached prefetch we can use.\n // Don't bother to wait for a prefetch response; go straight to a full\n // navigation that contains both static and dynamic data in a single stream.\n // (This is unlike the old navigation implementation, which instead blocks\n // the dynamic request until a prefetch request is received.)\n //\n // To avoid duplication of logic, we're going to pretend that the tree\n // returned by the dynamic request is, in fact, a prefetch tree. Then we can\n // use the same server response to write the actual data into the CacheNode\n // tree. So it's the same flow as the \"happy path\" (prefetch, then\n // navigation), except we use a single server response for both stages.\n\n let dynamicRequestTree: FlightRouterState\n switch (freshnessPolicy) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n dynamicRequestTree = currentFlightRouterState\n break\n case FreshnessPolicy.Hydration: // <- shouldn't happen during client nav\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n dynamicRequestTree = DynamicRequestTreeForEntireRoute\n break\n default:\n freshnessPolicy satisfies never\n dynamicRequestTree = currentFlightRouterState\n break\n }\n\n const promiseForDynamicServerResponse = fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n })\n const result = await promiseForDynamicServerResponse\n if (typeof result === 'string') {\n // This is an MPA navigation.\n const newUrl = result\n return {\n tag: NavigationResultTag.MPA,\n data: newUrl,\n }\n }\n\n const {\n flightData,\n canonicalUrl,\n renderedSearch,\n debugInfo: debugInfoFromResponse,\n } = result\n if (debugInfoFromResponse !== null) {\n collectedDebugInfo.push(...debugInfoFromResponse)\n }\n\n // Since the response format of dynamic requests and prefetches is slightly\n // different, we'll need to massage the data a bit. Create FlightRouterState\n // tree that simulates what we'd receive as the result of a prefetch.\n const navigationSeed = convertServerPatchToFullTree(\n currentFlightRouterState,\n flightData,\n renderedSearch\n )\n\n return navigateToSeededRoute(\n now,\n url,\n createHrefFromUrl(canonicalUrl),\n navigationSeed,\n currentUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n nextUrl,\n shouldScroll\n )\n}\n\nexport type NavigationSeed = {\n tree: FlightRouterState\n renderedSearch: string\n data: CacheNodeSeedData | null\n head: HeadData | null\n}\n\nexport function convertServerPatchToFullTree(\n currentTree: FlightRouterState,\n flightData: Array,\n renderedSearch: string\n): NavigationSeed {\n // During a client navigation or prefetch, the server sends back only a patch\n // for the parts of the tree that have changed.\n //\n // This applies the patch to the base tree to create a full representation of\n // the resulting tree.\n //\n // The return type includes a full FlightRouterState tree and a full\n // CacheNodeSeedData tree. (Conceptually these are the same tree, and should\n // eventually be unified, but there's still lots of existing code that\n // operates on FlightRouterState trees alone without the CacheNodeSeedData.)\n //\n // TODO: This similar to what apply-router-state-patch-to-tree does. It\n // will eventually fully replace it. We should get rid of all the remaining\n // places where we iterate over the server patch format. This should also\n // eventually replace normalizeFlightData.\n\n let baseTree: FlightRouterState = currentTree\n let baseData: CacheNodeSeedData | null = null\n let head: HeadData | null = null\n for (const {\n segmentPath,\n tree: treePatch,\n seedData: dataPatch,\n head: headPatch,\n } of flightData) {\n const result = convertServerPatchToFullTreeImpl(\n baseTree,\n baseData,\n treePatch,\n dataPatch,\n segmentPath,\n 0\n )\n baseTree = result.tree\n baseData = result.data\n // This is the same for all patches per response, so just pick an\n // arbitrary one\n head = headPatch\n }\n\n return {\n tree: baseTree,\n data: baseData,\n renderedSearch,\n head,\n }\n}\n\nfunction convertServerPatchToFullTreeImpl(\n baseRouterState: FlightRouterState,\n baseData: CacheNodeSeedData | null,\n treePatch: FlightRouterState,\n dataPatch: CacheNodeSeedData | null,\n segmentPath: FlightSegmentPath,\n index: number\n): { tree: FlightRouterState; data: CacheNodeSeedData | null } {\n if (index === segmentPath.length) {\n // We reached the part of the tree that we need to patch.\n return {\n tree: treePatch,\n data: dataPatch,\n }\n }\n\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n //\n // This path tells us which part of the base tree to apply the tree patch.\n //\n // NOTE: We receive the FlightRouterState patch in the same request as the\n // seed data patch. Therefore we don't need to worry about diffing the segment\n // values; we can assume the server sent us a correct result.\n const updatedParallelRouteKey: string = segmentPath[index]\n // const segment: Segment = segmentPath[index + 1] <-- Not used, see note above\n\n const baseTreeChildren = baseRouterState[1]\n const baseSeedDataChildren = baseData !== null ? baseData[1] : null\n const newTreeChildren: Record = {}\n const newSeedDataChildren: Record = {}\n for (const parallelRouteKey in baseTreeChildren) {\n const childBaseRouterState = baseTreeChildren[parallelRouteKey]\n const childBaseSeedData =\n baseSeedDataChildren !== null\n ? (baseSeedDataChildren[parallelRouteKey] ?? null)\n : null\n if (parallelRouteKey === updatedParallelRouteKey) {\n const result = convertServerPatchToFullTreeImpl(\n childBaseRouterState,\n childBaseSeedData,\n treePatch,\n dataPatch,\n segmentPath,\n // Advance the index by two and keep cloning until we reach\n // the end of the segment path.\n index + 2\n )\n\n newTreeChildren[parallelRouteKey] = result.tree\n newSeedDataChildren[parallelRouteKey] = result.data\n } else {\n // This child is not being patched. Copy it over as-is.\n newTreeChildren[parallelRouteKey] = childBaseRouterState\n newSeedDataChildren[parallelRouteKey] = childBaseSeedData\n }\n }\n\n let clonedTree: FlightRouterState\n let clonedSeedData: CacheNodeSeedData\n // Clone all the fields except the children.\n\n // Clone the FlightRouterState tree. Based on equivalent logic in\n // apply-router-state-patch-to-tree, but should confirm whether we need to\n // copy all of these fields. Not sure the server ever sends, e.g. the\n // refetch marker.\n clonedTree = [baseRouterState[0], newTreeChildren]\n if (2 in baseRouterState) {\n clonedTree[2] = baseRouterState[2]\n }\n if (3 in baseRouterState) {\n clonedTree[3] = baseRouterState[3]\n }\n if (4 in baseRouterState) {\n clonedTree[4] = baseRouterState[4]\n }\n\n // Clone the CacheNodeSeedData tree.\n const isEmptySeedDataPartial = true\n clonedSeedData = [\n null,\n newSeedDataChildren,\n null,\n isEmptySeedDataPartial,\n false,\n ]\n\n return {\n tree: clonedTree,\n data: clonedSeedData,\n }\n}\n"],"names":["convertServerPatchToFullTree","navigate","navigateToSeededRoute","url","currentUrl","currentCacheNode","currentFlightRouterState","nextUrl","freshnessPolicy","shouldScroll","accumulation","now","Date","href","isSamePageNavigation","cacheKey","createCacheKey","route","readRouteCacheEntry","status","EntryStatus","Fulfilled","snapshot","readRenderSnapshotFromCache","tree","prefetchFlightRouterState","flightRouterState","prefetchSeedData","seedData","headSnapshot","readHeadSnapshotFromCache","prefetchHead","rsc","isPrefetchHeadPartial","isPartial","newCanonicalUrl","canonicalUrl","hash","renderedSearch","navigateUsingPrefetchedRouteTree","Rejected","optimisticRoute","requestOptimisticRouteCacheEntry","newRenderedSearch","collectedDebugInfo","undefined","tag","NavigationResultTag","Async","data","navigateDynamicallyWithNoPrefetch","navigationSeed","scrollableSegments","separateRefreshUrls","task","startPPRNavigation","head","spawnDynamicRequests","navigationTaskToResult","MPA","seedHead","Success","cacheNode","node","childRouterStates","childSeedDatas","slots","parallelRouteKey","childTree","childResult","loading","segmentEntry","readSegmentCacheEntry","varyPath","Pending","promiseForFulfilledEntry","waitForSegmentCacheEntry","then","entry","Empty","segment","addSearchParamsIfPageSegment","Object","fromEntries","URLSearchParams","hasRuntimePrefetch","isRootLayout","metadata","DynamicRequestTreeForEntireRoute","dynamicRequestTree","FreshnessPolicy","Default","HistoryTraversal","Hydration","RefreshAll","HMRRefresh","promiseForDynamicServerResponse","fetchServerResponse","result","newUrl","flightData","debugInfo","debugInfoFromResponse","push","createHrefFromUrl","currentTree","baseTree","baseData","segmentPath","treePatch","dataPatch","headPatch","convertServerPatchToFullTreeImpl","baseRouterState","index","length","updatedParallelRouteKey","baseTreeChildren","baseSeedDataChildren","newTreeChildren","newSeedDataChildren","childBaseRouterState","childBaseSeedData","clonedTree","clonedSeedData","isEmptySeedDataPartial"],"mappings":";;;;;;;;;;;;;;;IA+jBgBA,4BAA4B,EAAA;eAA5BA;;IA1fAC,QAAQ,EAAA;eAARA;;IAwIAC,qBAAqB,EAAA;eAArBA;;;qCAlMoB;gCAO7B;mCAC2B;uBAS3B;0BACwB;yBACc;uBACT;AAsC7B,SAASD,SACdE,GAAQ,EACRC,UAAe,EACfC,gBAAkC,EAClCC,wBAA2C,EAC3CC,OAAsB,EACtBC,eAAgC,EAChCC,YAAqB,EACrBC,YAAqD;IAErD,MAAMC,MAAMC,KAAKD,GAAG;IACpB,MAAME,OAAOV,IAAIU,IAAI;IAErB,6EAA6E;IAC7E,4EAA4E;IAC5E,8EAA8E;IAC9E,YAAY;IACZ,EAAE;IACF,4EAA4E;IAC5E,4EAA4E;IAC5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B,GAAGuD;QAC1C;IACF;IAEA,IAAIC;IACJ,IAAIC;IACJ,4CAA4C;IAE5C,iEAAiE;IACjE,0EAA0E;IAC1E,qEAAqE;IACrE,kBAAkB;IAClBD,aAAa;QAACV,eAAe,CAAC,EAAE;QAAEM;KAAgB;IAClD,IAAI,KAAKN,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IACA,IAAI,KAAKA,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IACA,IAAI,KAAKA,iBAAiB;QACxBU,UAAU,CAAC,EAAE,GAAGV,eAAe,CAAC,EAAE;IACpC;IAEA,oCAAoC;IACpC,MAAMY,yBAAyB;IAC/BD,iBAAiB;QACf;QACAJ;QACA;QACAK;QACA;KACD;IAED,OAAO;QACLrG,MAAMmG;QACN1E,MAAM2E;IACR;AACF","ignoreList":[0]}}, {"offset": {"line": 8082, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/router-reducer/reducers/navigate-reducer.ts"],"sourcesContent":["import type {\n FlightRouterState,\n FlightSegmentPath,\n} from '../../../../shared/lib/app-router-types'\nimport { createHrefFromUrl } from '../create-href-from-url'\nimport type {\n Mutable,\n NavigateAction,\n ReadonlyReducerState,\n ReducerState,\n} from '../router-reducer-types'\nimport { handleMutable } from '../handle-mutable'\n\nimport {\n navigate as navigateUsingSegmentCache,\n type NavigationResult,\n} from '../../segment-cache/navigation'\nimport { NavigationResultTag } from '../../segment-cache/types'\nimport { getStaleTimeMs } from '../../segment-cache/cache'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\n// These values are set by `define-env-plugin` (based on `nextConfig.experimental.staleTimes`)\n// and default to 5 minutes (static) / 0 seconds (dynamic)\nexport const DYNAMIC_STALETIME_MS =\n Number(process.env.__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME) * 1000\n\nexport const STATIC_STALETIME_MS = getStaleTimeMs(\n Number(process.env.__NEXT_CLIENT_ROUTER_STATIC_STALETIME)\n)\n\nexport function handleExternalUrl(\n state: ReadonlyReducerState,\n mutable: Mutable,\n url: string,\n pendingPush: boolean\n) {\n mutable.mpaNavigation = true\n mutable.canonicalUrl = url\n mutable.pendingPush = pendingPush\n mutable.scrollableSegments = undefined\n\n return handleMutable(state, mutable)\n}\n\nexport function generateSegmentsFromPatch(\n flightRouterPatch: FlightRouterState\n): FlightSegmentPath[] {\n const segments: FlightSegmentPath[] = []\n const [segment, parallelRoutes] = flightRouterPatch\n\n if (Object.keys(parallelRoutes).length === 0) {\n return [[segment]]\n }\n\n for (const [parallelRouteKey, parallelRoute] of Object.entries(\n parallelRoutes\n )) {\n for (const childSegment of generateSegmentsFromPatch(parallelRoute)) {\n // If the segment is empty, it means we are at the root of the tree\n if (segment === '') {\n segments.push([parallelRouteKey, ...childSegment])\n } else {\n segments.push([segment, parallelRouteKey, ...childSegment])\n }\n }\n }\n\n return segments\n}\n\nexport function handleNavigationResult(\n url: URL,\n state: ReadonlyReducerState,\n mutable: Mutable,\n pendingPush: boolean,\n result: NavigationResult\n): ReducerState {\n switch (result.tag) {\n case NavigationResultTag.MPA: {\n // Perform an MPA navigation.\n const newUrl = result.data\n return handleExternalUrl(state, mutable, newUrl, pendingPush)\n }\n case NavigationResultTag.Success: {\n // Received a new result.\n mutable.cache = result.data.cacheNode\n mutable.patchedTree = result.data.flightRouterState\n mutable.renderedSearch = result.data.renderedSearch\n mutable.canonicalUrl = result.data.canonicalUrl\n // TODO: During a refresh, we don't set the `scrollableSegments`. There's\n // some confusing and subtle logic in `handleMutable` that decides what\n // to do when `shouldScroll` is set but `scrollableSegments` is not. I'm\n // not convinced it's totally coherent but the tests assert on this\n // particular behavior so I've ported the logic as-is from the previous\n // router implementation, for now.\n mutable.scrollableSegments = result.data.scrollableSegments ?? undefined\n mutable.shouldScroll = result.data.shouldScroll\n mutable.hashFragment = result.data.hash\n\n // Check if the only thing that changed was the hash fragment.\n const oldUrl = new URL(state.canonicalUrl, url)\n const onlyHashChange =\n // We don't need to compare the origins, because client-driven\n // navigations are always same-origin.\n url.pathname === oldUrl.pathname &&\n url.search === oldUrl.search &&\n url.hash !== oldUrl.hash\n if (onlyHashChange) {\n // The only updated part of the URL is the hash.\n mutable.onlyHashChange = true\n mutable.shouldScroll = result.data.shouldScroll\n mutable.hashFragment = url.hash\n // Setting this to an empty array triggers a scroll for all new and\n // updated segments. See `ScrollAndFocusHandler` for more details.\n mutable.scrollableSegments = []\n }\n\n return handleMutable(state, mutable)\n }\n case NavigationResultTag.Async: {\n return result.data.then(\n (asyncResult) =>\n handleNavigationResult(url, state, mutable, pendingPush, asyncResult),\n // If the navigation failed, return the current state.\n // TODO: This matches the current behavior but we need to do something\n // better here if the network fails.\n () => {\n return state\n }\n )\n }\n default: {\n result satisfies never\n return state\n }\n }\n}\n\nexport function navigateReducer(\n state: ReadonlyReducerState,\n action: NavigateAction\n): ReducerState {\n const { url, isExternalUrl, navigateType, shouldScroll } = action\n const mutable: Mutable = {}\n const href = createHrefFromUrl(url)\n const pendingPush = navigateType === 'push'\n\n mutable.preserveCustomHistoryState = false\n mutable.pendingPush = pendingPush\n\n if (isExternalUrl) {\n return handleExternalUrl(state, mutable, url.toString(), pendingPush)\n }\n\n // Handles case where `` tag is present,\n // which will trigger an MPA navigation.\n if (document.getElementById('__next-page-redirect')) {\n return handleExternalUrl(state, mutable, href, pendingPush)\n }\n\n // Temporary glue code between the router reducer and the new navigation\n // implementation. Eventually we'll rewrite the router reducer to a\n // state machine.\n const currentUrl = new URL(state.canonicalUrl, location.origin)\n const result = navigateUsingSegmentCache(\n url,\n currentUrl,\n state.cache,\n state.tree,\n state.nextUrl,\n FreshnessPolicy.Default,\n shouldScroll,\n mutable\n )\n return handleNavigationResult(url, state, mutable, pendingPush, result)\n}\n"],"names":["DYNAMIC_STALETIME_MS","STATIC_STALETIME_MS","generateSegmentsFromPatch","handleExternalUrl","handleNavigationResult","navigateReducer","Number","process","env","__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME","getStaleTimeMs","__NEXT_CLIENT_ROUTER_STATIC_STALETIME","state","mutable","url","pendingPush","mpaNavigation","canonicalUrl","scrollableSegments","undefined","handleMutable","flightRouterPatch","segments","segment","parallelRoutes","Object","keys","length","parallelRouteKey","parallelRoute","entries","childSegment","push","result","tag","NavigationResultTag","MPA","newUrl","data","Success","cache","cacheNode","patchedTree","flightRouterState","renderedSearch","shouldScroll","hashFragment","hash","oldUrl","URL","onlyHashChange","pathname","search","Async","then","asyncResult","action","isExternalUrl","navigateType","href","createHrefFromUrl","preserveCustomHistoryState","toString","document","getElementById","currentUrl","location","origin","navigateUsingSegmentCache","tree","nextUrl","FreshnessPolicy","Default"],"mappings":"AAwBSO,QAAQC,GAAG,CAACC,sCAAsC;;;;;;;;;;;;;;;;;;;;IAD9CT,oBAAoB,EAAA;eAApBA;;IAGAC,mBAAmB,EAAA;eAAnBA;;IAkBGC,yBAAyB,EAAA;eAAzBA;;IAdAC,iBAAiB,EAAA;eAAjBA;;IAwCAC,sBAAsB,EAAA;eAAtBA;;IAoEAC,eAAe,EAAA;eAAfA;;;mCAtIkB;+BAOJ;4BAKvB;uBAC6B;uBACL;gCACC;AAIzB,MAAML,uBACXM,gDAA6D;AAExD,MAAML,sBAAsBS,CAAAA,GAAAA,OAAAA,cAAc,EAC/CJ,OAAOC,QAAQC,GAAG,CAACG,qCAAqC;AAGnD,SAASR,kBACdS,KAA2B,EAC3BC,OAAgB,EAChBC,GAAW,EACXC,WAAoB;IAEpBF,QAAQG,aAAa,GAAG;IACxBH,QAAQI,YAAY,GAAGH;IACvBD,QAAQE,WAAW,GAAGA;IACtBF,QAAQK,kBAAkB,GAAGC;IAE7B,OAAOC,CAAAA,GAAAA,eAAAA,aAAa,EAACR,OAAOC;AAC9B;AAEO,SAASX,0BACdmB,iBAAoC;IAEpC,MAAMC,WAAgC,EAAE;IACxC,MAAM,CAACC,SAASC,eAAe,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AkBS,OAAOC,SAASC,IAAIgD,QAAQ,IAAI/C;IAC3D;IAEA,mEAAmE;IACnE,wCAAwC;IACxC,IAAIgD,SAASC,cAAc,CAAC,yBAAyB;QACnD,OAAO7D,kBAAkBS,OAAOC,SAAS8C,MAAM5C;IACjD;IAEA,wEAAwE;IACxE,mEAAmE;IACnE,iBAAiB;IACjB,MAAMkD,aAAa,IAAIhB,IAAIrC,MAAMK,YAAY,EAAEiD,SAASC,MAAM;IAC9D,MAAMlC,SAASmC,CAAAA,GAAAA,YAAAA,QAAyB,EACtCtD,KACAmD,YACArD,MAAM4B,KAAK,EACX5B,MAAMyD,IAAI,EACVzD,MAAM0D,OAAO,EACbC,gBAAAA,eAAe,CAACC,OAAO,EACvB3B,cACAhC;IAEF,OAAOT,uBAAuBU,KAAKF,OAAOC,SAASE,aAAakB;AAClE","ignoreList":[0]}}, {"offset": {"line": 8252, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/router-reducer/reducers/has-interception-route-in-current-tree.ts"],"sourcesContent":["import type { FlightRouterState } from '../../../../shared/lib/app-router-types'\nimport { isInterceptionRouteAppPath } from '../../../../shared/lib/router/utils/interception-routes'\n\nexport function hasInterceptionRouteInCurrentTree([\n segment,\n parallelRoutes,\n]: FlightRouterState): boolean {\n // If we have a dynamic segment, it's marked as an interception route by the presence of the `i` suffix.\n if (\n Array.isArray(segment) &&\n (segment[2] === 'di(..)(..)' ||\n segment[2] === 'ci(..)(..)' ||\n segment[2] === 'di(.)' ||\n segment[2] === 'ci(.)' ||\n segment[2] === 'di(..)' ||\n segment[2] === 'ci(..)' ||\n segment[2] === 'di(...)' ||\n segment[2] === 'ci(...)')\n ) {\n return true\n }\n\n // If segment is not an array, apply the existing string-based check\n if (typeof segment === 'string' && isInterceptionRouteAppPath(segment)) {\n return true\n }\n\n // Iterate through parallelRoutes if they exist\n if (parallelRoutes) {\n for (const key in parallelRoutes) {\n if (hasInterceptionRouteInCurrentTree(parallelRoutes[key])) {\n return true\n }\n }\n }\n\n return false\n}\n"],"names":["hasInterceptionRouteInCurrentTree","segment","parallelRoutes","Array","isArray","isInterceptionRouteAppPath","key"],"mappings":";;;+BAGgBA,qCAAAA;;;eAAAA;;;oCAF2B;AAEpC,SAASA,kCAAkC,CAChDC,SACAC,eACkB;IAClB,wGAAwG;IACxG,IACEC,MAAMC,OAAO,CAACH,YACbA,CAAAA,OAAO,CAAC,EAAE,KAAK,gBACdA,OAAO,CAAC,EAAE,KAAK,gBACfA,OAAO,CAAC,EAAE,KAAK,WACfA,OAAO,CAAC,EAAE,KAAK,WACfA,OAAO,CAAC,EAAE,KAAK,YACfA,OAAO,CAAC,EAAE,KAAK,YACfA,OAAO,CAAC,EAAE,KAAK,aACfA,OAAO,CAAC,EAAE,KAAK,SAAQ,GACzB;QACA,OAAO;IACT;IAEA,oEAAoE;IACpE,IAAI,OAAOA,YAAY,YAAYI,CAAAA,GAAAA,oBAAAA,0BAA0B,EAACJ,UAAU;QACtE,OAAO;IACT;IAEA,+CAA+C;IAC/C,IAAIC,gBAAgB;QAClB,IAAK,MAAMI,OAAOJ,eAAgB;YAChC,IAAIF,kCAAkCE,cAAc,CAACI,IAAI,GAAG;gBAC1D,OAAO;YACT;QACF;IACF;IAEA,OAAO;AACT","ignoreList":[0]}}, diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js b/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js index 44673fb..6ce96d9 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js @@ -16,12 +16,14 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__proje var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$message$2d$circle$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__MessageCircle$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/message-circle.js [app-client] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$zap$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Zap$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/zap.js [app-client] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$palette$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Palette$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/palette.js [app-client] (ecmascript) "); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)"); ; var _s = __turbopack_context__.k.signature(), _s1 = __turbopack_context__.k.signature(); 'use client'; ; ; ; +; const CARD_WIDTH = 260; const CARD_HEIGHT = 220; const INITIAL_COLORS = [ @@ -32,13 +34,13 @@ const INITIAL_COLORS = [ '#fee2e2', '#f3e8ff' ]; -const renderTextWithLinks = (text, entities, onNavigate)=>{ +const renderTextWithLinks = (text, entities, onNavigate, t)=>{ if (!text) return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-slate-400 italic", - children: "Description..." + children: t('sw.desc_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 28, + lineNumber: 29, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)); const parts = [ @@ -60,11 +62,11 @@ const renderTextWithLinks = (text, entities, onNavigate)=>{ onNavigate(entity.id); }, className: "text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all", - title: `Voir la fiche de ${entity.name}`, + title: t('sw.see_sheet') + entity.name, children: s }, `${entity.id}-${idx}`, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 44, + lineNumber: 45, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)); } @@ -82,15 +84,17 @@ const renderTextWithLinks = (text, entities, onNavigate)=>{ }; const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].memo(_s(({ node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors, onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing, onToggleColorPicker, onSaveColor, onNavigateToEntity, onInputFocus, onInputCheckAutocomplete, onKeyDownInInput })=>{ _s(); + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"])(); const [showTypePicker, setShowTypePicker] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(false); const richDescription = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useMemo"])({ "StoryNode.useMemo[richDescription]": ()=>{ - return renderTextWithLinks(node.description, entities, onNavigateToEntity); + return renderTextWithLinks(node.description, entities, onNavigateToEntity, t); } }["StoryNode.useMemo[richDescription]"], [ node.description, entities, - onNavigateToEntity + onNavigateToEntity, + t ]); return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: `absolute flex flex-col rounded-xl shadow-sm border z-10 group @@ -113,7 +117,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "h-1.5 rounded-t-xl bg-black/5 w-full cursor-grab active:cursor-grabbing" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 120, + lineNumber: 121, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -132,7 +136,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ autoFocus: true }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 125, + lineNumber: 126, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "font-bold text-slate-800 cursor-text truncate mr-6 text-sm", @@ -140,7 +144,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ children: node.title }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 133, + lineNumber: 134, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -153,12 +157,12 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 145, + lineNumber: 146, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 141, + lineNumber: 142, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), activeColorPickerId === node.id && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -177,12 +181,12 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ } }, color, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 152, + lineNumber: 153, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 150, + lineNumber: 151, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -199,46 +203,46 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 162, + lineNumber: 163, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 161, + lineNumber: 162, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>onSaveColor(node.color || '#ffffff'), className: "text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right", - children: "+ SAUVER" + children: t('sw.save_color') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 169, + lineNumber: 170, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 160, + lineNumber: 161, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 149, + lineNumber: 150, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 123, + lineNumber: 124, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex-1 overflow-y-auto custom-scrollbar relative mb-4", children: isEditing ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { className: `w-full h-full bg-white/70 resize-none outline-none text-xs leading-relaxed p-2 rounded border border-indigo-100 shadow-inner ${node.type === 'dialogue' ? 'font-mono text-slate-700' : 'text-slate-600'}`, - placeholder: node.type === 'dialogue' ? "Héros: Salut !\nGuide: ..." : "Résumé de l'intrigue...", + placeholder: node.type === 'dialogue' ? t('sw.dialogue_ph') : t('sw.plot_ph'), value: node.description, onChange: (e)=>onInputCheckAutocomplete(e, node.id, 'description'), onKeyDown: (e)=>onKeyDownInInput(e, node.id), @@ -246,7 +250,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ onBlur: ()=>onSetEditing(null) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 182, + lineNumber: 183, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: `w-full h-full text-xs text-slate-600 leading-relaxed p-1 cursor-text whitespace-pre-wrap ${node.type === 'dialogue' ? 'font-mono bg-indigo-50/30 rounded pl-2 border-l-2 border-indigo-200' : ''}`, @@ -254,12 +258,12 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ children: richDescription }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 192, + lineNumber: 193, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 180, + lineNumber: 181, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -278,18 +282,18 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ setShowTypePicker(false); }, className: `p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`, - title: "Narration", + title: t('sw.type_story'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$book$2d$open$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__BookOpen$3e$__["BookOpen"], { size: 14, className: "text-slate-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 209, + lineNumber: 210, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 204, + lineNumber: 205, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -301,18 +305,18 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ setShowTypePicker(false); }, className: `p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`, - title: "Action", + title: t('sw.type_action'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$zap$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Zap$3e$__["Zap"], { size: 14, className: "text-amber-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 216, + lineNumber: 217, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 211, + lineNumber: 212, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -324,24 +328,24 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ setShowTypePicker(false); }, className: `p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`, - title: "Dialogue", + title: t('sw.type_dialogue'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$message$2d$circle$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__MessageCircle$3e$__["MessageCircle"], { size: 14, className: "text-blue-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 223, + lineNumber: 224, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 218, + lineNumber: 219, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 203, + lineNumber: 204, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -356,7 +360,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "text-slate-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 232, + lineNumber: 233, columnNumber: 51 }, ("TURBOPACK compile-time value", void 0)), node.type === 'action' && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$zap$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Zap$3e$__["Zap"], { @@ -364,7 +368,7 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "text-amber-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 233, + lineNumber: 234, columnNumber: 52 }, ("TURBOPACK compile-time value", void 0)), node.type === 'dialogue' && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$message$2d$circle$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__MessageCircle$3e$__["MessageCircle"], { @@ -372,25 +376,25 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ className: "text-blue-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 234, + lineNumber: 235, columnNumber: 54 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 228, + lineNumber: 229, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 201, + lineNumber: 202, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 122, + lineNumber: 123, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -400,26 +404,31 @@ const StoryNode = /*#__PURE__*/ __TURBOPACK__imported__module__$5b$project$5d2f$ size: 12 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 243, + lineNumber: 244, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 239, + lineNumber: 240, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 103, + lineNumber: 104, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); -}, "8yNvnjGOL794S5OUWPkg1xgktL0="), (prev, next)=>{ +}, "IaAVA7CXk1TQddZ/HYjiLARc2/E=", false, function() { + return [ + __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"] + ]; +}), (prev, next)=>{ return prev.node === next.node && prev.isSelected === next.isSelected && prev.isEditing === next.isEditing && prev.isDragging === next.isDragging && prev.activeColorPickerId === next.activeColorPickerId && prev.entities === next.entities; }); _c = StoryNode; const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ _s1(); + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"])(); const containerRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); const rafRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); const [internalNodes, setInternalNodes] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(data.nodes); @@ -810,7 +819,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ id: `node-${Date.now()}`, x, y, - title: 'Nouvel événement', + title: t('sw.new_event'), description: '', color: INITIAL_COLORS[0], type: 'story' @@ -848,7 +857,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ id: `node-${Date.now()}`, x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2, y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2, - title: 'Nouveau point d\'intrigue', + title: t('sw.new_plot_point'), description: '', color: INITIAL_COLORS[0], type: 'story' @@ -882,35 +891,36 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 616, + lineNumber: 618, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), - " AJOUTER NŒUD" + " ", + t('sw.add_node') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 615, + lineNumber: 617, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-theme-border mx-2" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 618, + lineNumber: 620, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "text-[10px] uppercase font-bold text-theme-muted tracking-wider", - children: selectedNodeIds.size > 0 ? `${selectedNodeIds.size} SÉLECTIONNÉ(S)` : 'Double-cliquez sur le canvas pour créer' + children: selectedNodeIds.size > 0 ? `${selectedNodeIds.size} ${t('sw.selected')}` : t('sw.double_click_create') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 619, + lineNumber: 621, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 614, + lineNumber: 616, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -919,28 +929,28 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ onClick: handleDeleteSelected, disabled: selectedNodeIds.size === 0, className: "p-2 text-red-500 hover:bg-red-500/10 rounded-lg disabled:opacity-30 transition-colors", - title: "Supprimer", + title: t('sw.delete'), children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$trash$2d$2$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Trash2$3e$__["Trash2"], { size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 625, + lineNumber: 627, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 624, + lineNumber: 626, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 623, + lineNumber: 625, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 613, + lineNumber: 615, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -976,7 +986,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ markerEnd: "url(#arrowhead)" }, conn.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 652, + lineNumber: 654, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)); }), @@ -991,7 +1001,7 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ markerEnd: "url(#arrowhead-blue)" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 656, + lineNumber: 658, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("defs", { @@ -1008,12 +1018,12 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ fill: "var(--theme-border)" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 665, + lineNumber: 667, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 664, + lineNumber: 666, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("marker", { @@ -1028,24 +1038,24 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ fill: "#6366f1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 668, + lineNumber: 670, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 667, + lineNumber: 669, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 663, + lineNumber: 665, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 642, + lineNumber: 644, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), internalNodes.map((node)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(StoryNode, { @@ -1069,13 +1079,13 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ onKeyDownInInput: handleKeyDownInInput }, node.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 674, + lineNumber: 676, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 630, + lineNumber: 632, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), activeSuggestion && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1088,13 +1098,10 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "px-3 py-2 bg-indigo-600 text-white text-[10px] font-black uppercase tracking-widest", - children: [ - "Insérer ", - activeSuggestion.trigger === '@' ? 'Personnage' : activeSuggestion.trigger === '#' ? 'Lieu' : 'Objet' - ] - }, void 0, true, { + children: activeSuggestion.trigger === '@' ? t('sw.insert_char') : activeSuggestion.trigger === '#' ? t('sw.insert_loc') : t('sw.insert_obj') + }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 700, + lineNumber: 702, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1105,35 +1112,39 @@ const StoryWorkflow = ({ data, onUpdate, entities, onNavigateToEntity })=>{ children: ent.name }, ent.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 706, + lineNumber: 708, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0))) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "p-4 text-xs text-slate-400 italic text-center", - children: "Aucun résultat" + children: t('sw.no_result') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 715, + lineNumber: 717, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 703, + lineNumber: 705, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 699, + lineNumber: 701, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/StoryWorkflow.tsx", - lineNumber: 612, + lineNumber: 614, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); }; -_s1(StoryWorkflow, "GlJ/7gZkBYC3Q3ryQRUN9XEyk6A="); +_s1(StoryWorkflow, "HkyqEjOYxmOBuQYsnNrBLa0497c=", false, function() { + return [ + __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"] + ]; +}); _c1 = StoryWorkflow; const __TURBOPACK__default__export__ = StoryWorkflow; var _c, _c1; diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js.map b/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js.map index ec775a5..e89da4d 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js.map +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_06c48656._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/StoryWorkflow.tsx"],"sourcesContent":["'use client';\n\n\nimport React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';\nimport { WorkflowData, PlotNode, PlotConnection, PlotNodeType, Entity, EntityType } from '@/lib/types';\nimport { Plus, Trash2, ArrowRight, BookOpen, MessageCircle, Zap, Palette, Save, Link2 } from 'lucide-react';\n\ninterface StoryWorkflowProps {\n data: WorkflowData;\n onUpdate: (data: WorkflowData) => void;\n entities: Entity[];\n onNavigateToEntity: (entityId: string) => void;\n}\n\nconst CARD_WIDTH = 260;\nconst CARD_HEIGHT = 220;\n\nconst INITIAL_COLORS = [\n '#ffffff', // White\n '#dbeafe', // Blue\n '#dcfce7', // Green\n '#fef9c3', // Yellow\n '#fee2e2', // Red\n '#f3e8ff', // Purple\n];\n\nconst renderTextWithLinks = (text: string, entities: Entity[], onNavigate: (id: string) => void) => {\n if (!text) return Description...;\n\n const parts: (string | React.ReactNode)[] = [text];\n\n entities.forEach(entity => {\n if (!entity.name) return;\n const regex = new RegExp(`(${entity.name})`, 'gi');\n\n for (let i = 0; i < parts.length; i++) {\n const part = parts[i];\n if (typeof part === 'string') {\n const split = part.split(regex);\n if (split.length > 1) {\n const newParts = split.map((s, idx) => {\n if (s.toLowerCase() === entity.name.toLowerCase()) {\n return (\n { e.stopPropagation(); onNavigate(entity.id); }}\n className=\"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all\"\n title={`Voir la fiche de ${entity.name}`}\n >\n {s}\n \n );\n }\n return s;\n });\n parts.splice(i, 1, ...newParts);\n i += newParts.length - 1;\n }\n }\n }\n });\n\n return <>{parts};\n};\n\ninterface StoryNodeProps {\n node: PlotNode;\n isSelected: boolean;\n isEditing: boolean;\n isDragging: boolean;\n activeColorPickerId: string | null;\n entities: Entity[];\n savedColors: string[];\n\n onMouseDown: (e: React.MouseEvent, id: string) => void;\n onMouseUp: (e: React.MouseEvent, id: string) => void;\n onStartConnection: (e: React.MouseEvent, id: string) => void;\n onUpdate: (id: string, updates: Partial) => void;\n onSetEditing: (id: string | null) => void;\n onToggleColorPicker: (id: string) => void;\n onSaveColor: (color: string) => void;\n onNavigateToEntity: (id: string) => void;\n\n onInputFocus: (e: React.FocusEvent) => void;\n onInputCheckAutocomplete: (e: React.ChangeEvent, id: string, field: 'title' | 'description') => void;\n onKeyDownInInput: (e: React.KeyboardEvent, id: string) => void;\n}\n\nconst StoryNode = React.memo(({\n node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors,\n onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing,\n onToggleColorPicker, onSaveColor, onNavigateToEntity,\n onInputFocus, onInputCheckAutocomplete, onKeyDownInInput\n}: StoryNodeProps) => {\n\n const [showTypePicker, setShowTypePicker] = useState(false);\n\n const richDescription = useMemo(() => {\n return renderTextWithLinks(node.description, entities, onNavigateToEntity);\n }, [node.description, entities, onNavigateToEntity]);\n\n return (\n onMouseDown(e, node.id)}\n onMouseUp={(e) => onMouseUp(e, node.id)}\n onDoubleClick={(e) => e.stopPropagation()}\n onMouseLeave={() => setShowTypePicker(false)}\n >\n
\n\n
\n
\n {isEditing ? (\n onUpdate(node.id, { title: e.target.value })}\n onFocus={onInputFocus}\n autoFocus\n />\n ) : (\n onSetEditing(node.id)}\n >\n {node.title}\n
\n )}\n\n { e.stopPropagation(); onToggleColorPicker(node.id); }}\n className=\"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0\"\n >\n \n \n\n {activeColorPickerId === node.id && (\n
e.stopPropagation()}>\n
\n {savedColors.map(color => (\n onUpdate(node.id, { color })}\n className={`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${node.color === color ? 'ring-2 ring-offset-1 ring-indigo-400' : ''}`}\n style={{ backgroundColor: color }}\n />\n ))}\n
\n
\n
\n onUpdate(node.id, { color: e.target.value })}\n />\n
\n onSaveColor(node.color || '#ffffff')}\n className=\"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right\"\n >\n + SAUVER\n \n
\n
\n )}\n
\n\n
\n {isEditing ? (\n onInputCheckAutocomplete(e, node.id, 'description')}\n onKeyDown={(e) => onKeyDownInInput(e, node.id)}\n onFocus={onInputFocus}\n onBlur={() => onSetEditing(null)}\n />\n ) : (\n onSetEditing(node.id)}\n >\n {richDescription}\n
\n )}\n
\n\n
\n {showTypePicker && (\n
e.stopPropagation()}>\n { e.stopPropagation(); onUpdate(node.id, { type: 'story' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`}\n title=\"Narration\"\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'action' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`}\n title=\"Action\"\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'dialogue' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`}\n title=\"Dialogue\"\n >\n \n \n
\n )}\n\n { e.stopPropagation(); setShowTypePicker(!showTypePicker); }}\n >\n {node.type === 'story' && }\n {node.type === 'action' && }\n {node.type === 'dialogue' && }\n \n
\n
\n\n onStartConnection(e, node.id)}\n >\n \n \n
\n );\n}, (prev, next) => {\n return (\n prev.node === next.node &&\n prev.isSelected === next.isSelected &&\n prev.isEditing === next.isEditing &&\n prev.isDragging === next.isDragging &&\n prev.activeColorPickerId === next.activeColorPickerId &&\n prev.entities === next.entities\n );\n});\n\ninterface SuggestionState {\n active: boolean;\n trigger: string;\n query: string;\n nodeId: string;\n field: 'title' | 'description';\n cursorIndex: number;\n selectedIndex: number;\n filteredEntities: Entity[];\n}\n\nconst StoryWorkflow: React.FC = ({ data, onUpdate, entities, onNavigateToEntity }) => {\n const containerRef = useRef(null);\n const rafRef = useRef(null);\n\n const [internalNodes, setInternalNodes] = useState(data.nodes);\n const internalNodesRef = useRef(internalNodes);\n useEffect(() => { internalNodesRef.current = internalNodes; }, [internalNodes]);\n\n useEffect(() => {\n setInternalNodes(data.nodes);\n }, [data.nodes]);\n\n useEffect(() => {\n return () => {\n if (rafRef.current) cancelAnimationFrame(rafRef.current);\n };\n }, []);\n\n const [activeSuggestion, setActiveSuggestion] = useState(null);\n const [selectedNodeIds, setSelectedNodeIds] = useState>(new Set());\n const [savedColors, setSavedColors] = useState(INITIAL_COLORS);\n const [activeColorPickerId, setActiveColorPickerId] = useState(null);\n const [editingNodeId, setEditingNodeId] = useState(null);\n const [history, setHistory] = useState([]);\n\n const [isDragging, setIsDragging] = useState(false);\n const [dragStartPositions, setDragStartPositions] = useState>(new Map());\n const [dragStartMouse, setDragStartMouse] = useState({ x: 0, y: 0 });\n\n const [connectingNodeId, setConnectingNodeId] = useState(null);\n const [mousePos, setMousePos] = useState({ x: 0, y: 0 });\n\n const [isPanning, setIsPanning] = useState(false);\n const [panStart, setPanStart] = useState({ x: 0, y: 0 });\n const [scrollStart, setScrollStart] = useState({ x: 0, y: 0 });\n\n const pushHistory = useCallback(() => {\n setHistory(prev => {\n const newHistory = [...prev, data];\n if (newHistory.length > 20) return newHistory.slice(newHistory.length - 20);\n return newHistory;\n });\n }, [data]);\n\n const updateNode = useCallback((id: string, updates: Partial) => {\n const currentNodes = internalNodesRef.current;\n onUpdate({\n ...data,\n nodes: currentNodes.map(n => n.id === id ? { ...n, ...updates } : n)\n });\n }, [data, onUpdate]);\n\n const handleInputFocus = useCallback((e: React.FocusEvent) => {\n e.stopPropagation();\n }, []);\n\n const handleInputWithAutocomplete = useCallback((\n e: React.ChangeEvent,\n nodeId: string,\n field: 'title' | 'description'\n ) => {\n const val = e.target.value;\n updateNode(nodeId, { [field]: val });\n\n const cursor = e.target.selectionStart || 0;\n const textBeforeCursor = val.slice(0, cursor);\n const match = textBeforeCursor.match(/([@#^])([^@#^\\s]*)$/);\n\n if (match) {\n const trigger = match[1];\n const query = match[2].toLowerCase();\n const targetType = trigger === '@' ? EntityType.CHARACTER : trigger === '#' ? EntityType.LOCATION : EntityType.OBJECT;\n const filtered = entities.filter(ent =>\n ent.type === targetType &&\n ent.name.toLowerCase().includes(query)\n );\n\n setActiveSuggestion({\n active: true,\n trigger,\n query,\n nodeId,\n field,\n cursorIndex: cursor,\n selectedIndex: 0,\n filteredEntities: filtered\n });\n } else {\n setActiveSuggestion(null);\n }\n }, [updateNode, entities]);\n\n const insertEntity = (entity: Entity) => {\n if (!activeSuggestion) return;\n const { nodeId, field, trigger, query } = activeSuggestion;\n const node = internalNodesRef.current.find(n => n.id === nodeId);\n if (!node) return;\n const currentText = node[field] as string;\n const cursor = activeSuggestion.cursorIndex;\n const insertionLength = trigger.length + query.length;\n const startIdx = cursor - insertionLength;\n if (startIdx < 0) return;\n const before = currentText.slice(0, startIdx);\n const after = currentText.slice(cursor);\n const isDialogue = node.type === 'dialogue' && activeSuggestion.trigger === '@';\n const suffix = isDialogue ? \": \" : \" \";\n updateNode(nodeId, { [field]: before + entity.name + suffix + after });\n setActiveSuggestion(null);\n };\n\n const handleKeyDownInInput = useCallback((e: React.KeyboardEvent, nodeId: string) => {\n if (activeSuggestion && activeSuggestion.nodeId === nodeId) {\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex + 1) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex - 1 + prev.filteredEntities.length) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'Tab' || e.key === 'Enter') {\n e.preventDefault();\n if (activeSuggestion.filteredEntities.length > 0) {\n insertEntity(activeSuggestion.filteredEntities[activeSuggestion.selectedIndex]);\n } else {\n setActiveSuggestion(null);\n }\n return;\n } else if (e.key === 'Escape') {\n setActiveSuggestion(null);\n return;\n }\n }\n }, [activeSuggestion, entities, updateNode]);\n\n const handleNodeMouseDown = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n setActiveColorPickerId(null);\n\n setSelectedNodeIds(prevSelected => {\n const newSelection = new Set(prevSelected);\n if (e.ctrlKey) {\n if (newSelection.has(nodeId)) newSelection.delete(nodeId);\n else newSelection.add(nodeId);\n } else {\n if (!newSelection.has(nodeId)) {\n newSelection.clear();\n newSelection.add(nodeId);\n }\n }\n const finalDragIds = e.ctrlKey ? newSelection : (newSelection.has(nodeId) ? newSelection : new Set([nodeId]));\n const startPositions = new Map();\n internalNodesRef.current.forEach(n => {\n if (finalDragIds.has(n.id)) {\n startPositions.set(n.id, { x: n.x, y: n.y });\n }\n });\n setDragStartPositions(startPositions);\n return newSelection;\n });\n\n setIsDragging(true);\n setDragStartMouse({ x: e.clientX, y: e.clientY });\n pushHistory();\n }, [pushHistory]);\n\n const startConnection = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n pushHistory();\n setConnectingNodeId(nodeId);\n }, [pushHistory]);\n\n const finishConnection = useCallback((e: React.MouseEvent, targetId: string) => {\n if (connectingNodeId && connectingNodeId !== targetId) {\n const exists = data.connections.some(c => c.source === connectingNodeId && c.target === targetId);\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetId\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn]\n });\n }\n }\n setConnectingNodeId(null);\n }, [data, onUpdate, connectingNodeId]);\n\n const handleToggleColorPicker = useCallback((id: string) => {\n setActiveColorPickerId(prev => prev === id ? null : id);\n }, []);\n\n const handleSaveColor = useCallback((color: string) => {\n setSavedColors(prev => !prev.includes(color) ? [...prev, color] : prev);\n }, []);\n\n const handleMouseMove = (e: React.MouseEvent) => {\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const clientX = e.clientX;\n const clientY = e.clientY;\n\n if (isPanning && containerRef.current) {\n const dx = clientX - panStart.x;\n const dy = clientY - panStart.y;\n containerRef.current.scrollLeft = scrollStart.x - dx;\n containerRef.current.scrollTop = scrollStart.y - dy;\n return;\n }\n\n // Only update mousePos when connecting (drawing a line), not during node drag\n if (connectingNodeId) {\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n setMousePos({ x: clientX - rect.left + scrollLeft, y: clientY - rect.top + scrollTop });\n }\n\n if (isDragging) {\n if (rafRef.current) return;\n rafRef.current = requestAnimationFrame(() => {\n const dx = clientX - dragStartMouse.x;\n const dy = clientY - dragStartMouse.y;\n setInternalNodes(prevNodes => prevNodes.map(node => {\n const startPos = dragStartPositions.get(node.id);\n if (startPos) return { ...node, x: startPos.x + dx, y: startPos.y + dy };\n return node;\n }));\n rafRef.current = null;\n });\n }\n };\n\n const handleMouseUp = (e: React.MouseEvent) => {\n if (rafRef.current) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n if (isDragging) onUpdate({ ...data, nodes: internalNodesRef.current });\n\n // Hit-test: if connecting, check if mouse is over any node\n if (connectingNodeId && containerRef.current) {\n const rect = containerRef.current.getBoundingClientRect();\n const scrollLeft = containerRef.current.scrollLeft;\n const scrollTop = containerRef.current.scrollTop;\n const mx = e.clientX - rect.left + scrollLeft;\n const my = e.clientY - rect.top + scrollTop;\n\n const targetNode = internalNodesRef.current.find(n =>\n n.id !== connectingNodeId &&\n mx >= n.x && mx <= n.x + CARD_WIDTH &&\n my >= n.y && my <= n.y + CARD_HEIGHT\n );\n\n if (targetNode) {\n const exists = data.connections.some(\n c => c.source === connectingNodeId && c.target === targetNode.id\n );\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetNode.id,\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn],\n });\n }\n }\n }\n\n setIsDragging(false);\n setIsPanning(false);\n setConnectingNodeId(null);\n };\n\n const handleCanvasMouseDown = (e: React.MouseEvent) => {\n if (!e.ctrlKey) setSelectedNodeIds(new Set());\n setActiveSuggestion(null);\n setActiveColorPickerId(null);\n setEditingNodeId(null);\n setIsPanning(true);\n setPanStart({ x: e.clientX, y: e.clientY });\n if (containerRef.current) {\n setScrollStart({ x: containerRef.current.scrollLeft, y: containerRef.current.scrollTop });\n }\n };\n\n const handleCanvasDoubleClick = (e: React.MouseEvent) => {\n e.preventDefault();\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const x = e.clientX - rect.left + (containerRef.current?.scrollLeft || 0) - CARD_WIDTH / 2;\n const y = e.clientY - rect.top + (containerRef.current?.scrollTop || 0) - CARD_HEIGHT / 2;\n pushHistory();\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x,\n y,\n title: 'Nouvel événement',\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n const handleDeleteSelected = () => {\n if (selectedNodeIds.size === 0) return;\n pushHistory();\n const newNodes = internalNodes.filter(n => !selectedNodeIds.has(n.id));\n const newConnections = data.connections.filter(c => !selectedNodeIds.has(c.source) && !selectedNodeIds.has(c.target));\n onUpdate({ nodes: newNodes, connections: newConnections });\n setSelectedNodeIds(new Set());\n };\n\n const handleAddNodeCenter = () => {\n pushHistory();\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n const clientWidth = containerRef.current?.clientWidth || 800;\n const clientHeight = containerRef.current?.clientHeight || 600;\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2,\n y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2,\n title: 'Nouveau point d\\'intrigue',\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n return (\n
\n
\n
\n \n
\n
\n {selectedNodeIds.size > 0 ? `${selectedNodeIds.size} SÉLECTIONNÉ(S)` : 'Double-cliquez sur le canvas pour créer'}\n
\n
\n
\n \n
\n
\n\n \n \n {data.connections.map(conn => {\n const source = internalNodes.find(n => n.id === conn.source);\n const target = internalNodes.find(n => n.id === conn.target);\n if (!source || !target) return null;\n const startX = source.x + CARD_WIDTH / 2;\n const startY = source.y + CARD_HEIGHT / 2;\n const endX = target.x + CARD_WIDTH / 2;\n const endY = target.y + CARD_HEIGHT / 2;\n return (\n \n );\n })}\n {connectingNodeId && (\n n.id === connectingNodeId)?.x || 0) + CARD_WIDTH / 2}\n y1={(internalNodes.find(n => n.id === connectingNodeId)?.y || 0) + CARD_HEIGHT / 2}\n x2={mousePos.x} y2={mousePos.y}\n stroke=\"#6366f1\" strokeWidth=\"2\" strokeDasharray=\"5,5\" markerEnd=\"url(#arrowhead-blue)\"\n />\n )}\n \n \n \n \n \n \n \n \n \n\n {internalNodes.map(node => (\n \n ))}\n
\n\n {activeSuggestion && (\n
\n
\n Insérer {activeSuggestion.trigger === '@' ? 'Personnage' : activeSuggestion.trigger === '#' ? 'Lieu' : 'Objet'}\n
\n
\n {activeSuggestion.filteredEntities.length > 0 ? (\n activeSuggestion.filteredEntities.map((ent, idx) => (\n insertEntity(ent)}\n >\n {ent.name}\n \n ))\n ) : (\n
Aucun résultat
\n )}\n
\n
\n )}\n
\n );\n};\n\nexport default StoryWorkflow;\n"],"names":[],"mappings":";;;;;AAGA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AALA;;;;AAcA,MAAM,aAAa;AACnB,MAAM,cAAc;AAEpB,MAAM,iBAAiB;IACnB;IACA;IACA;IACA;IACA;IACA;CACH;AAED,MAAM,sBAAsB,CAAC,MAAc,UAAoB;IAC3D,IAAI,CAAC,MAAM,qBAAO,yOAAC;QAAK,WAAU;kBAAwB;;;;;;IAE1D,MAAM,QAAsC;QAAC;KAAK;IAElD,SAAS,OAAO,CAAC,CAAA;QACb,IAAI,CAAC,OAAO,IAAI,EAAE;QAClB,MAAM,QAAQ,IAAI,OAAO,CAAC,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE;QAE7C,IAAK,IAAI,IAAI,GAAG,IAAI,MAAM,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;;;;;;;;;;;;;;;;;;;;;oBAK9C,cAAc,GAAG,CAAC,CAAA,qBACf,yOAAC;4BAEG,MAAM;4BACN,YAAY,gBAAgB,GAAG,CAAC,KAAK,EAAE;4BACvC,WAAW,kBAAkB,KAAK,EAAE;4BACpC,YAAY;4BACZ,qBAAqB;4BACrB,UAAU;4BACV,aAAa;4BACb,aAAa;4BACb,WAAW;4BACX,mBAAmB;4BACnB,UAAU;4BACV,cAAc;4BACd,qBAAqB;4BACrB,aAAa;4BACb,oBAAoB;4BACpB,cAAc;4BACd,0BAA0B;4BAC1B,kBAAkB;2BAlBb,KAAK,EAAE;;;;;;;;;;;YAuBvB,kCACG,yOAAC;gBAAI,WAAU;gBAAmG,OAAO;oBAAE,MAAM;oBAAO,KAAK;oBAAO,WAAW;gBAAwB;;kCACnL,yOAAC;wBAAI,WAAU;;4BAAsF;4BACxF,iBAAiB,OAAO,KAAK,MAAM,eAAe,iBAAiB,OAAO,KAAK,MAAM,SAAS;;;;;;;kCAE3G,yOAAC;wBAAI,WAAU;kCACV,iBAAiB,gBAAgB,CAAC,MAAM,GAAG,IACxC,iBAAiB,gBAAgB,CAAC,GAAG,CAAC,CAAC,KAAK,oBACxC,yOAAC;gCAEG,WAAW,CAAC,gGAAgG,EAAE,QAAQ,iBAAiB,aAAa,GAAG,2CAA2C,kBAAkB;gCACpN,SAAS,IAAM,aAAa;0CAE3B,IAAI,IAAI;+BAJJ,IAAI,EAAE;;;;0FAQnB,yOAAC;4BAAI,WAAU;sCAAgD;;;;;;;;;;;;;;;;;;;;;;;AAO3F;IArcM;MAAA;uCAucS"}}, - {"offset": {"line": 1148, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/workflow/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport StoryWorkflow from '@/components/StoryWorkflow';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function WorkflowPage() {\r\n const { project, projectId, updateProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject({ workflow })}\r\n entities={project.entities || []}\r\n onNavigateToEntity={() => router.push(`/project/${projectId}/world`)}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;;;AAJA;;;;AAMe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,IAAA,wMAAiB;IAC/D,MAAM,SAAS,IAAA,8LAAS;IAExB,qBACI,yOAAC,6LAAa;QACV,MAAM,QAAQ,QAAQ,IAAI;YAAE,OAAO,EAAE;YAAE,aAAa,EAAE;QAAC;QACvD,UAAU,CAAC,WAAa,cAAc;gBAAE;YAAS;QACjD,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,oBAAoB,IAAM,OAAO,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,MAAM,CAAC;;;;;;AAG/E;GAZwB;;QAC0B,wMAAiB;QAChD,8LAAS;;;KAFJ"}}, - {"offset": {"line": 1198, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/arrow-right.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAiB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CAChD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,KAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1243, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/palette.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/palette.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z',\n key: 'e79jfc',\n },\n ],\n ['circle', { cx: '13.5', cy: '6.5', r: '.5', fill: 'currentColor', key: '1okk4w' }],\n ['circle', { cx: '17.5', cy: '10.5', r: '.5', fill: 'currentColor', key: 'f64h9f' }],\n ['circle', { cx: '6.5', cy: '12.5', r: '.5', fill: 'currentColor', key: 'qy21gx' }],\n ['circle', { cx: '8.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'fotxhn' }],\n];\n\n/**\n * @component @name Palette\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMjJhMSAxIDAgMCAxIDAtMjAgMTAgOSAwIDAgMSAxMCA5IDUgNSAwIDAgMS01IDVoLTIuMjVhMS43NSAxLjc1IDAgMCAwLTEuNCAyLjhsLjMuNGExLjc1IDEuNzUgMCAwIDEtMS40IDIuOHoiIC8+CiAgPGNpcmNsZSBjeD0iMTMuNSIgY3k9IjYuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSIxNy41IiBjeT0iMTAuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSI2LjUiIGN5PSIxMi41IiByPSIuNSIgZmlsbD0iY3VycmVudENvbG9yIiAvPgogIDxjaXJjbGUgY3g9IjguNSIgY3k9IjcuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/palette\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Palette = createLucideIcon('palette', __iconNode);\n\nexport default Palette;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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AAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/StoryWorkflow.tsx"],"sourcesContent":["'use client';\n\n\nimport React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';\nimport { WorkflowData, PlotNode, PlotConnection, PlotNodeType, Entity, EntityType } from '@/lib/types';\nimport { Plus, Trash2, ArrowRight, BookOpen, MessageCircle, Zap, Palette, Save, Link2 } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\n\ninterface StoryWorkflowProps {\n data: WorkflowData;\n onUpdate: (data: WorkflowData) => void;\n entities: Entity[];\n onNavigateToEntity: (entityId: string) => void;\n}\n\nconst CARD_WIDTH = 260;\nconst CARD_HEIGHT = 220;\n\nconst INITIAL_COLORS = [\n '#ffffff', // White\n '#dbeafe', // Blue\n '#dcfce7', // Green\n '#fef9c3', // Yellow\n '#fee2e2', // Red\n '#f3e8ff', // Purple\n];\n\nconst renderTextWithLinks = (text: string, entities: Entity[], onNavigate: (id: string) => void, t: any) => {\n if (!text) return {t('sw.desc_ph')};\n\n const parts: (string | React.ReactNode)[] = [text];\n\n entities.forEach(entity => {\n if (!entity.name) return;\n const regex = new RegExp(`(${entity.name})`, 'gi');\n\n for (let i = 0; i < parts.length; i++) {\n const part = parts[i];\n if (typeof part === 'string') {\n const split = part.split(regex);\n if (split.length > 1) {\n const newParts = split.map((s, idx) => {\n if (s.toLowerCase() === entity.name.toLowerCase()) {\n return (\n { e.stopPropagation(); onNavigate(entity.id); }}\n className=\"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all\"\n title={t('sw.see_sheet') + entity.name}\n >\n {s}\n \n );\n }\n return s;\n });\n parts.splice(i, 1, ...newParts);\n i += newParts.length - 1;\n }\n }\n }\n });\n\n return <>{parts};\n};\n\ninterface StoryNodeProps {\n node: PlotNode;\n isSelected: boolean;\n isEditing: boolean;\n isDragging: boolean;\n activeColorPickerId: string | null;\n entities: Entity[];\n savedColors: string[];\n\n onMouseDown: (e: React.MouseEvent, id: string) => void;\n onMouseUp: (e: React.MouseEvent, id: string) => void;\n onStartConnection: (e: React.MouseEvent, id: string) => void;\n onUpdate: (id: string, updates: Partial) => void;\n onSetEditing: (id: string | null) => void;\n onToggleColorPicker: (id: string) => void;\n onSaveColor: (color: string) => void;\n onNavigateToEntity: (id: string) => void;\n\n onInputFocus: (e: React.FocusEvent) => void;\n onInputCheckAutocomplete: (e: React.ChangeEvent, id: string, field: 'title' | 'description') => void;\n onKeyDownInInput: (e: React.KeyboardEvent, id: string) => void;\n}\n\nconst StoryNode = React.memo(({\n node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors,\n onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing,\n onToggleColorPicker, onSaveColor, onNavigateToEntity,\n onInputFocus, onInputCheckAutocomplete, onKeyDownInInput\n}: StoryNodeProps) => {\n const { t } = useLanguage();\n const [showTypePicker, setShowTypePicker] = useState(false);\n\n const richDescription = useMemo(() => {\n return renderTextWithLinks(node.description, entities, onNavigateToEntity, t);\n }, [node.description, entities, onNavigateToEntity, t]);\n\n return (\n onMouseDown(e, node.id)}\n onMouseUp={(e) => onMouseUp(e, node.id)}\n onDoubleClick={(e) => e.stopPropagation()}\n onMouseLeave={() => setShowTypePicker(false)}\n >\n
\n\n
\n
\n {isEditing ? (\n onUpdate(node.id, { title: e.target.value })}\n onFocus={onInputFocus}\n autoFocus\n />\n ) : (\n onSetEditing(node.id)}\n >\n {node.title}\n
\n )}\n\n { e.stopPropagation(); onToggleColorPicker(node.id); }}\n className=\"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0\"\n >\n \n \n\n {activeColorPickerId === node.id && (\n
e.stopPropagation()}>\n
\n {savedColors.map(color => (\n onUpdate(node.id, { color })}\n className={`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${node.color === color ? 'ring-2 ring-offset-1 ring-indigo-400' : ''}`}\n style={{ backgroundColor: color }}\n />\n ))}\n
\n
\n
\n onUpdate(node.id, { color: e.target.value })}\n />\n
\n onSaveColor(node.color || '#ffffff')}\n className=\"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right\"\n >\n {t('sw.save_color')}\n \n
\n
\n )}\n
\n\n
\n {isEditing ? (\n onInputCheckAutocomplete(e, node.id, 'description')}\n onKeyDown={(e) => onKeyDownInInput(e, node.id)}\n onFocus={onInputFocus}\n onBlur={() => onSetEditing(null)}\n />\n ) : (\n onSetEditing(node.id)}\n >\n {richDescription}\n
\n )}\n
\n\n
\n {showTypePicker && (\n
e.stopPropagation()}>\n { e.stopPropagation(); onUpdate(node.id, { type: 'story' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`}\n title={t('sw.type_story')}\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'action' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`}\n title={t('sw.type_action')}\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'dialogue' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`}\n title={t('sw.type_dialogue')}\n >\n \n \n
\n )}\n\n { e.stopPropagation(); setShowTypePicker(!showTypePicker); }}\n >\n {node.type === 'story' && }\n {node.type === 'action' && }\n {node.type === 'dialogue' && }\n \n
\n
\n\n onStartConnection(e, node.id)}\n >\n \n \n
\n );\n}, (prev, next) => {\n return (\n prev.node === next.node &&\n prev.isSelected === next.isSelected &&\n prev.isEditing === next.isEditing &&\n prev.isDragging === next.isDragging &&\n prev.activeColorPickerId === next.activeColorPickerId &&\n prev.entities === next.entities\n );\n});\n\ninterface SuggestionState {\n active: boolean;\n trigger: string;\n query: string;\n nodeId: string;\n field: 'title' | 'description';\n cursorIndex: number;\n selectedIndex: number;\n filteredEntities: Entity[];\n}\n\nconst StoryWorkflow: React.FC = ({ data, onUpdate, entities, onNavigateToEntity }) => {\n const { t } = useLanguage();\n const containerRef = useRef(null);\n const rafRef = useRef(null);\n\n const [internalNodes, setInternalNodes] = useState(data.nodes);\n const internalNodesRef = useRef(internalNodes);\n useEffect(() => { internalNodesRef.current = internalNodes; }, [internalNodes]);\n\n useEffect(() => {\n setInternalNodes(data.nodes);\n }, [data.nodes]);\n\n useEffect(() => {\n return () => {\n if (rafRef.current) cancelAnimationFrame(rafRef.current);\n };\n }, []);\n\n const [activeSuggestion, setActiveSuggestion] = useState(null);\n const [selectedNodeIds, setSelectedNodeIds] = useState>(new Set());\n const [savedColors, setSavedColors] = useState(INITIAL_COLORS);\n const [activeColorPickerId, setActiveColorPickerId] = useState(null);\n const [editingNodeId, setEditingNodeId] = useState(null);\n const [history, setHistory] = useState([]);\n\n const [isDragging, setIsDragging] = useState(false);\n const [dragStartPositions, setDragStartPositions] = useState>(new Map());\n const [dragStartMouse, setDragStartMouse] = useState({ x: 0, y: 0 });\n\n const [connectingNodeId, setConnectingNodeId] = useState(null);\n const [mousePos, setMousePos] = useState({ x: 0, y: 0 });\n\n const [isPanning, setIsPanning] = useState(false);\n const [panStart, setPanStart] = useState({ x: 0, y: 0 });\n const [scrollStart, setScrollStart] = useState({ x: 0, y: 0 });\n\n const pushHistory = useCallback(() => {\n setHistory(prev => {\n const newHistory = [...prev, data];\n if (newHistory.length > 20) return newHistory.slice(newHistory.length - 20);\n return newHistory;\n });\n }, [data]);\n\n const updateNode = useCallback((id: string, updates: Partial) => {\n const currentNodes = internalNodesRef.current;\n onUpdate({\n ...data,\n nodes: currentNodes.map(n => n.id === id ? { ...n, ...updates } : n)\n });\n }, [data, onUpdate]);\n\n const handleInputFocus = useCallback((e: React.FocusEvent) => {\n e.stopPropagation();\n }, []);\n\n const handleInputWithAutocomplete = useCallback((\n e: React.ChangeEvent,\n nodeId: string,\n field: 'title' | 'description'\n ) => {\n const val = e.target.value;\n updateNode(nodeId, { [field]: val });\n\n const cursor = e.target.selectionStart || 0;\n const textBeforeCursor = val.slice(0, cursor);\n const match = textBeforeCursor.match(/([@#^])([^@#^\\s]*)$/);\n\n if (match) {\n const trigger = match[1];\n const query = match[2].toLowerCase();\n const targetType = trigger === '@' ? EntityType.CHARACTER : trigger === '#' ? EntityType.LOCATION : EntityType.OBJECT;\n const filtered = entities.filter(ent =>\n ent.type === targetType &&\n ent.name.toLowerCase().includes(query)\n );\n\n setActiveSuggestion({\n active: true,\n trigger,\n query,\n nodeId,\n field,\n cursorIndex: cursor,\n selectedIndex: 0,\n filteredEntities: filtered\n });\n } else {\n setActiveSuggestion(null);\n }\n }, [updateNode, entities]);\n\n const insertEntity = (entity: Entity) => {\n if (!activeSuggestion) return;\n const { nodeId, field, trigger, query } = activeSuggestion;\n const node = internalNodesRef.current.find(n => n.id === nodeId);\n if (!node) return;\n const currentText = node[field] as string;\n const cursor = activeSuggestion.cursorIndex;\n const insertionLength = trigger.length + query.length;\n const startIdx = cursor - insertionLength;\n if (startIdx < 0) return;\n const before = currentText.slice(0, startIdx);\n const after = currentText.slice(cursor);\n const isDialogue = node.type === 'dialogue' && activeSuggestion.trigger === '@';\n const suffix = isDialogue ? \": \" : \" \";\n updateNode(nodeId, { [field]: before + entity.name + suffix + after });\n setActiveSuggestion(null);\n };\n\n const handleKeyDownInInput = useCallback((e: React.KeyboardEvent, nodeId: string) => {\n if (activeSuggestion && activeSuggestion.nodeId === nodeId) {\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex + 1) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex - 1 + prev.filteredEntities.length) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'Tab' || e.key === 'Enter') {\n e.preventDefault();\n if (activeSuggestion.filteredEntities.length > 0) {\n insertEntity(activeSuggestion.filteredEntities[activeSuggestion.selectedIndex]);\n } else {\n setActiveSuggestion(null);\n }\n return;\n } else if (e.key === 'Escape') {\n setActiveSuggestion(null);\n return;\n }\n }\n }, [activeSuggestion, entities, updateNode]);\n\n const handleNodeMouseDown = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n setActiveColorPickerId(null);\n\n setSelectedNodeIds(prevSelected => {\n const newSelection = new Set(prevSelected);\n if (e.ctrlKey) {\n if (newSelection.has(nodeId)) newSelection.delete(nodeId);\n else newSelection.add(nodeId);\n } else {\n if (!newSelection.has(nodeId)) {\n newSelection.clear();\n newSelection.add(nodeId);\n }\n }\n const finalDragIds = e.ctrlKey ? newSelection : (newSelection.has(nodeId) ? newSelection : new Set([nodeId]));\n const startPositions = new Map();\n internalNodesRef.current.forEach(n => {\n if (finalDragIds.has(n.id)) {\n startPositions.set(n.id, { x: n.x, y: n.y });\n }\n });\n setDragStartPositions(startPositions);\n return newSelection;\n });\n\n setIsDragging(true);\n setDragStartMouse({ x: e.clientX, y: e.clientY });\n pushHistory();\n }, [pushHistory]);\n\n const startConnection = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n pushHistory();\n setConnectingNodeId(nodeId);\n }, [pushHistory]);\n\n const finishConnection = useCallback((e: React.MouseEvent, targetId: string) => {\n if (connectingNodeId && connectingNodeId !== targetId) {\n const exists = data.connections.some(c => c.source === connectingNodeId && c.target === targetId);\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetId\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn]\n });\n }\n }\n setConnectingNodeId(null);\n }, [data, onUpdate, connectingNodeId]);\n\n const handleToggleColorPicker = useCallback((id: string) => {\n setActiveColorPickerId(prev => prev === id ? null : id);\n }, []);\n\n const handleSaveColor = useCallback((color: string) => {\n setSavedColors(prev => !prev.includes(color) ? [...prev, color] : prev);\n }, []);\n\n const handleMouseMove = (e: React.MouseEvent) => {\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const clientX = e.clientX;\n const clientY = e.clientY;\n\n if (isPanning && containerRef.current) {\n const dx = clientX - panStart.x;\n const dy = clientY - panStart.y;\n containerRef.current.scrollLeft = scrollStart.x - dx;\n containerRef.current.scrollTop = scrollStart.y - dy;\n return;\n }\n\n // Only update mousePos when connecting (drawing a line), not during node drag\n if (connectingNodeId) {\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n setMousePos({ x: clientX - rect.left + scrollLeft, y: clientY - rect.top + scrollTop });\n }\n\n if (isDragging) {\n if (rafRef.current) return;\n rafRef.current = requestAnimationFrame(() => {\n const dx = clientX - dragStartMouse.x;\n const dy = clientY - dragStartMouse.y;\n setInternalNodes(prevNodes => prevNodes.map(node => {\n const startPos = dragStartPositions.get(node.id);\n if (startPos) return { ...node, x: startPos.x + dx, y: startPos.y + dy };\n return node;\n }));\n rafRef.current = null;\n });\n }\n };\n\n const handleMouseUp = (e: React.MouseEvent) => {\n if (rafRef.current) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n if (isDragging) onUpdate({ ...data, nodes: internalNodesRef.current });\n\n // Hit-test: if connecting, check if mouse is over any node\n if (connectingNodeId && containerRef.current) {\n const rect = containerRef.current.getBoundingClientRect();\n const scrollLeft = containerRef.current.scrollLeft;\n const scrollTop = containerRef.current.scrollTop;\n const mx = e.clientX - rect.left + scrollLeft;\n const my = e.clientY - rect.top + scrollTop;\n\n const targetNode = internalNodesRef.current.find(n =>\n n.id !== connectingNodeId &&\n mx >= n.x && mx <= n.x + CARD_WIDTH &&\n my >= n.y && my <= n.y + CARD_HEIGHT\n );\n\n if (targetNode) {\n const exists = data.connections.some(\n c => c.source === connectingNodeId && c.target === targetNode.id\n );\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetNode.id,\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn],\n });\n }\n }\n }\n\n setIsDragging(false);\n setIsPanning(false);\n setConnectingNodeId(null);\n };\n\n const handleCanvasMouseDown = (e: React.MouseEvent) => {\n if (!e.ctrlKey) setSelectedNodeIds(new Set());\n setActiveSuggestion(null);\n setActiveColorPickerId(null);\n setEditingNodeId(null);\n setIsPanning(true);\n setPanStart({ x: e.clientX, y: e.clientY });\n if (containerRef.current) {\n setScrollStart({ x: containerRef.current.scrollLeft, y: containerRef.current.scrollTop });\n }\n };\n\n const handleCanvasDoubleClick = (e: React.MouseEvent) => {\n e.preventDefault();\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const x = e.clientX - rect.left + (containerRef.current?.scrollLeft || 0) - CARD_WIDTH / 2;\n const y = e.clientY - rect.top + (containerRef.current?.scrollTop || 0) - CARD_HEIGHT / 2;\n pushHistory();\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x,\n y,\n title: t('sw.new_event'),\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n const handleDeleteSelected = () => {\n if (selectedNodeIds.size === 0) return;\n pushHistory();\n const newNodes = internalNodes.filter(n => !selectedNodeIds.has(n.id));\n const newConnections = data.connections.filter(c => !selectedNodeIds.has(c.source) && !selectedNodeIds.has(c.target));\n onUpdate({ nodes: newNodes, connections: newConnections });\n setSelectedNodeIds(new Set());\n };\n\n const handleAddNodeCenter = () => {\n pushHistory();\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n const clientWidth = containerRef.current?.clientWidth || 800;\n const clientHeight = containerRef.current?.clientHeight || 600;\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2,\n y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2,\n title: t('sw.new_plot_point'),\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n return (\n
\n
\n
\n \n
\n
\n {selectedNodeIds.size > 0 ? `${selectedNodeIds.size} ${t('sw.selected')}` : t('sw.double_click_create')}\n
\n
\n
\n \n
\n
\n\n \n \n {data.connections.map(conn => {\n const source = internalNodes.find(n => n.id === conn.source);\n const target = internalNodes.find(n => n.id === conn.target);\n if (!source || !target) return null;\n const startX = source.x + CARD_WIDTH / 2;\n const startY = source.y + CARD_HEIGHT / 2;\n const endX = target.x + CARD_WIDTH / 2;\n const endY = target.y + CARD_HEIGHT / 2;\n return (\n \n );\n })}\n {connectingNodeId && (\n n.id === connectingNodeId)?.x || 0) + CARD_WIDTH / 2}\n y1={(internalNodes.find(n => n.id === connectingNodeId)?.y || 0) + CARD_HEIGHT / 2}\n x2={mousePos.x} y2={mousePos.y}\n stroke=\"#6366f1\" strokeWidth=\"2\" strokeDasharray=\"5,5\" markerEnd=\"url(#arrowhead-blue)\"\n />\n )}\n \n \n \n \n \n \n \n \n \n\n {internalNodes.map(node => (\n \n ))}\n
\n\n {activeSuggestion && (\n
\n
\n {activeSuggestion.trigger === '@' ? t('sw.insert_char') : activeSuggestion.trigger === '#' ? t('sw.insert_loc') : t('sw.insert_obj')}\n
\n
\n {activeSuggestion.filteredEntities.length > 0 ? (\n activeSuggestion.filteredEntities.map((ent, idx) => (\n insertEntity(ent)}\n >\n {ent.name}\n \n ))\n ) : (\n
{t('sw.no_result')}
\n )}\n
\n
\n )}\n
\n );\n};\n\nexport default StoryWorkflow;\n"],"names":[],"mappings":";;;;;AAGA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;;;AANA;;;;;AAeA,MAAM,aAAa;AACnB,MAAM,cAAc;AAEpB,MAAM,iBAAiB;IACnB;IACA;IACA;IACA;IACA;IACA;CACH;AAED,MAAM,sBAAsB,CAAC,MAAc,UAAoB,YAAkC;IAC7F,IAAI,CAAC,MAAM,qBAAO,yOAAC;QAAK,WAAU;kBAAyB,EAAE;;;;;;IAE7D,MAAM,QAAsC;QAAC;KAAK;IAElD,SAAS,OAAO,CAAC,CAAA;QACb,IAAI,CAAC,OAAO,IAAI,EAAE;QAClB,MAAM,QAAQ,IAAI,OAAO,CAAC,CAAC,EAAE,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE;QAE7C,IAAK,IAAI,IAAI,GAAG,IAAI,MAAM,MAAM,EAAE,IAAK;YACnC,MAAM,OAAO,KAAK,CAAC,EAAE;YACrB,IAAI,OAAO,SAAS,UAAU;gBAC1B,MAAM,QAAQ,KAAK,KAAK,CAAC;gBACzB,IAAI,MAAM,MAAM,GAAG,GAAG;oBAClB,MAAM,WAAW,MAAM,GAAG,CAAC,CAAC,GAAG;wBAC3B,IAAI,EAAE,WAAW,OAAO,OAAO,IAAI,CAAC,WAAW,IAAI;4BAC/C,qBACI,yOAAC;gCAEG,SAAS,CAAC;oCAAQ,EAAE,eAAe;oCAAI,WAAW,OAAO,EAAE;gCAAG;gCAC9D,WAAU;gCACV,OAAO,EAAE,kBAAkB,OAAO,IAAI;0CAErC;+BALI,GAAG,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK;;;;;wBAQ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BACd,qBAAqB;4BACrB,aAAa;4BACb,oBAAoB;4BACpB,cAAc;4BACd,0BAA0B;4BAC1B,kBAAkB;2BAlBb,KAAK,EAAE;;;;;;;;;;;YAuBvB,kCACG,yOAAC;gBAAI,WAAU;gBAAmG,OAAO;oBAAE,MAAM;oBAAO,KAAK;oBAAO,WAAW;gBAAwB;;kCACnL,yOAAC;wBAAI,WAAU;kCACV,iBAAiB,OAAO,KAAK,MAAM,EAAE,oBAAoB,iBAAiB,OAAO,KAAK,MAAM,EAAE,mBAAmB,EAAE;;;;;;kCAExH,yOAAC;wBAAI,WAAU;kCACV,iBAAiB,gBAAgB,CAAC,MAAM,GAAG,IACxC,iBAAiB,gBAAgB,CAAC,GAAG,CAAC,CAAC,KAAK,oBACxC,yOAAC;gCAEG,WAAW,CAAC,gGAAgG,EAAE,QAAQ,iBAAiB,aAAa,GAAG,2CAA2C,kBAAkB;gCACpN,SAAS,IAAM,aAAa;0CAE3B,IAAI,IAAI;+BAJJ,IAAI,EAAE;;;;0FAQnB,yOAAC;4BAAI,WAAU;sCAAiD,EAAE;;;;;;;;;;;;;;;;;;;;;;;AAO9F;IAtcM;;QACY,mMAAW;;;MADvB;uCAwcS"}}, + {"offset": {"line": 1159, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/workflow/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport StoryWorkflow from '@/components/StoryWorkflow';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function WorkflowPage() {\r\n const { project, projectId, updateProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject({ workflow })}\r\n entities={project.entities || []}\r\n onNavigateToEntity={() => router.push(`/project/${projectId}/world`)}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;;;AAJA;;;;AAMe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,IAAA,wMAAiB;IAC/D,MAAM,SAAS,IAAA,8LAAS;IAExB,qBACI,yOAAC,6LAAa;QACV,MAAM,QAAQ,QAAQ,IAAI;YAAE,OAAO,EAAE;YAAE,aAAa,EAAE;QAAC;QACvD,UAAU,CAAC,WAAa,cAAc;gBAAE;YAAS;QACjD,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,oBAAoB,IAAM,OAAO,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,MAAM,CAAC;;;;;;AAG/E;GAZwB;;QAC0B,wMAAiB;QAChD,8LAAS;;;KAFJ"}}, + {"offset": {"line": 1209, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/arrow-right.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAiB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CAChD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,KAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1254, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/palette.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/palette.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z',\n key: 'e79jfc',\n },\n ],\n ['circle', { cx: '13.5', cy: '6.5', r: '.5', fill: 'currentColor', key: '1okk4w' }],\n ['circle', { cx: '17.5', cy: '10.5', r: '.5', fill: 'currentColor', key: 'f64h9f' }],\n ['circle', { cx: '6.5', cy: '12.5', r: '.5', fill: 'currentColor', key: 'qy21gx' }],\n ['circle', { cx: '8.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'fotxhn' }],\n];\n\n/**\n * @component @name Palette\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMjJhMSAxIDAgMCAxIDAtMjAgMTAgOSAwIDAgMSAxMCA5IDUgNSAwIDAgMS01IDVoLTIuMjVhMS43NSAxLjc1IDAgMCAwLTEuNCAyLjhsLjMuNGExLjc1IDEuNzUgMCAwIDEtMS40IDIuOHoiIC8+CiAgPGNpcmNsZSBjeD0iMTMuNSIgY3k9IjYuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSIxNy41IiBjeT0iMTAuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSI2LjUiIGN5PSIxMi41IiByPSIuNSIgZmlsbD0iY3VycmVudENvbG9yIiAvPgogIDxjaXJjbGUgY3g9IjguNSIgY3k9IjcuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/palette\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Palette = createLucideIcon('palette', __iconNode);\n\nexport default Palette;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA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_plumeia_d58888ef._.js b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d58888ef._.js index 7b5e951..9365033 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_d58888ef._.js +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d58888ef._.js @@ -19,41 +19,44 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__proje var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$trash$2d$2$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Trash2$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/trash-2.js [app-client] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$pen$2d$line$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Edit3$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/pen-line.js [app-client] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$save$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Save$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/save.js [app-client] (ecmascript) "); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)"); ; var _s = __turbopack_context__.k.signature(); 'use client'; ; ; +; const CATEGORIES = { plot: { - label: 'Intrigue', + labelKey: 'ideaboard.cat_plot', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$lightbulb$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Lightbulb$3e$__["Lightbulb"] }, character: { - label: 'Personnage', + labelKey: 'ideaboard.cat_char', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Search$3e$__["Search"] }, research: { - label: 'Recherche', + labelKey: 'ideaboard.cat_research', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$search$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Search$3e$__["Search"] }, todo: { - label: 'À faire', + labelKey: 'ideaboard.cat_todo', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$circle$2d$check$2d$big$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__CheckCircle$3e$__["CheckCircle"] } }; const STATUS_LABELS = { - todo: 'Idées / À faire', - progress: 'En cours', - done: 'Terminé / Validé' + todo: 'ideaboard.stat_todo', + progress: 'ideaboard.stat_prog', + done: 'ideaboard.stat_done' }; const MAX_DESCRIPTION_LENGTH = 500; const IdeaBoard = ({ ideas, onUpdate })=>{ _s(); + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"])(); const [newIdeaTitle, setNewIdeaTitle] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(''); const [newIdeaCategory, setNewIdeaCategory] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('plot'); // Drag and Drop State @@ -79,7 +82,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ setNewIdeaTitle(''); }; const handleDelete = (id)=>{ - if (confirm("Supprimer cette carte ?")) { + if (confirm(t('ideaboard.delete') + " ?")) { onUpdate(ideas.filter((i)=>i.id !== id)); if (editingItem?.id === id) setEditingItem(null); } @@ -150,7 +153,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ onDragOver: handleDragOver, onDrop: (e)=>handleDrop(e, status), onDoubleClick: ()=>openQuickAdd(status), - title: "Double-cliquez dans le vide pour ajouter une carte ici", + title: t('ideaboard.empty_desc'), children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: `p-4 border-b border-theme-border flex justify-between items-center transition-colors duration-300 ${status === 'todo' ? 'bg-theme-bg' : status === 'progress' ? 'bg-indigo-500/10' : 'bg-green-500/10'}`, @@ -162,14 +165,14 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 139, + lineNumber: 142, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), title ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 138, + lineNumber: 141, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -185,12 +188,12 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 147, + lineNumber: 150, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 143, + lineNumber: 146, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -198,19 +201,19 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: columnIdeas.length }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 149, + lineNumber: 152, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 142, + lineNumber: 145, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 134, + lineNumber: 137, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -232,10 +235,10 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: `text-[10px] uppercase font-bold px-2 py-0.5 rounded-full flex items-center gap-1 ${CATEGORIES[idea.category].color}`, - children: CATEGORIES[idea.category].label + children: t(CATEGORIES[idea.category].labelKey) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 174, + lineNumber: 177, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -251,12 +254,12 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 182, + lineNumber: 185, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 178, + lineNumber: 181, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -269,24 +272,24 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 188, + lineNumber: 191, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 184, + lineNumber: 187, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 177, + lineNumber: 180, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 173, + lineNumber: 176, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -297,7 +300,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: idea.title }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 195, + lineNumber: 197, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), idea.description && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { @@ -306,13 +309,13 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: truncatedDesc }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 197, + lineNumber: 199, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 194, + lineNumber: 196, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -325,15 +328,15 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 10 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 205, + lineNumber: 207, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)), " ", - new Date(idea.createdAt).toLocaleDateString() + new Date(idea.createdAt).toLocaleDateString('fr-FR') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 204, + lineNumber: 206, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$grip$2d$vertical$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__GripVertical$3e$__["GripVertical"], { @@ -341,19 +344,19 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "opacity-20" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 207, + lineNumber: 209, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 203, + lineNumber: 205, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, idea.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 163, + lineNumber: 166, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)); }), @@ -362,36 +365,36 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "mb-2", - children: "Vide" + children: t('ideaboard.empty') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 214, + lineNumber: 216, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-xs opacity-70", - children: "Double-cliquez pour ajouter" + children: t('ideaboard.empty_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 215, + lineNumber: 217, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 213, + lineNumber: 215, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 156, + lineNumber: 159, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 126, + lineNumber: 129, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)); }; @@ -410,28 +413,29 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "text-yellow-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 230, + lineNumber: 232, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), - " Boîte à Idées" + " ", + t('ideaboard.title') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 229, + lineNumber: 231, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-theme-muted text-sm", - children: "Organisez vos tâches, idées de scènes et recherches." + children: t('ideaboard.desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 232, + lineNumber: 234, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 228, + lineNumber: 230, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("form", { @@ -444,26 +448,26 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300", children: Object.entries(CATEGORIES).map(([key, val])=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: key, - children: val.label + children: t(val.labelKey) }, key, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 242, + lineNumber: 244, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 236, + lineNumber: 238, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: "text", value: newIdeaTitle, onChange: (e)=>setNewIdeaTitle(e.target.value), - placeholder: "Titre de la nouvelle idée...", + placeholder: t('ideaboard.add_idea'), className: "flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 245, + lineNumber: 247, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -474,60 +478,60 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 257, + lineNumber: 259, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 252, + lineNumber: 254, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 235, + lineNumber: 237, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 227, + lineNumber: 229, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex-1 grid grid-cols-1 md:grid-cols-3 gap-6 min-h-0", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(Column, { - title: "Idées / À faire", + title: t('ideaboard.stat_todo'), status: "todo", icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$circle$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Circle$3e$__["Circle"] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 264, + lineNumber: 266, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(Column, { - title: "En cours", + title: t('ideaboard.stat_prog'), status: "progress", icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$clock$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Clock$3e$__["Clock"] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 265, + lineNumber: 267, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(Column, { - title: "Terminé", + title: t('ideaboard.stat_done'), status: "done", icon: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$circle$2d$check$2d$big$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__CheckCircle$3e$__["CheckCircle"] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 266, + lineNumber: 268, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 263, + lineNumber: 265, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), editingItem && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -545,20 +549,20 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 275, + lineNumber: 277, columnNumber: 51 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$plus$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Plus$3e$__["Plus"], { size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 275, + lineNumber: 277, columnNumber: 73 }, ("TURBOPACK compile-time value", void 0)), - editingItem.id ? 'Éditer la carte' : 'Ajouter une carte' + editingItem.id ? t('ideaboard.edit_card') : t('ideaboard.add_card') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 274, + lineNumber: 276, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -568,18 +572,18 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 279, + lineNumber: 281, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 278, + lineNumber: 280, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 273, + lineNumber: 275, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -589,10 +593,10 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Titre" + children: t('ideaboard.title_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 285, + lineNumber: 287, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -603,27 +607,27 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ title: e.target.value }), className: "w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300", - placeholder: "Titre de la tâche ou de l'idée...", + placeholder: t('ideaboard.add_idea'), autoFocus: true }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 286, + lineNumber: 288, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 284, + lineNumber: 286, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Description" + children: t('ideaboard.desc_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 297, + lineNumber: 299, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -637,7 +641,7 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ placeholder: "Détails, notes, liens..." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 298, + lineNumber: 300, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -650,13 +654,13 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 305, + lineNumber: 307, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 296, + lineNumber: 298, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -666,10 +670,10 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Catégorie" + children: t('ideaboard.cat_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 314, + lineNumber: 316, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -681,31 +685,31 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300", children: Object.entries(CATEGORIES).map(([key, val])=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: key, - children: val.label + children: t(val.labelKey) }, key, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 321, + lineNumber: 323, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 315, + lineNumber: 317, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 313, + lineNumber: 315, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-bold text-theme-muted uppercase mb-1", - children: "Statut" + children: t('ideaboard.stat_label') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 326, + lineNumber: 328, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -717,33 +721,33 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ className: "w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300", children: Object.entries(STATUS_LABELS).map(([key, val])=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: key, - children: val + children: t(val) }, key, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 333, + lineNumber: 335, columnNumber: 45 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 327, + lineNumber: 329, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 325, + lineNumber: 327, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 312, + lineNumber: 314, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 283, + lineNumber: 285, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -752,19 +756,19 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ editingItem.id && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>handleDelete(editingItem.id), className: "mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2", - children: "Supprimer" + children: t('ideaboard.delete') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 342, + lineNumber: 344, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setEditingItem(null), className: "px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300", - children: "Annuler" + children: t('ideaboard.cancel') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 349, + lineNumber: 351, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -776,41 +780,46 @@ const IdeaBoard = ({ ideas, onUpdate })=>{ size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 360, + lineNumber: 362, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), - " Enregistrer" + " ", + t('ideaboard.save') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 355, + lineNumber: 357, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 340, + lineNumber: 342, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 272, + lineNumber: 274, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 271, + lineNumber: 273, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/IdeaBoard.tsx", - lineNumber: 224, + lineNumber: 226, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); }; -_s(IdeaBoard, "Vz96VBOssVKkc7P+1PFM8WOCWzg="); +_s(IdeaBoard, "+TDlSnLUn29yuEHU1z7BNCAROR0=", false, function() { + return [ + __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"] + ]; +}); _c = IdeaBoard; const __TURBOPACK__default__export__ = IdeaBoard; var _c; diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_d58888ef._.js.map b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d58888ef._.js.map index 8d15600..773a322 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_d58888ef._.js.map +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d58888ef._.js.map @@ -2,13 +2,13 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/IdeaBoard.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState } from 'react';\nimport { Idea, IdeaStatus, IdeaCategory } from '@/lib/types';\nimport { Plus, X, GripVertical, CheckCircle, Circle, Clock, Lightbulb, Search, Trash2, Edit3, Save } from 'lucide-react';\n\ninterface IdeaBoardProps {\n ideas: Idea[];\n onUpdate: (ideas: Idea[]) => void;\n}\n\nconst CATEGORIES: Record = {\n plot: { label: 'Intrigue', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: Lightbulb },\n character: { label: 'Personnage', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: Search },\n research: { label: 'Recherche', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: Search },\n todo: { label: 'À faire', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: CheckCircle },\n};\n\nconst STATUS_LABELS: Record = {\n todo: 'Idées / À faire',\n progress: 'En cours',\n done: 'Terminé / Validé'\n};\n\nconst MAX_DESCRIPTION_LENGTH = 500;\n\nconst IdeaBoard: React.FC = ({ ideas, onUpdate }) => {\n const [newIdeaTitle, setNewIdeaTitle] = useState('');\n const [newIdeaCategory, setNewIdeaCategory] = useState('plot');\n\n // Drag and Drop State\n const [draggedIdeaId, setDraggedIdeaId] = useState(null);\n\n // Modal State for Edit/Quick Add\n const [editingItem, setEditingItem] = useState | null>(null);\n\n // --- ACTIONS ---\n\n const handleAddIdea = (e: React.FormEvent) => {\n e.preventDefault();\n if (!newIdeaTitle.trim()) return;\n\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: newIdeaTitle,\n description: '',\n category: newIdeaCategory,\n status: 'todo',\n createdAt: Date.now()\n };\n\n onUpdate([...ideas, newIdea]);\n setNewIdeaTitle('');\n };\n\n const handleDelete = (id: string) => {\n if (confirm(\"Supprimer cette carte ?\")) {\n onUpdate(ideas.filter(i => i.id !== id));\n if (editingItem?.id === id) setEditingItem(null);\n }\n };\n\n const handleSaveEdit = () => {\n if (!editingItem || !editingItem.title?.trim()) return;\n\n if (editingItem.id) {\n // Update existing\n onUpdate(ideas.map(i => i.id === editingItem.id ? { ...i, ...editingItem } as Idea : i));\n } else {\n // Create new from modal\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: editingItem.title || '',\n description: editingItem.description || '',\n category: editingItem.category || 'plot',\n status: editingItem.status || 'todo',\n createdAt: Date.now()\n };\n onUpdate([...ideas, newIdea]);\n }\n setEditingItem(null);\n };\n\n const openQuickAdd = (status: IdeaStatus) => {\n setEditingItem({\n title: '',\n description: '',\n category: 'plot',\n status: status\n });\n };\n\n const openEdit = (idea: Idea) => {\n setEditingItem({ ...idea });\n };\n\n // --- DRAG HANDLERS ---\n\n const handleDragStart = (e: React.DragEvent, id: string) => {\n setDraggedIdeaId(id);\n e.dataTransfer.effectAllowed = 'move';\n };\n\n const handleDrop = (e: React.DragEvent, status: IdeaStatus) => {\n e.preventDefault();\n if (draggedIdeaId) {\n const updatedIdeas = ideas.map(idea =>\n idea.id === draggedIdeaId ? { ...idea, status } : idea\n );\n onUpdate(updatedIdeas);\n setDraggedIdeaId(null);\n }\n };\n\n const handleDragOver = (e: React.DragEvent) => {\n e.preventDefault();\n e.dataTransfer.dropEffect = 'move';\n };\n\n // --- RENDERERS ---\n\n const Column = ({ title, status, icon: Icon }: { title: string, status: IdeaStatus, icon: any }) => {\n const columnIdeas = ideas.filter(i => i.status === status);\n\n return (\n handleDrop(e, status)}\n onDoubleClick={() => openQuickAdd(status)}\n title=\"Double-cliquez dans le vide pour ajouter une carte ici\"\n >\n {/* Column Header */}\n
\n
\n \n {title}\n
\n
\n { e.stopPropagation(); openQuickAdd(status); }}\n className=\"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors\"\n >\n \n \n \n {columnIdeas.length}\n \n
\n
\n\n {/* Column Body */}\n
\n {columnIdeas.map(idea => {\n const truncatedDesc = idea.description.length > 300\n ? idea.description.substring(0, 300) + '...'\n : idea.description;\n\n return (\n handleDragStart(e, idea.id)}\n onDoubleClick={(e) => {\n e.stopPropagation(); // Prevent column double-click\n openEdit(idea);\n }}\n className=\"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200\"\n >\n
\n \n {CATEGORIES[idea.category].label}\n \n
\n { e.stopPropagation(); openEdit(idea); }}\n className=\"text-slate-300 hover:text-blue-500\"\n >\n \n \n { e.stopPropagation(); handleDelete(idea.id); }}\n className=\"text-slate-300 hover:text-red-500\"\n >\n \n \n
\n
\n\n {/* CARD CONTENT */}\n
\n

{idea.title}

\n {idea.description && (\n

300 ? \"Description tronquée (voir détail)\" : undefined}>\n {truncatedDesc}\n

\n )}\n
\n\n
\n \n {new Date(idea.createdAt).toLocaleDateString()}\n \n \n
\n
\n );\n })}\n {columnIdeas.length === 0 && (\n
\n Vide\n Double-cliquez pour ajouter\n
\n )}\n
\n
\n );\n };\n\n return (\n
\n\n {/* Header & Add Form (Top Bar) */}\n
\n
\n

\n Boîte à Idées\n

\n

Organisez vos tâches, idées de scènes et recherches.

\n
\n\n
\n setNewIdeaCategory(e.target.value as IdeaCategory)}\n className=\"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n setNewIdeaTitle(e.target.value)}\n placeholder=\"Titre de la nouvelle idée...\"\n className=\"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300\"\n />\n \n \n \n \n
\n\n {/* Kanban Board */}\n
\n \n \n \n
\n\n {/* EDIT / QUICK ADD MODAL */}\n {editingItem && (\n
\n
\n
\n

\n {editingItem.id ? : }\n {editingItem.id ? 'Éditer la carte' : 'Ajouter une carte'}\n

\n \n
\n\n
\n
\n \n setEditingItem({ ...editingItem, title: e.target.value })}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300\"\n placeholder=\"Titre de la tâche ou de l'idée...\"\n autoFocus\n />\n
\n\n
\n \n setEditingItem({ ...editingItem, description: e.target.value })}\n maxLength={MAX_DESCRIPTION_LENGTH}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300\"\n placeholder=\"Détails, notes, liens...\"\n />\n
= MAX_DESCRIPTION_LENGTH ? 'text-red-500 font-bold' :\n (editingItem.description?.length || 0) > MAX_DESCRIPTION_LENGTH * 0.9 ? 'text-orange-500' : 'text-slate-400'\n }`}>\n {editingItem.description?.length || 0} / {MAX_DESCRIPTION_LENGTH} caractères\n
\n
\n\n
\n
\n \n setEditingItem({ ...editingItem, category: e.target.value as IdeaCategory })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n
\n
\n \n setEditingItem({ ...editingItem, status: e.target.value as IdeaStatus })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(STATUS_LABELS).map(([key, val]) => (\n \n ))}\n \n
\n
\n
\n\n
\n {editingItem.id && (\n handleDelete(editingItem.id!)}\n className=\"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2\"\n >\n Supprimer\n \n )}\n setEditingItem(null)}\n className=\"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300\"\n >\n Annuler\n \n \n Enregistrer\n \n
\n
\n
\n )}\n\n
\n );\n};\n\nexport default IdeaBoard;"],"names":[],"mappings":";;;;;AAEA;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AA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AS,IAAM,aAAa,YAAY,EAAE;oCAC1C,WAAU;8CACb;;;;;;8CAIL,yOAAC;oCACG,SAAS,IAAM,eAAe;oCAC9B,WAAU;8CACb;;;;;;8CAGD,yOAAC;oCACG,SAAS;oCACT,UAAU,CAAC,YAAY,KAAK,EAAE;oCAC9B,WAAU;;sDAEV,yOAAC,yPAAI;4CAAC,MAAM;;;;;;wCAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASlD;GAtVM;KAAA;uCAwVS"}}, - {"offset": {"line": 824, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/ideas/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport IdeaBoard from '@/components/IdeaBoard';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function IdeasPage() {\r\n const { project, updateProject } = useProjectContext();\r\n\r\n return (\r\n updateProject({ ideas })}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;;;AAHA;;;AAKe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,IAAA,wMAAiB;IAEpD,qBACI,yOAAC,yLAAS;QACN,OAAO,QAAQ,KAAK,IAAI,EAAE;QAC1B,UAAU,CAAC,QAAU,cAAc;gBAAE;YAAM;;;;;;AAGvD;GATwB;;QACe,wMAAiB;;;KADhC"}}, - {"offset": {"line": 865, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/grip-vertical.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/grip-vertical.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '9', cy: '12', r: '1', key: '1vctgf' }],\n ['circle', { cx: '9', cy: '5', r: '1', key: 'hp0tcf' }],\n ['circle', { cx: '9', cy: '19', r: '1', key: 'fkjjf6' }],\n ['circle', { cx: '15', cy: '12', r: '1', key: '1tmaij' }],\n ['circle', { cx: '15', cy: '5', r: '1', key: '19l28e' }],\n ['circle', { cx: '15', cy: '19', r: '1', key: 'f4zoj3' }],\n];\n\n/**\n * @component @name GripVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjUiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjE5IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iMTUiIGN5PSI1IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTkiIHI9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/grip-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GripVertical = createLucideIcon('grip-vertical', __iconNode);\n\nexport default GripVertical;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CA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CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACvD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,YAAA,CAAA,CAAA,KAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 950, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle-check-big.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-check-big.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21.801 10A10 10 0 1 1 17 3.335', key: 'yps3ct' }],\n ['path', { d: 'm9 11 3 3L22 4', key: '1pflzl' }],\n];\n\n/**\n * @component @name CircleCheckBig\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuODAxIDEwQTEwIDEwIDAgMSAxIDE3IDMuMzM1IiAvPgogIDxwYXRoIGQ9Im05IDExIDMgM0wyMiA0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check-big\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheckBig = createLucideIcon('circle-check-big', __iconNode);\n\nexport default CircleCheckBig;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAmC,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAkB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACjD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,cAAA,CAAA,CAAA,KAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAoB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 995, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }]];\n\n/**\n * @component @name Circle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Circle = createLucideIcon('circle', __iconNode);\n\nexport default Circle;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAuB;IAAC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAC;CAAA;AAa/F,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1035, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1082, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/search.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/search.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAoB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1129, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/pen-line.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/pen-line.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M13 21h8', key: '1jsn5i' }],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name PenLine\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgMjFoOCIgLz4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen-line\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PenLine = createLucideIcon('pen-line', __iconNode);\n\nexport default PenLine;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YACH,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA;KACP;CAEJ;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,OAAA,CAAA,CAAA,KAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 1174, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/save.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/save.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n key: '1c8476',\n },\n ],\n ['path', { d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7', key: '1ydtos' }],\n ['path', { d: 'M7 3v4a1 1 0 0 0 1 1h7', key: 't51u73' }],\n];\n\n/**\n * @component @name Save\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUuMiAzYTIgMiAwIDAgMSAxLjQuNmwzLjggMy44YTIgMiAwIDAgMSAuNiAxLjRWMTlhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yeiIgLz4KICA8cGF0aCBkPSJNMTcgMjF2LTdhMSAxIDAgMCAwLTEtMUg4YTEgMSAwIDAgMC0xIDF2NyIgLz4KICA8cGF0aCBkPSJNNyAzdjRhMSAxIDAgMCAwIDEgMWg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/save\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Save = createLucideIcon('save', __iconNode);\n\nexport default Save;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CA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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/IdeaBoard.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState } from 'react';\nimport { Idea, IdeaStatus, IdeaCategory } from '@/lib/types';\nimport { Plus, X, GripVertical, CheckCircle, Circle, Clock, Lightbulb, Search, Trash2, Edit3, Save } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { TranslationKey } from '@/lib/i18n/translations';\n\ninterface IdeaBoardProps {\n ideas: Idea[];\n onUpdate: (ideas: Idea[]) => void;\n}\n\nconst CATEGORIES: Record = {\n plot: { labelKey: 'ideaboard.cat_plot', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: Lightbulb },\n character: { labelKey: 'ideaboard.cat_char', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: Search },\n research: { labelKey: 'ideaboard.cat_research', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: Search },\n todo: { labelKey: 'ideaboard.cat_todo', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: CheckCircle },\n};\n\nconst STATUS_LABELS: Record = {\n todo: 'ideaboard.stat_todo',\n progress: 'ideaboard.stat_prog',\n done: 'ideaboard.stat_done'\n};\n\nconst MAX_DESCRIPTION_LENGTH = 500;\n\nconst IdeaBoard: React.FC = ({ ideas, onUpdate }) => {\n const { t } = useLanguage();\n const [newIdeaTitle, setNewIdeaTitle] = useState('');\n const [newIdeaCategory, setNewIdeaCategory] = useState('plot');\n\n // Drag and Drop State\n const [draggedIdeaId, setDraggedIdeaId] = useState(null);\n\n // Modal State for Edit/Quick Add\n const [editingItem, setEditingItem] = useState | null>(null);\n\n // --- ACTIONS ---\n\n const handleAddIdea = (e: React.FormEvent) => {\n e.preventDefault();\n if (!newIdeaTitle.trim()) return;\n\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: newIdeaTitle,\n description: '',\n category: newIdeaCategory,\n status: 'todo',\n createdAt: Date.now()\n };\n\n onUpdate([...ideas, newIdea]);\n setNewIdeaTitle('');\n };\n\n const handleDelete = (id: string) => {\n if (confirm(t('ideaboard.delete') + \" ?\")) {\n onUpdate(ideas.filter(i => i.id !== id));\n if (editingItem?.id === id) setEditingItem(null);\n }\n };\n\n const handleSaveEdit = () => {\n if (!editingItem || !editingItem.title?.trim()) return;\n\n if (editingItem.id) {\n // Update existing\n onUpdate(ideas.map(i => i.id === editingItem.id ? { ...i, ...editingItem } as Idea : i));\n } else {\n // Create new from modal\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: editingItem.title || '',\n description: editingItem.description || '',\n category: editingItem.category || 'plot',\n status: editingItem.status || 'todo',\n createdAt: Date.now()\n };\n onUpdate([...ideas, newIdea]);\n }\n setEditingItem(null);\n };\n\n const openQuickAdd = (status: IdeaStatus) => {\n setEditingItem({\n title: '',\n description: '',\n category: 'plot',\n status: status\n });\n };\n\n const openEdit = (idea: Idea) => {\n setEditingItem({ ...idea });\n };\n\n // --- DRAG HANDLERS ---\n\n const handleDragStart = (e: React.DragEvent, id: string) => {\n setDraggedIdeaId(id);\n e.dataTransfer.effectAllowed = 'move';\n };\n\n const handleDrop = (e: React.DragEvent, status: IdeaStatus) => {\n e.preventDefault();\n if (draggedIdeaId) {\n const updatedIdeas = ideas.map(idea =>\n idea.id === draggedIdeaId ? { ...idea, status } : idea\n );\n onUpdate(updatedIdeas);\n setDraggedIdeaId(null);\n }\n };\n\n const handleDragOver = (e: React.DragEvent) => {\n e.preventDefault();\n e.dataTransfer.dropEffect = 'move';\n };\n\n // --- RENDERERS ---\n\n const Column = ({ title, status, icon: Icon }: { title: string, status: IdeaStatus, icon: any }) => {\n const columnIdeas = ideas.filter(i => i.status === status);\n\n return (\n handleDrop(e, status)}\n onDoubleClick={() => openQuickAdd(status)}\n title={t('ideaboard.empty_desc')}\n >\n {/* Column Header */}\n
\n
\n \n {title}\n
\n
\n { e.stopPropagation(); openQuickAdd(status); }}\n className=\"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors\"\n >\n \n \n \n {columnIdeas.length}\n \n
\n
\n\n {/* Column Body */}\n
\n {columnIdeas.map(idea => {\n const truncatedDesc = idea.description.length > 300\n ? idea.description.substring(0, 300) + '...'\n : idea.description;\n\n return (\n handleDragStart(e, idea.id)}\n onDoubleClick={(e) => {\n e.stopPropagation(); // Prevent column double-click\n openEdit(idea);\n }}\n className=\"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200\"\n >\n
\n \n {t(CATEGORIES[idea.category].labelKey as TranslationKey)}\n \n
\n { e.stopPropagation(); openEdit(idea); }}\n className=\"text-slate-300 hover:text-blue-500\"\n >\n \n \n { e.stopPropagation(); handleDelete(idea.id); }}\n className=\"text-slate-300 hover:text-red-500\"\n >\n \n \n
\n
\n\n
\n

{idea.title}

\n {idea.description && (\n

300 ? \"Description tronquée (voir détail)\" : undefined}>\n {truncatedDesc}\n

\n )}\n
\n\n
\n \n {new Date(idea.createdAt).toLocaleDateString('fr-FR')}\n \n \n
\n
\n );\n })}\n {columnIdeas.length === 0 && (\n
\n {t('ideaboard.empty')}\n {t('ideaboard.empty_desc')}\n
\n )}\n \n \n );\n };\n\n return (\n
\n\n {/* Header & Add Form (Top Bar) */}\n
\n
\n

\n {t('ideaboard.title')}\n

\n

{t('ideaboard.desc')}

\n
\n\n
\n setNewIdeaCategory(e.target.value as IdeaCategory)}\n className=\"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n setNewIdeaTitle(e.target.value)}\n placeholder={t('ideaboard.add_idea')}\n className=\"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300\"\n />\n \n \n \n \n
\n\n {/* Kanban Board */}\n
\n \n \n \n
\n\n {/* EDIT / QUICK ADD MODAL */}\n {editingItem && (\n
\n
\n
\n

\n {editingItem.id ? : }\n {editingItem.id ? t('ideaboard.edit_card') : t('ideaboard.add_card')}\n

\n \n
\n\n
\n
\n \n setEditingItem({ ...editingItem, title: e.target.value })}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300\"\n placeholder={t('ideaboard.add_idea')}\n autoFocus\n />\n
\n\n
\n \n setEditingItem({ ...editingItem, description: e.target.value })}\n maxLength={MAX_DESCRIPTION_LENGTH}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300\"\n placeholder=\"Détails, notes, liens...\"\n />\n
= MAX_DESCRIPTION_LENGTH ? 'text-red-500 font-bold' :\n (editingItem.description?.length || 0) > MAX_DESCRIPTION_LENGTH * 0.9 ? 'text-orange-500' : 'text-slate-400'\n }`}>\n {editingItem.description?.length || 0} / {MAX_DESCRIPTION_LENGTH} caractères\n
\n
\n\n
\n
\n \n setEditingItem({ ...editingItem, category: e.target.value as IdeaCategory })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n
\n
\n \n setEditingItem({ ...editingItem, status: e.target.value as IdeaStatus })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(STATUS_LABELS).map(([key, val]) => (\n \n ))}\n \n
\n
\n
\n\n
\n {editingItem.id && (\n handleDelete(editingItem.id!)}\n className=\"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2\"\n >\n {t('ideaboard.delete')}\n \n )}\n setEditingItem(null)}\n className=\"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300\"\n >\n {t('ideaboard.cancel')}\n \n \n {t('ideaboard.save')}\n \n
\n
\n
\n )}\n\n
\n );\n};\n\nexport default IdeaBoard;"],"names":[],"mappings":";;;;;AAEA;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;;;AALA;;;;AAaA,MAAM,aAAmF;IACrF,MAAM;QAAE,UAAU;QAAsB,OAAO;QAA6C,MAAM,wQAAS;IAAC;IAC5G,WAAW;QAAE,UAAU;QAAsB,OAAO;QAA6C,MAAM,+PAAM;IAAC;IAC9G,UAAU;QAAE,UAAU;QAA0B,OAAO;QAAgD,MAAM,+PAAM;IAAC;IACpH,MAAM;QAAE,UAAU;QAAsB,OAAO;QAAgD,MAAM,yRAAW;IAAC;AACrH;AAEA,MAAM,gBAA4C;IAC9C,MAAM;IACN,UAAU;IACV,MAAM;AACV;AAEA,MAAM,yBAAyB;AAE/B,MAAM,YAAsC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE;;IAC5D,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,mMAAW;IACzB,MAAM,CAAC,cAAc,gBAAgB,GAAG,IAAA,qNAAQ,EAAC;IACjD,MAAM,CAAC,iBAAiB,mBAAmB,GAAG,IAAA,qNAAQ,EAAe;IAErE,sBAAsB;IACtB,MAAM,CAAC,eAAe,iBAAiB,GAAG,IAAA,qNAAQ,EAAgB;IAElE,iCAAiC;IACjC,MAAM,CAAC,a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C9E,yOAAC;oDACG,OAAO,YAAY,QAAQ;oDAC3B,UAAU,CAAC,IAAM,eAAe;4DAAE,GAAG,WAAW;4DAAE,UAAU,EAAE,MAAM,CAAC,KAAK;wDAAiB;oDAC3F,WAAU;8DAET,OAAO,OAAO,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,iBACvC,yOAAC;4DAAiB,OAAO;sEAAM,EAAE,IAAI,QAAQ;2DAAhC;;;;;;;;;;;;;;;;sDAIzB,yOAAC;;8DACG,yOAAC;oDAAM,WAAU;8DAA2D,EAAE;;;;;;8DAC9E,yOAAC;oDACG,OAAO,YAAY,MAAM;oDACzB,UAAU,CAAC,IAAM,eAAe;4DAAE,GAAG,WAAW;4DAAE,QAAQ,EAAE,MAAM,CAAC,KAAK;wDAAe;oDACvF,WAAU;8DAET,OAAO,OAAO,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,iBAC1C,yOAAC;4DAAiB,OAAO;sEAAM,EAAE;2DAApB;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAOjC,yOAAC;4BAAI,WAAU;;gCACV,YAAY,EAAE,kBACX,yOAAC;oCACG,SAAS,IAAM,aAAa,YAAY,EAAE;oCAC1C,WAAU;8CAET,EAAE;;;;;;8CAGX,yOAAC;oCACG,SAAS,IAAM,eAAe;oCAC9B,WAAU;8CAET,EAAE;;;;;;8CAEP,yOAAC;oCACG,SAAS;oCACT,UAAU,CAAC,YAAY,KAAK,EAAE;oCAC9B,WAAU;;sDAEV,yOAAC,yPAAI;4CAAC,MAAM;;;;;;wCAAM;wCAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAStD;GAtVM;;QACY,mMAAW;;;KADvB;uCAwVS"}}, + {"offset": {"line": 833, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/ideas/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport IdeaBoard from '@/components/IdeaBoard';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function IdeasPage() {\r\n const { project, updateProject } = useProjectContext();\r\n\r\n return (\r\n updateProject({ ideas })}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;;;AAHA;;;AAKe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,IAAA,wMAAiB;IAEpD,qBACI,yOAAC,yLAAS;QACN,OAAO,QAAQ,KAAK,IAAI,EAAE;QAC1B,UAAU,CAAC,QAAU,cAAc;gBAAE;YAAM;;;;;;AAGvD;GATwB;;QACe,wMAAiB;;;KADhC"}}, + {"offset": {"line": 874, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/grip-vertical.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/grip-vertical.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '9', cy: '12', r: '1', key: '1vctgf' }],\n ['circle', { cx: '9', cy: '5', r: '1', key: 'hp0tcf' }],\n ['circle', { cx: '9', cy: '19', r: '1', key: 'fkjjf6' }],\n ['circle', { cx: '15', cy: '12', r: '1', key: '1tmaij' }],\n ['circle', { cx: '15', cy: '5', r: '1', key: '19l28e' }],\n ['circle', { cx: '15', cy: '19', r: '1', key: 'f4zoj3' }],\n];\n\n/**\n * @component @name GripVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjUiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjE5IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iMTUiIGN5PSI1IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTkiIHI9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/grip-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GripVertical = createLucideIcon('grip-vertical', __iconNode);\n\nexport default GripVertical;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACvD;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,GAAA,CAAA;YAAK,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,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A,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 959, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle-check-big.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-check-big.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21.801 10A10 10 0 1 1 17 3.335', key: 'yps3ct' }],\n ['path', { d: 'm9 11 3 3L22 4', key: '1pflzl' }],\n];\n\n/**\n * @component @name CircleCheckBig\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuODAxIDEwQTEwIDEwIDAgMSAxIDE3IDMuMzM1IiAvPgogIDxwYXRoIGQ9Im05IDExIDMgM0wyMiA0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check-big\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheckBig = createLucideIcon('circle-check-big', __iconNode);\n\nexport default CircleCheckBig;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAmC,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAkB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACjD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,cAAA,CAAA,CAAA,KAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAoB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1004, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/circle.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }]];\n\n/**\n * @component @name Circle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Circle = createLucideIcon('circle', __iconNode);\n\nexport default Circle;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAuB;IAAC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAC;CAAA;AAa/F,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1044, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1091, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/search.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/search.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAoB,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1138, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/pen-line.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/pen-line.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M13 21h8', key: '1jsn5i' }],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name PenLine\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgMjFoOCIgLz4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen-line\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PenLine = createLucideIcon('pen-line', __iconNode);\n\nexport default PenLine;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAY,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA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CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1183, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/save.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/save.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n key: '1c8476',\n },\n ],\n ['path', { d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7', key: '1ydtos' }],\n ['path', { d: 'M7 3v4a1 1 0 0 0 1 1h7', key: 't51u73' }],\n];\n\n/**\n * @component @name Save\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUuMiAzYTIgMiAwIDAgMSAxLjQuNmwzLjggMy44YTIgMiAwIDAgMSAuNiAxLjRWMTlhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yeiIgLz4KICA8cGF0aCBkPSJNMTcgMjF2LTdhMSAxIDAgMCAwLTEtMUg4YTEgMSAwIDAgMC0xIDF2NyIgLz4KICA8cGF0aCBkPSJNNyAzdjRhMSAxIDAgMCAwIDEgMWg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/save\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Save = createLucideIcon('save', __iconNode);\n\nexport default Save;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YACH,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA;KAET;IACA;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA6C,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC1E;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA0B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACzD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] } \ No newline at end of file diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js index db01b13..99d48bb 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js @@ -16,12 +16,14 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__proje var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$clock$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Clock$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js [app-client] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$target$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Target$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/target.js [app-client] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$hash$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Hash$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/hash.js [app-client] (ecmascript) "); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)"); ; var _s = __turbopack_context__.k.signature(); 'use client'; ; ; ; +; const DEFAULT_SETTINGS = { genre: '', subGenre: '', @@ -34,6 +36,7 @@ const DEFAULT_SETTINGS = { }; const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ _s(); + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"])(); const [settings, setSettings] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(project.settings || DEFAULT_SETTINGS); const [showDeleteConfirm, setShowDeleteConfirm] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(false); (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ @@ -76,42 +79,42 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ size: 24 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 51, + lineNumber: 54, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 50, + lineNumber: 53, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h2", { className: "text-2xl font-bold", - children: "Paramètres Généraux du Roman" + children: t('book_settings.title') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 54, + lineNumber: 57, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-slate-400 text-sm", - children: "Définissez l'identité, le ton et les règles de votre œuvre pour guider l'IA." + children: t('book_settings.subtitle') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 55, + lineNumber: 58, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 53, + lineNumber: 56, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 49, + lineNumber: 52, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -128,14 +131,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "text-blue-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 62, + lineNumber: 65, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Informations de Base" + " ", + t('book_settings.basic_info') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 61, + lineNumber: 64, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -145,10 +149,10 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Titre du Roman" + children: t('book_settings.novel_title') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 66, + lineNumber: 69, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -161,23 +165,23 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 67, + lineNumber: 70, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 65, + lineNumber: 68, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Nom d'Auteur" + children: t('book_settings.author_name') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 75, + lineNumber: 78, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -190,51 +194,51 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 76, + lineNumber: 79, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 74, + lineNumber: 77, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 64, + lineNumber: 67, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Synopsis Global" + children: t('book_settings.global_synopsis') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 85, + lineNumber: 88, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { value: settings.synopsis, onChange: (e)=>handleChange('synopsis', e.target.value), className: "w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300", - placeholder: "De quoi parle votre histoire dans les grandes lignes ?" + placeholder: t('book_settings.synopsis_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 86, + lineNumber: 89, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 84, + lineNumber: 87, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 60, + lineNumber: 63, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("section", { @@ -248,14 +252,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "text-red-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 97, + lineNumber: 100, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Genre & Public" + " ", + t('book_settings.genre_audience') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 96, + lineNumber: 99, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -265,10 +270,10 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Genre Principal" + children: t('book_settings.main_genre') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 101, + lineNumber: 104, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -277,10 +282,10 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.genre, onChange: (e)=>handleChange('genre', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Fantasy" + placeholder: t('book_settings.genre_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 102, + lineNumber: 105, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("datalist", { @@ -289,28 +294,28 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: g }, g, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 111, + lineNumber: 114, columnNumber: 54 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 110, + lineNumber: 113, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 100, + lineNumber: 103, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Sous-Genre" + children: t('book_settings.sub_genre') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 115, + lineNumber: 118, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -318,26 +323,26 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.subGenre || '', onChange: (e)=>handleChange('subGenre', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Dark Fantasy" + placeholder: t('book_settings.subgenre_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 116, + lineNumber: 119, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 114, + lineNumber: 117, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Public Cible" + children: t('book_settings.target_audience') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 125, + lineNumber: 128, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -345,32 +350,32 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.targetAudience, onChange: (e)=>handleChange('targetAudience', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Jeune Adulte, Adulte..." + placeholder: t('book_settings.audience_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 126, + lineNumber: 129, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 124, + lineNumber: 127, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 99, + lineNumber: 102, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Thèmes Clés" + children: t('book_settings.key_themes') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 136, + lineNumber: 139, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -381,7 +386,7 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "absolute left-3 top-3 text-theme-muted" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 138, + lineNumber: 141, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -389,28 +394,28 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.themes, onChange: (e)=>handleChange('themes', e.target.value), className: "w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Vengeance, Rédemption, Voyage initiatique..." + placeholder: t('book_settings.themes_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 139, + lineNumber: 142, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 137, + lineNumber: 140, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 135, + lineNumber: 138, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 95, + lineNumber: 98, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("section", { @@ -424,14 +429,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ className: "text-purple-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 152, + lineNumber: 155, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Narration & Style" + " ", + t('book_settings.narration_style') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 151, + lineNumber: 154, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -446,14 +452,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 157, + lineNumber: 160, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), - " Point de Vue (POV)" + " ", + t('book_settings.pov') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 156, + lineNumber: 159, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -463,30 +470,30 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "", - children: "Sélectionner..." + children: t('book_settings.select') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 164, + lineNumber: 167, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["POV_OPTIONS"].map((o)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: o, - children: o + children: t(`pov_options.${o.toLowerCase().replace(/\s+/g, '_')}`) || o }, o, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 165, + lineNumber: 168, columnNumber: 59 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 159, + lineNumber: 162, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 155, + lineNumber: 158, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -498,14 +505,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 170, + lineNumber: 173, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), - " Temps du récit" + " ", + t('book_settings.tense') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 169, + lineNumber: 172, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -515,40 +523,40 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "", - children: "Sélectionner..." + children: t('book_settings.select') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 177, + lineNumber: 180, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["TENSE_OPTIONS"].map((o)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: o, - children: o + children: t(`tense_options.${o.toLowerCase().replace(/\s+/g, '_')}`) || o }, o, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 178, + lineNumber: 181, columnNumber: 61 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 172, + lineNumber: 175, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 168, + lineNumber: 171, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Ton Général" + children: t('book_settings.general_tone') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 182, + lineNumber: 185, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -557,36 +565,36 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ value: settings.tone, onChange: (e)=>handleChange('tone', e.target.value), className: "w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300", - placeholder: "Ex: Sombre, Ironique..." + placeholder: t('book_settings.tone_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 183, + lineNumber: 186, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("datalist", { id: "tone-suggestions", - children: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["TONES"].map((t)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: t - }, t, false, { + children: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["TONES"].map((tOption)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { + value: tOption + }, tOption, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 192, - columnNumber: 53 + lineNumber: 195, + columnNumber: 59 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 191, + lineNumber: 194, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 181, + lineNumber: 184, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 154, + lineNumber: 157, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -594,40 +602,40 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-semibold text-theme-muted mb-1", - children: "Guide de Style & Instructions IA (Prompt Système)" + children: t('book_settings.style_guide') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 198, + lineNumber: 201, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-xs text-theme-muted mb-2", - children: 'Ces instructions seront envoyées à l\'IA à chaque génération. Décrivez ici le style d\'écriture désiré (ex: "phrases courtes", "vocabulaire soutenu", "beaucoup de métaphores").' + children: t('book_settings.style_guide_help') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 201, + lineNumber: 204, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { value: project.styleGuide || '', onChange: (e)=>handleStyleGuideChange(e.target.value), className: "w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300", - placeholder: "Ex: Utilise un style descriptif et sensoriel. Évite les adverbes. Le narrateur est cynique." + placeholder: t('book_settings.style_guide_placeholder') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 204, + lineNumber: 207, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 197, + lineNumber: 200, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 150, + lineNumber: 153, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("section", { @@ -641,14 +649,15 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: "⚠️" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 215, + lineNumber: 218, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), - " Zone de Danger" + " ", + t('book_settings.danger_zone') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 214, + lineNumber: 217, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -656,18 +665,18 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h4", { className: "font-bold text-red-900 mb-2", - children: "Supprimer le projet" + children: t('book_settings.delete_project') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 218, + lineNumber: 221, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-sm text-red-700 mb-4", - children: "Cette action est irréversible. Toutes les données associées à ce projet (chapitres, entités, idées) seront définitivement effacées." + children: t('book_settings.delete_warning') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 219, + lineNumber: 222, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), showDeleteConfirm ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -675,75 +684,79 @@ const BookSettingsComponent = ({ project, onUpdate, onDeleteProject })=>{ children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-sm font-bold text-theme-text", - children: "Êtes-vous sûr ?" + children: t('book_settings.are_you_sure') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 224, + lineNumber: 227, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: onDeleteProject, className: "px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 text-sm font-bold opacity-90 transition-opacity", - children: "Oui, supprimer définitivement" + children: t('book_settings.confirm_delete') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 225, + lineNumber: 228, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setShowDeleteConfirm(false), className: "px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity", - children: "Annuler" + children: t('book_settings.cancel') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 231, + lineNumber: 234, columnNumber: 37 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 223, + lineNumber: 226, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setShowDeleteConfirm(true), className: "px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300", - children: "Supprimer ce projet" + children: t('book_settings.delete_button') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 239, + lineNumber: 242, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 217, + lineNumber: 220, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 213, + lineNumber: 216, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 59, + lineNumber: 62, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 47, + lineNumber: 50, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/BookSettings.tsx", - lineNumber: 46, + lineNumber: 49, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)); }; -_s(BookSettingsComponent, "m+RRhRw8O3oDeYcNvnA3GimiyYk="); +_s(BookSettingsComponent, "cDzaQCJWyoWxtQjCarryfimVhgg=", false, function() { + return [ + __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"] + ]; +}); _c = BookSettingsComponent; const __TURBOPACK__default__export__ = BookSettingsComponent; var _c; diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js.map b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js.map index 174edb0..482ee2d 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js.map +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_d99083a0._.js.map @@ -2,11 +2,11 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/BookSettings.tsx"],"sourcesContent":["'use client';\n\nimport React, { useEffect, useState } from 'react';\nimport { BookProject, BookSettings } from '@/lib/types';\nimport { GENRES, TONES, POV_OPTIONS, TENSE_OPTIONS } from '@/lib/constants';\nimport { Settings, Book, Feather, Users, Clock, Target, Hash } from 'lucide-react';\n\ninterface BookSettingsProps {\n project: BookProject;\n onUpdate: (project: BookProject) => void;\n onDeleteProject: () => void;\n}\n\nconst DEFAULT_SETTINGS: BookSettings = {\n genre: '',\n subGenre: '',\n targetAudience: '',\n tone: '',\n pov: '',\n tense: '',\n synopsis: '',\n themes: ''\n};\n\nconst BookSettingsComponent: React.FC = ({ project, onUpdate, onDeleteProject }) => {\n const [settings, setSettings] = useState(project.settings || DEFAULT_SETTINGS);\n const [showDeleteConfirm, setShowDeleteConfirm] = useState(false);\n\n useEffect(() => {\n if (project.settings) {\n setSettings(project.settings);\n }\n }, [project.settings]);\n\n const handleChange = (key: keyof BookSettings, value: string) => {\n const newSettings = { ...settings, [key]: value };\n setSettings(newSettings);\n onUpdate({ ...project, settings: newSettings });\n };\n\n const handleStyleGuideChange = (value: string) => {\n onUpdate({ ...project, styleGuide: value });\n };\n\n return (\n
\n
\n\n
\n
\n \n
\n
\n

Paramètres Généraux du Roman

\n

Définissez l'identité, le ton et les règles de votre œuvre pour guider l'IA.

\n
\n
\n\n
\n
\n

\n Informations de Base\n

\n
\n
\n \n onUpdate({ ...project, title: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300\"\n />\n
\n
\n \n onUpdate({ ...project, author: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n />\n
\n
\n
\n \n handleChange('synopsis', e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300\"\n placeholder=\"De quoi parle votre histoire dans les grandes lignes ?\"\n />\n
\n
\n\n
\n

\n Genre & Public\n

\n
\n
\n \n handleChange('genre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Fantasy\"\n />\n \n {GENRES.map(g => \n
\n
\n \n handleChange('subGenre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Dark Fantasy\"\n />\n
\n
\n \n handleChange('targetAudience', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Jeune Adulte, Adulte...\"\n />\n
\n
\n
\n \n
\n \n handleChange('themes', e.target.value)}\n className=\"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Vengeance, Rédemption, Voyage initiatique...\"\n />\n
\n
\n
\n\n
\n

\n Narration & Style\n

\n
\n
\n \n handleChange('pov', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {POV_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tense', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {TENSE_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tone', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Sombre, Ironique...\"\n />\n \n {TONES.map(t => \n
\n
\n\n
\n \n

\n Ces instructions seront envoyées à l'IA à chaque génération. Décrivez ici le style d'écriture désiré (ex: \"phrases courtes\", \"vocabulaire soutenu\", \"beaucoup de métaphores\").\n

\n handleStyleGuideChange(e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300\"\n placeholder=\"Ex: Utilise un style descriptif et sensoriel. Évite les adverbes. Le narrateur est cynique.\"\n />\n
\n
\n\n
\n

\n ⚠️ Zone de Danger\n

\n
\n

Supprimer le projet

\n

\n Cette action est irréversible. Toutes les données associées à ce projet (chapitres, entités, idées) seront définitivement effacées.\n

\n {showDeleteConfirm ? (\n
\n Êtes-vous sûr ?\n \n Oui, supprimer définitivement\n \n setShowDeleteConfirm(false)}\n className=\"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity\"\n >\n Annuler\n \n
\n ) : (\n setShowDeleteConfirm(true)}\n className=\"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300\"\n >\n Supprimer ce projet\n \n )}\n
\n
\n
\n
\n
\n );\n};\n\nexport default BookSettingsComponent;"],"names":[],"mappings":";;;;;AAEA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AALA;;;;AAaA,MAAM,mBAAiC;IACnC,OAAO;IACP,UAAU;IACV,gBAAgB;IAChB,MAAM;IACN,KAAK;IACL,OAAO;IACP,UAAU;IACV,QAAQ;AACZ;AAEA,MAAM,wBAAqD,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE;;IAC9F,MAAM,CAAC,UAAU,YAAY,GAAG,IAAA,qNAAQ,EAAe,QAAQ,QAAQ,IAAI;IAC3E,MAAM,CAAC,mBAAmB,qBAAqB,GAAG,IAAA,qNAAQ,EAAC;IAE3D,IAAA,sNAAS;2CAAC;YACN,IAAI,QAAQ,QAAQ,EAAE;gBAClB,YAAY,QAAQ,QAAQ;YAChC;QACJ;0CAAG;QAAC,QAAQ,QAAQ;KAAC;IAErB,MAAM,eAAe,CAAC,KAAyB;QAC3C,MAAM,cAAc;YAAE,GAAG,QAAQ;YAAE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AAK,yOAAC;4DAAe,OAAO;2DAAV;;;;;;;;;;;;;;;;;;;;;;8CAKzC,yOAAC;oCAAI,WAAU;;sDACX,yOAAC;4CAAM,WAAU;sDAAoD;;;;;;sDAGrE,yOAAC;4CAAE,WAAU;sDAAgC;;;;;;sDAG7C,yOAAC;4CACG,OAAO,QAAQ,UAAU,IAAI;4CAC7B,UAAU,CAAC,IAAM,uBAAuB,EAAE,MAAM,CAAC,KAAK;4CACtD,WAAU;4CACV,aAAY;;;;;;;;;;;;;;;;;;sCAKxB,yOAAC;4BAAQ,WAAU;;8CACf,yOAAC;oCAAG,WAAU;;sDACV,yOAAC;4CAAK,WAAU;sDAAyB;;;;;;wCAAS;;;;;;;8CAEtD,yOAAC;oCAAI,WAAU;;sDACX,yOAAC;4CAAG,WAAU;sDAA8B;;;;;;sDAC5C,yOAAC;4CAAE,WAAU;sDAA4B;;;;;;wCAGxC,kCACG,yOAAC;4CAAI,WAAU;;8DACX,yOAAC;oDAAK,WAAU;8DAAoC;;;;;;8DACpD,yOAAC;oDACG,SAAS;oDACT,WAAU;8DACb;;;;;;8DAGD,yOAAC;oDACG,SAAS,IAAM,qBAAqB;oDACpC,WAAU;8DACb;;;;;;;;;;;qGAKL,yOAAC;4CACG,SAAS,IAAM,qBAAqB;4CACpC,WAAU;sDACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUjC;GAnOM;KAAA;uCAqOS"}}, - {"offset": {"line": 757, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/settings/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport BookSettingsComponent from '@/components/BookSettings';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function SettingsPage() {\r\n const { project, updateProject, deleteProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject(updates)}\r\n onDeleteProject={async () => {\r\n await deleteProject();\r\n router.push('/dashboard');\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;;;AAJA;;;;AAMe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,IAAA,wMAAiB;IACnE,MAAM,SAAS,IAAA,8LAAS;IAExB,qBACI,yOAAC,4LAAqB;QAClB,SAAS;QACT,UAAU,CAAC,UAAY,cAAc;QACrC,iBAAiB;YACb,MAAM;YACN,OAAO,IAAI,CAAC;QAChB;;;;;;AAGZ;GAdwB;;QAC8B,wMAAiB;QACpD,8LAAS;;;KAFJ"}}, - {"offset": {"line": 804, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/feather.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/feather.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z',\n key: '18jl4k',\n },\n ],\n ['path', { d: 'M16 8 2 22', key: 'vp34q' }],\n ['path', { d: 'M17.5 15H9', key: '1oz8nu' }],\n];\n\n/**\n * @component @name Feather\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuNjcgMTlhMiAyIDAgMCAwIDEuNDE2LS41ODhsNi4xNTQtNi4xNzJhNiA2IDAgMCAwLTguNDktOC40OUw1LjU4NiA5LjkxNEEyIDIgMCAwIDAgNSAxMS4zMjhWMThhMSAxIDAgMCAwIDEgMXoiIC8+CiAgPHBhdGggZD0iTTE2IDggMiAyMiIgLz4KICA8cGF0aCBkPSJNMTcuNSAxNUg5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/feather\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Feather = createLucideIcon('feather', __iconNode);\n\nexport default Feather;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YACH,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA;KAET;IACA;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAc,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAS;KAAA;IAC1C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAc,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CAC7C;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,OAAA,CAAA,CAAA,KAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 856, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/users.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/users.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2', key: '1yyitq' }],\n ['path', { d: 'M16 3.128a4 4 0 0 1 0 7.744', key: '16gr8j' }],\n ['path', { d: 'M22 21v-2a4 4 0 0 0-3-3.87', key: 'kshegd' }],\n ['circle', { cx: '9', cy: '7', r: '4', key: 'nufk8' }],\n];\n\n/**\n * @component @name Users\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTYgMjF2LTJhNCA0IDAgMCAwLTQtNEg2YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8cGF0aCBkPSJNMTYgMy4xMjhhNCA0IDAgMCAxIDAgNy43NDQiIC8+CiAgPHBhdGggZD0iTTIyIDIxdi0yYTQgNCAwIDAgMC0zLTMuODciIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/users\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Users = createLucideIcon('users', __iconNode);\n\nexport default Users;\n"],"names":[],"mappings":";;;;;;;;;;;;;A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CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,GAAA,CAAA;YAAK,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,OAAA;QAAA,CAAS;KAAA;CACvD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 917, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, - {"offset": {"line": 964, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/target.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __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column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/hash.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/hash.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n];\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iOSIgeTI9IjkiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE1IiB5Mj0iMTUiIC8+CiAgPGxpbmUgeDE9IjEwIiB4Mj0iOCIgeTE9IjMiIHkyPSIyMSIgLz4KICA8bGluZSB4MT0iMTYiIHgyPSIxNCIgeTE9IjMiIHkyPSIyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon('hash', __iconNode);\n\nexport default Hash;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC/D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,MAAA,CAAA;QAAQ,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACnE;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/BookSettings.tsx"],"sourcesContent":["'use client';\n\nimport React, { useEffect, useState } from 'react';\nimport { BookProject, BookSettings } from '@/lib/types';\nimport { GENRES, TONES, POV_OPTIONS, TENSE_OPTIONS } from '@/lib/constants';\nimport { Settings, Book, Feather, Users, Clock, Target, Hash } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { TranslationKey } from '@/lib/i18n/translations';\n\ninterface BookSettingsProps {\n project: BookProject;\n onUpdate: (project: BookProject) => void;\n onDeleteProject: () => void;\n}\n\nconst DEFAULT_SETTINGS: BookSettings = {\n genre: '',\n subGenre: '',\n targetAudience: '',\n tone: '',\n pov: '',\n tense: '',\n synopsis: '',\n themes: ''\n};\n\nconst BookSettingsComponent: React.FC = ({ project, onUpdate, onDeleteProject }) => {\n const { t } = useLanguage();\n const [settings, setSettings] = useState(project.settings || DEFAULT_SETTINGS);\n const [showDeleteConfirm, setShowDeleteConfirm] = useState(false);\n\n useEffect(() => {\n if (project.settings) {\n setSettings(project.settings);\n }\n }, [project.settings]);\n\n const handleChange = (key: keyof BookSettings, value: string) => {\n const newSettings = { ...settings, [key]: value };\n setSettings(newSettings);\n onUpdate({ ...project, settings: newSettings });\n };\n\n const handleStyleGuideChange = (value: string) => {\n onUpdate({ ...project, styleGuide: value });\n };\n\n return (\n
\n
\n\n
\n
\n \n
\n
\n

{t('book_settings.title')}

\n

{t('book_settings.subtitle')}

\n
\n
\n\n
\n
\n

\n {t('book_settings.basic_info')}\n

\n
\n
\n \n onUpdate({ ...project, title: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300\"\n />\n
\n
\n \n onUpdate({ ...project, author: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n />\n
\n
\n
\n \n handleChange('synopsis', e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300\"\n placeholder={t('book_settings.synopsis_placeholder')}\n />\n
\n
\n\n
\n

\n {t('book_settings.genre_audience')}\n

\n
\n
\n \n handleChange('genre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.genre_placeholder')}\n />\n \n {GENRES.map(g => \n
\n
\n \n handleChange('subGenre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.subgenre_placeholder')}\n />\n
\n
\n \n handleChange('targetAudience', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.audience_placeholder')}\n />\n
\n
\n
\n \n
\n \n handleChange('themes', e.target.value)}\n className=\"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.themes_placeholder')}\n />\n
\n
\n
\n\n
\n

\n {t('book_settings.narration_style')}\n

\n
\n
\n \n handleChange('pov', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {POV_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tense', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {TENSE_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tone', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.tone_placeholder')}\n />\n \n {TONES.map(tOption => \n
\n
\n\n
\n \n

\n {t('book_settings.style_guide_help')}\n

\n handleStyleGuideChange(e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300\"\n placeholder={t('book_settings.style_guide_placeholder')}\n />\n
\n
\n\n
\n

\n ⚠️ {t('book_settings.danger_zone')}\n

\n
\n

{t('book_settings.delete_project')}

\n

\n {t('book_settings.delete_warning')}\n

\n {showDeleteConfirm ? (\n
\n {t('book_settings.are_you_sure')}\n \n {t('book_settings.confirm_delete')}\n \n setShowDeleteConfirm(false)}\n className=\"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity\"\n >\n {t('book_settings.cancel')}\n \n
\n ) : (\n setShowDeleteConfirm(true)}\n className=\"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300\"\n >\n {t('book_settings.delete_button')}\n \n )}\n
\n
\n
\n
\n
\n );\n};\n\nexport default BookSettingsComponent;"],"names":[],"mappings":";;;;;AAEA;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;;;AANA;;;;;AAeA,MAAM,mBAAiC;IACnC,OAAO;IACP,UAAU;IACV,gBAAgB;IAChB,MAAM;IACN,KAAK;IACL,OAAO;IACP,UAAU;IACV,QAAQ;AACZ;AAEA,MAAM,wBAAqD,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE;;IAC9F,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,mMAAW;IACzB,MAAM,CAAC,UAAU,YAAY,GAAG,IAAA,qNAAQ,EAAe,QAAQ,QAAQ,IAAI;IAC3E,MAAM,CAAC,mBAAmB,qBAAqB,GAAG,IAAA,qNAAQ,EAAC;IAE3D,IAAA,sNAAS;2CAAC;YACN,IAAI,QAAQ,QAAQ,EAAE;gBAClB,YAAY,QAAQ,QAAQ;YAChC;QACJ;0CAAG;QAAC,QAAQ,QAAQ;KAAC;IAErB,MAAM,eAAe,CAAC,KAAyB;QAC3C,MAAM,cAAc;YAAE,GAAG,QAAQ;YAAE,CAAC,IAAI,EAAE;QAAM;QAChD,YAAY;QACZ,SAAS;YAAE,GAAG,OAAO;YAAE,UAAU;QAAY;IACjD;IAEA,MAAM,yBAAyB,CAAC;QAC5B,SAAS;YAAE,GAAG,OAAO;YAAE,YAAY;QAAM;IAC7C;IAEA,qBACI,yOAA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AQ,EAAE,MAAM,CAAC,KAAK;oDACpD,WAAU;oDACV,aAAa,EAAE;;;;;;8DAEnB,yOAAC;oDAAS,IAAG;8DACR,+KAAK,CAAC,GAAG,CAAC,CAAA,wBAAW,yOAAC;4DAAqB,OAAO;2DAAhB;;;;;;;;;;;;;;;;;;;;;;8CAK/C,yOAAC;oCAAI,WAAU;;sDACX,yOAAC;4CAAM,WAAU;sDACZ,EAAE;;;;;;sDAEP,yOAAC;4CAAE,WAAU;sDACR,EAAE;;;;;;sDAEP,yOAAC;4CACG,OAAO,QAAQ,UAAU,IAAI;4CAC7B,UAAU,CAAC,IAAM,uBAAuB,EAAE,MAAM,CAAC,KAAK;4CACtD,WAAU;4CACV,aAAa,EAAE;;;;;;;;;;;;;;;;;;sCAK3B,yOAAC;4BAAQ,WAAU;;8CACf,yOAAC;oCAAG,WAAU;;sDACV,yOAAC;4CAAK,WAAU;sDAAyB;;;;;;wCAAS;wCAAE,EAAE;;;;;;;8CAE1D,yOAAC;oCAAI,WAAU;;sDACX,yOAAC;4CAAG,WAAU;sDAA+B,EAAE;;;;;;sDAC/C,yOAAC;4CAAE,WAAU;sDACR,EAAE;;;;;;wCAEN,kCACG,yOAAC;4CAAI,WAAU;;8DACX,yOAAC;oDAAK,WAAU;8DAAqC,EAAE;;;;;;8DACvD,yOAAC;oDACG,SAAS;oDACT,WAAU;8DAET,EAAE;;;;;;8DAEP,yOAAC;oDACG,SAAS,IAAM,qBAAqB;oDACpC,WAAU;8DAET,EAAE;;;;;;;;;;;qGAIX,yOAAC;4CACG,SAAS,IAAM,qBAAqB;4CACpC,WAAU;sDAET,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASvC;GApOM;;QACY,mMAAW;;;KADvB;uCAsOS"}}, + {"offset": {"line": 770, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/settings/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport BookSettingsComponent from '@/components/BookSettings';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function SettingsPage() {\r\n const { project, updateProject, deleteProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject(updates)}\r\n onDeleteProject={async () => {\r\n await deleteProject();\r\n router.push('/dashboard');\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;;;AAJA;;;;AAMe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,IAAA,wMAAiB;IACnE,MAAM,SAAS,IAAA,8LAAS;IAExB,qBACI,yOAAC,4LAAqB;QAClB,SAAS;QACT,UAAU,CAAC,UAAY,cAAc;QACrC,iBAAiB;YACb,MAAM;YACN,OAAO,IAAI,CAAC;QAChB;;;;;;AAGZ;GAdwB;;QAC8B,wMAAiB;QACpD,8LAAS;;;KAFJ"}}, + {"offset": {"line": 817, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/feather.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/feather.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z',\n key: '18jl4k',\n },\n ],\n ['path', { d: 'M16 8 2 22', key: 'vp34q' }],\n ['path', { d: 'M17.5 15H9', key: '1oz8nu' }],\n];\n\n/**\n * @component @name Feather\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuNjcgMTlhMiAyIDAgMCAwIDEuNDE2LS41ODhsNi4xNTQtNi4xNzJhNiA2IDAgMCAwLTguNDktOC40OUw1LjU4NiA5LjkxNEEyIDIgMCAwIDAgNSAxMS4zMjhWMThhMSAxIDAgMCAwIDEgMXoiIC8+CiAgPHBhdGggZD0iTTE2IDggMiAyMiIgLz4KICA8cGF0aCBkPSJNMTcuNSAxNUg5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/feather\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Feather = createLucideIcon('feather', __iconNode);\n\nexport default Feather;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QACA;YACE,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CA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A,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 869, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/users.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/users.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2', key: '1yyitq' }],\n ['path', { d: 'M16 3.128a4 4 0 0 1 0 7.744', key: '16gr8j' }],\n ['path', { d: 'M22 21v-2a4 4 0 0 0-3-3.87', key: 'kshegd' }],\n ['circle', { cx: '9', cy: '7', r: '4', key: 'nufk8' }],\n];\n\n/**\n * @component @name Users\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTYgMjF2LTJhNCA0IDAgMCAwLTQtNEg2YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8cGF0aCBkPSJNMTYgMy4xMjhhNCA0IDAgMCAxIDAgNy43NDQiIC8+CiAgPHBhdGggZD0iTTIyIDIxdi0yYTQgNCAwIDAgMC0zLTMuODciIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/users\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Users = createLucideIcon('users', __iconNode);\n\nexport default Users;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA6C,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC1E;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA+B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAA8B,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC3D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,GAAA,CAAA;YAAK,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,OAAA;QAAA,CAAS;KAAA;CACvD;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 930, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/clock.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,GAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAAe,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC5C;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC3D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,KAAA,CAAA,CAAA,KAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 977, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/target.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __iconNode);\n\nexport default Target;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACzD;QAAC,QAAA,CAAA;QAAU,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,EAAG,CAAA,CAAA,CAAA,CAAA;YAAK,GAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACxD;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAU;YAAE,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,QAAA;QAAA,CAAU;KAAA;CAC1D;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,MAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}, + {"offset": {"line": 1035, "column": 0}, "map": {"version":3,"file":"turbopack:///[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/hash.js","sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/hash.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n];\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iOSIgeTI9IjkiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE1IiB5Mj0iMTUiIC8+CiAgPGxpbmUgeDE9IjEwIiB4Mj0iOCIgeTE9IjMiIHkyPSIyMSIgLz4KICA8bGluZSB4MT0iMTYiIHgyPSIxNCIgeTE9IjMiIHkyPSIyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon('hash', __iconNode);\n\nexport default Hash;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,UAAA,CAAA,CAAA,CAAuB;IAClC;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAC/D;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IACjE;QAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAQ,CAAA;YAAE,CAAA,CAAA,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;IAChE;QAAC,MAAA,CAAA;QAAQ,CAAA;YAAE,EAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA;YAAK,CAAA,CAAA,CAAA,CAAI,IAAA,CAAA;YAAM,CAAA,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAAA,CAAU;KAAA;CACnE;AAaA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,IAAA,CAAA,CAAA,KAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6MAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA"}}] } \ No newline at end of file diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css index 9cb9654..3c46f44 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css @@ -716,6 +716,10 @@ z-index: 20; } + .z-30 { + z-index: 30; + } + .z-40 { z-index: 40; } @@ -1020,10 +1024,6 @@ height: calc(var(--spacing) * 96); } - .h-\[500px\] { - height: 500px; - } - .h-\[4000px\] { height: 4000px; } @@ -1388,10 +1388,6 @@ gap: calc(var(--spacing) * 8); } - .gap-12 { - gap: calc(var(--spacing) * 12); - } - :where(.space-y-1 > :not(:last-child)) { --tw-space-y-reverse: 0; margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse)); @@ -2039,11 +2035,21 @@ } } + .bg-gradient-to-br { + --tw-gradient-position: to bottom right in oklab; + background-image: linear-gradient(var(--tw-gradient-stops)); + } + .bg-gradient-to-r { --tw-gradient-position: to right in oklab; background-image: linear-gradient(var(--tw-gradient-stops)); } + .from-blue-500 { + --tw-gradient-from: var(--color-blue-500); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .from-blue-500\/20 { --tw-gradient-from: #3080ff33; } @@ -2125,6 +2131,11 @@ --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); } + .to-indigo-600 { + --tw-gradient-to: var(--color-indigo-600); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .to-slate-300 { --tw-gradient-to: var(--color-slate-300); --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); @@ -2263,6 +2274,10 @@ padding-block: calc(var(--spacing) * 12); } + .py-16 { + padding-block: calc(var(--spacing) * 16); + } + .py-20 { padding-block: calc(var(--spacing) * 20); } @@ -3515,12 +3530,24 @@ opacity: .5; } + @media (min-width: 40rem) { + .sm\:block { + display: block; + } + } + @media (min-width: 40rem) { .sm\:inline { display: inline; } } + @media (min-width: 40rem) { + .sm\:h-\[400px\] { + height: 400px; + } + } + @media (min-width: 40rem) { .sm\:w-auto { width: auto; @@ -3533,18 +3560,55 @@ } } + @media (min-width: 40rem) { + .sm\:p-6 { + padding: calc(var(--spacing) * 6); + } + } + @media (min-width: 40rem) { .sm\:p-12 { padding: calc(var(--spacing) * 12); } } + @media (min-width: 40rem) { + .sm\:px-5 { + padding-inline: calc(var(--spacing) * 5); + } + } + + @media (min-width: 40rem) { + .sm\:py-2\.5 { + padding-block: calc(var(--spacing) * 2.5); + } + } + + @media (min-width: 40rem) { + .sm\:text-sm { + font-size: var(--text-sm); + line-height: var(--tw-leading, var(--text-sm--line-height)); + } + } + + @media (min-width: 48rem) { + .md\:block { + display: block; + } + } + @media (min-width: 48rem) { .md\:flex { display: flex; } } + @media (min-width: 48rem) { + .md\:h-\[500px\] { + height: 500px; + } + } + @media (min-width: 48rem) { .md\:w-1\/3 { width: 33.3333%; @@ -3593,12 +3657,67 @@ } } + @media (min-width: 48rem) { + .md\:gap-6 { + gap: calc(var(--spacing) * 6); + } + } + + @media (min-width: 48rem) { + .md\:gap-12 { + gap: calc(var(--spacing) * 12); + } + } + + @media (min-width: 48rem) { + .md\:p-6 { + padding: calc(var(--spacing) * 6); + } + } + + @media (min-width: 48rem) { + .md\:p-8 { + padding: calc(var(--spacing) * 8); + } + } + @media (min-width: 48rem) { .md\:p-12 { padding: calc(var(--spacing) * 12); } } + @media (min-width: 48rem) { + .md\:px-5 { + padding-inline: calc(var(--spacing) * 5); + } + } + + @media (min-width: 48rem) { + .md\:px-8 { + padding-inline: calc(var(--spacing) * 8); + } + } + + @media (min-width: 48rem) { + .md\:py-2\.5 { + padding-block: calc(var(--spacing) * 2.5); + } + } + + @media (min-width: 48rem) { + .md\:py-24 { + padding-block: calc(var(--spacing) * 24); + } + } + + @media (min-width: 48rem) { + .md\:text-4xl { + font-size: var(--text-4xl); + line-height: var(--tw-leading, var(--text-4xl--line-height)); + } + } + @media (min-width: 48rem) { .md\:text-5xl { font-size: var(--text-5xl); @@ -3613,6 +3732,26 @@ } } + @media (min-width: 48rem) { + .md\:text-sm { + font-size: var(--text-sm); + line-height: var(--tw-leading, var(--text-sm--line-height)); + } + } + + @media (min-width: 48rem) { + .md\:text-xl { + font-size: var(--text-xl); + line-height: var(--tw-leading, var(--text-xl--line-height)); + } + } + + @media (min-width: 64rem) { + .lg\:relative { + position: relative; + } + } + @media (min-width: 64rem) { .lg\:col-span-2 { grid-column: span 2 / span 2; @@ -3625,6 +3764,12 @@ } } + @media (min-width: 64rem) { + .lg\:hidden { + display: none; + } + } + @media (min-width: 64rem) { .lg\:w-1\/2 { width: 50%; @@ -3643,6 +3788,13 @@ } } + @media (min-width: 64rem) { + .lg\:shadow-none { + --tw-shadow: 0 0 #0000; + box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); + } + } + @media (prefers-color-scheme: dark) { .dark\:border-slate-700 { border-color: var(--color-slate-700); diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css.map b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css.map index 3dd01af..3580257 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css.map +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_app_globals_css_bad6b30c._.single.css.map @@ -2,5 +2,5 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/Documents/00 - projet/plumeia/src/app/globals.css"],"sourcesContent":["/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: 'Inter', sans-serif;\n --font-serif: 'Merriweather', serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-100: oklch(93.6% 0.032 17.717);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-red-700: oklch(50.5% 0.213 27.518);\n --color-red-900: oklch(39.6% 0.141 25.723);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-200: oklch(90.1% 0.076 70.697);\n --color-orange-500: oklch(70.5% 0.213 47.604);\n --color-orange-600: oklch(64.6% 0.222 41.116);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-yellow-100: oklch(97.3% 0.071 103.193);\n --color-yellow-400: oklch(85.2% 0.199 91.936);\n --color-yellow-500: oklch(79.5% 0.184 86.047);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-700: oklch(52.7% 0.154 150.069);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-600: oklch(55.8% 0.288 302.321);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-gray-100: oklch(96.7% 0.003 264.542);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-md: 28rem;\n --container-lg: 32rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --container-4xl: 56rem;\n --container-5xl: 64rem;\n --container-6xl: 72rem;\n --container-7xl: 80rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wide: 0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-relaxed: 1.625;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-3xl: 64px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n --color-theme-bg: var(--theme-bg);\n --color-theme-panel: var(--theme-panel);\n --color-theme-text: var(--theme-text);\n --color-theme-muted: var(--theme-muted);\n --color-theme-border: var(--theme-border);\n --color-theme-editor-bg: var(--theme-editor-bg);\n --color-theme-editor-text: var(--theme-editor-text);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .-inset-4 {\n inset: calc(var(--spacing) * -4);\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .start {\n inset-inline-start: var(--spacing);\n }\n .end {\n inset-inline-end: var(--spacing);\n }\n .-top-2 {\n top: calc(var(--spacing) * -2);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1\\.5 {\n top: calc(var(--spacing) * 1.5);\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-3 {\n top: calc(var(--spacing) * 3);\n }\n .top-3\\.5 {\n top: calc(var(--spacing) * 3.5);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-8 {\n top: calc(var(--spacing) * 8);\n }\n .top-10 {\n top: calc(var(--spacing) * 10);\n }\n .-right-1 {\n right: calc(var(--spacing) * -1);\n }\n .-right-3 {\n right: calc(var(--spacing) * -3);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-1\\.5 {\n right: calc(var(--spacing) * 1.5);\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-10 {\n right: calc(var(--spacing) * 10);\n }\n .right-\\[-10px\\] {\n right: -10px;\n }\n .-bottom-1 {\n bottom: calc(var(--spacing) * -1);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .bottom-2 {\n bottom: calc(var(--spacing) * 2);\n }\n .bottom-10 {\n bottom: calc(var(--spacing) * 10);\n }\n .bottom-full {\n bottom: 100%;\n }\n .-left-2 {\n left: calc(var(--spacing) * -2);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .left-4 {\n left: calc(var(--spacing) * 4);\n }\n .left-10 {\n left: calc(var(--spacing) * 10);\n }\n .left-\\[calc\\(50\\%\\+420px\\)\\] {\n left: calc(50% + 420px);\n }\n .-z-1 {\n z-index: calc(1 * -1);\n }\n .-z-10 {\n z-index: calc(10 * -1);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-40 {\n z-index: 40;\n }\n .z-50 {\n z-index: 50;\n }\n .col-span-2 {\n grid-column: span 2 / span 2;\n }\n .col-span-3 {\n grid-column: span 3 / span 3;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .-m-8 {\n margin: calc(var(--spacing) * -8);\n }\n .m-1 {\n margin: calc(var(--spacing) * 1);\n }\n .mx-1 {\n margin-inline: calc(var(--spacing) * 1);\n }\n .mx-2 {\n margin-inline: calc(var(--spacing) * 2);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .-mt-20 {\n margin-top: calc(var(--spacing) * -20);\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-5 {\n margin-top: calc(var(--spacing) * 5);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mt-10 {\n margin-top: calc(var(--spacing) * 10);\n }\n .mt-12 {\n margin-top: calc(var(--spacing) * 12);\n }\n .mt-20 {\n margin-top: calc(var(--spacing) * 20);\n }\n .mt-auto {\n margin-top: auto;\n }\n .mr-4 {\n margin-right: calc(var(--spacing) * 4);\n }\n .mr-6 {\n margin-right: calc(var(--spacing) * 6);\n }\n .mr-auto {\n margin-right: auto;\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .mb-8 {\n margin-bottom: calc(var(--spacing) * 8);\n }\n .mb-10 {\n margin-bottom: calc(var(--spacing) * 10);\n }\n .mb-12 {\n margin-bottom: calc(var(--spacing) * 12);\n }\n .mb-16 {\n margin-bottom: calc(var(--spacing) * 16);\n }\n .ml-1 {\n margin-left: calc(var(--spacing) * 1);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .line-clamp-3 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-20 {\n height: calc(var(--spacing) * 20);\n }\n .h-24 {\n height: calc(var(--spacing) * 24);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-96 {\n height: calc(var(--spacing) * 96);\n }\n .h-\\[500px\\] {\n height: 500px;\n }\n .h-\\[4000px\\] {\n height: 4000px;\n }\n .h-full {\n height: 100%;\n }\n .h-px {\n height: 1px;\n }\n .h-screen {\n height: 100vh;\n }\n .max-h-48 {\n max-height: calc(var(--spacing) * 48);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[90\\%\\] {\n max-height: 90%;\n }\n .max-h-\\[90vh\\] {\n max-height: 90vh;\n }\n .min-h-0 {\n min-height: calc(var(--spacing) * 0);\n }\n .min-h-\\[120px\\] {\n min-height: 120px;\n }\n .min-h-\\[1000px\\] {\n min-height: 1000px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-1\\/2 {\n width: calc(1 / 2 * 100%);\n }\n .w-1\\/3 {\n width: calc(1 / 3 * 100%);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-24 {\n width: calc(var(--spacing) * 24);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-48 {\n width: calc(var(--spacing) * 48);\n }\n .w-56 {\n width: calc(var(--spacing) * 56);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-80 {\n width: calc(var(--spacing) * 80);\n }\n .w-96 {\n width: calc(var(--spacing) * 96);\n }\n .w-\\[600px\\] {\n width: 600px;\n }\n .w-\\[800px\\] {\n width: 800px;\n }\n .w-\\[4000px\\] {\n width: 4000px;\n }\n .w-full {\n width: 100%;\n }\n .w-max {\n width: max-content;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-5xl {\n max-width: var(--container-5xl);\n }\n .max-w-6xl {\n max-width: var(--container-6xl);\n }\n .max-w-7xl {\n max-width: var(--container-7xl);\n }\n .max-w-\\[85\\%\\] {\n max-width: 85%;\n }\n .max-w-lg {\n max-width: var(--container-lg);\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-105 {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-\\[1\\.01\\] {\n scale: 1.01;\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-default {\n cursor: default;\n }\n .cursor-grab {\n cursor: grab;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .cursor-text {\n cursor: text;\n }\n .resize-none {\n resize: none;\n }\n .list-disc {\n list-style-type: disc;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-8 {\n gap: calc(var(--spacing) * 8);\n }\n .gap-12 {\n gap: calc(var(--spacing) * 12);\n }\n .space-y-1 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-2 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-3 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .divide-y {\n :where(& > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n }\n .divide-slate-50 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-50);\n }\n }\n .divide-slate-100 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2\\.5rem\\] {\n border-radius: 2.5rem;\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-\\[2rem\\] {\n border-radius: 2rem;\n }\n .rounded-\\[3rem\\] {\n border-radius: 3rem;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-lg {\n border-top-left-radius: var(--radius-lg);\n border-top-right-radius: var(--radius-lg);\n }\n .rounded-t-xl {\n border-top-left-radius: var(--radius-xl);\n border-top-right-radius: var(--radius-xl);\n }\n .rounded-br-none {\n border-bottom-right-radius: 0;\n }\n .rounded-bl-none {\n border-bottom-left-radius: 0;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-4 {\n border-style: var(--tw-border-style);\n border-width: 4px;\n }\n .border-y {\n border-block-style: var(--tw-border-style);\n border-block-width: 1px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-r-2 {\n border-right-style: var(--tw-border-style);\n border-right-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l {\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-l-4 {\n border-left-style: var(--tw-border-style);\n border-left-width: 4px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-\\[\\#dfcdae\\] {\n border-color: #dfcdae;\n }\n .border-\\[\\#eaddc4\\] {\n border-color: #eaddc4;\n }\n .border-\\[\\#f4ecd8\\] {\n border-color: #f4ecd8;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-blue-100 {\n border-color: var(--color-blue-100);\n }\n .border-blue-200 {\n border-color: var(--color-blue-200);\n }\n .border-blue-400 {\n border-color: var(--color-blue-400);\n }\n .border-blue-500 {\n border-color: var(--color-blue-500);\n }\n .border-blue-600 {\n border-color: var(--color-blue-600);\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-green-100 {\n border-color: var(--color-green-100);\n }\n .border-green-200 {\n border-color: var(--color-green-200);\n }\n .border-indigo-50 {\n border-color: var(--color-indigo-50);\n }\n .border-indigo-100 {\n border-color: var(--color-indigo-100);\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-300 {\n border-color: var(--color-indigo-300);\n }\n .border-indigo-400 {\n border-color: var(--color-indigo-400);\n }\n .border-indigo-600 {\n border-color: var(--color-indigo-600);\n }\n .border-red-100 {\n border-color: var(--color-red-100);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-red-300 {\n border-color: var(--color-red-300);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-slate-50 {\n border-color: var(--color-slate-50);\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-theme-border {\n border-color: var(--color-theme-border);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-yellow-100 {\n border-color: var(--color-yellow-100);\n }\n .bg-\\[\\#5c4731\\] {\n background-color: #5c4731;\n }\n .bg-\\[\\#eaddc4\\] {\n background-color: #eaddc4;\n }\n .bg-\\[\\#eef2ff\\] {\n background-color: #eef2ff;\n }\n .bg-\\[\\#f4ecd8\\] {\n background-color: #f4ecd8;\n }\n .bg-\\[\\#fbf8f1\\] {\n background-color: #fbf8f1;\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-400 {\n background-color: var(--color-amber-400);\n }\n .bg-black\\/5 {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .bg-black\\/40 {\n background-color: color-mix(in srgb, #000 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 40%, transparent);\n }\n }\n .bg-black\\/50 {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-500 {\n background-color: var(--color-blue-500);\n }\n .bg-blue-500\\/10 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n .bg-blue-500\\/20 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n }\n .bg-blue-600 {\n background-color: var(--color-blue-600);\n }\n .bg-blue-700 {\n background-color: var(--color-blue-700);\n }\n .bg-blue-900 {\n background-color: var(--color-blue-900);\n }\n .bg-gray-100 {\n background-color: var(--color-gray-100);\n }\n .bg-green-100 {\n background-color: var(--color-green-100);\n }\n .bg-green-500 {\n background-color: var(--color-green-500);\n }\n .bg-green-500\\/10 {\n background-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-50\\/30 {\n background-color: color-mix(in srgb, oklch(96.2% 0.018 272.314) 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-50) 30%, transparent);\n }\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .bg-indigo-500\\/20 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-indigo-900 {\n background-color: var(--color-indigo-900);\n }\n .bg-indigo-900\\/50 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-900) 50%, transparent);\n }\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-100 {\n background-color: var(--color-red-100);\n }\n .bg-red-600 {\n background-color: var(--color-red-600);\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-300 {\n background-color: var(--color-slate-300);\n }\n .bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-theme-bg {\n background-color: var(--color-theme-bg);\n }\n .bg-theme-bg\\/50 {\n background-color: var(--color-theme-bg);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-bg) 50%, transparent);\n }\n }\n .bg-theme-border {\n background-color: var(--color-theme-border);\n }\n .bg-theme-editor-bg {\n background-color: var(--color-theme-editor-bg);\n }\n .bg-theme-panel {\n background-color: var(--color-theme-panel);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .bg-white\\/50 {\n background-color: color-mix(in srgb, #fff 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .bg-white\\/70 {\n background-color: color-mix(in srgb, #fff 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .bg-white\\/80 {\n background-color: color-mix(in srgb, #fff 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .bg-gradient-to-r {\n --tw-gradient-position: to right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-blue-500\\/20 {\n --tw-gradient-from: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-from: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-blue-600 {\n --tw-gradient-from: var(--color-blue-600);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-orange-200 {\n --tw-gradient-from: var(--color-orange-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-red-200 {\n --tw-gradient-from: var(--color-red-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-slate-300 {\n --tw-gradient-from: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .via-indigo-200 {\n --tw-gradient-via: var(--color-indigo-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-purple-200 {\n --tw-gradient-via: var(--color-purple-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-yellow-100 {\n --tw-gradient-via: var(--color-yellow-100);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .to-blue-200 {\n --tw-gradient-to: var(--color-blue-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-green-200 {\n --tw-gradient-to: var(--color-green-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500 {\n --tw-gradient-to: var(--color-indigo-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500\\/20 {\n --tw-gradient-to: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-to: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-300 {\n --tw-gradient-to: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .bg-clip-text {\n background-clip: text;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .px-0\\.5 {\n padding-inline: calc(var(--spacing) * 0.5);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .px-8 {\n padding-inline: calc(var(--spacing) * 8);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-5 {\n padding-block: calc(var(--spacing) * 5);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .py-10 {\n padding-block: calc(var(--spacing) * 10);\n }\n .py-12 {\n padding-block: calc(var(--spacing) * 12);\n }\n .py-20 {\n padding-block: calc(var(--spacing) * 20);\n }\n .py-24 {\n padding-block: calc(var(--spacing) * 24);\n }\n .pt-1 {\n padding-top: calc(var(--spacing) * 1);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-8 {\n padding-top: calc(var(--spacing) * 8);\n }\n .pt-12 {\n padding-top: calc(var(--spacing) * 12);\n }\n .pt-20 {\n padding-top: calc(var(--spacing) * 20);\n }\n .pt-32 {\n padding-top: calc(var(--spacing) * 32);\n }\n .pr-2 {\n padding-right: calc(var(--spacing) * 2);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pr-12 {\n padding-right: calc(var(--spacing) * 12);\n }\n .pb-1 {\n padding-bottom: calc(var(--spacing) * 1);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-8 {\n padding-bottom: calc(var(--spacing) * 8);\n }\n .pb-20 {\n padding-bottom: calc(var(--spacing) * 20);\n }\n .pb-32 {\n padding-bottom: calc(var(--spacing) * 32);\n }\n .pl-2 {\n padding-left: calc(var(--spacing) * 2);\n }\n .pl-4 {\n padding-left: calc(var(--spacing) * 4);\n }\n .pl-5 {\n padding-left: calc(var(--spacing) * 5);\n }\n .pl-9 {\n padding-left: calc(var(--spacing) * 9);\n }\n .pl-12 {\n padding-left: calc(var(--spacing) * 12);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .text-right {\n text-align: right;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .font-serif {\n font-family: var(--font-serif);\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-4xl {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n .text-5xl {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n .text-6xl {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .leading-\\[1\\.1\\] {\n --tw-leading: 1.1;\n line-height: 1.1;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-normal {\n --tw-font-weight: var(--font-weight-normal);\n font-weight: var(--font-weight-normal);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wide {\n --tw-tracking: var(--tracking-wide);\n letter-spacing: var(--tracking-wide);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-\\[\\#735e44\\] {\n color: #735e44;\n }\n .text-\\[\\#332616\\] {\n color: #332616;\n }\n .text-\\[\\#433422\\] {\n color: #433422;\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-blue-400 {\n color: var(--color-blue-400);\n }\n .text-blue-500 {\n color: var(--color-blue-500);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-900 {\n color: var(--color-blue-900);\n }\n .text-gray-800 {\n color: var(--color-gray-800);\n }\n .text-green-500 {\n color: var(--color-green-500);\n }\n .text-green-700 {\n color: var(--color-green-700);\n }\n .text-green-800 {\n color: var(--color-green-800);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-700 {\n color: var(--color-indigo-700);\n }\n .text-indigo-800 {\n color: var(--color-indigo-800);\n }\n .text-orange-500 {\n color: var(--color-orange-500);\n }\n .text-orange-600 {\n color: var(--color-orange-600);\n }\n .text-purple-600 {\n color: var(--color-purple-600);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-red-400 {\n color: var(--color-red-400);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-red-700 {\n color: var(--color-red-700);\n }\n .text-red-900 {\n color: var(--color-red-900);\n }\n .text-rose-800 {\n color: var(--color-rose-800);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-theme-editor-text {\n color: var(--color-theme-editor-text);\n }\n .text-theme-muted {\n color: var(--color-theme-muted);\n }\n .text-theme-text {\n color: var(--color-theme-text);\n }\n .text-transparent {\n color: transparent;\n }\n .text-white {\n color: var(--color-white);\n }\n .text-yellow-400 {\n color: var(--color-yellow-400);\n }\n .text-yellow-500 {\n color: var(--color-yellow-500);\n }\n .text-yellow-600 {\n color: var(--color-yellow-600);\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .underline {\n text-decoration-line: underline;\n }\n .decoration-blue-500 {\n text-decoration-color: var(--color-blue-500);\n }\n .decoration-indigo-300 {\n text-decoration-color: var(--color-indigo-300);\n }\n .underline-offset-4 {\n text-underline-offset: 4px;\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .accent-blue-600 {\n accent-color: var(--color-blue-600);\n }\n .accent-indigo-600 {\n accent-color: var(--color-indigo-600);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-50 {\n opacity: 50%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-70 {\n opacity: 70%;\n }\n .opacity-80 {\n opacity: 80%;\n }\n .opacity-90 {\n opacity: 90%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(59\\,130\\,246\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(59,130,246,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(99\\,102\\,241\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(99,102,241,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0px_2px_0px_0px_rgba\\(203\\,213\\,225\\,1\\)\\] {\n --tw-shadow: 0px 2px 0px 0px var(--tw-shadow-color, rgba(203,213,225,1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-blue-200 {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n .shadow-indigo-100 {\n --tw-shadow-color: oklch(93% 0.034 272.788);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-indigo-100) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-amber-200 {\n --tw-ring-color: var(--color-amber-200);\n }\n .ring-blue-200 {\n --tw-ring-color: var(--color-blue-200);\n }\n .ring-indigo-200 {\n --tw-ring-color: var(--color-indigo-200);\n }\n .ring-indigo-400 {\n --tw-ring-color: var(--color-indigo-400);\n }\n .ring-indigo-500 {\n --tw-ring-color: var(--color-indigo-500);\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .blur-3xl {\n --tw-blur: blur(var(--blur-3xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[1px\\] {\n --tw-blur: blur(1px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[60px\\] {\n --tw-blur: blur(60px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[100px\\] {\n --tw-blur: blur(100px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[120px\\] {\n --tw-blur: blur(120px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[150px\\] {\n --tw-blur: blur(150px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-100 {\n --tw-duration: 100ms;\n transition-duration: 100ms;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-1000 {\n --tw-duration: 1000ms;\n transition-duration: 1000ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .group-hover\\:translate-x-1 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n }\n .group-hover\\:bg-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-white {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .selection\\:bg-blue-200 {\n & *::selection {\n background-color: var(--color-blue-200);\n }\n &::selection {\n background-color: var(--color-blue-200);\n }\n }\n .hover\\:scale-105 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-110 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-\\[1\\.02\\] {\n &:hover {\n @media (hover: hover) {\n scale: 1.02;\n }\n }\n }\n .hover\\:border-\\[\\#cfbd9e\\] {\n &:hover {\n @media (hover: hover) {\n border-color: #cfbd9e;\n }\n }\n }\n .hover\\:border-blue-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-blue-300);\n }\n }\n }\n .hover\\:border-indigo-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:border-indigo-400 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-400);\n }\n }\n }\n .hover\\:border-indigo-500 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-500);\n }\n }\n }\n .hover\\:border-slate-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:border-slate-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-300);\n }\n }\n }\n .hover\\:border-slate-600 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-600);\n }\n }\n }\n .hover\\:bg-\\[\\#eaddc4\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #eaddc4;\n }\n }\n }\n .hover\\:bg-amber-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-50);\n }\n }\n }\n .hover\\:bg-amber-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-100);\n }\n }\n }\n .hover\\:bg-black\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-50);\n }\n }\n }\n .hover\\:bg-blue-500 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-500);\n }\n }\n }\n .hover\\:bg-blue-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-600 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .hover\\:bg-blue-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-700);\n }\n }\n }\n .hover\\:bg-blue-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-800);\n }\n }\n }\n .hover\\:bg-indigo-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-50);\n }\n }\n }\n .hover\\:bg-indigo-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-100);\n }\n }\n }\n .hover\\:bg-indigo-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:bg-indigo-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-indigo-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:bg-red-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-50);\n }\n }\n }\n .hover\\:bg-red-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-red-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-700);\n }\n }\n }\n .hover\\:bg-red-900\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(39.6% 0.141 25.723) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-900) 20%, transparent);\n }\n }\n }\n }\n .hover\\:bg-slate-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-50);\n }\n }\n }\n .hover\\:bg-slate-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-100);\n }\n }\n }\n .hover\\:bg-slate-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:bg-slate-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n .hover\\:bg-slate-900 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-900);\n }\n }\n }\n .hover\\:bg-theme-border {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-border);\n }\n }\n }\n .hover\\:bg-theme-panel {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n }\n }\n }\n .hover\\:bg-theme-panel\\/50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-panel) 50%, transparent);\n }\n }\n }\n }\n .hover\\:bg-white {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-white);\n }\n }\n }\n .hover\\:bg-white\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n }\n }\n .hover\\:text-\\[\\#332616\\] {\n &:hover {\n @media (hover: hover) {\n color: #332616;\n }\n }\n }\n .hover\\:text-blue-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-400);\n }\n }\n }\n .hover\\:text-blue-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-500);\n }\n }\n }\n .hover\\:text-blue-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .hover\\:text-blue-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-800);\n }\n }\n }\n .hover\\:text-indigo-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:text-indigo-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:text-indigo-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-800);\n }\n }\n }\n .hover\\:text-red-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-400);\n }\n }\n }\n .hover\\:text-red-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-500);\n }\n }\n }\n .hover\\:text-red-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-600);\n }\n }\n }\n .hover\\:text-red-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-700);\n }\n }\n }\n .hover\\:text-slate-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-500);\n }\n }\n }\n .hover\\:text-slate-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-800);\n }\n }\n }\n .hover\\:text-slate-900 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-900);\n }\n }\n }\n .hover\\:text-theme-text {\n &:hover {\n @media (hover: hover) {\n color: var(--color-theme-text);\n }\n }\n }\n .hover\\:text-white {\n &:hover {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .hover\\:underline {\n &:hover {\n @media (hover: hover) {\n text-decoration-line: underline;\n }\n }\n }\n .hover\\:decoration-indigo-600 {\n &:hover {\n @media (hover: hover) {\n text-decoration-color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:opacity-80 {\n &:hover {\n @media (hover: hover) {\n opacity: 80%;\n }\n }\n }\n .hover\\:opacity-100 {\n &:hover {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .hover\\:shadow-2xl {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-md {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-blue-200 {\n &:hover {\n @media (hover: hover) {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n }\n }\n .focus\\:border-b {\n &:focus {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n }\n .focus\\:border-blue-500 {\n &:focus {\n border-color: var(--color-blue-500);\n }\n }\n .focus\\:border-indigo-400 {\n &:focus {\n border-color: var(--color-indigo-400);\n }\n }\n .focus\\:border-indigo-500 {\n &:focus {\n border-color: var(--color-indigo-500);\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-4 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-blue-300 {\n &:focus {\n --tw-ring-color: var(--color-blue-300);\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:ring-indigo-500 {\n &:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .active\\:cursor-grabbing {\n &:active {\n cursor: grabbing;\n }\n }\n .disabled\\:opacity-30 {\n &:disabled {\n opacity: 30%;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .sm\\:inline {\n @media (width >= 40rem) {\n display: inline;\n }\n }\n .sm\\:w-auto {\n @media (width >= 40rem) {\n width: auto;\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:p-12 {\n @media (width >= 40rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .md\\:flex {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n .md\\:w-1\\/3 {\n @media (width >= 48rem) {\n width: calc(1 / 3 * 100%);\n }\n }\n .md\\:w-64 {\n @media (width >= 48rem) {\n width: calc(var(--spacing) * 64);\n }\n }\n .md\\:w-auto {\n @media (width >= 48rem) {\n width: auto;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-3 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-4 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n }\n .md\\:flex-row {\n @media (width >= 48rem) {\n flex-direction: row;\n }\n }\n .md\\:items-center {\n @media (width >= 48rem) {\n align-items: center;\n }\n }\n .md\\:p-12 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .md\\:text-5xl {\n @media (width >= 48rem) {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n }\n .md\\:text-7xl {\n @media (width >= 48rem) {\n font-size: var(--text-7xl);\n line-height: var(--tw-leading, var(--text-7xl--line-height));\n }\n }\n .lg\\:col-span-2 {\n @media (width >= 64rem) {\n grid-column: span 2 / span 2;\n }\n }\n .lg\\:flex {\n @media (width >= 64rem) {\n display: flex;\n }\n }\n .lg\\:w-1\\/2 {\n @media (width >= 64rem) {\n width: calc(1 / 2 * 100%);\n }\n }\n .lg\\:w-96 {\n @media (width >= 64rem) {\n width: calc(var(--spacing) * 96);\n }\n }\n .lg\\:grid-cols-3 {\n @media (width >= 64rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .dark\\:border-slate-700 {\n @media (prefers-color-scheme: dark) {\n border-color: var(--color-slate-700);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n @media (prefers-color-scheme: dark) {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n }\n .dark\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n background-color: var(--color-slate-800);\n }\n }\n .dark\\:text-blue-400 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-blue-400);\n }\n }\n .dark\\:text-slate-300 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-slate-300);\n }\n }\n .dark\\:hover\\:bg-slate-700 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-700);\n }\n }\n }\n }\n .dark\\:hover\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n }\n}\n:root,\r\n.theme-light {\n --theme-bg: #eef2ff;\n --theme-panel: #ffffff;\n --theme-text: #0f172a;\n --theme-muted: #64748b;\n --theme-border: #e2e8f0;\n --theme-editor-bg: #ffffff;\n --theme-editor-text: #0f172a;\n}\n.theme-dark {\n --theme-bg: #0f172a;\n --theme-panel: #1e293b;\n --theme-text: #f8fafc;\n --theme-muted: #94a3b8;\n --theme-border: #334155;\n --theme-editor-bg: #1e293b;\n --theme-editor-text: #e2e8f0;\n}\n.theme-sepia {\n --theme-bg: #eaddc4;\n --theme-panel: #fbf8f1;\n --theme-text: #332616;\n --theme-muted: #735e44;\n --theme-border: #dfcdae;\n --theme-editor-bg: #fbf8f1;\n --theme-editor-text: #332616;\n}\n.editor-content:empty:before {\n content: attr(placeholder);\n color: #9ca3af;\n pointer-events: none;\n}\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n::-webkit-scrollbar-track {\n background: transparent;\n}\n::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 3px;\n}\n::-webkit-scrollbar-thumb:hover {\n background: #94a3b8;\n}\n@media print {\n @page {\n margin: 2cm;\n size: auto;\n }\n html,\r\n body {\n height: auto !important;\n overflow: visible !important;\n margin: 0 !important;\n padding: 0 !important;\n background: white !important;\n color: black !important;\n }\n #__next {\n height: auto !important;\n overflow: visible !important;\n display: block !important;\n position: relative !important;\n }\n .no-print {\n display: none !important;\n }\n .print-only {\n display: block !important;\n }\n .break-before-page {\n page-break-before: always;\n break-before: page;\n }\n .break-after-page {\n page-break-after: always;\n break-after: page;\n }\n p {\n text-align: justify;\n widows: 3;\n orphans: 3;\n color: black !important;\n }\n h1,\r\n h2,\r\n h3,\r\n h4 {\n color: black !important;\n page-break-after: avoid;\n }\n a {\n text-decoration: none;\n color: black !important;\n }\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-scale-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-divide-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-gradient-position {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-via {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-to {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-via-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from-position {\n syntax: \"\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-gradient-via-position {\n syntax: \"\";\n inherits: false;\n initial-value: 50%;\n}\n@property --tw-gradient-to-position {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}"],"names":[],"mappings":"AACA;EAosGE;IACE;;;;;;;;;;;;;;;;;;;;;;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;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;;AAKA"}}] + {"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/Documents/00 - projet/plumeia/src/app/globals.css"],"sourcesContent":["/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: 'Inter', sans-serif;\n --font-serif: 'Merriweather', serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-100: oklch(93.6% 0.032 17.717);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-red-700: oklch(50.5% 0.213 27.518);\n --color-red-900: oklch(39.6% 0.141 25.723);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-200: oklch(90.1% 0.076 70.697);\n --color-orange-500: oklch(70.5% 0.213 47.604);\n --color-orange-600: oklch(64.6% 0.222 41.116);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-yellow-100: oklch(97.3% 0.071 103.193);\n --color-yellow-400: oklch(85.2% 0.199 91.936);\n --color-yellow-500: oklch(79.5% 0.184 86.047);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-700: oklch(52.7% 0.154 150.069);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-600: oklch(55.8% 0.288 302.321);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-gray-100: oklch(96.7% 0.003 264.542);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-md: 28rem;\n --container-lg: 32rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --container-4xl: 56rem;\n --container-5xl: 64rem;\n --container-6xl: 72rem;\n --container-7xl: 80rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wide: 0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-relaxed: 1.625;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-3xl: 64px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n --color-theme-bg: var(--theme-bg);\n --color-theme-panel: var(--theme-panel);\n --color-theme-text: var(--theme-text);\n --color-theme-muted: var(--theme-muted);\n --color-theme-border: var(--theme-border);\n --color-theme-editor-bg: var(--theme-editor-bg);\n --color-theme-editor-text: var(--theme-editor-text);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .-inset-4 {\n inset: calc(var(--spacing) * -4);\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .start {\n inset-inline-start: var(--spacing);\n }\n .end {\n inset-inline-end: var(--spacing);\n }\n .-top-2 {\n top: calc(var(--spacing) * -2);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1\\.5 {\n top: calc(var(--spacing) * 1.5);\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-3 {\n top: calc(var(--spacing) * 3);\n }\n .top-3\\.5 {\n top: calc(var(--spacing) * 3.5);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-8 {\n top: calc(var(--spacing) * 8);\n }\n .top-10 {\n top: calc(var(--spacing) * 10);\n }\n .-right-1 {\n right: calc(var(--spacing) * -1);\n }\n .-right-3 {\n right: calc(var(--spacing) * -3);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-1\\.5 {\n right: calc(var(--spacing) * 1.5);\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-10 {\n right: calc(var(--spacing) * 10);\n }\n .right-\\[-10px\\] {\n right: -10px;\n }\n .-bottom-1 {\n bottom: calc(var(--spacing) * -1);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .bottom-2 {\n bottom: calc(var(--spacing) * 2);\n }\n .bottom-10 {\n bottom: calc(var(--spacing) * 10);\n }\n .bottom-full {\n bottom: 100%;\n }\n .-left-2 {\n left: calc(var(--spacing) * -2);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .left-4 {\n left: calc(var(--spacing) * 4);\n }\n .left-10 {\n left: calc(var(--spacing) * 10);\n }\n .left-\\[calc\\(50\\%\\+420px\\)\\] {\n left: calc(50% + 420px);\n }\n .-z-1 {\n z-index: calc(1 * -1);\n }\n .-z-10 {\n z-index: calc(10 * -1);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-30 {\n z-index: 30;\n }\n .z-40 {\n z-index: 40;\n }\n .z-50 {\n z-index: 50;\n }\n .col-span-2 {\n grid-column: span 2 / span 2;\n }\n .col-span-3 {\n grid-column: span 3 / span 3;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .-m-8 {\n margin: calc(var(--spacing) * -8);\n }\n .m-1 {\n margin: calc(var(--spacing) * 1);\n }\n .mx-1 {\n margin-inline: calc(var(--spacing) * 1);\n }\n .mx-2 {\n margin-inline: calc(var(--spacing) * 2);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .-mt-20 {\n margin-top: calc(var(--spacing) * -20);\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-5 {\n margin-top: calc(var(--spacing) * 5);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mt-10 {\n margin-top: calc(var(--spacing) * 10);\n }\n .mt-12 {\n margin-top: calc(var(--spacing) * 12);\n }\n .mt-20 {\n margin-top: calc(var(--spacing) * 20);\n }\n .mt-auto {\n margin-top: auto;\n }\n .mr-4 {\n margin-right: calc(var(--spacing) * 4);\n }\n .mr-6 {\n margin-right: calc(var(--spacing) * 6);\n }\n .mr-auto {\n margin-right: auto;\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .mb-8 {\n margin-bottom: calc(var(--spacing) * 8);\n }\n .mb-10 {\n margin-bottom: calc(var(--spacing) * 10);\n }\n .mb-12 {\n margin-bottom: calc(var(--spacing) * 12);\n }\n .mb-16 {\n margin-bottom: calc(var(--spacing) * 16);\n }\n .ml-1 {\n margin-left: calc(var(--spacing) * 1);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .line-clamp-3 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-20 {\n height: calc(var(--spacing) * 20);\n }\n .h-24 {\n height: calc(var(--spacing) * 24);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-96 {\n height: calc(var(--spacing) * 96);\n }\n .h-\\[4000px\\] {\n height: 4000px;\n }\n .h-full {\n height: 100%;\n }\n .h-px {\n height: 1px;\n }\n .h-screen {\n height: 100vh;\n }\n .max-h-48 {\n max-height: calc(var(--spacing) * 48);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[90\\%\\] {\n max-height: 90%;\n }\n .max-h-\\[90vh\\] {\n max-height: 90vh;\n }\n .min-h-0 {\n min-height: calc(var(--spacing) * 0);\n }\n .min-h-\\[120px\\] {\n min-height: 120px;\n }\n .min-h-\\[1000px\\] {\n min-height: 1000px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-1\\/2 {\n width: calc(1 / 2 * 100%);\n }\n .w-1\\/3 {\n width: calc(1 / 3 * 100%);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-24 {\n width: calc(var(--spacing) * 24);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-48 {\n width: calc(var(--spacing) * 48);\n }\n .w-56 {\n width: calc(var(--spacing) * 56);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-80 {\n width: calc(var(--spacing) * 80);\n }\n .w-96 {\n width: calc(var(--spacing) * 96);\n }\n .w-\\[600px\\] {\n width: 600px;\n }\n .w-\\[800px\\] {\n width: 800px;\n }\n .w-\\[4000px\\] {\n width: 4000px;\n }\n .w-full {\n width: 100%;\n }\n .w-max {\n width: max-content;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-5xl {\n max-width: var(--container-5xl);\n }\n .max-w-6xl {\n max-width: var(--container-6xl);\n }\n .max-w-7xl {\n max-width: var(--container-7xl);\n }\n .max-w-\\[85\\%\\] {\n max-width: 85%;\n }\n .max-w-lg {\n max-width: var(--container-lg);\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-105 {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-\\[1\\.01\\] {\n scale: 1.01;\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-default {\n cursor: default;\n }\n .cursor-grab {\n cursor: grab;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .cursor-text {\n cursor: text;\n }\n .resize-none {\n resize: none;\n }\n .list-disc {\n list-style-type: disc;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-8 {\n gap: calc(var(--spacing) * 8);\n }\n .space-y-1 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-2 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-3 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .divide-y {\n :where(& > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n }\n .divide-slate-50 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-50);\n }\n }\n .divide-slate-100 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2\\.5rem\\] {\n border-radius: 2.5rem;\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-\\[2rem\\] {\n border-radius: 2rem;\n }\n .rounded-\\[3rem\\] {\n border-radius: 3rem;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-lg {\n border-top-left-radius: var(--radius-lg);\n border-top-right-radius: var(--radius-lg);\n }\n .rounded-t-xl {\n border-top-left-radius: var(--radius-xl);\n border-top-right-radius: var(--radius-xl);\n }\n .rounded-br-none {\n border-bottom-right-radius: 0;\n }\n .rounded-bl-none {\n border-bottom-left-radius: 0;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-4 {\n border-style: var(--tw-border-style);\n border-width: 4px;\n }\n .border-y {\n border-block-style: var(--tw-border-style);\n border-block-width: 1px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-r-2 {\n border-right-style: var(--tw-border-style);\n border-right-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l {\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-l-4 {\n border-left-style: var(--tw-border-style);\n border-left-width: 4px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-\\[\\#dfcdae\\] {\n border-color: #dfcdae;\n }\n .border-\\[\\#eaddc4\\] {\n border-color: #eaddc4;\n }\n .border-\\[\\#f4ecd8\\] {\n border-color: #f4ecd8;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-blue-100 {\n border-color: var(--color-blue-100);\n }\n .border-blue-200 {\n border-color: var(--color-blue-200);\n }\n .border-blue-400 {\n border-color: var(--color-blue-400);\n }\n .border-blue-500 {\n border-color: var(--color-blue-500);\n }\n .border-blue-600 {\n border-color: var(--color-blue-600);\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-green-100 {\n border-color: var(--color-green-100);\n }\n .border-green-200 {\n border-color: var(--color-green-200);\n }\n .border-indigo-50 {\n border-color: var(--color-indigo-50);\n }\n .border-indigo-100 {\n border-color: var(--color-indigo-100);\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-300 {\n border-color: var(--color-indigo-300);\n }\n .border-indigo-400 {\n border-color: var(--color-indigo-400);\n }\n .border-indigo-600 {\n border-color: var(--color-indigo-600);\n }\n .border-red-100 {\n border-color: var(--color-red-100);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-red-300 {\n border-color: var(--color-red-300);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-slate-50 {\n border-color: var(--color-slate-50);\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-theme-border {\n border-color: var(--color-theme-border);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-yellow-100 {\n border-color: var(--color-yellow-100);\n }\n .bg-\\[\\#5c4731\\] {\n background-color: #5c4731;\n }\n .bg-\\[\\#eaddc4\\] {\n background-color: #eaddc4;\n }\n .bg-\\[\\#eef2ff\\] {\n background-color: #eef2ff;\n }\n .bg-\\[\\#f4ecd8\\] {\n background-color: #f4ecd8;\n }\n .bg-\\[\\#fbf8f1\\] {\n background-color: #fbf8f1;\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-400 {\n background-color: var(--color-amber-400);\n }\n .bg-black\\/5 {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .bg-black\\/40 {\n background-color: color-mix(in srgb, #000 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 40%, transparent);\n }\n }\n .bg-black\\/50 {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-500 {\n background-color: var(--color-blue-500);\n }\n .bg-blue-500\\/10 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n .bg-blue-500\\/20 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n }\n .bg-blue-600 {\n background-color: var(--color-blue-600);\n }\n .bg-blue-700 {\n background-color: var(--color-blue-700);\n }\n .bg-blue-900 {\n background-color: var(--color-blue-900);\n }\n .bg-gray-100 {\n background-color: var(--color-gray-100);\n }\n .bg-green-100 {\n background-color: var(--color-green-100);\n }\n .bg-green-500 {\n background-color: var(--color-green-500);\n }\n .bg-green-500\\/10 {\n background-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-50\\/30 {\n background-color: color-mix(in srgb, oklch(96.2% 0.018 272.314) 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-50) 30%, transparent);\n }\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .bg-indigo-500\\/20 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-indigo-900 {\n background-color: var(--color-indigo-900);\n }\n .bg-indigo-900\\/50 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-900) 50%, transparent);\n }\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-100 {\n background-color: var(--color-red-100);\n }\n .bg-red-600 {\n background-color: var(--color-red-600);\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-300 {\n background-color: var(--color-slate-300);\n }\n .bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-theme-bg {\n background-color: var(--color-theme-bg);\n }\n .bg-theme-bg\\/50 {\n background-color: var(--color-theme-bg);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-bg) 50%, transparent);\n }\n }\n .bg-theme-border {\n background-color: var(--color-theme-border);\n }\n .bg-theme-editor-bg {\n background-color: var(--color-theme-editor-bg);\n }\n .bg-theme-panel {\n background-color: var(--color-theme-panel);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .bg-white\\/50 {\n background-color: color-mix(in srgb, #fff 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .bg-white\\/70 {\n background-color: color-mix(in srgb, #fff 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .bg-white\\/80 {\n background-color: color-mix(in srgb, #fff 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .bg-gradient-to-br {\n --tw-gradient-position: to bottom right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .bg-gradient-to-r {\n --tw-gradient-position: to right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-blue-500 {\n --tw-gradient-from: var(--color-blue-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-blue-500\\/20 {\n --tw-gradient-from: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-from: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-blue-600 {\n --tw-gradient-from: var(--color-blue-600);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-orange-200 {\n --tw-gradient-from: var(--color-orange-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-red-200 {\n --tw-gradient-from: var(--color-red-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-slate-300 {\n --tw-gradient-from: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .via-indigo-200 {\n --tw-gradient-via: var(--color-indigo-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-purple-200 {\n --tw-gradient-via: var(--color-purple-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-yellow-100 {\n --tw-gradient-via: var(--color-yellow-100);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .to-blue-200 {\n --tw-gradient-to: var(--color-blue-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-green-200 {\n --tw-gradient-to: var(--color-green-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500 {\n --tw-gradient-to: var(--color-indigo-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500\\/20 {\n --tw-gradient-to: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-to: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-600 {\n --tw-gradient-to: var(--color-indigo-600);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-300 {\n --tw-gradient-to: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .bg-clip-text {\n background-clip: text;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .px-0\\.5 {\n padding-inline: calc(var(--spacing) * 0.5);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .px-8 {\n padding-inline: calc(var(--spacing) * 8);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-5 {\n padding-block: calc(var(--spacing) * 5);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .py-10 {\n padding-block: calc(var(--spacing) * 10);\n }\n .py-12 {\n padding-block: calc(var(--spacing) * 12);\n }\n .py-16 {\n padding-block: calc(var(--spacing) * 16);\n }\n .py-20 {\n padding-block: calc(var(--spacing) * 20);\n }\n .py-24 {\n padding-block: calc(var(--spacing) * 24);\n }\n .pt-1 {\n padding-top: calc(var(--spacing) * 1);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-8 {\n padding-top: calc(var(--spacing) * 8);\n }\n .pt-12 {\n padding-top: calc(var(--spacing) * 12);\n }\n .pt-20 {\n padding-top: calc(var(--spacing) * 20);\n }\n .pt-32 {\n padding-top: calc(var(--spacing) * 32);\n }\n .pr-2 {\n padding-right: calc(var(--spacing) * 2);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pr-12 {\n padding-right: calc(var(--spacing) * 12);\n }\n .pb-1 {\n padding-bottom: calc(var(--spacing) * 1);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-8 {\n padding-bottom: calc(var(--spacing) * 8);\n }\n .pb-20 {\n padding-bottom: calc(var(--spacing) * 20);\n }\n .pb-32 {\n padding-bottom: calc(var(--spacing) * 32);\n }\n .pl-2 {\n padding-left: calc(var(--spacing) * 2);\n }\n .pl-4 {\n padding-left: calc(var(--spacing) * 4);\n }\n .pl-5 {\n padding-left: calc(var(--spacing) * 5);\n }\n .pl-9 {\n padding-left: calc(var(--spacing) * 9);\n }\n .pl-12 {\n padding-left: calc(var(--spacing) * 12);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .text-right {\n text-align: right;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .font-serif {\n font-family: var(--font-serif);\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-4xl {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n .text-5xl {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n .text-6xl {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .leading-\\[1\\.1\\] {\n --tw-leading: 1.1;\n line-height: 1.1;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-normal {\n --tw-font-weight: var(--font-weight-normal);\n font-weight: var(--font-weight-normal);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wide {\n --tw-tracking: var(--tracking-wide);\n letter-spacing: var(--tracking-wide);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-\\[\\#735e44\\] {\n color: #735e44;\n }\n .text-\\[\\#332616\\] {\n color: #332616;\n }\n .text-\\[\\#433422\\] {\n color: #433422;\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-blue-400 {\n color: var(--color-blue-400);\n }\n .text-blue-500 {\n color: var(--color-blue-500);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-900 {\n color: var(--color-blue-900);\n }\n .text-gray-800 {\n color: var(--color-gray-800);\n }\n .text-green-500 {\n color: var(--color-green-500);\n }\n .text-green-700 {\n color: var(--color-green-700);\n }\n .text-green-800 {\n color: var(--color-green-800);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-700 {\n color: var(--color-indigo-700);\n }\n .text-indigo-800 {\n color: var(--color-indigo-800);\n }\n .text-orange-500 {\n color: var(--color-orange-500);\n }\n .text-orange-600 {\n color: var(--color-orange-600);\n }\n .text-purple-600 {\n color: var(--color-purple-600);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-red-400 {\n color: var(--color-red-400);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-red-700 {\n color: var(--color-red-700);\n }\n .text-red-900 {\n color: var(--color-red-900);\n }\n .text-rose-800 {\n color: var(--color-rose-800);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-theme-editor-text {\n color: var(--color-theme-editor-text);\n }\n .text-theme-muted {\n color: var(--color-theme-muted);\n }\n .text-theme-text {\n color: var(--color-theme-text);\n }\n .text-transparent {\n color: transparent;\n }\n .text-white {\n color: var(--color-white);\n }\n .text-yellow-400 {\n color: var(--color-yellow-400);\n }\n .text-yellow-500 {\n color: var(--color-yellow-500);\n }\n .text-yellow-600 {\n color: var(--color-yellow-600);\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .underline {\n text-decoration-line: underline;\n }\n .decoration-blue-500 {\n text-decoration-color: var(--color-blue-500);\n }\n .decoration-indigo-300 {\n text-decoration-color: var(--color-indigo-300);\n }\n .underline-offset-4 {\n text-underline-offset: 4px;\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .accent-blue-600 {\n accent-color: var(--color-blue-600);\n }\n .accent-indigo-600 {\n accent-color: var(--color-indigo-600);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-50 {\n opacity: 50%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-70 {\n opacity: 70%;\n }\n .opacity-80 {\n opacity: 80%;\n }\n .opacity-90 {\n opacity: 90%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(59\\,130\\,246\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(59,130,246,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(99\\,102\\,241\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(99,102,241,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0px_2px_0px_0px_rgba\\(203\\,213\\,225\\,1\\)\\] {\n --tw-shadow: 0px 2px 0px 0px var(--tw-shadow-color, rgba(203,213,225,1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-blue-200 {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n .shadow-indigo-100 {\n --tw-shadow-color: oklch(93% 0.034 272.788);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-indigo-100) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-amber-200 {\n --tw-ring-color: var(--color-amber-200);\n }\n .ring-blue-200 {\n --tw-ring-color: var(--color-blue-200);\n }\n .ring-indigo-200 {\n --tw-ring-color: var(--color-indigo-200);\n }\n .ring-indigo-400 {\n --tw-ring-color: var(--color-indigo-400);\n }\n .ring-indigo-500 {\n --tw-ring-color: var(--color-indigo-500);\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .blur-3xl {\n --tw-blur: blur(var(--blur-3xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[1px\\] {\n --tw-blur: blur(1px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[60px\\] {\n --tw-blur: blur(60px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[100px\\] {\n --tw-blur: blur(100px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[120px\\] {\n --tw-blur: blur(120px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[150px\\] {\n --tw-blur: blur(150px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-100 {\n --tw-duration: 100ms;\n transition-duration: 100ms;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-1000 {\n --tw-duration: 1000ms;\n transition-duration: 1000ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .group-hover\\:translate-x-1 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n }\n .group-hover\\:bg-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-white {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .selection\\:bg-blue-200 {\n & *::selection {\n background-color: var(--color-blue-200);\n }\n &::selection {\n background-color: var(--color-blue-200);\n }\n }\n .hover\\:scale-105 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-110 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-\\[1\\.02\\] {\n &:hover {\n @media (hover: hover) {\n scale: 1.02;\n }\n }\n }\n .hover\\:border-\\[\\#cfbd9e\\] {\n &:hover {\n @media (hover: hover) {\n border-color: #cfbd9e;\n }\n }\n }\n .hover\\:border-blue-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-blue-300);\n }\n }\n }\n .hover\\:border-indigo-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:border-indigo-400 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-400);\n }\n }\n }\n .hover\\:border-indigo-500 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-500);\n }\n }\n }\n .hover\\:border-slate-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:border-slate-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-300);\n }\n }\n }\n .hover\\:border-slate-600 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-600);\n }\n }\n }\n .hover\\:bg-\\[\\#eaddc4\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #eaddc4;\n }\n }\n }\n .hover\\:bg-amber-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-50);\n }\n }\n }\n .hover\\:bg-amber-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-100);\n }\n }\n }\n .hover\\:bg-black\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-50);\n }\n }\n }\n .hover\\:bg-blue-500 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-500);\n }\n }\n }\n .hover\\:bg-blue-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-600 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .hover\\:bg-blue-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-700);\n }\n }\n }\n .hover\\:bg-blue-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-800);\n }\n }\n }\n .hover\\:bg-indigo-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-50);\n }\n }\n }\n .hover\\:bg-indigo-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-100);\n }\n }\n }\n .hover\\:bg-indigo-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:bg-indigo-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-indigo-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:bg-red-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-50);\n }\n }\n }\n .hover\\:bg-red-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-red-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-700);\n }\n }\n }\n .hover\\:bg-red-900\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(39.6% 0.141 25.723) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-900) 20%, transparent);\n }\n }\n }\n }\n .hover\\:bg-slate-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-50);\n }\n }\n }\n .hover\\:bg-slate-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-100);\n }\n }\n }\n .hover\\:bg-slate-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:bg-slate-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n .hover\\:bg-slate-900 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-900);\n }\n }\n }\n .hover\\:bg-theme-border {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-border);\n }\n }\n }\n .hover\\:bg-theme-panel {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n }\n }\n }\n .hover\\:bg-theme-panel\\/50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-panel) 50%, transparent);\n }\n }\n }\n }\n .hover\\:bg-white {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-white);\n }\n }\n }\n .hover\\:bg-white\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n }\n }\n .hover\\:text-\\[\\#332616\\] {\n &:hover {\n @media (hover: hover) {\n color: #332616;\n }\n }\n }\n .hover\\:text-blue-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-400);\n }\n }\n }\n .hover\\:text-blue-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-500);\n }\n }\n }\n .hover\\:text-blue-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .hover\\:text-blue-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-800);\n }\n }\n }\n .hover\\:text-indigo-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:text-indigo-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:text-indigo-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-800);\n }\n }\n }\n .hover\\:text-red-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-400);\n }\n }\n }\n .hover\\:text-red-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-500);\n }\n }\n }\n .hover\\:text-red-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-600);\n }\n }\n }\n .hover\\:text-red-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-700);\n }\n }\n }\n .hover\\:text-slate-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-500);\n }\n }\n }\n .hover\\:text-slate-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-800);\n }\n }\n }\n .hover\\:text-slate-900 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-900);\n }\n }\n }\n .hover\\:text-theme-text {\n &:hover {\n @media (hover: hover) {\n color: var(--color-theme-text);\n }\n }\n }\n .hover\\:text-white {\n &:hover {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .hover\\:underline {\n &:hover {\n @media (hover: hover) {\n text-decoration-line: underline;\n }\n }\n }\n .hover\\:decoration-indigo-600 {\n &:hover {\n @media (hover: hover) {\n text-decoration-color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:opacity-80 {\n &:hover {\n @media (hover: hover) {\n opacity: 80%;\n }\n }\n }\n .hover\\:opacity-100 {\n &:hover {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .hover\\:shadow-2xl {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-md {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-blue-200 {\n &:hover {\n @media (hover: hover) {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n }\n }\n .focus\\:border-b {\n &:focus {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n }\n .focus\\:border-blue-500 {\n &:focus {\n border-color: var(--color-blue-500);\n }\n }\n .focus\\:border-indigo-400 {\n &:focus {\n border-color: var(--color-indigo-400);\n }\n }\n .focus\\:border-indigo-500 {\n &:focus {\n border-color: var(--color-indigo-500);\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-4 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-blue-300 {\n &:focus {\n --tw-ring-color: var(--color-blue-300);\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:ring-indigo-500 {\n &:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .active\\:cursor-grabbing {\n &:active {\n cursor: grabbing;\n }\n }\n .disabled\\:opacity-30 {\n &:disabled {\n opacity: 30%;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .sm\\:block {\n @media (width >= 40rem) {\n display: block;\n }\n }\n .sm\\:inline {\n @media (width >= 40rem) {\n display: inline;\n }\n }\n .sm\\:h-\\[400px\\] {\n @media (width >= 40rem) {\n height: 400px;\n }\n }\n .sm\\:w-auto {\n @media (width >= 40rem) {\n width: auto;\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:p-6 {\n @media (width >= 40rem) {\n padding: calc(var(--spacing) * 6);\n }\n }\n .sm\\:p-12 {\n @media (width >= 40rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .sm\\:px-5 {\n @media (width >= 40rem) {\n padding-inline: calc(var(--spacing) * 5);\n }\n }\n .sm\\:py-2\\.5 {\n @media (width >= 40rem) {\n padding-block: calc(var(--spacing) * 2.5);\n }\n }\n .sm\\:text-sm {\n @media (width >= 40rem) {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .md\\:block {\n @media (width >= 48rem) {\n display: block;\n }\n }\n .md\\:flex {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n .md\\:h-\\[500px\\] {\n @media (width >= 48rem) {\n height: 500px;\n }\n }\n .md\\:w-1\\/3 {\n @media (width >= 48rem) {\n width: calc(1 / 3 * 100%);\n }\n }\n .md\\:w-64 {\n @media (width >= 48rem) {\n width: calc(var(--spacing) * 64);\n }\n }\n .md\\:w-auto {\n @media (width >= 48rem) {\n width: auto;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-3 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-4 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n }\n .md\\:flex-row {\n @media (width >= 48rem) {\n flex-direction: row;\n }\n }\n .md\\:items-center {\n @media (width >= 48rem) {\n align-items: center;\n }\n }\n .md\\:gap-6 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 6);\n }\n }\n .md\\:gap-12 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 12);\n }\n }\n .md\\:p-6 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 6);\n }\n }\n .md\\:p-8 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 8);\n }\n }\n .md\\:p-12 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .md\\:px-5 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 5);\n }\n }\n .md\\:px-8 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 8);\n }\n }\n .md\\:py-2\\.5 {\n @media (width >= 48rem) {\n padding-block: calc(var(--spacing) * 2.5);\n }\n }\n .md\\:py-24 {\n @media (width >= 48rem) {\n padding-block: calc(var(--spacing) * 24);\n }\n }\n .md\\:text-4xl {\n @media (width >= 48rem) {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n }\n .md\\:text-5xl {\n @media (width >= 48rem) {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n }\n .md\\:text-7xl {\n @media (width >= 48rem) {\n font-size: var(--text-7xl);\n line-height: var(--tw-leading, var(--text-7xl--line-height));\n }\n }\n .md\\:text-sm {\n @media (width >= 48rem) {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .md\\:text-xl {\n @media (width >= 48rem) {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n }\n .lg\\:relative {\n @media (width >= 64rem) {\n position: relative;\n }\n }\n .lg\\:col-span-2 {\n @media (width >= 64rem) {\n grid-column: span 2 / span 2;\n }\n }\n .lg\\:flex {\n @media (width >= 64rem) {\n display: flex;\n }\n }\n .lg\\:hidden {\n @media (width >= 64rem) {\n display: none;\n }\n }\n .lg\\:w-1\\/2 {\n @media (width >= 64rem) {\n width: calc(1 / 2 * 100%);\n }\n }\n .lg\\:w-96 {\n @media (width >= 64rem) {\n width: calc(var(--spacing) * 96);\n }\n }\n .lg\\:grid-cols-3 {\n @media (width >= 64rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .lg\\:shadow-none {\n @media (width >= 64rem) {\n --tw-shadow: 0 0 #0000;\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .dark\\:border-slate-700 {\n @media (prefers-color-scheme: dark) {\n border-color: var(--color-slate-700);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n @media (prefers-color-scheme: dark) {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n }\n .dark\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n background-color: var(--color-slate-800);\n }\n }\n .dark\\:text-blue-400 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-blue-400);\n }\n }\n .dark\\:text-slate-300 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-slate-300);\n }\n }\n .dark\\:hover\\:bg-slate-700 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-700);\n }\n }\n }\n }\n .dark\\:hover\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n }\n}\n:root,\r\n.theme-light {\n --theme-bg: #eef2ff;\n --theme-panel: #ffffff;\n --theme-text: #0f172a;\n --theme-muted: #64748b;\n --theme-border: #e2e8f0;\n --theme-editor-bg: #ffffff;\n --theme-editor-text: #0f172a;\n}\n.theme-dark {\n --theme-bg: #0f172a;\n --theme-panel: #1e293b;\n --theme-text: #f8fafc;\n --theme-muted: #94a3b8;\n --theme-border: #334155;\n --theme-editor-bg: #1e293b;\n --theme-editor-text: #e2e8f0;\n}\n.theme-sepia {\n --theme-bg: #eaddc4;\n --theme-panel: #fbf8f1;\n --theme-text: #332616;\n --theme-muted: #735e44;\n --theme-border: #dfcdae;\n --theme-editor-bg: #fbf8f1;\n --theme-editor-text: #332616;\n}\n.editor-content:empty:before {\n content: attr(placeholder);\n color: #9ca3af;\n pointer-events: none;\n}\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n::-webkit-scrollbar-track {\n background: transparent;\n}\n::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 3px;\n}\n::-webkit-scrollbar-thumb:hover {\n background: #94a3b8;\n}\n@media print {\n @page {\n margin: 2cm;\n size: auto;\n }\n html,\r\n body {\n height: auto !important;\n overflow: visible !important;\n margin: 0 !important;\n padding: 0 !important;\n background: white !important;\n color: black !important;\n }\n #__next {\n height: auto !important;\n overflow: visible !important;\n display: block !important;\n position: relative !important;\n }\n .no-print {\n display: none !important;\n }\n .print-only {\n display: block !important;\n }\n .break-before-page {\n page-break-before: always;\n break-before: page;\n }\n .break-after-page {\n page-break-after: always;\n break-after: page;\n }\n p {\n text-align: justify;\n widows: 3;\n orphans: 3;\n color: black !important;\n }\n h1,\r\n h2,\r\n h3,\r\n h4 {\n color: black !important;\n page-break-after: avoid;\n }\n a {\n text-decoration: none;\n color: black !important;\n }\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-scale-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-divide-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-gradient-position {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-via {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-to {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-via-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from-position {\n syntax: \"\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-gradient-via-position {\n syntax: \"\";\n inherits: false;\n initial-value: 50%;\n}\n@property --tw-gradient-to-position {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}"],"names":[],"mappings":"AACA;EAm0GE;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAn0GJ;EAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;;AAKA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;;AAKA"}}] } \ No newline at end of file diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js index ece0cc7..d3c34cb 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js @@ -8,6 +8,7 @@ __turbopack_context__.s([ ]); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"); +var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx [app-client] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/src/lib/types.ts [app-client] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$plus$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Plus$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/plus.js [app-client] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$trash$2d$2$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Trash2$3e$__ = __turbopack_context__.i("[project]/Documents/00 - projet/plumeia/node_modules/lucide-react/dist/esm/icons/trash-2.js [app-client] (ecmascript) "); @@ -28,6 +29,7 @@ var _s = __turbopack_context__.k.signature(); ; ; ; +; const DEFAULT_CHAR_ATTRIBUTES = { age: 30, height: 175, @@ -45,6 +47,7 @@ const DEFAULT_CHAR_ATTRIBUTES = { }; const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId })=>{ _s(); + const { t } = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"])(); const [editingId, setEditingId] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(null); const [tempEntity, setTempEntity] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(null); const [mode, setMode] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('entities'); @@ -128,7 +131,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd setTempEntity(null); }; const handleDelete = (id)=>{ - if (confirm('Supprimer cet élément ?')) { + if (confirm(t('wb.delete_confirm'))) { onDelete(id); if (editingId === id) { setEditingId(null); @@ -176,7 +179,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd const addCustomField = (type)=>{ const newField = { id: `field-${Date.now()}`, - label: 'Nouveau Champ', + label: t('wb.new_field'), type: 'text', placeholder: '' }; @@ -245,14 +248,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 212, + lineNumber: 214, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Identité Narrative" + " ", + t('wb.id_narrative') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 211, + lineNumber: 213, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -262,10 +266,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-2", - children: "Archétype" + children: t('wb.archetype') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 216, + lineNumber: 218, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -274,10 +278,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd value: attrs.archetype, onChange: (e)=>updateAttribute('archetype', e.target.value), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500", - placeholder: "Ex: Le Héros, Le Sage..." + placeholder: t('wb.archetype_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 217, + lineNumber: 219, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("datalist", { @@ -286,28 +290,28 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd value: a }, a, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 226, + lineNumber: 228, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 225, + lineNumber: 227, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 215, + lineNumber: 217, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-2", - children: "Rôle dans l'histoire" + children: t('wb.role') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 230, + lineNumber: 232, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -315,19 +319,19 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ { val: 'protagonist', - label: 'Protagoniste' + label: t('wb.role_protagonist') }, { val: 'antagonist', - label: 'Antagoniste' + label: t('wb.role_antagonist') }, { val: 'support', - label: 'Secondaire' + label: t('wb.role_support') }, { val: 'extra', - label: 'Figurant' + label: t('wb.role_extra') } ].map((opt)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: `cursor-pointer px-3 py-1.5 rounded text-xs border transition-colors ${attrs.role === opt.val ? 'bg-indigo-100 border-indigo-300 text-indigo-700 font-bold' : 'bg-theme-bg border-theme-border text-theme-muted hover:bg-theme-border'}`, @@ -341,37 +345,37 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "hidden" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 239, + lineNumber: 241, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), opt.label ] }, opt.val, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 238, + lineNumber: 240, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 231, + lineNumber: 233, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 229, + lineNumber: 231, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 214, + lineNumber: 216, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 210, + lineNumber: 212, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -384,14 +388,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 258, + lineNumber: 260, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Apparence Physique" + " ", + t('wb.appearance') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 257, + lineNumber: 259, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -406,15 +411,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-xs mb-1", children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "font-semibold text-theme-muted", - children: "Âge (ans)" + children: t('wb.age') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 264, + lineNumber: 266, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 263, + lineNumber: 265, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -429,7 +434,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 267, + lineNumber: 269, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -439,19 +444,19 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 273, + lineNumber: 275, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 266, + lineNumber: 268, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 262, + lineNumber: 264, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -460,15 +465,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-xs mb-1", children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "font-semibold text-theme-muted", - children: "Taille (cm)" + children: t('wb.height') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 284, + lineNumber: 286, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 283, + lineNumber: 285, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -483,7 +488,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 287, + lineNumber: 289, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -493,25 +498,25 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 293, + lineNumber: 295, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 286, + lineNumber: 288, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 282, + lineNumber: 284, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 261, + lineNumber: 263, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -524,10 +529,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Cheveux" + children: t('wb.hair') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 306, + lineNumber: 308, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -539,28 +544,28 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: c }, c, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 312, + lineNumber: 314, columnNumber: 43 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 307, + lineNumber: 309, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 305, + lineNumber: 307, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Yeux" + children: t('wb.eyes') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 316, + lineNumber: 318, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -572,69 +577,69 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: c }, c, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 322, + lineNumber: 324, columnNumber: 42 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 317, + lineNumber: 319, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 315, + lineNumber: 317, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 304, + lineNumber: 306, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Signe distinctif" + children: t('wb.physical_quirk') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 327, + lineNumber: 329, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: "text", value: attrs.physicalQuirk, onChange: (e)=>updateAttribute('physicalQuirk', e.target.value), - placeholder: "Cicatrice, tatouage...", + placeholder: t('wb.physical_quirk_ph'), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 328, + lineNumber: 330, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 326, + lineNumber: 328, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 303, + lineNumber: 305, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 260, + lineNumber: 262, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 256, + lineNumber: 258, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -647,14 +652,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 343, + lineNumber: 345, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Psychologie & Comportement" + " ", + t('wb.psychology') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 342, + lineNumber: 344, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -670,23 +676,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Introverti" + children: t('wb.introvert') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 350, + lineNumber: 352, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Extraverti" + children: t('wb.extravert') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 351, + lineNumber: 353, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 349, + lineNumber: 351, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -698,13 +704,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 353, + lineNumber: 355, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 348, + lineNumber: 350, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -714,23 +720,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Émotionnel" + children: t('wb.emotional') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 362, + lineNumber: 364, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Rationnel" + children: t('wb.rational') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 363, + lineNumber: 365, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 361, + lineNumber: 363, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -742,13 +748,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 365, + lineNumber: 367, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 360, + lineNumber: 362, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -758,23 +764,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Chaotique" + children: t('wb.chaotic') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 374, + lineNumber: 376, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { - children: "Loyal" + children: t('wb.lawful') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 375, + lineNumber: 377, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 373, + lineNumber: 375, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -786,19 +792,19 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 377, + lineNumber: 379, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 372, + lineNumber: 374, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 347, + lineNumber: 349, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -806,45 +812,45 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Toc ou habitude comportementale" + children: t('wb.behavioral_quirk') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 387, + lineNumber: 389, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: "text", value: attrs.behavioralQuirk, onChange: (e)=>updateAttribute('behavioralQuirk', e.target.value), - placeholder: "Joue avec sa bague, bégaie quand il ment...", + placeholder: t('wb.behavioral_quirk_ph'), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 388, + lineNumber: 390, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 386, + lineNumber: 388, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 346, + lineNumber: 348, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 341, + lineNumber: 343, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 207, + lineNumber: 209, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); }; @@ -861,14 +867,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 409, + lineNumber: 411, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), - " Champs Personnalisés" + " ", + t('wb.custom_fields') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 408, + lineNumber: 410, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -882,7 +889,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: field.label }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 417, + lineNumber: 419, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), field.type === 'textarea' ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -892,7 +899,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd placeholder: field.placeholder }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 420, + lineNumber: 422, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) : field.type === 'select' ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { value: value, @@ -901,10 +908,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "", - children: "Sélectionner..." + children: t('wb.select') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 432, + lineNumber: 434, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), field.options?.map((opt)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { @@ -912,13 +919,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: opt }, opt, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 434, + lineNumber: 436, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 427, + lineNumber: 429, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) : field.type === 'boolean' ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "flex items-center gap-2 cursor-pointer", @@ -930,21 +937,21 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-4 h-4 text-indigo-600 rounded border-theme-border focus:ring-indigo-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 439, + lineNumber: 441, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { className: "text-sm text-theme-text", - children: "Activé / Oui" + children: t('wb.active_yes') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 445, + lineNumber: 447, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 438, + lineNumber: 440, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { type: field.type === 'number' ? 'number' : 'text', @@ -954,25 +961,25 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd placeholder: field.placeholder }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 448, + lineNumber: 450, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, field.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 416, + lineNumber: 418, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)); }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 411, + lineNumber: 413, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 407, + lineNumber: 409, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); }; @@ -997,28 +1004,29 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "text-indigo-600" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 472, + lineNumber: 474, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), - " Éditeur de Modèles" + " ", + t('wb.template_editor') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 471, + lineNumber: 473, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-theme-muted text-sm mt-1", - children: "Configurez les champs personnalisés pour chaque type de fiche." + children: t('wb.template_editor_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 474, + lineNumber: 476, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 470, + lineNumber: 472, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1028,18 +1036,18 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 479, + lineNumber: 481, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 478, + lineNumber: 480, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 469, + lineNumber: 471, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1050,12 +1058,12 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: type }, type, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 485, + lineNumber: 487, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 483, + lineNumber: 485, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1071,10 +1079,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Nom du champ" + children: t('wb.field_name') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 503, + lineNumber: 505, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -1086,23 +1094,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 504, + lineNumber: 506, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 502, + lineNumber: 504, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Type" + children: t('wb.field_type') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 512, + lineNumber: 514, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("select", { @@ -1114,54 +1122,54 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { value: "text", - children: "Texte court" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 518, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "textarea", - children: "Texte long" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 519, - columnNumber: 21 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "number", - children: "Nombre" + children: t('wb.type_text') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 520, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "boolean", - children: "Case à cocher" + value: "textarea", + children: t('wb.type_textarea') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 521, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { - value: "select", - children: "Liste déroulante" + value: "number", + children: t('wb.type_num') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 522, columnNumber: 21 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { + value: "boolean", + children: t('wb.type_bool') + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 523, + columnNumber: 21 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("option", { + value: "select", + children: t('wb.type_select') + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 524, + columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 513, + lineNumber: 515, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 511, + lineNumber: 513, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), field.type === 'select' && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1169,10 +1177,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-xs font-semibold text-theme-muted mb-1", - children: "Options (séparées par des virgules)" + children: t('wb.options_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 527, + lineNumber: 529, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -1182,22 +1190,22 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd options: e.target.value.split(',').map((s)=>s.trim()) }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded text-sm", - placeholder: "Option A, Option B, Option C" + placeholder: t('wb.options_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 528, + lineNumber: 530, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 526, + lineNumber: 528, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 501, + lineNumber: 503, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1207,18 +1215,18 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 542, + lineNumber: 544, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 538, + lineNumber: 540, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, field.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 500, + lineNumber: 502, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0))), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1229,135 +1237,137 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 551, + lineNumber: 553, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Ajouter un champ" + " ", + t('wb.add_field') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 547, + lineNumber: 549, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 498, + lineNumber: 500, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 468, + lineNumber: 470, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); }; if (mode === 'templates') { return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex h-full gap-6 p-6 bg-theme-bg", + className: "flex flex-col md:flex-row h-full gap-4 md:gap-6 p-4 md:p-6 bg-theme-bg", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "w-1/3 opacity-50 pointer-events-none filter blur-[1px]", + className: "hidden md:block w-1/3 opacity-50 pointer-events-none filter blur-[1px]", children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "bg-theme-panel rounded-lg p-6 shadow-sm border border-theme-border", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h3", { className: "font-bold text-theme-text mb-4", - children: "Aperçu Fiches" + children: t('wb.preview_cards') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 563, + lineNumber: 565, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "space-y-2", children: [ - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "h-10 bg-indigo-500/10 rounded" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 565, - columnNumber: 15 - }, ("TURBOPACK compile-time value", void 0)), - /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "h-10 bg-indigo-500/10 rounded" - }, void 0, false, { - fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 566, - columnNumber: 15 - }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "h-10 bg-indigo-500/10 rounded" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", lineNumber: 567, columnNumber: 15 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { + className: "h-10 bg-indigo-500/10 rounded" + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 568, + columnNumber: 15 + }, ("TURBOPACK compile-time value", void 0)), + /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { + className: "h-10 bg-indigo-500/10 rounded" + }, void 0, false, { + fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", + lineNumber: 569, + columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 564, + lineNumber: 566, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 562, + lineNumber: 564, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 561, + lineNumber: 563, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), renderTemplateManager() ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 560, + lineNumber: 562, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)); } return /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex h-full gap-6 p-6 bg-theme-bg", + className: "flex flex-col md:flex-row h-full gap-4 md:gap-6 p-4 md:p-6 bg-theme-bg", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "w-1/3 flex flex-col gap-4", + className: `${editingId ? 'hidden md:flex' : 'flex'} w-full md:w-1/3 flex-col gap-4 h-full`, children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex justify-between items-center px-1", children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h2", { className: "text-lg font-bold text-theme-text", - children: "Explorateur" + children: t('wb.explorer') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 580, + lineNumber: 582, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { onClick: ()=>setMode('templates'), className: "flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors", - title: "Gérer les modèles de fiches", + title: t('wb.manage_templates'), children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$settings$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__Settings$3e$__["Settings"], { size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 586, + lineNumber: 588, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), - " Modèles" + " ", + t('wb.templates') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 581, + lineNumber: 583, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 579, + lineNumber: 581, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1375,7 +1385,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$constants$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["ENTITY_ICONS"][type] }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 595, + lineNumber: 597, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " ", @@ -1384,7 +1394,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 594, + lineNumber: 596, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1394,18 +1404,18 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 16 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 601, + lineNumber: 603, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 597, + lineNumber: 599, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 593, + lineNumber: 595, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1413,10 +1423,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ filterByType(type).length === 0 && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "p-4 text-sm text-theme-muted italic text-center", - children: "Aucun élément" + children: t('wb.no_element') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 606, + lineNumber: 608, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), filterByType(type).map((entity)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1430,7 +1440,7 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: entity.name }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 615, + lineNumber: 617, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1438,13 +1448,13 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: entity.description }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 616, + lineNumber: 618, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 614, + lineNumber: 616, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -1457,45 +1467,45 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 622, + lineNumber: 624, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 618, + lineNumber: 620, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) ] }, entity.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 609, + lineNumber: 611, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 604, + lineNumber: 606, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, type, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 592, + lineNumber: 594, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 590, + lineNumber: 592, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 578, + lineNumber: 580, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { - className: "flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-8 overflow-y-auto", + className: `${!editingId ? 'hidden md:block' : 'block'} flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-4 sm:p-6 md:p-8 overflow-y-auto h-full`, children: editingId && tempEntity ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "space-y-6 animate-in fade-in duration-200", children: [ @@ -1510,21 +1520,21 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: tempEntity.type }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 637, + lineNumber: 639, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h2", { className: "text-2xl font-bold text-theme-text", - children: tempEntity.type === __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["EntityType"].CHARACTER ? 'Fiche Personnage' : 'Édition de la fiche' + children: tempEntity.type === __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["EntityType"].CHARACTER ? t('wb.char_sheet') : t('wb.edit_sheet') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 640, + lineNumber: 642, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 636, + lineNumber: 638, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1536,23 +1546,23 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 20 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 646, + lineNumber: 648, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 645, + lineNumber: 647, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 644, + lineNumber: 646, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 635, + lineNumber: 637, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1562,10 +1572,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-medium text-theme-text mb-1", - children: "Nom" + children: t('wb.name') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 653, + lineNumber: 655, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("input", { @@ -1576,26 +1586,26 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd name: e.target.value }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg", - placeholder: "Ex: Gandalf le Gris" + placeholder: t('wb.name_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 654, + lineNumber: 656, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 652, + lineNumber: 654, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-medium text-theme-text mb-1", - children: "Description Courte (pour l'IA)" + children: t('wb.short_desc') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 664, + lineNumber: 666, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -1605,16 +1615,16 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd description: e.target.value }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20", - placeholder: "Un magicien puissant qui guide la communauté..." + placeholder: t('wb.short_desc_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 665, + lineNumber: 667, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 663, + lineNumber: 665, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), tempEntity.type === __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$lib$2f$types$2e$ts__$5b$app$2d$client$5d$__$28$ecmascript$29$__["EntityType"].CHARACTER && renderCharacterEditor(), @@ -1631,14 +1641,15 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 680, + lineNumber: 682, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)), - " Contexte Narratif (Auto-généré)" + " ", + t('wb.story_context') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 679, + lineNumber: 681, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -1648,16 +1659,16 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd storyContext: e.target.value }), className: "w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted", - placeholder: "Les événements vécus par ce personnage apparaîtront ici..." + placeholder: t('wb.story_context_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 682, + lineNumber: 684, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 678, + lineNumber: 680, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1665,10 +1676,10 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: [ /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("label", { className: "block text-sm font-medium text-theme-text mb-1", - children: "Notes & Biographie Complète" + children: t('wb.notes_bio') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 691, + lineNumber: 693, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("textarea", { @@ -1678,22 +1689,22 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd details: e.target.value }), className: "w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif", - placeholder: "Histoire détaillée, secrets, origines..." + placeholder: t('wb.notes_bio_ph') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 692, + lineNumber: 694, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 690, + lineNumber: 692, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 677, + lineNumber: 679, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -1706,31 +1717,31 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 706, + lineNumber: 708, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), - "Enregistrer la fiche" + t('wb.save') ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 702, + lineNumber: 704, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 701, + lineNumber: 703, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 651, + lineNumber: 653, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 634, + lineNumber: 636, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "h-full flex flex-col items-center justify-center text-theme-muted", @@ -1740,44 +1751,48 @@ const WorldBuilder = ({ entities, onCreate, onUpdate, onDelete, templates, onUpd children: "🌍" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 714, + lineNumber: 716, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-lg", - children: "Sélectionnez ou créez une fiche pour commencer." + children: t('wb.select_start') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 715, + lineNumber: 717, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { className: "text-sm", - children: "Ces informations aideront l'IA à rester cohérente." + children: t('wb.ai_help') }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 716, + lineNumber: 718, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 713, + lineNumber: 715, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 632, + lineNumber: 634, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/WorldBuilder.tsx", - lineNumber: 577, + lineNumber: 579, columnNumber: 5 }, ("TURBOPACK compile-time value", void 0)); }; -_s(WorldBuilder, "4UT+VUhJxb0xQ7yRNlAXfmkVwAo="); +_s(WorldBuilder, "vjBDMFSsKmqpcXq0nRZWbHpjUE0=", false, function() { + return [ + __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$src$2f$providers$2f$LanguageProvider$2e$tsx__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useLanguage"] + ]; +}); _c = WorldBuilder; const __TURBOPACK__default__export__ = WorldBuilder; var _c; diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js.map b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js.map index 39615e0..61f38fc 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js.map +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_d41e99d0._.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/WorldBuilder.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState, useMemo, useEffect } from 'react';\nimport { Entity, EntityType, CharacterAttributes, EntityTemplate, CustomFieldDefinition, CustomFieldType } from '@/lib/types';\nimport { Plus, Trash2, Save, X, Sparkles, User, Activity, Brain, Ruler, Settings, Layout, List, ToggleLeft } from 'lucide-react';\nimport { ENTITY_ICONS, ENTITY_COLORS, HAIR_COLORS, EYE_COLORS, ARCHETYPES } from '@/lib/constants';\n\ninterface WorldBuilderProps {\n entities: Entity[];\n onCreate: (entity: Omit) => Promise;\n onUpdate: (id: string, updates: Partial) => void;\n onDelete: (id: string) => void;\n templates: EntityTemplate[];\n onUpdateTemplates: (templates: EntityTemplate[]) => void;\n initialSelectedId?: string | null;\n}\n\nconst DEFAULT_CHAR_ATTRIBUTES: CharacterAttributes = {\n age: 30,\n height: 175,\n hair: 'Brun',\n eyes: 'Marron',\n archetype: 'Le Héros',\n role: 'support',\n personality: {\n spectrumIntrovertExtravert: 50,\n spectrumEmotionalRational: 50,\n spectrumChaoticLawful: 50,\n },\n physicalQuirk: '',\n behavioralQuirk: ''\n};\n\nconst WorldBuilder: React.FC = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId }) => {\n const [editingId, setEditingId] = useState(null);\n const [tempEntity, setTempEntity] = useState(null);\n const [mode, setMode] = useState<'entities' | 'templates'>('entities');\n\n // Template Editor State\n const [activeTemplateType, setActiveTemplateType] = useState(EntityType.CHARACTER);\n\n // Handle external navigation request (deep link)\n useEffect(() => {\n if (initialSelectedId) {\n const entity = entities.find(e => e.id === initialSelectedId);\n if (entity) {\n handleEdit(entity);\n setMode('entities');\n }\n }\n }, [initialSelectedId, entities]);\n\n // Dynamic Archetypes List\n const allArchetypes = useMemo(() => {\n const existing = entities\n .filter(e => e.type === EntityType.CHARACTER && e.attributes?.archetype)\n .map(e => e.attributes!.archetype);\n return Array.from(new Set([...ARCHETYPES, ...existing])).sort();\n }, [entities]);\n\n // --- ENTITY ACTIONS ---\n\n const handleAdd = (type: EntityType) => {\n const newEntity: Entity = {\n id: Date.now().toString(), // Helper ID for UI\n type,\n name: '',\n description: '',\n details: '',\n storyContext: '',\n attributes: type === EntityType.CHARACTER ? { ...DEFAULT_CHAR_ATTRIBUTES } : undefined,\n customValues: {}\n };\n setTempEntity(newEntity);\n setEditingId('NEW');\n };\n\n const handleEdit = (entity: Entity) => {\n // Ensure attributes exist if it's a character (backward compatibility)\n const entityToEdit = { ...entity };\n if (entity.type === EntityType.CHARACTER && !entity.attributes) {\n entityToEdit.attributes = { ...DEFAULT_CHAR_ATTRIBUTES };\n }\n if (!entity.customValues) {\n entityToEdit.customValues = {};\n }\n setTempEntity(entityToEdit);\n setEditingId(entity.id);\n };\n\n const handleSave = async () => {\n if (!tempEntity || !tempEntity.name) return;\n\n if (editingId === 'NEW') {\n const { id, ...entityData } = tempEntity;\n await onCreate(entityData);\n } else {\n onUpdate(tempEntity.id, tempEntity);\n }\n setEditingId(null);\n setTempEntity(null);\n };\n\n const handleDelete = (id: string) => {\n if (confirm('Supprimer cet élément ?')) {\n onDelete(id);\n if (editingId === id) {\n setEditingId(null);\n setTempEntity(null);\n }\n }\n };\n\n const updateAttribute = (key: keyof CharacterAttributes, value: any) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: { ...tempEntity.attributes, [key]: value }\n });\n }\n };\n\n const updatePersonality = (key: keyof CharacterAttributes['personality'], value: number) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: {\n ...tempEntity.attributes,\n personality: { ...tempEntity.attributes.personality, [key]: value }\n }\n });\n }\n };\n\n const updateCustomValue = (fieldId: string, value: any) => {\n if (tempEntity) {\n setTempEntity({\n ...tempEntity,\n customValues: {\n ...tempEntity.customValues,\n [fieldId]: value\n }\n });\n }\n };\n\n // --- TEMPLATE ACTIONS ---\n\n const addCustomField = (type: EntityType) => {\n const newField: CustomFieldDefinition = {\n id: `field-${Date.now()}`,\n label: 'Nouveau Champ',\n type: 'text',\n placeholder: ''\n };\n\n // Correct immutable update\n const updatedTemplates = templates.map(t => {\n if (t.entityType === type) {\n return {\n ...t,\n fields: [...t.fields, newField]\n };\n }\n return t;\n });\n\n // If template didn't exist (unlikely given App.tsx init, but safe)\n if (!updatedTemplates.some(t => t.entityType === type)) {\n updatedTemplates.push({ entityType: type, fields: [newField] });\n }\n\n onUpdateTemplates(updatedTemplates);\n };\n\n const updateCustomField = (type: EntityType, fieldId: string, updates: Partial) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.map(f => f.id === fieldId ? { ...f, ...updates } : f)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const deleteCustomField = (type: EntityType, fieldId: string) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.filter(f => f.id !== fieldId)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const filterByType = (type: EntityType) => entities.filter(e => e.type === type);\n\n // --- RENDER HELPERS ---\n\n const renderCharacterEditor = () => {\n if (!tempEntity?.attributes) return null;\n const attrs = tempEntity.attributes;\n\n return (\n
\n\n {/* SECTION 1: ROLE & ARCHETYPE */}\n
\n

\n Identité Narrative\n

\n
\n
\n \n updateAttribute('archetype', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500\"\n placeholder=\"Ex: Le Héros, Le Sage...\"\n />\n \n {allArchetypes.map(a => \n
\n
\n \n
\n {[\n { val: 'protagonist', label: 'Protagoniste' },\n { val: 'antagonist', label: 'Antagoniste' },\n { val: 'support', label: 'Secondaire' },\n { val: 'extra', label: 'Figurant' }\n ].map(opt => (\n \n ))}\n
\n
\n
\n
\n\n {/* SECTION 2: PHYSIQUE */}\n
\n

\n Apparence Physique\n

\n
\n
\n
\n
\n \n
\n
\n updateAttribute('age', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('age', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n\n
\n
\n \n
\n
\n updateAttribute('height', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('height', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n
\n\n
\n
\n
\n \n updateAttribute('hair', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {HAIR_COLORS.map(c => )}\n \n
\n
\n \n updateAttribute('eyes', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {EYE_COLORS.map(c => )}\n \n
\n
\n
\n \n updateAttribute('physicalQuirk', e.target.value)}\n placeholder=\"Cicatrice, tatouage...\"\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n\n {/* SECTION 3: PSYCHOLOGIE */}\n
\n

\n Psychologie & Comportement\n

\n\n
\n
\n
\n
\n Introverti\n Extraverti\n
\n updatePersonality('spectrumIntrovertExtravert', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n Émotionnel\n Rationnel\n
\n updatePersonality('spectrumEmotionalRational', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n Chaotique\n Loyal\n
\n updatePersonality('spectrumChaoticLawful', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n\n
\n \n updateAttribute('behavioralQuirk', e.target.value)}\n placeholder=\"Joue avec sa bague, bégaie quand il ment...\"\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n );\n };\n\n const renderCustomFieldsEditor = () => {\n const currentTemplate = templates.find(t => t.entityType === tempEntity?.type);\n if (!currentTemplate || currentTemplate.fields.length === 0) return null;\n\n return (\n
\n

\n Champs Personnalisés\n

\n
\n {currentTemplate.fields.map(field => {\n const value = tempEntity?.customValues?.[field.id] ?? '';\n\n return (\n
\n \n\n {field.type === 'textarea' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n ) : field.type === 'select' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n >\n \n {field.options?.map(opt => (\n \n ))}\n \n ) : field.type === 'boolean' ? (\n \n ) : (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n )}\n
\n );\n })}\n
\n
\n );\n };\n\n const renderTemplateManager = () => {\n const template = templates.find(t => t.entityType === activeTemplateType) || { entityType: activeTemplateType, fields: [] };\n\n return (\n
\n
\n
\n

\n Éditeur de Modèles\n

\n

\n Configurez les champs personnalisés pour chaque type de fiche.\n

\n
\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n setActiveTemplateType(type)}\n className={`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${activeTemplateType === type\n ? 'bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600'\n : 'text-theme-muted hover:text-theme-text hover:bg-theme-panel/50'\n }`}\n >\n {type}\n \n ))}\n
\n\n
\n {template.fields.map((field, idx) => (\n
\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { label: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n />\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { type: e.target.value as CustomFieldType })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n \n \n \n \n \n \n
\n {field.type === 'select' && (\n
\n \n updateCustomField(activeTemplateType, field.id, { options: e.target.value.split(',').map(s => s.trim()) })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n placeholder=\"Option A, Option B, Option C\"\n />\n
\n )}\n
\n deleteCustomField(activeTemplateType, field.id)}\n className=\"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5\"\n >\n \n \n
\n ))}\n\n addCustomField(activeTemplateType)}\n className=\"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2\"\n >\n Ajouter un champ\n \n
\n
\n );\n };\n\n if (mode === 'templates') {\n return (\n
\n
\n
\n

Aperçu Fiches

\n
\n
\n
\n
\n
\n
\n
\n {renderTemplateManager()}\n
\n );\n }\n\n return (\n
\n
\n
\n

Explorateur

\n setMode('templates')}\n className=\"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors\"\n title=\"Gérer les modèles de fiches\"\n >\n Modèles\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n
\n
\n

\n {ENTITY_ICONS[type]} {type}s\n

\n handleAdd(type)}\n className=\"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors\"\n >\n \n \n
\n
\n {filterByType(type).length === 0 && (\n

Aucun élément

\n )}\n {filterByType(type).map(entity => (\n handleEdit(entity)}\n className={`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${editingId === entity.id ? 'bg-blue-500/10 border-l-4 border-blue-500' : ''}`}\n >\n
\n
{entity.name}
\n
{entity.description}
\n
\n { e.stopPropagation(); handleDelete(entity.id); }}\n className=\"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity\"\n >\n \n \n
\n ))}\n
\n
\n ))}\n
\n
\n\n
\n {editingId && tempEntity ? (\n
\n
\n
\n \n {tempEntity.type}\n \n

\n {tempEntity.type === EntityType.CHARACTER ? 'Fiche Personnage' : 'Édition de la fiche'}\n

\n
\n
\n \n
\n
\n\n
\n
\n \n setTempEntity({ ...tempEntity, name: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg\"\n placeholder=\"Ex: Gandalf le Gris\"\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, description: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20\"\n placeholder=\"Un magicien puissant qui guide la communauté...\"\n />\n
\n\n {tempEntity.type === EntityType.CHARACTER && renderCharacterEditor()}\n\n {renderCustomFieldsEditor()}\n\n
\n
\n \n setTempEntity({ ...tempEntity, storyContext: e.target.value })}\n className=\"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted\"\n placeholder=\"Les événements vécus par ce personnage apparaîtront ici...\"\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, details: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif\"\n placeholder=\"Histoire détaillée, secrets, origines...\"\n />\n
\n
\n\n
\n \n \n Enregistrer la fiche\n \n
\n
\n
\n ) : (\n
\n
🌍
\n

Sélectionnez ou créez une fiche pour commencer.

\n

Ces informations aideront l'IA à rester cohérente.

\n
\n )}\n
\n \n );\n};\n\nexport default WorldBuilder;"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;;;AALA;;;;;AAiBA,MAAM,0BAA+C;IACnD,KAAK;IACL,QAAQ;IACR,MAAM;IACN,MAAM;IACN,WAAW;IACX,MAAM;IACN,aAAa;QACX,4BAA4B;QAC5B,2BAA2B;QAC3B,uBAAuB;IACzB;IACA,eAAe;IACf,iBAAiB;AACnB;AAEA,MAAM,eAA4C,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,iBAAiB,EAAE;;IAC5I,MAAM,CAAC,WAAW,aAAa,GAAG,IAAA,qNAAQ,EAAgB;IAC1D,MAAM,CAAC,YAAY,cAAc,GAAG,IAAA,qNAAQ,EAAgB;IAC5D,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAA,qNAAQ,EAA2B;IAE3D,wBAAwB;IACxB,MAAM,CAAC,oBAAoB,sBAAsB,GAAG,IAAA,qNAAQ,EAAa,gLAAU,CAAC,SAAS;IAE7F,iDAAiD;IACjD,IAAA,sNAAS;kCAAC;YACR,IAAI,mBAAmB;gBACrB,MAAM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B;;;;;;sCAC1C,yOAAC;4BAAE,WAAU;sCAAU;;;;;;sCACvB,yOAAC;4BAAE,WAAU;sCAAU;;;;;;;;;;;;;;;;;;;;;;;AAMnC;GAhrBM;KAAA;uCAkrBS"}}, - {"offset": {"line": 1791, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/world/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport WorldBuilder from '@/components/WorldBuilder';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function WorldPage() {\r\n const { project, updateProject, createEntity, updateEntity, deleteEntity } = useProjectContext();\r\n\r\n return (\r\n {\r\n return await createEntity(entityData.type, entityData);\r\n }}\r\n onUpdate={(entityId, updates) => updateEntity(entityId, updates)}\r\n onDelete={(entityId) => deleteEntity(entityId)}\r\n templates={project.templates || []}\r\n onUpdateTemplates={(t) => updateProject({ templates: t })}\r\n initialSelectedId={null}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;;;AAHA;;;AAKe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,IAAA,wMAAiB;IAE9F,qBACI,yOAAC,4LAAY;QACT,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,UAAU,OAAO;YACb,OAAO,MAAM,aAAa,WAAW,IAAI,EAAE;QAC/C;QACA,UAAU,CAAC,UAAU,UAAY,aAAa,UAAU;QACxD,UAAU,CAAC,WAAa,aAAa;QACrC,WAAW,QAAQ,SAAS,IAAI,EAAE;QAClC,mBAAmB,CAAC,IAAM,cAAc;gBAAE,WAAW;YAAE;QACvD,mBAAmB;;;;;;AAG/B;GAhBwB;;QACyD,wMAAiB;;;KAD1E"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/WorldBuilder.tsx"],"sourcesContent":["'use client';\n\nimport React, { useState, useMemo, useEffect } from 'react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { Entity, EntityType, CharacterAttributes, EntityTemplate, CustomFieldDefinition, CustomFieldType } from '@/lib/types';\nimport { Plus, Trash2, Save, X, Sparkles, User, Activity, Brain, Ruler, Settings, Layout, List, ToggleLeft } from 'lucide-react';\nimport { ENTITY_ICONS, ENTITY_COLORS, HAIR_COLORS, EYE_COLORS, ARCHETYPES } from '@/lib/constants';\n\ninterface WorldBuilderProps {\n entities: Entity[];\n onCreate: (entity: Omit) => Promise;\n onUpdate: (id: string, updates: Partial) => void;\n onDelete: (id: string) => void;\n templates: EntityTemplate[];\n onUpdateTemplates: (templates: EntityTemplate[]) => void;\n initialSelectedId?: string | null;\n}\n\nconst DEFAULT_CHAR_ATTRIBUTES: CharacterAttributes = {\n age: 30,\n height: 175,\n hair: 'Brun',\n eyes: 'Marron',\n archetype: 'Le Héros',\n role: 'support',\n personality: {\n spectrumIntrovertExtravert: 50,\n spectrumEmotionalRational: 50,\n spectrumChaoticLawful: 50,\n },\n physicalQuirk: '',\n behavioralQuirk: ''\n};\n\nconst WorldBuilder: React.FC = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId }) => {\n const { t } = useLanguage();\n const [editingId, setEditingId] = useState(null);\n const [tempEntity, setTempEntity] = useState(null);\n const [mode, setMode] = useState<'entities' | 'templates'>('entities');\n\n // Template Editor State\n const [activeTemplateType, setActiveTemplateType] = useState(EntityType.CHARACTER);\n\n // Handle external navigation request (deep link)\n useEffect(() => {\n if (initialSelectedId) {\n const entity = entities.find(e => e.id === initialSelectedId);\n if (entity) {\n handleEdit(entity);\n setMode('entities');\n }\n }\n }, [initialSelectedId, entities]);\n\n // Dynamic Archetypes List\n const allArchetypes = useMemo(() => {\n const existing = entities\n .filter(e => e.type === EntityType.CHARACTER && e.attributes?.archetype)\n .map(e => e.attributes!.archetype);\n return Array.from(new Set([...ARCHETYPES, ...existing])).sort();\n }, [entities]);\n\n // --- ENTITY ACTIONS ---\n\n const handleAdd = (type: EntityType) => {\n const newEntity: Entity = {\n id: Date.now().toString(), // Helper ID for UI\n type,\n name: '',\n description: '',\n details: '',\n storyContext: '',\n attributes: type === EntityType.CHARACTER ? { ...DEFAULT_CHAR_ATTRIBUTES } : undefined,\n customValues: {}\n };\n setTempEntity(newEntity);\n setEditingId('NEW');\n };\n\n const handleEdit = (entity: Entity) => {\n // Ensure attributes exist if it's a character (backward compatibility)\n const entityToEdit = { ...entity };\n if (entity.type === EntityType.CHARACTER && !entity.attributes) {\n entityToEdit.attributes = { ...DEFAULT_CHAR_ATTRIBUTES };\n }\n if (!entity.customValues) {\n entityToEdit.customValues = {};\n }\n setTempEntity(entityToEdit);\n setEditingId(entity.id);\n };\n\n const handleSave = async () => {\n if (!tempEntity || !tempEntity.name) return;\n\n if (editingId === 'NEW') {\n const { id, ...entityData } = tempEntity;\n await onCreate(entityData);\n } else {\n onUpdate(tempEntity.id, tempEntity);\n }\n setEditingId(null);\n setTempEntity(null);\n };\n\n const handleDelete = (id: string) => {\n if (confirm(t('wb.delete_confirm'))) {\n onDelete(id);\n if (editingId === id) {\n setEditingId(null);\n setTempEntity(null);\n }\n }\n };\n\n const updateAttribute = (key: keyof CharacterAttributes, value: any) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: { ...tempEntity.attributes, [key]: value }\n });\n }\n };\n\n const updatePersonality = (key: keyof CharacterAttributes['personality'], value: number) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: {\n ...tempEntity.attributes,\n personality: { ...tempEntity.attributes.personality, [key]: value }\n }\n });\n }\n };\n\n const updateCustomValue = (fieldId: string, value: any) => {\n if (tempEntity) {\n setTempEntity({\n ...tempEntity,\n customValues: {\n ...tempEntity.customValues,\n [fieldId]: value\n }\n });\n }\n };\n\n // --- TEMPLATE ACTIONS ---\n\n const addCustomField = (type: EntityType) => {\n const newField: CustomFieldDefinition = {\n id: `field-${Date.now()}`,\n label: t('wb.new_field'),\n type: 'text',\n placeholder: ''\n };\n\n // Correct immutable update\n const updatedTemplates = templates.map(t => {\n if (t.entityType === type) {\n return {\n ...t,\n fields: [...t.fields, newField]\n };\n }\n return t;\n });\n\n // If template didn't exist (unlikely given App.tsx init, but safe)\n if (!updatedTemplates.some(t => t.entityType === type)) {\n updatedTemplates.push({ entityType: type, fields: [newField] });\n }\n\n onUpdateTemplates(updatedTemplates);\n };\n\n const updateCustomField = (type: EntityType, fieldId: string, updates: Partial) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.map(f => f.id === fieldId ? { ...f, ...updates } : f)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const deleteCustomField = (type: EntityType, fieldId: string) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.filter(f => f.id !== fieldId)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const filterByType = (type: EntityType) => entities.filter(e => e.type === type);\n\n // --- RENDER HELPERS ---\n\n const renderCharacterEditor = () => {\n if (!tempEntity?.attributes) return null;\n const attrs = tempEntity.attributes;\n\n return (\n
\n\n {/* SECTION 1: ROLE & ARCHETYPE */}\n
\n

\n {t('wb.id_narrative')}\n

\n
\n
\n \n updateAttribute('archetype', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500\"\n placeholder={t('wb.archetype_ph')}\n />\n \n {allArchetypes.map(a => \n
\n
\n \n
\n {[\n { val: 'protagonist', label: t('wb.role_protagonist') },\n { val: 'antagonist', label: t('wb.role_antagonist') },\n { val: 'support', label: t('wb.role_support') },\n { val: 'extra', label: t('wb.role_extra') }\n ].map(opt => (\n \n ))}\n
\n
\n
\n
\n\n {/* SECTION 2: PHYSIQUE */}\n
\n

\n {t('wb.appearance')}\n

\n
\n
\n
\n
\n \n
\n
\n updateAttribute('age', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('age', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n\n
\n
\n \n
\n
\n updateAttribute('height', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('height', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n
\n\n
\n
\n
\n \n updateAttribute('hair', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {HAIR_COLORS.map(c => )}\n \n
\n
\n \n updateAttribute('eyes', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {EYE_COLORS.map(c => )}\n \n
\n
\n
\n \n updateAttribute('physicalQuirk', e.target.value)}\n placeholder={t('wb.physical_quirk_ph')}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n\n {/* SECTION 3: PSYCHOLOGIE */}\n
\n

\n {t('wb.psychology')}\n

\n\n
\n
\n
\n
\n {t('wb.introvert')}\n {t('wb.extravert')}\n
\n updatePersonality('spectrumIntrovertExtravert', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n {t('wb.emotional')}\n {t('wb.rational')}\n
\n updatePersonality('spectrumEmotionalRational', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n {t('wb.chaotic')}\n {t('wb.lawful')}\n
\n updatePersonality('spectrumChaoticLawful', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n\n
\n \n updateAttribute('behavioralQuirk', e.target.value)}\n placeholder={t('wb.behavioral_quirk_ph')}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n );\n };\n\n const renderCustomFieldsEditor = () => {\n const currentTemplate = templates.find(t => t.entityType === tempEntity?.type);\n if (!currentTemplate || currentTemplate.fields.length === 0) return null;\n\n return (\n
\n

\n {t('wb.custom_fields')}\n

\n
\n {currentTemplate.fields.map(field => {\n const value = tempEntity?.customValues?.[field.id] ?? '';\n\n return (\n
\n \n\n {field.type === 'textarea' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n ) : field.type === 'select' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n >\n \n {field.options?.map(opt => (\n \n ))}\n \n ) : field.type === 'boolean' ? (\n \n ) : (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n )}\n
\n );\n })}\n
\n
\n );\n };\n\n const renderTemplateManager = () => {\n const template = templates.find(t => t.entityType === activeTemplateType) || { entityType: activeTemplateType, fields: [] };\n\n return (\n
\n
\n
\n

\n {t('wb.template_editor')}\n

\n

\n {t('wb.template_editor_desc')}\n

\n
\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n setActiveTemplateType(type)}\n className={`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${activeTemplateType === type\n ? 'bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600'\n : 'text-theme-muted hover:text-theme-text hover:bg-theme-panel/50'\n }`}\n >\n {type}\n \n ))}\n
\n\n
\n {template.fields.map((field, idx) => (\n
\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { label: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n />\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { type: e.target.value as CustomFieldType })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n \n \n \n \n \n \n
\n {field.type === 'select' && (\n
\n \n updateCustomField(activeTemplateType, field.id, { options: e.target.value.split(',').map(s => s.trim()) })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n placeholder={t('wb.options_ph')}\n />\n
\n )}\n
\n deleteCustomField(activeTemplateType, field.id)}\n className=\"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5\"\n >\n \n \n
\n ))}\n\n addCustomField(activeTemplateType)}\n className=\"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2\"\n >\n {t('wb.add_field')}\n \n
\n
\n );\n };\n\n if (mode === 'templates') {\n return (\n
\n
\n
\n

{t('wb.preview_cards')}

\n
\n
\n
\n
\n
\n
\n
\n {renderTemplateManager()}\n
\n );\n }\n\n return (\n
\n
\n
\n

{t('wb.explorer')}

\n setMode('templates')}\n className=\"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors\"\n title={t('wb.manage_templates')}\n >\n {t('wb.templates')}\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n
\n
\n

\n {ENTITY_ICONS[type]} {type}s\n

\n handleAdd(type)}\n className=\"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors\"\n >\n \n \n
\n
\n {filterByType(type).length === 0 && (\n

{t('wb.no_element')}

\n )}\n {filterByType(type).map(entity => (\n handleEdit(entity)}\n className={`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${editingId === entity.id ? 'bg-blue-500/10 border-l-4 border-blue-500' : ''}`}\n >\n
\n
{entity.name}
\n
{entity.description}
\n
\n { e.stopPropagation(); handleDelete(entity.id); }}\n className=\"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity\"\n >\n \n \n
\n ))}\n
\n
\n ))}\n
\n
\n\n
\n {editingId && tempEntity ? (\n
\n
\n
\n \n {tempEntity.type}\n \n

\n {tempEntity.type === EntityType.CHARACTER ? t('wb.char_sheet') : t('wb.edit_sheet')}\n

\n
\n
\n \n
\n
\n\n
\n
\n \n setTempEntity({ ...tempEntity, name: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg\"\n placeholder={t('wb.name_ph')}\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, description: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20\"\n placeholder={t('wb.short_desc_ph')}\n />\n
\n\n {tempEntity.type === EntityType.CHARACTER && renderCharacterEditor()}\n\n {renderCustomFieldsEditor()}\n\n
\n
\n \n setTempEntity({ ...tempEntity, storyContext: e.target.value })}\n className=\"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted\"\n placeholder={t('wb.story_context_ph')}\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, details: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif\"\n placeholder={t('wb.notes_bio_ph')}\n />\n
\n
\n\n
\n \n \n {t('wb.save')}\n \n
\n
\n
\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I,WAAU;8CACb,cAAA,yOAAC;wCACC,SAAS;wCACT,WAAU;;0DAEV,yOAAC,yPAAI;gDAAC,MAAM;;;;;;4CACX,EAAE;;;;;;;;;;;;;;;;;;;;;;;6EAMX,yOAAC;oBAAI,WAAU;;sCACb,yOAAC;4BAAI,WAAU;sCAA2B;;;;;;sCAC1C,yOAAC;4BAAE,WAAU;sCAAW,EAAE;;;;;;sCAC1B,yOAAC;4BAAE,WAAU;sCAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;AAMtC;GAjrBM;;QACU,mMAAW;;;KADrB;uCAmrBS"}}, + {"offset": {"line": 1806, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/world/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport WorldBuilder from '@/components/WorldBuilder';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function WorldPage() {\r\n const { project, updateProject, createEntity, updateEntity, deleteEntity } = useProjectContext();\r\n\r\n return (\r\n {\r\n return await createEntity(entityData.type, entityData);\r\n }}\r\n onUpdate={(entityId, updates) => updateEntity(entityId, updates)}\r\n onDelete={(entityId) => deleteEntity(entityId)}\r\n templates={project.templates || []}\r\n onUpdateTemplates={(t) => updateProject({ templates: t })}\r\n initialSelectedId={null}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;;;AAHA;;;AAKe,SAAS;;IACpB,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,IAAA,wMAAiB;IAE9F,qBACI,yOAAC,4LAAY;QACT,UAAU,QAAQ,QAAQ,IAAI,EAAE;QAChC,UAAU,OAAO;YACb,OAAO,MAAM,aAAa,WAAW,IAAI,EAAE;QAC/C;QACA,UAAU,CAAC,UAAU,UAAY,aAAa,UAAU;QACxD,UAAU,CAAC,WAAa,aAAa;QACrC,WAAW,QAAQ,SAAS,IAAI,EAAE;QAClC,mBAAmB,CAAC,IAAM,cAAc;gBAAE,WAAW;YAAE;QACvD,mBAAmB;;;;;;AAG/B;GAhBwB;;QACyD,wMAAiB;;;KAD1E"}}] } \ No newline at end of file diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js index c9548cf..bcde4d9 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js @@ -42,6 +42,10 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p // Auto-Save State const [saveStatus, setSaveStatus] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])('saved'); const saveTimeoutRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); + // Track sync state to avoid autosave loopbacks wiping current edits + // Start as null so the initial useEffect ALWAYS writes initialContent to the div + const syncRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(null); + const latestContentRef = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRef"])(initialContent); // Context Menu State const [contextMenu, setContextMenu] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(null); const [isAiLoading, setIsAiLoading] = (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useState"])(false); @@ -163,17 +167,37 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p // --- Effects --- (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ "RichTextEditor.useEffect": ()=>{ - if (contentRef.current && contentRef.current.innerHTML !== initialContent) { - // Only update if difference is significant to avoid cursor jumps on small re-renders? - // OR better: Only update if NOT focused? - if (!isFocused && Math.abs(contentRef.current.innerHTML.length - initialContent.length) > 5) { - contentRef.current.innerHTML = initialContent; - } - } + if (!contentRef.current || initialContent === undefined) return; + // Ignore exact loopbacks from our own saves + if (initialContent === syncRef.current) return; + // Safety: never overwrite real content with an empty string from a stale/placeholder source + const hasRealContent = latestContentRef.current && latestContentRef.current.trim().length > 0; + if (!initialContent && hasRealContent) return; + // We reached here, so initialContent is genuinely NEW data we didn't know about. + // E.g. clicked another chapter, or data was modified in another tab/device. + contentRef.current.innerHTML = initialContent; + syncRef.current = initialContent; + latestContentRef.current = initialContent; } }["RichTextEditor.useEffect"], [ - initialContent, - isFocused + initialContent + ]); + // Flush pending save on unmount + (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$index$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useEffect"])({ + "RichTextEditor.useEffect": ()=>{ + return ({ + "RichTextEditor.useEffect": ()=>{ + if (saveTimeoutRef.current) { + clearTimeout(saveTimeoutRef.current); + if (latestContentRef.current !== syncRef.current && onSave) { + onSave(latestContentRef.current); + } + } + } + })["RichTextEditor.useEffect"]; + } + }["RichTextEditor.useEffect"], [ + onSave ]); // --- Event Handlers --- const execCommand = (command, value = undefined)=>{ @@ -183,14 +207,18 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p }; const handleInput = ()=>{ if (contentRef.current) { - if (onChange) onChange(contentRef.current.innerHTML); + const currentHtml = contentRef.current.innerHTML; + latestContentRef.current = currentHtml; + if (onChange) onChange(currentHtml); // Auto-Save Debounce if (onSave) { setSaveStatus('unsaved'); if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current); saveTimeoutRef.current = setTimeout(async ()=>{ setSaveStatus('saving'); - await onSave(contentRef.current?.innerHTML || ""); + const htmlToSave = latestContentRef.current; + await onSave(htmlToSave); + syncRef.current = htmlToSave; // Record that we've synced this exact string to the server setSaveStatus('saved'); }, 2000); // 2 seconds } @@ -299,12 +327,12 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 18 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 311, + lineNumber: 340, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 298, + lineNumber: 327, columnNumber: 5 }, ("TURBOPACK compile-time value", void 0)); const hasSelection = savedRange.current && !savedRange.current.collapsed; @@ -322,7 +350,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p ` }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 319, + lineNumber: 348, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -334,7 +362,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Gras" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 330, + lineNumber: 359, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -343,7 +371,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Italique" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 331, + lineNumber: 360, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -352,14 +380,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Souligné" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 332, + lineNumber: 361, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 333, + lineNumber: 362, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -369,7 +397,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Titre 1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 334, + lineNumber: 363, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -379,14 +407,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Titre 2" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 335, + lineNumber: 364, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 336, + lineNumber: 365, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -395,7 +423,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Aligner à gauche" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 337, + lineNumber: 366, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -404,7 +432,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Centrer" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 338, + lineNumber: 367, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -413,14 +441,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Aligner à droite" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 339, + lineNumber: 368, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 340, + lineNumber: 369, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -429,14 +457,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p label: "Liste" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 341, + lineNumber: 370, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "flex-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 343, + lineNumber: 372, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -449,7 +477,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p className: "animate-spin" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 347, + lineNumber: 376, columnNumber: 41 }, ("TURBOPACK compile-time value", void 0)), " Sauvegarde..." @@ -462,7 +490,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p className: "text-green-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 348, + lineNumber: 377, columnNumber: 40 }, ("TURBOPACK compile-time value", void 0)), " Sauvegardé" @@ -473,20 +501,20 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p children: "Modifications non enregistrées..." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 349, + lineNumber: 378, columnNumber: 40 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 346, + lineNumber: 375, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "w-px h-6 bg-slate-300 mx-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 352, + lineNumber: 381, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(ToolbarButton, { @@ -496,13 +524,13 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p isActive: showHistoryMargin }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 353, + lineNumber: 382, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 329, + lineNumber: 358, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -515,6 +543,8 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p ref: contentRef, contentEditable: true, suppressContentEditableWarning: true, + spellCheck: true, + lang: "fr-FR", className: "bg-theme-editor-bg shadow-sm w-[800px] min-h-[1000px] p-12 outline-none font-serif text-lg leading-relaxed text-theme-editor-text editor-content transition-colors duration-300", onInput: handleInput, onBlur: ()=>{ @@ -530,7 +560,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p "data-placeholder": "Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 369, + lineNumber: 398, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), showHistoryMargin && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -544,7 +574,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p className: "mx-auto mb-2 opacity-20" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 391, + lineNumber: 422, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("p", { @@ -552,13 +582,13 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p children: "L'historique des modifications IA apparaîtra ici, aligné avec votre texte." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 392, + lineNumber: 423, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 390, + lineNumber: 421, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), versionGroups.map((group)=>{ @@ -577,7 +607,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p className: "absolute inset-0 bg-white border border-indigo-100 rounded-lg transform -translate-x-1 -translate-y-1 -z-10 shadow-sm" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 412, + lineNumber: 443, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -592,7 +622,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p className: "text-indigo-500" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 422, + lineNumber: 453, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -600,13 +630,13 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p children: latest.type }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 424, + lineNumber: 455, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 420, + lineNumber: 451, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -620,7 +650,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 432, + lineNumber: 463, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)), isStack && (isExpanded ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$up$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__ChevronUp$3e$__["ChevronUp"], { @@ -628,26 +658,26 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p className: "text-slate-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 436, + lineNumber: 467, columnNumber: 42 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$lucide$2d$react$2f$dist$2f$esm$2f$icons$2f$chevron$2d$down$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__$3c$export__default__as__ChevronDown$3e$__["ChevronDown"], { size: 14, className: "text-slate-400" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 436, + lineNumber: 467, columnNumber: 95 }, ("TURBOPACK compile-time value", void 0))) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 431, + lineNumber: 462, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 416, + lineNumber: 447, columnNumber: 23 }, ("TURBOPACK compile-time value", void 0)), !isExpanded && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -662,7 +692,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 444, + lineNumber: 475, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -673,20 +703,20 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 10 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 451, + lineNumber: 482, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0)), " Restaurer" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 447, + lineNumber: 478, columnNumber: 27 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 443, + lineNumber: 474, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)), isExpanded && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -702,7 +732,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p children: i === 0 ? 'Dernière version' : `Version -${i}` }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 462, + lineNumber: 493, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -714,13 +744,13 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p }) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 465, + lineNumber: 496, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 461, + lineNumber: 492, columnNumber: 31 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -732,7 +762,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 469, + lineNumber: 500, columnNumber: 31 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -743,54 +773,54 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 10 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 476, + lineNumber: 507, columnNumber: 33 }, ("TURBOPACK compile-time value", void 0)), " Restaurer cette version" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 472, + lineNumber: 503, columnNumber: 31 }, ("TURBOPACK compile-time value", void 0)) ] }, v.id, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 460, + lineNumber: 491, columnNumber: 29 }, ("TURBOPACK compile-time value", void 0))) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 458, + lineNumber: 489, columnNumber: 25 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 408, + lineNumber: 439, columnNumber: 21 }, ("TURBOPACK compile-time value", void 0)) }, group.id, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 403, + lineNumber: 434, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)); }) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 387, + lineNumber: 418, columnNumber: 13 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 366, + lineNumber: 395, columnNumber: 9 }, ("TURBOPACK compile-time value", void 0)) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 362, + lineNumber: 391, columnNumber: 7 }, ("TURBOPACK compile-time value", void 0)), contextMenu && /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { @@ -804,7 +834,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p } }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 494, + lineNumber: 525, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -821,7 +851,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 24 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 505, + lineNumber: 536, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", { @@ -829,13 +859,13 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p children: "L'IA travaille..." }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 506, + lineNumber: 537, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 504, + lineNumber: 535, columnNumber: 15 }, ("TURBOPACK compile-time value", void 0)) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])(__TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["Fragment"], { children: [ @@ -844,7 +874,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p children: "Outils IA" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 510, + lineNumber: 541, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -856,14 +886,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 519, + lineNumber: 550, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Corriger l'orthographe" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 514, + lineNumber: 545, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -875,14 +905,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 527, + lineNumber: 558, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Reformuler" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 522, + lineNumber: 553, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -894,14 +924,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 535, + lineNumber: 566, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Développer" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 530, + lineNumber: 561, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -912,21 +942,21 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 542, + lineNumber: 573, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Continuer l'écriture" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 538, + lineNumber: 569, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { className: "h-px bg-slate-100 my-1" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 545, + lineNumber: 576, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", { @@ -934,7 +964,7 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p children: "Édition" }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 547, + lineNumber: 578, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -946,14 +976,14 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 556, + lineNumber: 587, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Copier" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 551, + lineNumber: 582, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)), /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$Documents$2f$00__$2d$__projet$2f$plumeia$2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", { @@ -964,21 +994,21 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p size: 14 }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 563, + lineNumber: 594, columnNumber: 19 }, ("TURBOPACK compile-time value", void 0)), " Tout sélectionner" ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 559, + lineNumber: 590, columnNumber: 17 }, ("TURBOPACK compile-time value", void 0)) ] }, void 0, true) }, void 0, false, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 499, + lineNumber: 530, columnNumber: 11 }, ("TURBOPACK compile-time value", void 0)) ] @@ -986,10 +1016,10 @@ const RichTextEditor = /*#__PURE__*/ _s((0, __TURBOPACK__imported__module__$5b$p ] }, void 0, true, { fileName: "[project]/Documents/00 - projet/plumeia/src/components/RichTextEditor.tsx", - lineNumber: 318, + lineNumber: 347, columnNumber: 5 }, ("TURBOPACK compile-time value", void 0)); -}, "7tFpk7/VpUvLYmlDh3yJCwIq8ts=")), "7tFpk7/VpUvLYmlDh3yJCwIq8ts="); +}, "1keE8cf732OZ6jTNRl46BlQ/eZo=")), "1keE8cf732OZ6jTNRl46BlQ/eZo="); _c1 = RichTextEditor; const __TURBOPACK__default__export__ = RichTextEditor; var _c, _c1; diff --git a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js.map b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js.map index fdc5168..4de26f9 100644 --- a/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js.map +++ b/.next/dev/static/chunks/Documents_00 - projet_plumeia_src_e45494cc._.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/RichTextEditor.tsx"],"sourcesContent":["'use client';\n\nimport React, { useRef, useEffect, useState, useImperativeHandle, forwardRef, useMemo } from 'react';\nimport {\n Bold, Italic, Underline, AlignLeft, AlignCenter, AlignRight, List, Heading1, Heading2,\n Copy, Wand2, Check, RefreshCw, Maximize2, Loader2, MousePointerClick, History, RotateCcw,\n ChevronDown, ChevronUp, Layers\n} from 'lucide-react';\n\nexport interface RichTextEditorHandle {\n insertHtml: (html: string) => void;\n}\n\ninterface RichTextEditorProps {\n initialContent: string;\n onChange?: (html: string) => void;\n onSave?: (html: string) => void;\n onSelectionChange?: (text: string) => void;\n onAiTransform?: (text: string, mode: 'correct' | 'rewrite' | 'expand' | 'continue') => Promise;\n}\n\ninterface Version {\n id: string;\n timestamp: number;\n type: string;\n content: string; // Full HTML snapshot\n snippet: string; // Selected text snippet before change\n topOffset: number; // Y position relative to editor top\n}\n\ninterface VersionGroup {\n id: string;\n topOffset: number;\n versions: Version[];\n}\n\nconst RichTextEditor = forwardRef(({ initialContent, onChange, onSave, onSelectionChange, onAiTransform }, ref) => {\n const contentRef = useRef(null);\n const scrollContainerRef = useRef(null);\n const [isFocused, setIsFocused] = useState(false);\n\n // Auto-Save State\n const [saveStatus, setSaveStatus] = useState<'saved' | 'saving' | 'unsaved'>('saved');\n const saveTimeoutRef = useRef(null);\n\n // Context Menu State\n const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);\n const [isAiLoading, setIsAiLoading] = useState(false);\n\n // History State\n const [versions, setVersions] = useState([]);\n const [showHistoryMargin, setShowHistoryMargin] = useState(true);\n const [expandedGroupIds, setExpandedGroupIds] = useState>(new Set());\n\n // Refs to track selection\n const savedRange = useRef(null);\n const lastCursorPosition = useRef(null);\n\n // --- Helpers ---\n\n // Group versions by proximity (within 60px) to stack them\n const versionGroups = useMemo(() => {\n const sortedVersions = [...versions].sort((a, b) => b.timestamp - a.timestamp);\n const groups: VersionGroup[] = [];\n\n sortedVersions.forEach(v => {\n // Find an existing group close to this version\n const existingGroup = groups.find(g => Math.abs(g.topOffset - v.topOffset) < 60);\n\n if (existingGroup) {\n existingGroup.versions.push(v);\n // Keep the group timestamp sorted\n existingGroup.versions.sort((a, b) => b.timestamp - a.timestamp);\n } else {\n groups.push({\n id: `group-${v.id}`,\n topOffset: v.topOffset,\n versions: [v]\n });\n }\n });\n\n return groups;\n }, [versions]);\n\n const toggleGroup = (groupId: string) => {\n const newSet = new Set(expandedGroupIds);\n if (newSet.has(groupId)) {\n newSet.delete(groupId);\n } else {\n newSet.add(groupId);\n }\n setExpandedGroupIds(newSet);\n };\n\n const getSelectionTopOffset = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current) {\n const range = sel.getRangeAt(0);\n const rect = range.getBoundingClientRect();\n // We need offset relative to the content container (contentRef)\n // contentRef is the white page div.\n const containerRect = contentRef.current.getBoundingClientRect();\n return rect.top - containerRect.top;\n }\n return 0;\n };\n\n const saveVersion = (type: string, textSnippet: string) => {\n if (!contentRef.current) return;\n\n const topOffset = getSelectionTopOffset();\n\n const newVersion: Version = {\n id: Date.now().toString(),\n timestamp: Date.now(),\n type: type,\n content: contentRef.current.innerHTML,\n snippet: textSnippet.substring(0, 80) + (textSnippet.length > 80 ? '...' : ''),\n topOffset\n };\n\n setVersions(prev => [newVersion, ...prev]);\n setShowHistoryMargin(true);\n };\n\n const restoreVersion = (version: Version) => {\n if (!contentRef.current) return;\n if (confirm('Restaurer cette version ? Le contenu actuel sera remplacé.')) {\n contentRef.current.innerHTML = version.content;\n handleInput();\n }\n };\n\n // --- Exposed Methods ---\n\n useImperativeHandle(ref, () => ({\n insertHtml: (text: string) => {\n saveVersion('Insertion Chat', 'Insertion depuis le panneau IA');\n\n contentRef.current?.focus();\n\n const sel = window.getSelection();\n if (lastCursorPosition.current) {\n sel?.removeAllRanges();\n sel?.addRange(lastCursorPosition.current);\n } else if (contentRef.current) {\n const range = document.createRange();\n range.selectNodeContents(contentRef.current);\n range.collapse(false);\n sel?.removeAllRanges();\n sel?.addRange(range);\n }\n\n const htmlToInsert = text.includes('<') ? text : text.replace(/\\n/g, '
');\n document.execCommand('insertHTML', false, htmlToInsert);\n handleInput();\n }\n }));\n\n // --- Effects ---\n\n useEffect(() => {\n if (contentRef.current && contentRef.current.innerHTML !== initialContent) {\n // Only update if difference is significant to avoid cursor jumps on small re-renders?\n // OR better: Only update if NOT focused?\n if (!isFocused && Math.abs(contentRef.current.innerHTML.length - initialContent.length) > 5) {\n contentRef.current.innerHTML = initialContent;\n }\n }\n }, [initialContent, isFocused]);\n\n // --- Event Handlers ---\n\n const execCommand = (command: string, value: string | undefined = undefined) => {\n document.execCommand(command, false, value);\n handleInput();\n contentRef.current?.focus();\n };\n\n const handleInput = () => {\n if (contentRef.current) {\n if (onChange) onChange(contentRef.current.innerHTML);\n\n // Auto-Save Debounce\n if (onSave) {\n setSaveStatus('unsaved');\n if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);\n\n saveTimeoutRef.current = setTimeout(async () => {\n setSaveStatus('saving');\n await onSave(contentRef.current?.innerHTML || \"\");\n setSaveStatus('saved');\n }, 2000); // 2 seconds\n }\n }\n };\n\n const saveSelection = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current?.contains(sel.anchorNode)) {\n lastCursorPosition.current = sel.getRangeAt(0).cloneRange();\n }\n };\n\n const handleSelection = () => {\n const selection = window.getSelection();\n saveSelection();\n\n if (selection && selection.toString().length > 0 && onSelectionChange) {\n onSelectionChange(selection.toString());\n } else if (onSelectionChange) {\n onSelectionChange(\"\");\n }\n };\n\n const handleContextMenu = (e: React.MouseEvent) => {\n e.preventDefault();\n const selection = window.getSelection();\n\n if (selection && selection.rangeCount > 0) {\n const range = selection.getRangeAt(0);\n if (contentRef.current?.contains(range.commonAncestorContainer)) {\n savedRange.current = range.cloneRange();\n setContextMenu({ x: e.clientX, y: e.clientY });\n return;\n }\n }\n\n savedRange.current = null;\n setContextMenu({ x: e.clientX, y: e.clientY });\n };\n\n const handleAiAction = async (mode: 'correct' | 'rewrite' | 'expand' | 'continue') => {\n if (!onAiTransform) return;\n\n const range = savedRange.current;\n const text = range?.toString() || \"\";\n\n if (!text && mode !== 'continue') return;\n\n const typeLabels: Record = {\n correct: 'Correction',\n rewrite: 'Reformulation',\n expand: 'Développement',\n continue: 'Continuation'\n };\n saveVersion(typeLabels[mode], text || \"Position curseur\");\n\n setIsAiLoading(true);\n try {\n const result = await onAiTransform(text, mode);\n\n if (result) {\n contentRef.current?.focus();\n const sel = window.getSelection();\n sel?.removeAllRanges();\n\n if (range) {\n sel?.addRange(range);\n }\n\n if (mode === 'continue') {\n sel?.collapseToEnd();\n document.execCommand('insertText', false, \" \" + result);\n } else {\n document.execCommand('insertText', false, result);\n }\n\n handleInput();\n }\n } catch (e) {\n console.error(\"AI Action failed\", e);\n } finally {\n setIsAiLoading(false);\n setContextMenu(null);\n }\n };\n\n const handleCopy = () => {\n if (savedRange.current) {\n const sel = window.getSelection();\n sel?.removeAllRanges();\n sel?.addRange(savedRange.current);\n document.execCommand('copy');\n }\n setContextMenu(null);\n };\n\n const handleSelectAll = () => {\n contentRef.current?.focus();\n document.execCommand('selectAll');\n handleSelection();\n setContextMenu(null);\n }\n\n const ToolbarButton = ({ icon: Icon, cmd, arg, label, onClick, isActive }: any) => (\n {\n if (onClick) {\n e.preventDefault();\n onClick();\n } else {\n e.preventDefault();\n execCommand(cmd, arg);\n }\n }}\n className={`p-1.5 rounded transition-colors ${isActive ? 'bg-indigo-100 text-indigo-700' : 'text-slate-500 hover:text-slate-800 hover:bg-slate-200'}`}\n title={label}\n >\n \n \n );\n\n const hasSelection = savedRange.current && !savedRange.current.collapsed;\n\n return (\n
\n \n\n {/* Toolbar */}\n
\n \n \n \n
\n \n \n
\n \n \n \n
\n \n\n
\n\n {/* Save Status Indicator */}\n
\n {saveStatus === 'saving' && <> Sauvegarde...}\n {saveStatus === 'saved' && <> Sauvegardé}\n {saveStatus === 'unsaved' && Modifications non enregistrées...}\n
\n\n
\n setShowHistoryMargin(!showHistoryMargin)}\n isActive={showHistoryMargin}\n />\n
\n\n {/* Main Container - Scrollable Area */}\n \n
\n\n {/* Editor Content Page */}\n { setIsFocused(false); saveSelection(); }}\n onFocus={() => setIsFocused(true)}\n onKeyUp={saveSelection}\n onMouseUp={saveSelection}\n onSelect={handleSelection}\n onClick={() => contentRef.current?.focus()}\n onContextMenu={handleContextMenu}\n data-placeholder=\"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)\"\n />\n\n {/* History Track - Moving with the page */}\n {showHistoryMargin && (\n
\n {/* Placeholder for empty history */}\n {versionGroups.length === 0 && (\n
\n \n

L'historique des modifications IA apparaîtra ici, aligné avec votre texte.

\n
\n )}\n\n {/* Render Groups */}\n {versionGroups.map((group) => {\n const isExpanded = expandedGroupIds.has(group.id);\n const isStack = group.versions.length > 1;\n const latest = group.versions[0];\n\n return (\n \n
\n\n {/* Stack Effect Background Card */}\n {isStack && !isExpanded && (\n
\n )}\n\n {/* Main Card Header */}\n isStack && toggleGroup(group.id)}\n >\n
\n {isStack && (\n \n )}\n \n {latest.type}\n \n
\n
\n \n {new Date(latest.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}\n \n {isStack && (\n isExpanded ? : \n )}\n
\n
\n\n {/* Card Content (Latest) */}\n {!isExpanded && (\n
\n
\n \"{latest.snippet}\"\n
\n restoreVersion(latest)}\n className=\"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors\"\n >\n Restaurer\n \n
\n )}\n\n {/* Expanded Stack View */}\n {isExpanded && (\n
\n {group.versions.map((v, i) => (\n
\n
\n \n {i === 0 ? 'Dernière version' : `Version -${i}`}\n \n \n {new Date(v.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit' })}\n \n
\n
\n \"{v.snippet}\"\n
\n restoreVersion(v)}\n className=\"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors\"\n >\n Restaurer cette version\n \n
\n ))}\n
\n )}\n
\n
\n );\n })}\n
\n )}\n
\n
\n\n {/* Context Menu Overlay */}\n {contextMenu && (\n <>\n setContextMenu(null)}\n onContextMenu={(e) => { e.preventDefault(); setContextMenu(null); }}\n />\n \n {isAiLoading ? (\n
\n \n L'IA travaille...\n
\n ) : (\n <>\n
\n Outils IA\n
\n\n handleAiAction('correct')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Corriger l'orthographe\n \n\n handleAiAction('rewrite')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Reformuler\n \n\n handleAiAction('expand')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Développer\n \n\n handleAiAction('continue')}\n className=\"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors\"\n >\n Continuer l'écriture\n \n\n
\n\n
\n Édition\n
\n\n \n Copier\n \n\n \n Tout sélectionner\n \n \n )}\n
\n \n )}\n
\n );\n});\n\nexport default RichTextEditor;\n"],"names":[],"mappings":";;;;;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AAHA;;;AAoCA,MAAM,+BAAiB,GAAA,IAAA,uNAAU,UAA4C,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE;;IACpJ,MAAM,aAAa,IAAA,mNAAM,EAAiB;IAC1C,MAAM,qBAAqB,IAAA,mNAAM,EAAiB;IAClD,MAAM,C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MAAM;;;;;;wCAAM;;;;;;;8CAGpB,yOAAC;oCACC,SAAS;oCACT,WAAU;;sDAEV,yOAAC,wSAAiB;4CAAC,MAAM;;;;;;wCAAM;;;;;;;;;;;;;;;;;;;;;;AASjD;;uCAEe"}}, - {"offset": {"line": 1004, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport React, { useRef } from 'react';\r\nimport RichTextEditor, { RichTextEditorHandle } from '@/components/RichTextEditor';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport api from '@/lib/api';\r\n\r\nexport default function WritePage() {\r\n const editorRef = useRef(null);\r\n const { project, user, currentChapterId, updateChapter, incrementUsage } = useProjectContext();\r\n\r\n if (!currentChapterId) return null;\r\n\r\n const currentChapter = project.chapters?.find(c => c.id === currentChapterId);\r\n\r\n return (\r\n updateChapter(currentChapterId, { content: html })}\r\n onAiTransform={async (text, mode) => {\r\n const result = await api.ai.transform(text, mode, currentChapter?.content || '', user);\r\n incrementUsage();\r\n return result;\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AACA;;;AALA;;;;;AAOe,SAAS;;IACpB,MAAM,YAAY,IAAA,mNAAM,EAAuB;IAC/C,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,IAAA,wMAAiB;IAE5F,IAAI,CAAC,kBAAkB,OAAO;IAE9B,MAAM,iBAAiB,QAAQ,QAAQ,EAAE,KAAK,CAAA,IAAK,EAAE,EAAE,KAAK;IAE5D,qBACI,yOAAC,8LAAc;QACX,KAAK;QACL,gBAAgB,gBAAgB,WAAW;QAC3C,QAAQ,CAAC,OAAS,cAAc,kBAAkB;gBAAE,SAAS;YAAK;QAClE,eAAe,OAAO,MAAM;YACxB,MAAM,SAAS,MAAM,2KAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,MAAM,gBAAgB,WAAW,IAAI;YACjF;YACA,OAAO;QACX;;;;;;AAGZ;GApBwB;;QAEuD,wMAAiB;;;KAFxE"}}] + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/components/RichTextEditor.tsx"],"sourcesContent":["'use client';\n\nimport React, { useRef, useEffect, useState, useImperativeHandle, forwardRef, useMemo } from 'react';\nimport {\n Bold, Italic, Underline, AlignLeft, AlignCenter, AlignRight, List, Heading1, Heading2,\n Copy, Wand2, Check, RefreshCw, Maximize2, Loader2, MousePointerClick, History, RotateCcw,\n ChevronDown, ChevronUp, Layers\n} from 'lucide-react';\n\nexport interface RichTextEditorHandle {\n insertHtml: (html: string) => void;\n}\n\ninterface RichTextEditorProps {\n initialContent: string;\n onChange?: (html: string) => void;\n onSave?: (html: string) => void;\n onSelectionChange?: (text: string) => void;\n onAiTransform?: (text: string, mode: 'correct' | 'rewrite' | 'expand' | 'continue') => Promise;\n}\n\ninterface Version {\n id: string;\n timestamp: number;\n type: string;\n content: string; // Full HTML snapshot\n snippet: string; // Selected text snippet before change\n topOffset: number; // Y position relative to editor top\n}\n\ninterface VersionGroup {\n id: string;\n topOffset: number;\n versions: Version[];\n}\n\nconst RichTextEditor = forwardRef(({ initialContent, onChange, onSave, onSelectionChange, onAiTransform }, ref) => {\n const contentRef = useRef(null);\n const scrollContainerRef = useRef(null);\n const [isFocused, setIsFocused] = useState(false);\n\n // Auto-Save State\n const [saveStatus, setSaveStatus] = useState<'saved' | 'saving' | 'unsaved'>('saved');\n const saveTimeoutRef = useRef(null);\n\n // Track sync state to avoid autosave loopbacks wiping current edits\n // Start as null so the initial useEffect ALWAYS writes initialContent to the div\n const syncRef = useRef(null);\n const latestContentRef = useRef(initialContent);\n\n // Context Menu State\n const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);\n const [isAiLoading, setIsAiLoading] = useState(false);\n\n // History State\n const [versions, setVersions] = useState([]);\n const [showHistoryMargin, setShowHistoryMargin] = useState(true);\n const [expandedGroupIds, setExpandedGroupIds] = useState>(new Set());\n\n // Refs to track selection\n const savedRange = useRef(null);\n const lastCursorPosition = useRef(null);\n\n // --- Helpers ---\n\n // Group versions by proximity (within 60px) to stack them\n const versionGroups = useMemo(() => {\n const sortedVersions = [...versions].sort((a, b) => b.timestamp - a.timestamp);\n const groups: VersionGroup[] = [];\n\n sortedVersions.forEach(v => {\n // Find an existing group close to this version\n const existingGroup = groups.find(g => Math.abs(g.topOffset - v.topOffset) < 60);\n\n if (existingGroup) {\n existingGroup.versions.push(v);\n // Keep the group timestamp sorted\n existingGroup.versions.sort((a, b) => b.timestamp - a.timestamp);\n } else {\n groups.push({\n id: `group-${v.id}`,\n topOffset: v.topOffset,\n versions: [v]\n });\n }\n });\n\n return groups;\n }, [versions]);\n\n const toggleGroup = (groupId: string) => {\n const newSet = new Set(expandedGroupIds);\n if (newSet.has(groupId)) {\n newSet.delete(groupId);\n } else {\n newSet.add(groupId);\n }\n setExpandedGroupIds(newSet);\n };\n\n const getSelectionTopOffset = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current) {\n const range = sel.getRangeAt(0);\n const rect = range.getBoundingClientRect();\n // We need offset relative to the content container (contentRef)\n // contentRef is the white page div.\n const containerRect = contentRef.current.getBoundingClientRect();\n return rect.top - containerRect.top;\n }\n return 0;\n };\n\n const saveVersion = (type: string, textSnippet: string) => {\n if (!contentRef.current) return;\n\n const topOffset = getSelectionTopOffset();\n\n const newVersion: Version = {\n id: Date.now().toString(),\n timestamp: Date.now(),\n type: type,\n content: contentRef.current.innerHTML,\n snippet: textSnippet.substring(0, 80) + (textSnippet.length > 80 ? '...' : ''),\n topOffset\n };\n\n setVersions(prev => [newVersion, ...prev]);\n setShowHistoryMargin(true);\n };\n\n const restoreVersion = (version: Version) => {\n if (!contentRef.current) return;\n if (confirm('Restaurer cette version ? Le contenu actuel sera remplacé.')) {\n contentRef.current.innerHTML = version.content;\n handleInput();\n }\n };\n\n // --- Exposed Methods ---\n\n useImperativeHandle(ref, () => ({\n insertHtml: (text: string) => {\n saveVersion('Insertion Chat', 'Insertion depuis le panneau IA');\n\n contentRef.current?.focus();\n\n const sel = window.getSelection();\n if (lastCursorPosition.current) {\n sel?.removeAllRanges();\n sel?.addRange(lastCursorPosition.current);\n } else if (contentRef.current) {\n const range = document.createRange();\n range.selectNodeContents(contentRef.current);\n range.collapse(false);\n sel?.removeAllRanges();\n sel?.addRange(range);\n }\n\n const htmlToInsert = text.includes('<') ? text : text.replace(/\\n/g, '
');\n document.execCommand('insertHTML', false, htmlToInsert);\n handleInput();\n }\n }));\n\n // --- Effects ---\n\n useEffect(() => {\n if (!contentRef.current || initialContent === undefined) return;\n\n // Ignore exact loopbacks from our own saves\n if (initialContent === syncRef.current) return;\n\n // Safety: never overwrite real content with an empty string from a stale/placeholder source\n const hasRealContent = latestContentRef.current && latestContentRef.current.trim().length > 0;\n if (!initialContent && hasRealContent) return;\n\n // We reached here, so initialContent is genuinely NEW data we didn't know about.\n // E.g. clicked another chapter, or data was modified in another tab/device.\n contentRef.current.innerHTML = initialContent;\n syncRef.current = initialContent;\n latestContentRef.current = initialContent;\n }, [initialContent]);\n\n // Flush pending save on unmount\n useEffect(() => {\n return () => {\n if (saveTimeoutRef.current) {\n clearTimeout(saveTimeoutRef.current);\n if (latestContentRef.current !== syncRef.current && onSave) {\n onSave(latestContentRef.current);\n }\n }\n };\n }, [onSave]);\n\n // --- Event Handlers ---\n\n const execCommand = (command: string, value: string | undefined = undefined) => {\n document.execCommand(command, false, value);\n handleInput();\n contentRef.current?.focus();\n };\n\n const handleInput = () => {\n if (contentRef.current) {\n const currentHtml = contentRef.current.innerHTML;\n latestContentRef.current = currentHtml;\n\n if (onChange) onChange(currentHtml);\n\n // Auto-Save Debounce\n if (onSave) {\n setSaveStatus('unsaved');\n if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);\n\n saveTimeoutRef.current = setTimeout(async () => {\n setSaveStatus('saving');\n const htmlToSave = latestContentRef.current;\n await onSave(htmlToSave);\n syncRef.current = htmlToSave; // Record that we've synced this exact string to the server\n setSaveStatus('saved');\n }, 2000); // 2 seconds\n }\n }\n };\n\n const saveSelection = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current?.contains(sel.anchorNode)) {\n lastCursorPosition.current = sel.getRangeAt(0).cloneRange();\n }\n };\n\n const handleSelection = () => {\n const selection = window.getSelection();\n saveSelection();\n\n if (selection && selection.toString().length > 0 && onSelectionChange) {\n onSelectionChange(selection.toString());\n } else if (onSelectionChange) {\n onSelectionChange(\"\");\n }\n };\n\n const handleContextMenu = (e: React.MouseEvent) => {\n e.preventDefault();\n const selection = window.getSelection();\n\n if (selection && selection.rangeCount > 0) {\n const range = selection.getRangeAt(0);\n if (contentRef.current?.contains(range.commonAncestorContainer)) {\n savedRange.current = range.cloneRange();\n setContextMenu({ x: e.clientX, y: e.clientY });\n return;\n }\n }\n\n savedRange.current = null;\n setContextMenu({ x: e.clientX, y: e.clientY });\n };\n\n const handleAiAction = async (mode: 'correct' | 'rewrite' | 'expand' | 'continue') => {\n if (!onAiTransform) return;\n\n const range = savedRange.current;\n const text = range?.toString() || \"\";\n\n if (!text && mode !== 'continue') return;\n\n const typeLabels: Record = {\n correct: 'Correction',\n rewrite: 'Reformulation',\n expand: 'Développement',\n continue: 'Continuation'\n };\n saveVersion(typeLabels[mode], text || \"Position curseur\");\n\n setIsAiLoading(true);\n try {\n const result = await onAiTransform(text, mode);\n\n if (result) {\n contentRef.current?.focus();\n const sel = window.getSelection();\n sel?.removeAllRanges();\n\n if (range) {\n sel?.addRange(range);\n }\n\n if (mode === 'continue') {\n sel?.collapseToEnd();\n document.execCommand('insertText', false, \" \" + result);\n } else {\n document.execCommand('insertText', false, result);\n }\n\n handleInput();\n }\n } catch (e) {\n console.error(\"AI Action failed\", e);\n } finally {\n setIsAiLoading(false);\n setContextMenu(null);\n }\n };\n\n const handleCopy = () => {\n if (savedRange.current) {\n const sel = window.getSelection();\n sel?.removeAllRanges();\n sel?.addRange(savedRange.current);\n document.execCommand('copy');\n }\n setContextMenu(null);\n };\n\n const handleSelectAll = () => {\n contentRef.current?.focus();\n document.execCommand('selectAll');\n handleSelection();\n setContextMenu(null);\n }\n\n const ToolbarButton = ({ icon: Icon, cmd, arg, label, onClick, isActive }: any) => (\n {\n if (onClick) {\n e.preventDefault();\n onClick();\n } else {\n e.preventDefault();\n execCommand(cmd, arg);\n }\n }}\n className={`p-1.5 rounded transition-colors ${isActive ? 'bg-indigo-100 text-indigo-700' : 'text-slate-500 hover:text-slate-800 hover:bg-slate-200'}`}\n title={label}\n >\n \n \n );\n\n const hasSelection = savedRange.current && !savedRange.current.collapsed;\n\n return (\n
\n \n\n {/* Toolbar */}\n
\n \n \n \n
\n \n \n
\n \n \n \n
\n \n\n
\n\n {/* Save Status Indicator */}\n
\n {saveStatus === 'saving' && <> Sauvegarde...}\n {saveStatus === 'saved' && <> Sauvegardé}\n {saveStatus === 'unsaved' && Modifications non enregistrées...}\n
\n\n
\n setShowHistoryMargin(!showHistoryMargin)}\n isActive={showHistoryMargin}\n />\n
\n\n {/* Main Container - Scrollable Area */}\n \n
\n\n {/* Editor Content Page */}\n { setIsFocused(false); saveSelection(); }}\n onFocus={() => setIsFocused(true)}\n onKeyUp={saveSelection}\n onMouseUp={saveSelection}\n onSelect={handleSelection}\n onClick={() => contentRef.current?.focus()}\n onContextMenu={handleContextMenu}\n data-placeholder=\"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)\"\n />\n\n {/* History Track - Moving with the page */}\n {showHistoryMargin && (\n
\n {/* Placeholder for empty history */}\n {versionGroups.length === 0 && (\n
\n \n

L'historique des modifications IA apparaîtra ici, aligné avec votre texte.

\n
\n )}\n\n {/* Render Groups */}\n {versionGroups.map((group) => {\n const isExpanded = expandedGroupIds.has(group.id);\n const isStack = group.versions.length > 1;\n const latest = group.versions[0];\n\n return (\n \n
\n\n {/* Stack Effect Background Card */}\n {isStack && !isExpanded && (\n
\n )}\n\n {/* Main Card Header */}\n isStack && toggleGroup(group.id)}\n >\n
\n {isStack && (\n \n )}\n \n {latest.type}\n \n
\n
\n \n {new Date(latest.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}\n \n {isStack && (\n isExpanded ? : \n )}\n
\n
\n\n {/* Card Content (Latest) */}\n {!isExpanded && (\n
\n
\n \"{latest.snippet}\"\n
\n restoreVersion(latest)}\n className=\"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors\"\n >\n Restaurer\n \n
\n )}\n\n {/* Expanded Stack View */}\n {isExpanded && (\n
\n {group.versions.map((v, i) => (\n
\n
\n \n {i === 0 ? 'Dernière version' : `Version -${i}`}\n \n \n {new Date(v.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit' })}\n \n
\n
\n \"{v.snippet}\"\n
\n restoreVersion(v)}\n className=\"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors\"\n >\n Restaurer cette version\n \n
\n ))}\n
\n )}\n
\n
\n );\n })}\n
\n )}\n
\n
\n\n {/* Context Menu Overlay */}\n {contextMenu && (\n <>\n setContextMenu(null)}\n onContextMenu={(e) => { e.preventDefault(); setContextMenu(null); }}\n />\n \n {isAiLoading ? (\n
\n \n L'IA travaille...\n
\n ) : (\n <>\n
\n Outils IA\n
\n\n handleAiAction('correct')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Corriger l'orthographe\n \n\n handleAiAction('rewrite')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Reformuler\n \n\n handleAiAction('expand')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Développer\n \n\n handleAiAction('continue')}\n className=\"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors\"\n >\n Continuer l'écriture\n \n\n
\n\n
\n Édition\n
\n\n \n Copier\n \n\n \n Tout sélectionner\n \n \n )}\n
\n \n )}\n
\n );\n});\n\nexport default RichTextEditor;\n"],"names":[],"mappings":";;;;;AAEA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;AAHA;;;AAoCA,MAAM,+BAAiB,GAAA,IAAA,uNAAU,UAA4C,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE;;IACpJ,MAAM,aAAa,IAAA,mNAAM,EAAiB;IAC1C,MAAM,qBAAqB,IAAA,mNAAM,EAAiB;IAClD,MAAM,CAAC,WAAW,aAAa,GAAG,IAAA,qNAAQ,EAAC;IAE3C,kBAAkB;IAClB,MAAM,CAAC,YAAY,cAAc,GAAG,IAAA,qNAAQ,EAAiC;IAC7E,MAAM,iBAAiB,IAAA,mNAAM,EAAwB;IAErD,oEAAoE;IACpE,iFAAiF;IACjF,MAAM,UAAU,IAAA,mNAAM,EAAgB;IACtC,MAAM,mBAAmB,IAAA,mNAAM,EAAS;IAExC,qBAAqB;IACrB,MAAM,CAAC,aAAa,eAAe,GAAG,IAAA,qNAAQ,EAAk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;;;;wCAAM;;;;;;;8CAGrB,yOAAC;oCAAI,WAAU;;;;;;8CAEf,yOAAC;oCAAI,WAAU;8CAA0E;;;;;;8CAIzF,yOAAC;oCACC,SAAS;oCACT,UAAU,CAAC;oCACX,WAAW,CAAC,sEAAsE,EAAE,CAAC,eAAe,sCAAsC,oCAAoC;;sDAE9K,yOAAC,yPAAI;4CAAC,MAAM;;;;;;wCAAM;;;;;;;8CAGpB,yOAAC;oCACC,SAAS;oCACT,WAAU;;sDAEV,yOAAC,wSAAiB;4CAAC,MAAM;;;;;;wCAAM;;;;;;;;;;;;;;;;;;;;;;AASjD;;uCAEe"}}, + {"offset": {"line": 1034, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/page.tsx"],"sourcesContent":["'use client';\r\n\r\nimport React, { useRef } from 'react';\r\nimport RichTextEditor, { RichTextEditorHandle } from '@/components/RichTextEditor';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport api from '@/lib/api';\r\n\r\nexport default function WritePage() {\r\n const editorRef = useRef(null);\r\n const { project, user, currentChapterId, updateChapter, incrementUsage } = useProjectContext();\r\n\r\n if (!currentChapterId) return null;\r\n\r\n const currentChapter = project.chapters?.find(c => c.id === currentChapterId);\r\n\r\n return (\r\n updateChapter(currentChapterId, { content: html })}\r\n onAiTransform={async (text, mode) => {\r\n const result = await api.ai.transform(text, mode, currentChapter?.content || '', user);\r\n incrementUsage();\r\n return result;\r\n }}\r\n />\r\n );\r\n}\r\n"],"names":[],"mappings":";;;;;AAEA;AACA;AACA;AACA;;;AALA;;;;;AAOe,SAAS;;IACpB,MAAM,YAAY,IAAA,mNAAM,EAAuB;IAC/C,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,IAAA,wMAAiB;IAE5F,IAAI,CAAC,kBAAkB,OAAO;IAE9B,MAAM,iBAAiB,QAAQ,QAAQ,EAAE,KAAK,CAAA,IAAK,EAAE,EAAE,KAAK;IAE5D,qBACI,yOAAC,8LAAc;QACX,KAAK;QACL,gBAAgB,gBAAgB,WAAW;QAC3C,QAAQ,CAAC,OAAS,cAAc,kBAAkB;gBAAE,SAAS;YAAK;QAClE,eAAe,OAAO,MAAM;YACxB,MAAM,SAAS,MAAM,2KAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,MAAM,gBAAgB,WAAW,IAAI;YACjF;YACA,OAAO;QACX;;;;;;AAGZ;GApBwB;;QAEuD,wMAAiB;;;KAFxE"}}] } \ No newline at end of file diff --git a/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css b/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css index f79f1c0..81b6e40 100644 --- a/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css +++ b/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css @@ -1017,6 +1017,10 @@ z-index: 20; } + .z-30 { + z-index: 30; + } + .z-40 { z-index: 40; } @@ -1321,10 +1325,6 @@ height: calc(var(--spacing) * 96); } - .h-\[500px\] { - height: 500px; - } - .h-\[4000px\] { height: 4000px; } @@ -1689,10 +1689,6 @@ gap: calc(var(--spacing) * 8); } - .gap-12 { - gap: calc(var(--spacing) * 12); - } - :where(.space-y-1 > :not(:last-child)) { --tw-space-y-reverse: 0; margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse)); @@ -2340,11 +2336,21 @@ } } + .bg-gradient-to-br { + --tw-gradient-position: to bottom right in oklab; + background-image: linear-gradient(var(--tw-gradient-stops)); + } + .bg-gradient-to-r { --tw-gradient-position: to right in oklab; background-image: linear-gradient(var(--tw-gradient-stops)); } + .from-blue-500 { + --tw-gradient-from: var(--color-blue-500); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .from-blue-500\/20 { --tw-gradient-from: #3080ff33; } @@ -2426,6 +2432,11 @@ --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); } + .to-indigo-600 { + --tw-gradient-to: var(--color-indigo-600); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .to-slate-300 { --tw-gradient-to: var(--color-slate-300); --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); @@ -2564,6 +2575,10 @@ padding-block: calc(var(--spacing) * 12); } + .py-16 { + padding-block: calc(var(--spacing) * 16); + } + .py-20 { padding-block: calc(var(--spacing) * 20); } @@ -3816,12 +3831,24 @@ opacity: .5; } + @media (min-width: 40rem) { + .sm\:block { + display: block; + } + } + @media (min-width: 40rem) { .sm\:inline { display: inline; } } + @media (min-width: 40rem) { + .sm\:h-\[400px\] { + height: 400px; + } + } + @media (min-width: 40rem) { .sm\:w-auto { width: auto; @@ -3834,18 +3861,55 @@ } } + @media (min-width: 40rem) { + .sm\:p-6 { + padding: calc(var(--spacing) * 6); + } + } + @media (min-width: 40rem) { .sm\:p-12 { padding: calc(var(--spacing) * 12); } } + @media (min-width: 40rem) { + .sm\:px-5 { + padding-inline: calc(var(--spacing) * 5); + } + } + + @media (min-width: 40rem) { + .sm\:py-2\.5 { + padding-block: calc(var(--spacing) * 2.5); + } + } + + @media (min-width: 40rem) { + .sm\:text-sm { + font-size: var(--text-sm); + line-height: var(--tw-leading, var(--text-sm--line-height)); + } + } + + @media (min-width: 48rem) { + .md\:block { + display: block; + } + } + @media (min-width: 48rem) { .md\:flex { display: flex; } } + @media (min-width: 48rem) { + .md\:h-\[500px\] { + height: 500px; + } + } + @media (min-width: 48rem) { .md\:w-1\/3 { width: 33.3333%; @@ -3894,12 +3958,67 @@ } } + @media (min-width: 48rem) { + .md\:gap-6 { + gap: calc(var(--spacing) * 6); + } + } + + @media (min-width: 48rem) { + .md\:gap-12 { + gap: calc(var(--spacing) * 12); + } + } + + @media (min-width: 48rem) { + .md\:p-6 { + padding: calc(var(--spacing) * 6); + } + } + + @media (min-width: 48rem) { + .md\:p-8 { + padding: calc(var(--spacing) * 8); + } + } + @media (min-width: 48rem) { .md\:p-12 { padding: calc(var(--spacing) * 12); } } + @media (min-width: 48rem) { + .md\:px-5 { + padding-inline: calc(var(--spacing) * 5); + } + } + + @media (min-width: 48rem) { + .md\:px-8 { + padding-inline: calc(var(--spacing) * 8); + } + } + + @media (min-width: 48rem) { + .md\:py-2\.5 { + padding-block: calc(var(--spacing) * 2.5); + } + } + + @media (min-width: 48rem) { + .md\:py-24 { + padding-block: calc(var(--spacing) * 24); + } + } + + @media (min-width: 48rem) { + .md\:text-4xl { + font-size: var(--text-4xl); + line-height: var(--tw-leading, var(--text-4xl--line-height)); + } + } + @media (min-width: 48rem) { .md\:text-5xl { font-size: var(--text-5xl); @@ -3914,6 +4033,26 @@ } } + @media (min-width: 48rem) { + .md\:text-sm { + font-size: var(--text-sm); + line-height: var(--tw-leading, var(--text-sm--line-height)); + } + } + + @media (min-width: 48rem) { + .md\:text-xl { + font-size: var(--text-xl); + line-height: var(--tw-leading, var(--text-xl--line-height)); + } + } + + @media (min-width: 64rem) { + .lg\:relative { + position: relative; + } + } + @media (min-width: 64rem) { .lg\:col-span-2 { grid-column: span 2 / span 2; @@ -3926,6 +4065,12 @@ } } + @media (min-width: 64rem) { + .lg\:hidden { + display: none; + } + } + @media (min-width: 64rem) { .lg\:w-1\/2 { width: 50%; @@ -3944,6 +4089,13 @@ } } + @media (min-width: 64rem) { + .lg\:shadow-none { + --tw-shadow: 0 0 #0000; + box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); + } + } + @media (prefers-color-scheme: dark) { .dark\:border-slate-700 { border-color: var(--color-slate-700); diff --git a/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css.map b/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css.map index 8294563..8f913a1 100644 --- a/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css.map +++ b/.next/dev/static/chunks/[root-of-the-server]__c391f813._.css.map @@ -4,5 +4,5 @@ "sections": [ {"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/internal/font/google/inter_b2991b2.module.css"],"sourcesContent":["/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face {\n font-family: 'Inter Fallback';\n src: local(\"Arial\");\n ascent-override: 90.44%;\ndescent-override: 22.52%;\nline-gap-override: 0.00%;\nsize-adjust: 107.12%;\n\n}\n.className {\n font-family: 'Inter', 'Inter Fallback';\n font-style: normal;\n\n}\n.variable {\n --font-sans: 'Inter', 'Inter Fallback';\n}\n"],"names":[],"mappings":"AACA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AAQA;;;;;;;;;AASA;;;;;AAKA","ignoreList":[0]}}, {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack:///[next]/internal/font/google/merriweather_6ee6941f.module.css"],"sourcesContent":["/* cyrillic-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 300;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqnJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 300;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSequJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 300;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqlJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 300;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqkJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 300;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqqJ-mXq1Gi.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 400;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqnJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 400;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSequJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 400;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqlJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 400;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqkJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 400;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqqJ-mXq1Gi.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqnJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSequJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqlJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqkJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqqJ-mXq1Gi.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 900;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqnJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 900;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSequJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 900;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqlJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 900;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqkJ-mXq1Gi3iE.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Merriweather';\n font-style: normal;\n font-weight: 900;\n font-stretch: 100%;\n font-display: swap;\n src: url(@vercel/turbopack-next/internal/font/google/font?{%22url%22:%22https://fonts.gstatic.com/s/merriweather/v33/u-4e0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiSeqqJ-mXq1Gi.woff2%22,%22preload%22:true,%22has_size_adjust%22:true}) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face {\n font-family: 'Merriweather Fallback';\n src: local(\"Times New Roman\");\n ascent-override: 80.59%;\ndescent-override: 22.36%;\nline-gap-override: 0.00%;\nsize-adjust: 122.09%;\n\n}\n.className {\n font-family: 'Merriweather', 'Merriweather Fallback';\n font-style: normal;\n\n}\n.variable {\n --font-serif: 'Merriweather', 'Merriweather Fallback';\n}\n"],"names":[],"mappings":"AACA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;;;;;;;AASA;;;;;;;;;AASA;;;;;AAKA","ignoreList":[0]}}, - {"offset": {"line": 302, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/globals.css"],"sourcesContent":["/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: 'Inter', sans-serif;\n --font-serif: 'Merriweather', serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-100: oklch(93.6% 0.032 17.717);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-red-700: oklch(50.5% 0.213 27.518);\n --color-red-900: oklch(39.6% 0.141 25.723);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-200: oklch(90.1% 0.076 70.697);\n --color-orange-500: oklch(70.5% 0.213 47.604);\n --color-orange-600: oklch(64.6% 0.222 41.116);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-yellow-100: oklch(97.3% 0.071 103.193);\n --color-yellow-400: oklch(85.2% 0.199 91.936);\n --color-yellow-500: oklch(79.5% 0.184 86.047);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-700: oklch(52.7% 0.154 150.069);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-600: oklch(55.8% 0.288 302.321);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-gray-100: oklch(96.7% 0.003 264.542);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-md: 28rem;\n --container-lg: 32rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --container-4xl: 56rem;\n --container-5xl: 64rem;\n --container-6xl: 72rem;\n --container-7xl: 80rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wide: 0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-relaxed: 1.625;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-3xl: 64px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n --color-theme-bg: var(--theme-bg);\n --color-theme-panel: var(--theme-panel);\n --color-theme-text: var(--theme-text);\n --color-theme-muted: var(--theme-muted);\n --color-theme-border: var(--theme-border);\n --color-theme-editor-bg: var(--theme-editor-bg);\n --color-theme-editor-text: var(--theme-editor-text);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .-inset-4 {\n inset: calc(var(--spacing) * -4);\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .start {\n inset-inline-start: var(--spacing);\n }\n .end {\n inset-inline-end: var(--spacing);\n }\n .-top-2 {\n top: calc(var(--spacing) * -2);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1\\.5 {\n top: calc(var(--spacing) * 1.5);\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-3 {\n top: calc(var(--spacing) * 3);\n }\n .top-3\\.5 {\n top: calc(var(--spacing) * 3.5);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-8 {\n top: calc(var(--spacing) * 8);\n }\n .top-10 {\n top: calc(var(--spacing) * 10);\n }\n .-right-1 {\n right: calc(var(--spacing) * -1);\n }\n .-right-3 {\n right: calc(var(--spacing) * -3);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-1\\.5 {\n right: calc(var(--spacing) * 1.5);\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-10 {\n right: calc(var(--spacing) * 10);\n }\n .right-\\[-10px\\] {\n right: -10px;\n }\n .-bottom-1 {\n bottom: calc(var(--spacing) * -1);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .bottom-2 {\n bottom: calc(var(--spacing) * 2);\n }\n .bottom-10 {\n bottom: calc(var(--spacing) * 10);\n }\n .bottom-full {\n bottom: 100%;\n }\n .-left-2 {\n left: calc(var(--spacing) * -2);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .left-4 {\n left: calc(var(--spacing) * 4);\n }\n .left-10 {\n left: calc(var(--spacing) * 10);\n }\n .left-\\[calc\\(50\\%\\+420px\\)\\] {\n left: calc(50% + 420px);\n }\n .-z-1 {\n z-index: calc(1 * -1);\n }\n .-z-10 {\n z-index: calc(10 * -1);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-40 {\n z-index: 40;\n }\n .z-50 {\n z-index: 50;\n }\n .col-span-2 {\n grid-column: span 2 / span 2;\n }\n .col-span-3 {\n grid-column: span 3 / span 3;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .-m-8 {\n margin: calc(var(--spacing) * -8);\n }\n .m-1 {\n margin: calc(var(--spacing) * 1);\n }\n .mx-1 {\n margin-inline: calc(var(--spacing) * 1);\n }\n .mx-2 {\n margin-inline: calc(var(--spacing) * 2);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .-mt-20 {\n margin-top: calc(var(--spacing) * -20);\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-5 {\n margin-top: calc(var(--spacing) * 5);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mt-10 {\n margin-top: calc(var(--spacing) * 10);\n }\n .mt-12 {\n margin-top: calc(var(--spacing) * 12);\n }\n .mt-20 {\n margin-top: calc(var(--spacing) * 20);\n }\n .mt-auto {\n margin-top: auto;\n }\n .mr-4 {\n margin-right: calc(var(--spacing) * 4);\n }\n .mr-6 {\n margin-right: calc(var(--spacing) * 6);\n }\n .mr-auto {\n margin-right: auto;\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .mb-8 {\n margin-bottom: calc(var(--spacing) * 8);\n }\n .mb-10 {\n margin-bottom: calc(var(--spacing) * 10);\n }\n .mb-12 {\n margin-bottom: calc(var(--spacing) * 12);\n }\n .mb-16 {\n margin-bottom: calc(var(--spacing) * 16);\n }\n .ml-1 {\n margin-left: calc(var(--spacing) * 1);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .line-clamp-3 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-20 {\n height: calc(var(--spacing) * 20);\n }\n .h-24 {\n height: calc(var(--spacing) * 24);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-96 {\n height: calc(var(--spacing) * 96);\n }\n .h-\\[500px\\] {\n height: 500px;\n }\n .h-\\[4000px\\] {\n height: 4000px;\n }\n .h-full {\n height: 100%;\n }\n .h-px {\n height: 1px;\n }\n .h-screen {\n height: 100vh;\n }\n .max-h-48 {\n max-height: calc(var(--spacing) * 48);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[90\\%\\] {\n max-height: 90%;\n }\n .max-h-\\[90vh\\] {\n max-height: 90vh;\n }\n .min-h-0 {\n min-height: calc(var(--spacing) * 0);\n }\n .min-h-\\[120px\\] {\n min-height: 120px;\n }\n .min-h-\\[1000px\\] {\n min-height: 1000px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-1\\/2 {\n width: calc(1 / 2 * 100%);\n }\n .w-1\\/3 {\n width: calc(1 / 3 * 100%);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-24 {\n width: calc(var(--spacing) * 24);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-48 {\n width: calc(var(--spacing) * 48);\n }\n .w-56 {\n width: calc(var(--spacing) * 56);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-80 {\n width: calc(var(--spacing) * 80);\n }\n .w-96 {\n width: calc(var(--spacing) * 96);\n }\n .w-\\[600px\\] {\n width: 600px;\n }\n .w-\\[800px\\] {\n width: 800px;\n }\n .w-\\[4000px\\] {\n width: 4000px;\n }\n .w-full {\n width: 100%;\n }\n .w-max {\n width: max-content;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-5xl {\n max-width: var(--container-5xl);\n }\n .max-w-6xl {\n max-width: var(--container-6xl);\n }\n .max-w-7xl {\n max-width: var(--container-7xl);\n }\n .max-w-\\[85\\%\\] {\n max-width: 85%;\n }\n .max-w-lg {\n max-width: var(--container-lg);\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-105 {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-\\[1\\.01\\] {\n scale: 1.01;\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-default {\n cursor: default;\n }\n .cursor-grab {\n cursor: grab;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .cursor-text {\n cursor: text;\n }\n .resize-none {\n resize: none;\n }\n .list-disc {\n list-style-type: disc;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-8 {\n gap: calc(var(--spacing) * 8);\n }\n .gap-12 {\n gap: calc(var(--spacing) * 12);\n }\n .space-y-1 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-2 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-3 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .divide-y {\n :where(& > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n }\n .divide-slate-50 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-50);\n }\n }\n .divide-slate-100 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2\\.5rem\\] {\n border-radius: 2.5rem;\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-\\[2rem\\] {\n border-radius: 2rem;\n }\n .rounded-\\[3rem\\] {\n border-radius: 3rem;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-lg {\n border-top-left-radius: var(--radius-lg);\n border-top-right-radius: var(--radius-lg);\n }\n .rounded-t-xl {\n border-top-left-radius: var(--radius-xl);\n border-top-right-radius: var(--radius-xl);\n }\n .rounded-br-none {\n border-bottom-right-radius: 0;\n }\n .rounded-bl-none {\n border-bottom-left-radius: 0;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-4 {\n border-style: var(--tw-border-style);\n border-width: 4px;\n }\n .border-y {\n border-block-style: var(--tw-border-style);\n border-block-width: 1px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-r-2 {\n border-right-style: var(--tw-border-style);\n border-right-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l {\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-l-4 {\n border-left-style: var(--tw-border-style);\n border-left-width: 4px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-\\[\\#dfcdae\\] {\n border-color: #dfcdae;\n }\n .border-\\[\\#eaddc4\\] {\n border-color: #eaddc4;\n }\n .border-\\[\\#f4ecd8\\] {\n border-color: #f4ecd8;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-blue-100 {\n border-color: var(--color-blue-100);\n }\n .border-blue-200 {\n border-color: var(--color-blue-200);\n }\n .border-blue-400 {\n border-color: var(--color-blue-400);\n }\n .border-blue-500 {\n border-color: var(--color-blue-500);\n }\n .border-blue-600 {\n border-color: var(--color-blue-600);\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-green-100 {\n border-color: var(--color-green-100);\n }\n .border-green-200 {\n border-color: var(--color-green-200);\n }\n .border-indigo-50 {\n border-color: var(--color-indigo-50);\n }\n .border-indigo-100 {\n border-color: var(--color-indigo-100);\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-300 {\n border-color: var(--color-indigo-300);\n }\n .border-indigo-400 {\n border-color: var(--color-indigo-400);\n }\n .border-indigo-600 {\n border-color: var(--color-indigo-600);\n }\n .border-red-100 {\n border-color: var(--color-red-100);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-red-300 {\n border-color: var(--color-red-300);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-slate-50 {\n border-color: var(--color-slate-50);\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-theme-border {\n border-color: var(--color-theme-border);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-yellow-100 {\n border-color: var(--color-yellow-100);\n }\n .bg-\\[\\#5c4731\\] {\n background-color: #5c4731;\n }\n .bg-\\[\\#eaddc4\\] {\n background-color: #eaddc4;\n }\n .bg-\\[\\#eef2ff\\] {\n background-color: #eef2ff;\n }\n .bg-\\[\\#f4ecd8\\] {\n background-color: #f4ecd8;\n }\n .bg-\\[\\#fbf8f1\\] {\n background-color: #fbf8f1;\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-400 {\n background-color: var(--color-amber-400);\n }\n .bg-black\\/5 {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .bg-black\\/40 {\n background-color: color-mix(in srgb, #000 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 40%, transparent);\n }\n }\n .bg-black\\/50 {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-500 {\n background-color: var(--color-blue-500);\n }\n .bg-blue-500\\/10 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n .bg-blue-500\\/20 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n }\n .bg-blue-600 {\n background-color: var(--color-blue-600);\n }\n .bg-blue-700 {\n background-color: var(--color-blue-700);\n }\n .bg-blue-900 {\n background-color: var(--color-blue-900);\n }\n .bg-gray-100 {\n background-color: var(--color-gray-100);\n }\n .bg-green-100 {\n background-color: var(--color-green-100);\n }\n .bg-green-500 {\n background-color: var(--color-green-500);\n }\n .bg-green-500\\/10 {\n background-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-50\\/30 {\n background-color: color-mix(in srgb, oklch(96.2% 0.018 272.314) 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-50) 30%, transparent);\n }\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .bg-indigo-500\\/20 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-indigo-900 {\n background-color: var(--color-indigo-900);\n }\n .bg-indigo-900\\/50 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-900) 50%, transparent);\n }\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-100 {\n background-color: var(--color-red-100);\n }\n .bg-red-600 {\n background-color: var(--color-red-600);\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-300 {\n background-color: var(--color-slate-300);\n }\n .bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-theme-bg {\n background-color: var(--color-theme-bg);\n }\n .bg-theme-bg\\/50 {\n background-color: var(--color-theme-bg);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-bg) 50%, transparent);\n }\n }\n .bg-theme-border {\n background-color: var(--color-theme-border);\n }\n .bg-theme-editor-bg {\n background-color: var(--color-theme-editor-bg);\n }\n .bg-theme-panel {\n background-color: var(--color-theme-panel);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .bg-white\\/50 {\n background-color: color-mix(in srgb, #fff 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .bg-white\\/70 {\n background-color: color-mix(in srgb, #fff 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .bg-white\\/80 {\n background-color: color-mix(in srgb, #fff 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .bg-gradient-to-r {\n --tw-gradient-position: to right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-blue-500\\/20 {\n --tw-gradient-from: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-from: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-blue-600 {\n --tw-gradient-from: var(--color-blue-600);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-orange-200 {\n --tw-gradient-from: var(--color-orange-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-red-200 {\n --tw-gradient-from: var(--color-red-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-slate-300 {\n --tw-gradient-from: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .via-indigo-200 {\n --tw-gradient-via: var(--color-indigo-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-purple-200 {\n --tw-gradient-via: var(--color-purple-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-yellow-100 {\n --tw-gradient-via: var(--color-yellow-100);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .to-blue-200 {\n --tw-gradient-to: var(--color-blue-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-green-200 {\n --tw-gradient-to: var(--color-green-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500 {\n --tw-gradient-to: var(--color-indigo-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500\\/20 {\n --tw-gradient-to: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-to: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-300 {\n --tw-gradient-to: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .bg-clip-text {\n background-clip: text;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .px-0\\.5 {\n padding-inline: calc(var(--spacing) * 0.5);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .px-8 {\n padding-inline: calc(var(--spacing) * 8);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-5 {\n padding-block: calc(var(--spacing) * 5);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .py-10 {\n padding-block: calc(var(--spacing) * 10);\n }\n .py-12 {\n padding-block: calc(var(--spacing) * 12);\n }\n .py-20 {\n padding-block: calc(var(--spacing) * 20);\n }\n .py-24 {\n padding-block: calc(var(--spacing) * 24);\n }\n .pt-1 {\n padding-top: calc(var(--spacing) * 1);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-8 {\n padding-top: calc(var(--spacing) * 8);\n }\n .pt-12 {\n padding-top: calc(var(--spacing) * 12);\n }\n .pt-20 {\n padding-top: calc(var(--spacing) * 20);\n }\n .pt-32 {\n padding-top: calc(var(--spacing) * 32);\n }\n .pr-2 {\n padding-right: calc(var(--spacing) * 2);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pr-12 {\n padding-right: calc(var(--spacing) * 12);\n }\n .pb-1 {\n padding-bottom: calc(var(--spacing) * 1);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-8 {\n padding-bottom: calc(var(--spacing) * 8);\n }\n .pb-20 {\n padding-bottom: calc(var(--spacing) * 20);\n }\n .pb-32 {\n padding-bottom: calc(var(--spacing) * 32);\n }\n .pl-2 {\n padding-left: calc(var(--spacing) * 2);\n }\n .pl-4 {\n padding-left: calc(var(--spacing) * 4);\n }\n .pl-5 {\n padding-left: calc(var(--spacing) * 5);\n }\n .pl-9 {\n padding-left: calc(var(--spacing) * 9);\n }\n .pl-12 {\n padding-left: calc(var(--spacing) * 12);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .text-right {\n text-align: right;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .font-serif {\n font-family: var(--font-serif);\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-4xl {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n .text-5xl {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n .text-6xl {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .leading-\\[1\\.1\\] {\n --tw-leading: 1.1;\n line-height: 1.1;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-normal {\n --tw-font-weight: var(--font-weight-normal);\n font-weight: var(--font-weight-normal);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wide {\n --tw-tracking: var(--tracking-wide);\n letter-spacing: var(--tracking-wide);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-\\[\\#735e44\\] {\n color: #735e44;\n }\n .text-\\[\\#332616\\] {\n color: #332616;\n }\n .text-\\[\\#433422\\] {\n color: #433422;\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-blue-400 {\n color: var(--color-blue-400);\n }\n .text-blue-500 {\n color: var(--color-blue-500);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-900 {\n color: var(--color-blue-900);\n }\n .text-gray-800 {\n color: var(--color-gray-800);\n }\n .text-green-500 {\n color: var(--color-green-500);\n }\n .text-green-700 {\n color: var(--color-green-700);\n }\n .text-green-800 {\n color: var(--color-green-800);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-700 {\n color: var(--color-indigo-700);\n }\n .text-indigo-800 {\n color: var(--color-indigo-800);\n }\n .text-orange-500 {\n color: var(--color-orange-500);\n }\n .text-orange-600 {\n color: var(--color-orange-600);\n }\n .text-purple-600 {\n color: var(--color-purple-600);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-red-400 {\n color: var(--color-red-400);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-red-700 {\n color: var(--color-red-700);\n }\n .text-red-900 {\n color: var(--color-red-900);\n }\n .text-rose-800 {\n color: var(--color-rose-800);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-theme-editor-text {\n color: var(--color-theme-editor-text);\n }\n .text-theme-muted {\n color: var(--color-theme-muted);\n }\n .text-theme-text {\n color: var(--color-theme-text);\n }\n .text-transparent {\n color: transparent;\n }\n .text-white {\n color: var(--color-white);\n }\n .text-yellow-400 {\n color: var(--color-yellow-400);\n }\n .text-yellow-500 {\n color: var(--color-yellow-500);\n }\n .text-yellow-600 {\n color: var(--color-yellow-600);\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .underline {\n text-decoration-line: underline;\n }\n .decoration-blue-500 {\n text-decoration-color: var(--color-blue-500);\n }\n .decoration-indigo-300 {\n text-decoration-color: var(--color-indigo-300);\n }\n .underline-offset-4 {\n text-underline-offset: 4px;\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .accent-blue-600 {\n accent-color: var(--color-blue-600);\n }\n .accent-indigo-600 {\n accent-color: var(--color-indigo-600);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-50 {\n opacity: 50%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-70 {\n opacity: 70%;\n }\n .opacity-80 {\n opacity: 80%;\n }\n .opacity-90 {\n opacity: 90%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(59\\,130\\,246\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(59,130,246,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(99\\,102\\,241\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(99,102,241,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0px_2px_0px_0px_rgba\\(203\\,213\\,225\\,1\\)\\] {\n --tw-shadow: 0px 2px 0px 0px var(--tw-shadow-color, rgba(203,213,225,1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-blue-200 {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n .shadow-indigo-100 {\n --tw-shadow-color: oklch(93% 0.034 272.788);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-indigo-100) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-amber-200 {\n --tw-ring-color: var(--color-amber-200);\n }\n .ring-blue-200 {\n --tw-ring-color: var(--color-blue-200);\n }\n .ring-indigo-200 {\n --tw-ring-color: var(--color-indigo-200);\n }\n .ring-indigo-400 {\n --tw-ring-color: var(--color-indigo-400);\n }\n .ring-indigo-500 {\n --tw-ring-color: var(--color-indigo-500);\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .blur-3xl {\n --tw-blur: blur(var(--blur-3xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[1px\\] {\n --tw-blur: blur(1px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[60px\\] {\n --tw-blur: blur(60px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[100px\\] {\n --tw-blur: blur(100px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[120px\\] {\n --tw-blur: blur(120px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[150px\\] {\n --tw-blur: blur(150px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-100 {\n --tw-duration: 100ms;\n transition-duration: 100ms;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-1000 {\n --tw-duration: 1000ms;\n transition-duration: 1000ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .group-hover\\:translate-x-1 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n }\n .group-hover\\:bg-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-white {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .selection\\:bg-blue-200 {\n & *::selection {\n background-color: var(--color-blue-200);\n }\n &::selection {\n background-color: var(--color-blue-200);\n }\n }\n .hover\\:scale-105 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-110 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-\\[1\\.02\\] {\n &:hover {\n @media (hover: hover) {\n scale: 1.02;\n }\n }\n }\n .hover\\:border-\\[\\#cfbd9e\\] {\n &:hover {\n @media (hover: hover) {\n border-color: #cfbd9e;\n }\n }\n }\n .hover\\:border-blue-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-blue-300);\n }\n }\n }\n .hover\\:border-indigo-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:border-indigo-400 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-400);\n }\n }\n }\n .hover\\:border-indigo-500 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-500);\n }\n }\n }\n .hover\\:border-slate-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:border-slate-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-300);\n }\n }\n }\n .hover\\:border-slate-600 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-600);\n }\n }\n }\n .hover\\:bg-\\[\\#eaddc4\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #eaddc4;\n }\n }\n }\n .hover\\:bg-amber-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-50);\n }\n }\n }\n .hover\\:bg-amber-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-100);\n }\n }\n }\n .hover\\:bg-black\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-50);\n }\n }\n }\n .hover\\:bg-blue-500 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-500);\n }\n }\n }\n .hover\\:bg-blue-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-600 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .hover\\:bg-blue-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-700);\n }\n }\n }\n .hover\\:bg-blue-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-800);\n }\n }\n }\n .hover\\:bg-indigo-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-50);\n }\n }\n }\n .hover\\:bg-indigo-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-100);\n }\n }\n }\n .hover\\:bg-indigo-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:bg-indigo-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-indigo-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:bg-red-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-50);\n }\n }\n }\n .hover\\:bg-red-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-red-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-700);\n }\n }\n }\n .hover\\:bg-red-900\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(39.6% 0.141 25.723) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-900) 20%, transparent);\n }\n }\n }\n }\n .hover\\:bg-slate-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-50);\n }\n }\n }\n .hover\\:bg-slate-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-100);\n }\n }\n }\n .hover\\:bg-slate-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:bg-slate-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n .hover\\:bg-slate-900 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-900);\n }\n }\n }\n .hover\\:bg-theme-border {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-border);\n }\n }\n }\n .hover\\:bg-theme-panel {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n }\n }\n }\n .hover\\:bg-theme-panel\\/50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-panel) 50%, transparent);\n }\n }\n }\n }\n .hover\\:bg-white {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-white);\n }\n }\n }\n .hover\\:bg-white\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n }\n }\n .hover\\:text-\\[\\#332616\\] {\n &:hover {\n @media (hover: hover) {\n color: #332616;\n }\n }\n }\n .hover\\:text-blue-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-400);\n }\n }\n }\n .hover\\:text-blue-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-500);\n }\n }\n }\n .hover\\:text-blue-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .hover\\:text-blue-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-800);\n }\n }\n }\n .hover\\:text-indigo-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:text-indigo-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:text-indigo-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-800);\n }\n }\n }\n .hover\\:text-red-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-400);\n }\n }\n }\n .hover\\:text-red-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-500);\n }\n }\n }\n .hover\\:text-red-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-600);\n }\n }\n }\n .hover\\:text-red-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-700);\n }\n }\n }\n .hover\\:text-slate-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-500);\n }\n }\n }\n .hover\\:text-slate-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-800);\n }\n }\n }\n .hover\\:text-slate-900 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-900);\n }\n }\n }\n .hover\\:text-theme-text {\n &:hover {\n @media (hover: hover) {\n color: var(--color-theme-text);\n }\n }\n }\n .hover\\:text-white {\n &:hover {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .hover\\:underline {\n &:hover {\n @media (hover: hover) {\n text-decoration-line: underline;\n }\n }\n }\n .hover\\:decoration-indigo-600 {\n &:hover {\n @media (hover: hover) {\n text-decoration-color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:opacity-80 {\n &:hover {\n @media (hover: hover) {\n opacity: 80%;\n }\n }\n }\n .hover\\:opacity-100 {\n &:hover {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .hover\\:shadow-2xl {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-md {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-blue-200 {\n &:hover {\n @media (hover: hover) {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n }\n }\n .focus\\:border-b {\n &:focus {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n }\n .focus\\:border-blue-500 {\n &:focus {\n border-color: var(--color-blue-500);\n }\n }\n .focus\\:border-indigo-400 {\n &:focus {\n border-color: var(--color-indigo-400);\n }\n }\n .focus\\:border-indigo-500 {\n &:focus {\n border-color: var(--color-indigo-500);\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-4 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-blue-300 {\n &:focus {\n --tw-ring-color: var(--color-blue-300);\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:ring-indigo-500 {\n &:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .active\\:cursor-grabbing {\n &:active {\n cursor: grabbing;\n }\n }\n .disabled\\:opacity-30 {\n &:disabled {\n opacity: 30%;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .sm\\:inline {\n @media (width >= 40rem) {\n display: inline;\n }\n }\n .sm\\:w-auto {\n @media (width >= 40rem) {\n width: auto;\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:p-12 {\n @media (width >= 40rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .md\\:flex {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n .md\\:w-1\\/3 {\n @media (width >= 48rem) {\n width: calc(1 / 3 * 100%);\n }\n }\n .md\\:w-64 {\n @media (width >= 48rem) {\n width: calc(var(--spacing) * 64);\n }\n }\n .md\\:w-auto {\n @media (width >= 48rem) {\n width: auto;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-3 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-4 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n }\n .md\\:flex-row {\n @media (width >= 48rem) {\n flex-direction: row;\n }\n }\n .md\\:items-center {\n @media (width >= 48rem) {\n align-items: center;\n }\n }\n .md\\:p-12 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .md\\:text-5xl {\n @media (width >= 48rem) {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n }\n .md\\:text-7xl {\n @media (width >= 48rem) {\n font-size: var(--text-7xl);\n line-height: var(--tw-leading, var(--text-7xl--line-height));\n }\n }\n .lg\\:col-span-2 {\n @media (width >= 64rem) {\n grid-column: span 2 / span 2;\n }\n }\n .lg\\:flex {\n @media (width >= 64rem) {\n display: flex;\n }\n }\n .lg\\:w-1\\/2 {\n @media (width >= 64rem) {\n width: calc(1 / 2 * 100%);\n }\n }\n .lg\\:w-96 {\n @media (width >= 64rem) {\n width: calc(var(--spacing) * 96);\n }\n }\n .lg\\:grid-cols-3 {\n @media (width >= 64rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .dark\\:border-slate-700 {\n @media (prefers-color-scheme: dark) {\n border-color: var(--color-slate-700);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n @media (prefers-color-scheme: dark) {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n }\n .dark\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n background-color: var(--color-slate-800);\n }\n }\n .dark\\:text-blue-400 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-blue-400);\n }\n }\n .dark\\:text-slate-300 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-slate-300);\n }\n }\n .dark\\:hover\\:bg-slate-700 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-700);\n }\n }\n }\n }\n .dark\\:hover\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n }\n}\n:root,\r\n.theme-light {\n --theme-bg: #eef2ff;\n --theme-panel: #ffffff;\n --theme-text: #0f172a;\n --theme-muted: #64748b;\n --theme-border: #e2e8f0;\n --theme-editor-bg: #ffffff;\n --theme-editor-text: #0f172a;\n}\n.theme-dark {\n --theme-bg: #0f172a;\n --theme-panel: #1e293b;\n --theme-text: #f8fafc;\n --theme-muted: #94a3b8;\n --theme-border: #334155;\n --theme-editor-bg: #1e293b;\n --theme-editor-text: #e2e8f0;\n}\n.theme-sepia {\n --theme-bg: #eaddc4;\n --theme-panel: #fbf8f1;\n --theme-text: #332616;\n --theme-muted: #735e44;\n --theme-border: #dfcdae;\n --theme-editor-bg: #fbf8f1;\n --theme-editor-text: #332616;\n}\n.editor-content:empty:before {\n content: attr(placeholder);\n color: #9ca3af;\n pointer-events: none;\n}\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n::-webkit-scrollbar-track {\n background: transparent;\n}\n::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 3px;\n}\n::-webkit-scrollbar-thumb:hover {\n background: #94a3b8;\n}\n@media print {\n @page {\n margin: 2cm;\n size: auto;\n }\n html,\r\n body {\n height: auto !important;\n overflow: visible !important;\n margin: 0 !important;\n padding: 0 !important;\n background: white !important;\n color: black !important;\n }\n #__next {\n height: auto !important;\n overflow: visible !important;\n display: block !important;\n position: relative !important;\n }\n .no-print {\n display: none !important;\n }\n .print-only {\n display: block !important;\n }\n .break-before-page {\n page-break-before: always;\n break-before: page;\n }\n .break-after-page {\n page-break-after: always;\n break-after: page;\n }\n p {\n text-align: justify;\n widows: 3;\n orphans: 3;\n color: black !important;\n }\n h1,\r\n h2,\r\n h3,\r\n h4 {\n color: black !important;\n page-break-after: avoid;\n }\n a {\n text-decoration: none;\n color: black !important;\n }\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-scale-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-divide-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-gradient-position {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-via {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-to {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-via-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from-position {\n syntax: \"\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-gradient-via-position {\n syntax: \"\";\n inherits: false;\n initial-value: 50%;\n}\n@property --tw-gradient-to-position {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}"],"names":[],"mappings":"AACA;EAosGE;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAps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AKA"}}] + {"offset": {"line": 302, "column": 0}, "map": {"version":3,"sources":["file:///C:/Users/streaper2/Documents/00%20-%20projet/plumeia/src/app/globals.css"],"sourcesContent":["/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: 'Inter', sans-serif;\n --font-serif: 'Merriweather', serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-100: oklch(93.6% 0.032 17.717);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-red-700: oklch(50.5% 0.213 27.518);\n --color-red-900: oklch(39.6% 0.141 25.723);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-200: oklch(90.1% 0.076 70.697);\n --color-orange-500: oklch(70.5% 0.213 47.604);\n --color-orange-600: oklch(64.6% 0.222 41.116);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-yellow-100: oklch(97.3% 0.071 103.193);\n --color-yellow-400: oklch(85.2% 0.199 91.936);\n --color-yellow-500: oklch(79.5% 0.184 86.047);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-700: oklch(52.7% 0.154 150.069);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-600: oklch(55.8% 0.288 302.321);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-gray-100: oklch(96.7% 0.003 264.542);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-md: 28rem;\n --container-lg: 32rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --container-4xl: 56rem;\n --container-5xl: 64rem;\n --container-6xl: 72rem;\n --container-7xl: 80rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wide: 0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-relaxed: 1.625;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-3xl: 64px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n --color-theme-bg: var(--theme-bg);\n --color-theme-panel: var(--theme-panel);\n --color-theme-text: var(--theme-text);\n --color-theme-muted: var(--theme-muted);\n --color-theme-border: var(--theme-border);\n --color-theme-editor-bg: var(--theme-editor-bg);\n --color-theme-editor-text: var(--theme-editor-text);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .-inset-4 {\n inset: calc(var(--spacing) * -4);\n }\n .inset-0 {\n inset: calc(var(--spacing) * 0);\n }\n .start {\n inset-inline-start: var(--spacing);\n }\n .end {\n inset-inline-end: var(--spacing);\n }\n .-top-2 {\n top: calc(var(--spacing) * -2);\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1\\.5 {\n top: calc(var(--spacing) * 1.5);\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-3 {\n top: calc(var(--spacing) * 3);\n }\n .top-3\\.5 {\n top: calc(var(--spacing) * 3.5);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-8 {\n top: calc(var(--spacing) * 8);\n }\n .top-10 {\n top: calc(var(--spacing) * 10);\n }\n .-right-1 {\n right: calc(var(--spacing) * -1);\n }\n .-right-3 {\n right: calc(var(--spacing) * -3);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-1\\.5 {\n right: calc(var(--spacing) * 1.5);\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-10 {\n right: calc(var(--spacing) * 10);\n }\n .right-\\[-10px\\] {\n right: -10px;\n }\n .-bottom-1 {\n bottom: calc(var(--spacing) * -1);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .bottom-2 {\n bottom: calc(var(--spacing) * 2);\n }\n .bottom-10 {\n bottom: calc(var(--spacing) * 10);\n }\n .bottom-full {\n bottom: 100%;\n }\n .-left-2 {\n left: calc(var(--spacing) * -2);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-3 {\n left: calc(var(--spacing) * 3);\n }\n .left-4 {\n left: calc(var(--spacing) * 4);\n }\n .left-10 {\n left: calc(var(--spacing) * 10);\n }\n .left-\\[calc\\(50\\%\\+420px\\)\\] {\n left: calc(50% + 420px);\n }\n .-z-1 {\n z-index: calc(1 * -1);\n }\n .-z-10 {\n z-index: calc(10 * -1);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-30 {\n z-index: 30;\n }\n .z-40 {\n z-index: 40;\n }\n .z-50 {\n z-index: 50;\n }\n .col-span-2 {\n grid-column: span 2 / span 2;\n }\n .col-span-3 {\n grid-column: span 3 / span 3;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .-m-8 {\n margin: calc(var(--spacing) * -8);\n }\n .m-1 {\n margin: calc(var(--spacing) * 1);\n }\n .mx-1 {\n margin-inline: calc(var(--spacing) * 1);\n }\n .mx-2 {\n margin-inline: calc(var(--spacing) * 2);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1 {\n margin-block: calc(var(--spacing) * 1);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .-mt-20 {\n margin-top: calc(var(--spacing) * -20);\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: calc(var(--spacing) * 1);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-5 {\n margin-top: calc(var(--spacing) * 5);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mt-10 {\n margin-top: calc(var(--spacing) * 10);\n }\n .mt-12 {\n margin-top: calc(var(--spacing) * 12);\n }\n .mt-20 {\n margin-top: calc(var(--spacing) * 20);\n }\n .mt-auto {\n margin-top: auto;\n }\n .mr-4 {\n margin-right: calc(var(--spacing) * 4);\n }\n .mr-6 {\n margin-right: calc(var(--spacing) * 6);\n }\n .mr-auto {\n margin-right: auto;\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .mb-8 {\n margin-bottom: calc(var(--spacing) * 8);\n }\n .mb-10 {\n margin-bottom: calc(var(--spacing) * 10);\n }\n .mb-12 {\n margin-bottom: calc(var(--spacing) * 12);\n }\n .mb-16 {\n margin-bottom: calc(var(--spacing) * 16);\n }\n .ml-1 {\n margin-left: calc(var(--spacing) * 1);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .line-clamp-3 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-20 {\n height: calc(var(--spacing) * 20);\n }\n .h-24 {\n height: calc(var(--spacing) * 24);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-48 {\n height: calc(var(--spacing) * 48);\n }\n .h-64 {\n height: calc(var(--spacing) * 64);\n }\n .h-96 {\n height: calc(var(--spacing) * 96);\n }\n .h-\\[4000px\\] {\n height: 4000px;\n }\n .h-full {\n height: 100%;\n }\n .h-px {\n height: 1px;\n }\n .h-screen {\n height: 100vh;\n }\n .max-h-48 {\n max-height: calc(var(--spacing) * 48);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[90\\%\\] {\n max-height: 90%;\n }\n .max-h-\\[90vh\\] {\n max-height: 90vh;\n }\n .min-h-0 {\n min-height: calc(var(--spacing) * 0);\n }\n .min-h-\\[120px\\] {\n min-height: 120px;\n }\n .min-h-\\[1000px\\] {\n min-height: 1000px;\n }\n .min-h-full {\n min-height: 100%;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-0 {\n width: calc(var(--spacing) * 0);\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-1\\/2 {\n width: calc(1 / 2 * 100%);\n }\n .w-1\\/3 {\n width: calc(1 / 3 * 100%);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-24 {\n width: calc(var(--spacing) * 24);\n }\n .w-32 {\n width: calc(var(--spacing) * 32);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-48 {\n width: calc(var(--spacing) * 48);\n }\n .w-56 {\n width: calc(var(--spacing) * 56);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-72 {\n width: calc(var(--spacing) * 72);\n }\n .w-80 {\n width: calc(var(--spacing) * 80);\n }\n .w-96 {\n width: calc(var(--spacing) * 96);\n }\n .w-\\[600px\\] {\n width: 600px;\n }\n .w-\\[800px\\] {\n width: 800px;\n }\n .w-\\[4000px\\] {\n width: 4000px;\n }\n .w-full {\n width: 100%;\n }\n .w-max {\n width: max-content;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-3xl {\n max-width: var(--container-3xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-5xl {\n max-width: var(--container-5xl);\n }\n .max-w-6xl {\n max-width: var(--container-6xl);\n }\n .max-w-7xl {\n max-width: var(--container-7xl);\n }\n .max-w-\\[85\\%\\] {\n max-width: 85%;\n }\n .max-w-lg {\n max-width: var(--container-lg);\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .-translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-1 {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-1 {\n --tw-translate-y: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-105 {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-\\[1\\.01\\] {\n scale: 1.01;\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-default {\n cursor: default;\n }\n .cursor-grab {\n cursor: grab;\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .cursor-text {\n cursor: text;\n }\n .resize-none {\n resize: none;\n }\n .list-disc {\n list-style-type: disc;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n }\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-1 {\n gap: calc(var(--spacing) * 1);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-6 {\n gap: calc(var(--spacing) * 6);\n }\n .gap-8 {\n gap: calc(var(--spacing) * 8);\n }\n .space-y-1 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-2 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-3 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-4 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-6 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .space-y-8 {\n :where(& > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n }\n .divide-y {\n :where(& > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n }\n .divide-slate-50 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-50);\n }\n }\n .divide-slate-100 {\n :where(& > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-hidden {\n overflow-x: hidden;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2\\.5rem\\] {\n border-radius: 2.5rem;\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-\\[2rem\\] {\n border-radius: 2rem;\n }\n .rounded-\\[3rem\\] {\n border-radius: 3rem;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-lg {\n border-top-left-radius: var(--radius-lg);\n border-top-right-radius: var(--radius-lg);\n }\n .rounded-t-xl {\n border-top-left-radius: var(--radius-xl);\n border-top-right-radius: var(--radius-xl);\n }\n .rounded-br-none {\n border-bottom-right-radius: 0;\n }\n .rounded-bl-none {\n border-bottom-left-radius: 0;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-4 {\n border-style: var(--tw-border-style);\n border-width: 4px;\n }\n .border-y {\n border-block-style: var(--tw-border-style);\n border-block-width: 1px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-r-2 {\n border-right-style: var(--tw-border-style);\n border-right-width: 2px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l {\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-l-4 {\n border-left-style: var(--tw-border-style);\n border-left-width: 4px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-\\[\\#dfcdae\\] {\n border-color: #dfcdae;\n }\n .border-\\[\\#eaddc4\\] {\n border-color: #eaddc4;\n }\n .border-\\[\\#f4ecd8\\] {\n border-color: #f4ecd8;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-blue-100 {\n border-color: var(--color-blue-100);\n }\n .border-blue-200 {\n border-color: var(--color-blue-200);\n }\n .border-blue-400 {\n border-color: var(--color-blue-400);\n }\n .border-blue-500 {\n border-color: var(--color-blue-500);\n }\n .border-blue-600 {\n border-color: var(--color-blue-600);\n }\n .border-gray-200 {\n border-color: var(--color-gray-200);\n }\n .border-green-100 {\n border-color: var(--color-green-100);\n }\n .border-green-200 {\n border-color: var(--color-green-200);\n }\n .border-indigo-50 {\n border-color: var(--color-indigo-50);\n }\n .border-indigo-100 {\n border-color: var(--color-indigo-100);\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-300 {\n border-color: var(--color-indigo-300);\n }\n .border-indigo-400 {\n border-color: var(--color-indigo-400);\n }\n .border-indigo-600 {\n border-color: var(--color-indigo-600);\n }\n .border-red-100 {\n border-color: var(--color-red-100);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-red-300 {\n border-color: var(--color-red-300);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-slate-50 {\n border-color: var(--color-slate-50);\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-theme-border {\n border-color: var(--color-theme-border);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-yellow-100 {\n border-color: var(--color-yellow-100);\n }\n .bg-\\[\\#5c4731\\] {\n background-color: #5c4731;\n }\n .bg-\\[\\#eaddc4\\] {\n background-color: #eaddc4;\n }\n .bg-\\[\\#eef2ff\\] {\n background-color: #eef2ff;\n }\n .bg-\\[\\#f4ecd8\\] {\n background-color: #f4ecd8;\n }\n .bg-\\[\\#fbf8f1\\] {\n background-color: #fbf8f1;\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-400 {\n background-color: var(--color-amber-400);\n }\n .bg-black\\/5 {\n background-color: color-mix(in srgb, #000 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 5%, transparent);\n }\n }\n .bg-black\\/40 {\n background-color: color-mix(in srgb, #000 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 40%, transparent);\n }\n }\n .bg-black\\/50 {\n background-color: color-mix(in srgb, #000 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 50%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-500 {\n background-color: var(--color-blue-500);\n }\n .bg-blue-500\\/10 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n .bg-blue-500\\/20 {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n }\n .bg-blue-600 {\n background-color: var(--color-blue-600);\n }\n .bg-blue-700 {\n background-color: var(--color-blue-700);\n }\n .bg-blue-900 {\n background-color: var(--color-blue-900);\n }\n .bg-gray-100 {\n background-color: var(--color-gray-100);\n }\n .bg-green-100 {\n background-color: var(--color-green-100);\n }\n .bg-green-500 {\n background-color: var(--color-green-500);\n }\n .bg-green-500\\/10 {\n background-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-50\\/30 {\n background-color: color-mix(in srgb, oklch(96.2% 0.018 272.314) 30%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-50) 30%, transparent);\n }\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .bg-indigo-500\\/20 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-indigo-900 {\n background-color: var(--color-indigo-900);\n }\n .bg-indigo-900\\/50 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-900) 50%, transparent);\n }\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-100 {\n background-color: var(--color-red-100);\n }\n .bg-red-600 {\n background-color: var(--color-red-600);\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-300 {\n background-color: var(--color-slate-300);\n }\n .bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-theme-bg {\n background-color: var(--color-theme-bg);\n }\n .bg-theme-bg\\/50 {\n background-color: var(--color-theme-bg);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-bg) 50%, transparent);\n }\n }\n .bg-theme-border {\n background-color: var(--color-theme-border);\n }\n .bg-theme-editor-bg {\n background-color: var(--color-theme-editor-bg);\n }\n .bg-theme-panel {\n background-color: var(--color-theme-panel);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .bg-white\\/50 {\n background-color: color-mix(in srgb, #fff 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .bg-white\\/70 {\n background-color: color-mix(in srgb, #fff 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .bg-white\\/80 {\n background-color: color-mix(in srgb, #fff 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .bg-gradient-to-br {\n --tw-gradient-position: to bottom right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .bg-gradient-to-r {\n --tw-gradient-position: to right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-blue-500 {\n --tw-gradient-from: var(--color-blue-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-blue-500\\/20 {\n --tw-gradient-from: color-mix(in srgb, oklch(62.3% 0.214 259.815) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-from: color-mix(in oklab, var(--color-blue-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-blue-600 {\n --tw-gradient-from: var(--color-blue-600);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-orange-200 {\n --tw-gradient-from: var(--color-orange-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-red-200 {\n --tw-gradient-from: var(--color-red-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-slate-300 {\n --tw-gradient-from: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .via-indigo-200 {\n --tw-gradient-via: var(--color-indigo-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-purple-200 {\n --tw-gradient-via: var(--color-purple-200);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .via-yellow-100 {\n --tw-gradient-via: var(--color-yellow-100);\n --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-via-stops);\n }\n .to-blue-200 {\n --tw-gradient-to: var(--color-blue-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-green-200 {\n --tw-gradient-to: var(--color-green-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500 {\n --tw-gradient-to: var(--color-indigo-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-500\\/20 {\n --tw-gradient-to: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-gradient-to: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-indigo-600 {\n --tw-gradient-to: var(--color-indigo-600);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-300 {\n --tw-gradient-to: var(--color-slate-300);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .bg-clip-text {\n background-clip: text;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: calc(var(--spacing) * 1);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .px-0\\.5 {\n padding-inline: calc(var(--spacing) * 0.5);\n }\n .px-1 {\n padding-inline: calc(var(--spacing) * 1);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .px-8 {\n padding-inline: calc(var(--spacing) * 8);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: calc(var(--spacing) * 1);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-5 {\n padding-block: calc(var(--spacing) * 5);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .py-10 {\n padding-block: calc(var(--spacing) * 10);\n }\n .py-12 {\n padding-block: calc(var(--spacing) * 12);\n }\n .py-16 {\n padding-block: calc(var(--spacing) * 16);\n }\n .py-20 {\n padding-block: calc(var(--spacing) * 20);\n }\n .py-24 {\n padding-block: calc(var(--spacing) * 24);\n }\n .pt-1 {\n padding-top: calc(var(--spacing) * 1);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pt-4 {\n padding-top: calc(var(--spacing) * 4);\n }\n .pt-6 {\n padding-top: calc(var(--spacing) * 6);\n }\n .pt-8 {\n padding-top: calc(var(--spacing) * 8);\n }\n .pt-12 {\n padding-top: calc(var(--spacing) * 12);\n }\n .pt-20 {\n padding-top: calc(var(--spacing) * 20);\n }\n .pt-32 {\n padding-top: calc(var(--spacing) * 32);\n }\n .pr-2 {\n padding-right: calc(var(--spacing) * 2);\n }\n .pr-4 {\n padding-right: calc(var(--spacing) * 4);\n }\n .pr-12 {\n padding-right: calc(var(--spacing) * 12);\n }\n .pb-1 {\n padding-bottom: calc(var(--spacing) * 1);\n }\n .pb-2 {\n padding-bottom: calc(var(--spacing) * 2);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-8 {\n padding-bottom: calc(var(--spacing) * 8);\n }\n .pb-20 {\n padding-bottom: calc(var(--spacing) * 20);\n }\n .pb-32 {\n padding-bottom: calc(var(--spacing) * 32);\n }\n .pl-2 {\n padding-left: calc(var(--spacing) * 2);\n }\n .pl-4 {\n padding-left: calc(var(--spacing) * 4);\n }\n .pl-5 {\n padding-left: calc(var(--spacing) * 5);\n }\n .pl-9 {\n padding-left: calc(var(--spacing) * 9);\n }\n .pl-12 {\n padding-left: calc(var(--spacing) * 12);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .text-right {\n text-align: right;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .font-serif {\n font-family: var(--font-serif);\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-4xl {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n .text-5xl {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n .text-6xl {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .leading-\\[1\\.1\\] {\n --tw-leading: 1.1;\n line-height: 1.1;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-normal {\n --tw-font-weight: var(--font-weight-normal);\n font-weight: var(--font-weight-normal);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wide {\n --tw-tracking: var(--tracking-wide);\n letter-spacing: var(--tracking-wide);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-\\[\\#735e44\\] {\n color: #735e44;\n }\n .text-\\[\\#332616\\] {\n color: #332616;\n }\n .text-\\[\\#433422\\] {\n color: #433422;\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-blue-400 {\n color: var(--color-blue-400);\n }\n .text-blue-500 {\n color: var(--color-blue-500);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-900 {\n color: var(--color-blue-900);\n }\n .text-gray-800 {\n color: var(--color-gray-800);\n }\n .text-green-500 {\n color: var(--color-green-500);\n }\n .text-green-700 {\n color: var(--color-green-700);\n }\n .text-green-800 {\n color: var(--color-green-800);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-700 {\n color: var(--color-indigo-700);\n }\n .text-indigo-800 {\n color: var(--color-indigo-800);\n }\n .text-orange-500 {\n color: var(--color-orange-500);\n }\n .text-orange-600 {\n color: var(--color-orange-600);\n }\n .text-purple-600 {\n color: var(--color-purple-600);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-red-400 {\n color: var(--color-red-400);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-red-700 {\n color: var(--color-red-700);\n }\n .text-red-900 {\n color: var(--color-red-900);\n }\n .text-rose-800 {\n color: var(--color-rose-800);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-theme-editor-text {\n color: var(--color-theme-editor-text);\n }\n .text-theme-muted {\n color: var(--color-theme-muted);\n }\n .text-theme-text {\n color: var(--color-theme-text);\n }\n .text-transparent {\n color: transparent;\n }\n .text-white {\n color: var(--color-white);\n }\n .text-yellow-400 {\n color: var(--color-yellow-400);\n }\n .text-yellow-500 {\n color: var(--color-yellow-500);\n }\n .text-yellow-600 {\n color: var(--color-yellow-600);\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .underline {\n text-decoration-line: underline;\n }\n .decoration-blue-500 {\n text-decoration-color: var(--color-blue-500);\n }\n .decoration-indigo-300 {\n text-decoration-color: var(--color-indigo-300);\n }\n .underline-offset-4 {\n text-underline-offset: 4px;\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .accent-blue-600 {\n accent-color: var(--color-blue-600);\n }\n .accent-indigo-600 {\n accent-color: var(--color-indigo-600);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-50 {\n opacity: 50%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-70 {\n opacity: 70%;\n }\n .opacity-80 {\n opacity: 80%;\n }\n .opacity-90 {\n opacity: 90%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(59\\,130\\,246\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(59,130,246,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0_0_10px_rgba\\(99\\,102\\,241\\,0\\.5\\)\\] {\n --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(99,102,241,0.5));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-\\[0px_2px_0px_0px_rgba\\(203\\,213\\,225\\,1\\)\\] {\n --tw-shadow: 0px 2px 0px 0px var(--tw-shadow-color, rgba(203,213,225,1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner {\n --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-blue-200 {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n .shadow-indigo-100 {\n --tw-shadow-color: oklch(93% 0.034 272.788);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-indigo-100) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-amber-200 {\n --tw-ring-color: var(--color-amber-200);\n }\n .ring-blue-200 {\n --tw-ring-color: var(--color-blue-200);\n }\n .ring-indigo-200 {\n --tw-ring-color: var(--color-indigo-200);\n }\n .ring-indigo-400 {\n --tw-ring-color: var(--color-indigo-400);\n }\n .ring-indigo-500 {\n --tw-ring-color: var(--color-indigo-500);\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .blur-3xl {\n --tw-blur: blur(var(--blur-3xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[1px\\] {\n --tw-blur: blur(1px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[60px\\] {\n --tw-blur: blur(60px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[100px\\] {\n --tw-blur: blur(100px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[120px\\] {\n --tw-blur: blur(120px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .blur-\\[150px\\] {\n --tw-blur: blur(150px);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property: transform, translate, scale, rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-100 {\n --tw-duration: 100ms;\n transition-duration: 100ms;\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-1000 {\n --tw-duration: 1000ms;\n transition-duration: 1000ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .group-hover\\:translate-x-1 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n --tw-translate-x: calc(var(--spacing) * 1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n }\n }\n .group-hover\\:bg-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-blue-600 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .group-hover\\:text-white {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .group-hover\\:opacity-100 {\n &:is(:where(.group):hover *) {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .selection\\:bg-blue-200 {\n & *::selection {\n background-color: var(--color-blue-200);\n }\n &::selection {\n background-color: var(--color-blue-200);\n }\n }\n .hover\\:scale-105 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-110 {\n &:hover {\n @media (hover: hover) {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n }\n }\n .hover\\:scale-\\[1\\.02\\] {\n &:hover {\n @media (hover: hover) {\n scale: 1.02;\n }\n }\n }\n .hover\\:border-\\[\\#cfbd9e\\] {\n &:hover {\n @media (hover: hover) {\n border-color: #cfbd9e;\n }\n }\n }\n .hover\\:border-blue-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-blue-300);\n }\n }\n }\n .hover\\:border-indigo-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:border-indigo-400 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-400);\n }\n }\n }\n .hover\\:border-indigo-500 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-indigo-500);\n }\n }\n }\n .hover\\:border-slate-200 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:border-slate-300 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-300);\n }\n }\n }\n .hover\\:border-slate-600 {\n &:hover {\n @media (hover: hover) {\n border-color: var(--color-slate-600);\n }\n }\n }\n .hover\\:bg-\\[\\#eaddc4\\] {\n &:hover {\n @media (hover: hover) {\n background-color: #eaddc4;\n }\n }\n }\n .hover\\:bg-amber-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-50);\n }\n }\n }\n .hover\\:bg-amber-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-amber-100);\n }\n }\n }\n .hover\\:bg-black\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #000 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-black) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-50);\n }\n }\n }\n .hover\\:bg-blue-500 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-500);\n }\n }\n }\n .hover\\:bg-blue-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-blue-600 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-600);\n }\n }\n }\n .hover\\:bg-blue-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-700);\n }\n }\n }\n .hover\\:bg-blue-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-blue-800);\n }\n }\n }\n .hover\\:bg-indigo-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-50);\n }\n }\n }\n .hover\\:bg-indigo-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-100);\n }\n }\n }\n .hover\\:bg-indigo-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-200);\n }\n }\n }\n .hover\\:bg-indigo-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-indigo-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:bg-red-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-50);\n }\n }\n }\n .hover\\:bg-red-500\\/10 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n }\n }\n .hover\\:bg-red-700 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-red-700);\n }\n }\n }\n .hover\\:bg-red-900\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, oklch(39.6% 0.141 25.723) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-red-900) 20%, transparent);\n }\n }\n }\n }\n .hover\\:bg-slate-50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-50);\n }\n }\n }\n .hover\\:bg-slate-100 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-100);\n }\n }\n }\n .hover\\:bg-slate-200 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-200);\n }\n }\n }\n .hover\\:bg-slate-800 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n .hover\\:bg-slate-900 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-900);\n }\n }\n }\n .hover\\:bg-theme-border {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-border);\n }\n }\n }\n .hover\\:bg-theme-panel {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n }\n }\n }\n .hover\\:bg-theme-panel\\/50 {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-theme-panel);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-theme-panel) 50%, transparent);\n }\n }\n }\n }\n .hover\\:bg-white {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-white);\n }\n }\n }\n .hover\\:bg-white\\/20 {\n &:hover {\n @media (hover: hover) {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n }\n }\n .hover\\:text-\\[\\#332616\\] {\n &:hover {\n @media (hover: hover) {\n color: #332616;\n }\n }\n }\n .hover\\:text-blue-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-400);\n }\n }\n }\n .hover\\:text-blue-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-500);\n }\n }\n }\n .hover\\:text-blue-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-600);\n }\n }\n }\n .hover\\:text-blue-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-blue-800);\n }\n }\n }\n .hover\\:text-indigo-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:text-indigo-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-700);\n }\n }\n }\n .hover\\:text-indigo-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-indigo-800);\n }\n }\n }\n .hover\\:text-red-400 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-400);\n }\n }\n }\n .hover\\:text-red-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-500);\n }\n }\n }\n .hover\\:text-red-600 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-600);\n }\n }\n }\n .hover\\:text-red-700 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-red-700);\n }\n }\n }\n .hover\\:text-slate-500 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-500);\n }\n }\n }\n .hover\\:text-slate-800 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-800);\n }\n }\n }\n .hover\\:text-slate-900 {\n &:hover {\n @media (hover: hover) {\n color: var(--color-slate-900);\n }\n }\n }\n .hover\\:text-theme-text {\n &:hover {\n @media (hover: hover) {\n color: var(--color-theme-text);\n }\n }\n }\n .hover\\:text-white {\n &:hover {\n @media (hover: hover) {\n color: var(--color-white);\n }\n }\n }\n .hover\\:underline {\n &:hover {\n @media (hover: hover) {\n text-decoration-line: underline;\n }\n }\n }\n .hover\\:decoration-indigo-600 {\n &:hover {\n @media (hover: hover) {\n text-decoration-color: var(--color-indigo-600);\n }\n }\n }\n .hover\\:opacity-80 {\n &:hover {\n @media (hover: hover) {\n opacity: 80%;\n }\n }\n }\n .hover\\:opacity-100 {\n &:hover {\n @media (hover: hover) {\n opacity: 100%;\n }\n }\n }\n .hover\\:shadow-2xl {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-md {\n &:hover {\n @media (hover: hover) {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n }\n .hover\\:shadow-blue-200 {\n &:hover {\n @media (hover: hover) {\n --tw-shadow-color: oklch(88.2% 0.059 254.128);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, var(--color-blue-200) var(--tw-shadow-alpha), transparent);\n }\n }\n }\n }\n .focus\\:border-b {\n &:focus {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n }\n .focus\\:border-blue-500 {\n &:focus {\n border-color: var(--color-blue-500);\n }\n }\n .focus\\:border-indigo-400 {\n &:focus {\n border-color: var(--color-indigo-400);\n }\n }\n .focus\\:border-indigo-500 {\n &:focus {\n border-color: var(--color-indigo-500);\n }\n }\n .focus\\:ring-2 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-4 {\n &:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:ring-blue-300 {\n &:focus {\n --tw-ring-color: var(--color-blue-300);\n }\n }\n .focus\\:ring-blue-500 {\n &:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n }\n .focus\\:ring-indigo-500 {\n &:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n }\n .focus\\:outline-none {\n &:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n }\n .active\\:cursor-grabbing {\n &:active {\n cursor: grabbing;\n }\n }\n .disabled\\:opacity-30 {\n &:disabled {\n opacity: 30%;\n }\n }\n .disabled\\:opacity-50 {\n &:disabled {\n opacity: 50%;\n }\n }\n .sm\\:block {\n @media (width >= 40rem) {\n display: block;\n }\n }\n .sm\\:inline {\n @media (width >= 40rem) {\n display: inline;\n }\n }\n .sm\\:h-\\[400px\\] {\n @media (width >= 40rem) {\n height: 400px;\n }\n }\n .sm\\:w-auto {\n @media (width >= 40rem) {\n width: auto;\n }\n }\n .sm\\:flex-row {\n @media (width >= 40rem) {\n flex-direction: row;\n }\n }\n .sm\\:p-6 {\n @media (width >= 40rem) {\n padding: calc(var(--spacing) * 6);\n }\n }\n .sm\\:p-12 {\n @media (width >= 40rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .sm\\:px-5 {\n @media (width >= 40rem) {\n padding-inline: calc(var(--spacing) * 5);\n }\n }\n .sm\\:py-2\\.5 {\n @media (width >= 40rem) {\n padding-block: calc(var(--spacing) * 2.5);\n }\n }\n .sm\\:text-sm {\n @media (width >= 40rem) {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .md\\:block {\n @media (width >= 48rem) {\n display: block;\n }\n }\n .md\\:flex {\n @media (width >= 48rem) {\n display: flex;\n }\n }\n .md\\:h-\\[500px\\] {\n @media (width >= 48rem) {\n height: 500px;\n }\n }\n .md\\:w-1\\/3 {\n @media (width >= 48rem) {\n width: calc(1 / 3 * 100%);\n }\n }\n .md\\:w-64 {\n @media (width >= 48rem) {\n width: calc(var(--spacing) * 64);\n }\n }\n .md\\:w-auto {\n @media (width >= 48rem) {\n width: auto;\n }\n }\n .md\\:grid-cols-2 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-3 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .md\\:grid-cols-4 {\n @media (width >= 48rem) {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n }\n .md\\:flex-row {\n @media (width >= 48rem) {\n flex-direction: row;\n }\n }\n .md\\:items-center {\n @media (width >= 48rem) {\n align-items: center;\n }\n }\n .md\\:gap-6 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 6);\n }\n }\n .md\\:gap-12 {\n @media (width >= 48rem) {\n gap: calc(var(--spacing) * 12);\n }\n }\n .md\\:p-6 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 6);\n }\n }\n .md\\:p-8 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 8);\n }\n }\n .md\\:p-12 {\n @media (width >= 48rem) {\n padding: calc(var(--spacing) * 12);\n }\n }\n .md\\:px-5 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 5);\n }\n }\n .md\\:px-8 {\n @media (width >= 48rem) {\n padding-inline: calc(var(--spacing) * 8);\n }\n }\n .md\\:py-2\\.5 {\n @media (width >= 48rem) {\n padding-block: calc(var(--spacing) * 2.5);\n }\n }\n .md\\:py-24 {\n @media (width >= 48rem) {\n padding-block: calc(var(--spacing) * 24);\n }\n }\n .md\\:text-4xl {\n @media (width >= 48rem) {\n font-size: var(--text-4xl);\n line-height: var(--tw-leading, var(--text-4xl--line-height));\n }\n }\n .md\\:text-5xl {\n @media (width >= 48rem) {\n font-size: var(--text-5xl);\n line-height: var(--tw-leading, var(--text-5xl--line-height));\n }\n }\n .md\\:text-7xl {\n @media (width >= 48rem) {\n font-size: var(--text-7xl);\n line-height: var(--tw-leading, var(--text-7xl--line-height));\n }\n }\n .md\\:text-sm {\n @media (width >= 48rem) {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n }\n .md\\:text-xl {\n @media (width >= 48rem) {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n }\n .lg\\:relative {\n @media (width >= 64rem) {\n position: relative;\n }\n }\n .lg\\:col-span-2 {\n @media (width >= 64rem) {\n grid-column: span 2 / span 2;\n }\n }\n .lg\\:flex {\n @media (width >= 64rem) {\n display: flex;\n }\n }\n .lg\\:hidden {\n @media (width >= 64rem) {\n display: none;\n }\n }\n .lg\\:w-1\\/2 {\n @media (width >= 64rem) {\n width: calc(1 / 2 * 100%);\n }\n }\n .lg\\:w-96 {\n @media (width >= 64rem) {\n width: calc(var(--spacing) * 96);\n }\n }\n .lg\\:grid-cols-3 {\n @media (width >= 64rem) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n }\n .lg\\:shadow-none {\n @media (width >= 64rem) {\n --tw-shadow: 0 0 #0000;\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .dark\\:border-slate-700 {\n @media (prefers-color-scheme: dark) {\n border-color: var(--color-slate-700);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n @media (prefers-color-scheme: dark) {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n }\n .dark\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n background-color: var(--color-slate-800);\n }\n }\n .dark\\:text-blue-400 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-blue-400);\n }\n }\n .dark\\:text-slate-300 {\n @media (prefers-color-scheme: dark) {\n color: var(--color-slate-300);\n }\n }\n .dark\\:hover\\:bg-slate-700 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-700);\n }\n }\n }\n }\n .dark\\:hover\\:bg-slate-800 {\n @media (prefers-color-scheme: dark) {\n &:hover {\n @media (hover: hover) {\n background-color: var(--color-slate-800);\n }\n }\n }\n }\n}\n:root,\r\n.theme-light {\n --theme-bg: #eef2ff;\n --theme-panel: #ffffff;\n --theme-text: #0f172a;\n --theme-muted: #64748b;\n --theme-border: #e2e8f0;\n --theme-editor-bg: #ffffff;\n --theme-editor-text: #0f172a;\n}\n.theme-dark {\n --theme-bg: #0f172a;\n --theme-panel: #1e293b;\n --theme-text: #f8fafc;\n --theme-muted: #94a3b8;\n --theme-border: #334155;\n --theme-editor-bg: #1e293b;\n --theme-editor-text: #e2e8f0;\n}\n.theme-sepia {\n --theme-bg: #eaddc4;\n --theme-panel: #fbf8f1;\n --theme-text: #332616;\n --theme-muted: #735e44;\n --theme-border: #dfcdae;\n --theme-editor-bg: #fbf8f1;\n --theme-editor-text: #332616;\n}\n.editor-content:empty:before {\n content: attr(placeholder);\n color: #9ca3af;\n pointer-events: none;\n}\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n::-webkit-scrollbar-track {\n background: transparent;\n}\n::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 3px;\n}\n::-webkit-scrollbar-thumb:hover {\n background: #94a3b8;\n}\n@media print {\n @page {\n margin: 2cm;\n size: auto;\n }\n html,\r\n body {\n height: auto !important;\n overflow: visible !important;\n margin: 0 !important;\n padding: 0 !important;\n background: white !important;\n color: black !important;\n }\n #__next {\n height: auto !important;\n overflow: visible !important;\n display: block !important;\n position: relative !important;\n }\n .no-print {\n display: none !important;\n }\n .print-only {\n display: block !important;\n }\n .break-before-page {\n page-break-before: always;\n break-before: page;\n }\n .break-after-page {\n page-break-after: always;\n break-after: page;\n }\n p {\n text-align: justify;\n widows: 3;\n orphans: 3;\n color: black !important;\n }\n h1,\r\n h2,\r\n h3,\r\n h4 {\n color: black !important;\n page-break-after: avoid;\n }\n a {\n text-decoration: none;\n color: black !important;\n }\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-scale-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-divide-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-gradient-position {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-via {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-to {\n syntax: \"\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-via-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from-position {\n syntax: \"\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-gradient-via-position {\n syntax: \"\";\n inherits: false;\n initial-value: 50%;\n}\n@property --tw-gradient-to-position {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-tracking {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-backdrop-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}"],"names":[],"mappings":"AACA;EAm0GE;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAn0GJ;EAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;;AAKA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;AAIA;;;;;;AAKA"}}] } \ No newline at end of file diff --git a/.next/dev/trace b/.next/dev/trace index 212b60e..d58125a 100644 --- a/.next/dev/trace +++ b/.next/dev/trace @@ -123,3 +123,8 @@ [{"name":"handle-request","duration":224135,"timestamp":560226835344,"id":31,"tags":{"url":"/api/auth/register"},"startTime":1772306771801,"traceId":"12e58857fb69bdf9"},{"name":"memory-usage","duration":5,"timestamp":560227059526,"id":34,"parentId":31,"tags":{"url":"/api/auth/register","memory.rss":"553451520","memory.heapUsed":"117841408","memory.heapTotal":"138444800"},"startTime":1772306772025,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":272,"timestamp":560233844873,"id":35,"parentId":3,"tags":{"inputPage":"/api/auth/providers"},"startTime":1772306778811,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":126,"timestamp":560233845171,"id":36,"parentId":3,"tags":{"inputPage":"/api/auth/providers"},"startTime":1772306778811,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":154,"timestamp":560233845615,"id":37,"parentId":3,"tags":{"inputPage":"/api/auth/providers"},"startTime":1772306778811,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":98,"timestamp":560233845785,"id":38,"parentId":3,"tags":{"inputPage":"/api/auth/providers"},"startTime":1772306778812,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":557,"timestamp":560233846632,"id":40,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772306778812,"traceId":"12e58857fb69bdf9"},{"name":"handle-request","duration":10609,"timestamp":560233846297,"id":39,"tags":{"url":"/api/auth/providers"},"startTime":1772306778812,"traceId":"12e58857fb69bdf9"},{"name":"memory-usage","duration":4,"timestamp":560233856929,"id":41,"parentId":39,"tags":{"url":"/api/auth/providers","memory.rss":"585674752","memory.heapUsed":"119645296","memory.heapTotal":"138706944"},"startTime":1772306778823,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":182,"timestamp":560233862690,"id":42,"parentId":3,"tags":{"inputPage":"/api/auth/csrf"},"startTime":1772306778829,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":104,"timestamp":560233862897,"id":43,"parentId":3,"tags":{"inputPage":"/api/auth/csrf"},"startTime":1772306778829,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":189,"timestamp":560233863311,"id":44,"parentId":3,"tags":{"inputPage":"/api/auth/csrf"},"startTime":1772306778829,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":121,"timestamp":560233863518,"id":45,"parentId":3,"tags":{"inputPage":"/api/auth/csrf"},"startTime":1772306778829,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":427,"timestamp":560233864195,"id":47,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772306778830,"traceId":"12e58857fb69bdf9"},{"name":"handle-request","duration":4673,"timestamp":560233863967,"id":46,"tags":{"url":"/api/auth/csrf"},"startTime":1772306778830,"traceId":"12e58857fb69bdf9"},{"name":"memory-usage","duration":3,"timestamp":560233868662,"id":48,"parentId":46,"tags":{"url":"/api/auth/csrf","memory.rss":"586764288","memory.heapUsed":"120929832","memory.heapTotal":"138969088"},"startTime":1772306778834,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":192,"timestamp":560233872593,"id":49,"parentId":3,"tags":{"inputPage":"/api/auth/callback/credentials"},"startTime":1772306778838,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":123,"timestamp":560233872805,"id":50,"parentId":3,"tags":{"inputPage":"/api/auth/callback/credentials"},"startTime":1772306778839,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":176,"timestamp":560233873262,"id":51,"parentId":3,"tags":{"inputPage":"/api/auth/callback/credentials"},"startTime":1772306778839,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":113,"timestamp":560233873454,"id":52,"parentId":3,"tags":{"inputPage":"/api/auth/callback/credentials"},"startTime":1772306778839,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":967,"timestamp":560233874840,"id":54,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772306778841,"traceId":"12e58857fb69bdf9"},{"name":"handle-request","duration":228878,"timestamp":560233874268,"id":53,"tags":{"url":"/api/auth/callback/credentials?"},"startTime":1772306778840,"traceId":"12e58857fb69bdf9"},{"name":"memory-usage","duration":2,"timestamp":560234103175,"id":55,"parentId":53,"tags":{"url":"/api/auth/callback/credentials?","memory.rss":"591822848","memory.heapUsed":"125448432","memory.heapTotal":"139755520"},"startTime":1772306779069,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":171,"timestamp":560234107520,"id":56,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772306779073,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":106,"timestamp":560234107710,"id":57,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772306779074,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":141,"timestamp":560234108093,"id":58,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772306779074,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":100,"timestamp":560234108251,"id":59,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772306779074,"traceId":"12e58857fb69bdf9"},{"name":"ensure-page","duration":571,"timestamp":560234109484,"id":61,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772306779075,"traceId":"12e58857fb69bdf9"},{"name":"handle-request","duration":7626,"timestamp":560234109228,"id":60,"tags":{"url":"/api/auth/session"},"startTime":1772306779075,"traceId":"12e58857fb69bdf9"},{"name":"memory-usage","duration":1,"timestamp":560234116887,"id":62,"parentId":60,"tags":{"url":"/api/auth/session","memory.rss":"593276928","memory.heapUsed":"121631864","memory.heapTotal":"140017664"},"startTime":1772306779083,"traceId":"12e58857fb69bdf9"},{"name":"compile-path","duration":44089,"timestamp":560234125735,"id":65,"tags":{"trigger":"/api/user/profile"},"startTime":1772306779092,"traceId":"12e58857fb69bdf9"}] [{"name":"handle-request","duration":132339,"timestamp":560234125420,"id":63,"tags":{"url":"/api/user/profile"},"startTime":1772306779091,"traceId":"12e58857fb69bdf9"},{"name":"memory-usage","duration":2,"timestamp":560234257787,"id":66,"parentId":63,"tags":{"url":"/api/user/profile","memory.rss":"684998656","memory.heapUsed":"130553272","memory.heapTotal":"145121280"},"startTime":1772306779224,"traceId":"12e58857fb69bdf9"},{"name":"compile-path","duration":8399,"timestamp":560234264277,"id":69,"tags":{"trigger":"/dashboard"},"startTime":1772306779230,"traceId":"12e58857fb69bdf9"}] [{"name":"handle-request","duration":31476,"timestamp":560234263719,"id":67,"tags":{"url":"/dashboard?_rsc=6k3yh"},"startTime":1772306779230,"traceId":"12e58857fb69bdf9"},{"name":"memory-usage","duration":3,"timestamp":560234295232,"id":70,"parentId":67,"tags":{"url":"/dashboard?_rsc=6k3yh","memory.rss":"687022080","memory.heapUsed":"130938240","memory.heapTotal":"144609280"},"startTime":1772306779261,"traceId":"12e58857fb69bdf9"},{"name":"compile-path","duration":19548,"timestamp":560234343100,"id":73,"tags":{"trigger":"/api/projects"},"startTime":1772306779309,"traceId":"12e58857fb69bdf9"}] +[{"name":"hot-reloader","duration":36,"timestamp":910537852407,"id":3,"tags":{"version":"16.1.6"},"startTime":1772657079926,"traceId":"fef5d5f50d089721"},{"name":"setup-dev-bundler","duration":275979,"timestamp":910537737648,"id":2,"parentId":1,"tags":{},"startTime":1772657079812,"traceId":"fef5d5f50d089721"},{"name":"start-dev-server","duration":710641,"timestamp":910537397609,"id":1,"tags":{"cpus":"32","platform":"win32","memory.freeMem":"11412443136","memory.totalMem":"34186964992","memory.heapSizeLimit":"17143169024","memory.rss":"314253312","memory.heapTotal":"91230208","memory.heapUsed":"67224400"},"startTime":1772657079472,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":509,"timestamp":910538124988,"id":7,"parentId":3,"tags":{"inputPage":"/project/cmm9ly29c00005gi9uits4au0"},"startTime":1772657080199,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":117,"timestamp":910538125528,"id":8,"parentId":3,"tags":{"inputPage":"/project/cmm9ly29c00005gi9uits4au0"},"startTime":1772657080199,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":192,"timestamp":910538127307,"id":9,"parentId":3,"tags":{"inputPage":"/project/cmm9ly29c00005gi9uits4au0"},"startTime":1772657080201,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":92,"timestamp":910538127534,"id":10,"parentId":3,"tags":{"inputPage":"/project/cmm9ly29c00005gi9uits4au0"},"startTime":1772657080201,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":358451,"timestamp":910538124500,"id":5,"parentId":3,"tags":{"inputPage":"/dashboard/page"},"startTime":1772657080198,"traceId":"fef5d5f50d089721"},{"name":"compile-path","duration":546989,"timestamp":910538124676,"id":6,"tags":{"trigger":"/dashboard"},"startTime":1772657080199,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":543234,"timestamp":910538128862,"id":12,"parentId":3,"tags":{"inputPage":"/project/[id]/page"},"startTime":1772657080203,"traceId":"fef5d5f50d089721"}] +[{"name":"handle-request","duration":584061,"timestamp":910538121293,"id":4,"tags":{"url":"/dashboard"},"startTime":1772657080195,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":4,"timestamp":910538705406,"id":13,"parentId":4,"tags":{"url":"/dashboard","memory.rss":"618868736","memory.heapUsed":"93595696","memory.heapTotal":"130179072"},"startTime":1772657080779,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":204,"timestamp":910538817099,"id":14,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657080891,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":129,"timestamp":910538817331,"id":15,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657080891,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":303,"timestamp":910538818544,"id":16,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657080892,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":174,"timestamp":910538818885,"id":17,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657080893,"traceId":"fef5d5f50d089721"},{"name":"compile-path","duration":19529,"timestamp":910538820405,"id":20,"tags":{"trigger":"/api/auth/[...nextauth]"},"startTime":1772657080894,"traceId":"fef5d5f50d089721"}] +[{"name":"handle-request","duration":889020,"timestamp":910538128535,"id":11,"tags":{"url":"/project/cmm9ly29c00005gi9uits4au0"},"startTime":1772657080202,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":5,"timestamp":910539017580,"id":21,"parentId":11,"tags":{"url":"/project/cmm9ly29c00005gi9uits4au0","memory.rss":"723144704","memory.heapUsed":"114008544","memory.heapTotal":"145965056"},"startTime":1772657081091,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":335,"timestamp":910539166676,"id":22,"parentId":3,"tags":{"inputPage":"/api/projects/cmm9ly29c00005gi9uits4au0"},"startTime":1772657081241,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":134,"timestamp":910539167040,"id":23,"parentId":3,"tags":{"inputPage":"/api/projects/cmm9ly29c00005gi9uits4au0"},"startTime":1772657081241,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":196,"timestamp":910539167537,"id":24,"parentId":3,"tags":{"inputPage":"/api/projects/cmm9ly29c00005gi9uits4au0"},"startTime":1772657081241,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":112,"timestamp":910539167753,"id":25,"parentId":3,"tags":{"inputPage":"/api/projects/cmm9ly29c00005gi9uits4au0"},"startTime":1772657081242,"traceId":"fef5d5f50d089721"},{"name":"compile-path","duration":5900,"timestamp":910539168901,"id":28,"tags":{"trigger":"/api/projects/[id]"},"startTime":1772657081243,"traceId":"fef5d5f50d089721"}] +[{"name":"handle-request","duration":708205,"timestamp":910538819946,"id":18,"tags":{"url":"/api/auth/session"},"startTime":1772657080894,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":4,"timestamp":910539528178,"id":29,"parentId":18,"tags":{"url":"/api/auth/session","memory.rss":"753483776","memory.heapUsed":"127357800","memory.heapTotal":"151195648"},"startTime":1772657081602,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":338,"timestamp":910539530743,"id":30,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081605,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":130,"timestamp":910539531103,"id":31,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081605,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":185,"timestamp":910539531487,"id":32,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081605,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":119,"timestamp":910539531688,"id":33,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081606,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":993,"timestamp":910539533025,"id":35,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772657081607,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":9265,"timestamp":910539533491,"id":37,"parentId":3,"tags":{"inputPage":"/api/user/profile/route"},"startTime":1772657081607,"traceId":"fef5d5f50d089721"},{"name":"compile-path","duration":34451,"timestamp":910539533516,"id":38,"tags":{"trigger":"/api/user/profile"},"startTime":1772657081607,"traceId":"fef5d5f50d089721"}] +[{"name":"handle-request","duration":112950,"timestamp":910539532736,"id":34,"tags":{"url":"/api/auth/session"},"startTime":1772657081607,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":3,"timestamp":910539645711,"id":41,"parentId":34,"tags":{"url":"/api/auth/session","memory.rss":"796901376","memory.heapUsed":"141918488","memory.heapTotal":"168378368"},"startTime":1772657081720,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":180,"timestamp":910539712377,"id":42,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081786,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":104,"timestamp":910539712575,"id":43,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081786,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":168,"timestamp":910539714005,"id":44,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081788,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":102,"timestamp":910539714192,"id":45,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081788,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":174634,"timestamp":910539540669,"id":39,"tags":{"url":"/login?_rsc=1h1b5"},"startTime":1772657081615,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":3,"timestamp":910539715328,"id":46,"parentId":39,"tags":{"url":"/login?_rsc=1h1b5","memory.rss":"820154368","memory.heapUsed":"154109832","memory.heapTotal":"178429952"},"startTime":1772657081789,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":1205,"timestamp":910539715924,"id":48,"parentId":3,"tags":{"inputPage":"/login/page"},"startTime":1772657081790,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":10131,"timestamp":910539716333,"id":50,"parentId":3,"tags":{"inputPage":"/api/user/profile/route"},"startTime":1772657081790,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":4689,"timestamp":910539730420,"id":52,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772657081804,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":1330,"timestamp":910539741442,"id":54,"parentId":3,"tags":{"inputPage":"/dashboard/page"},"startTime":1772657081815,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":35988,"timestamp":910539730144,"id":51,"tags":{"url":"/api/auth/session"},"startTime":1772657081804,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":2,"timestamp":910539766157,"id":55,"parentId":51,"tags":{"url":"/api/auth/session","memory.rss":"826834944","memory.heapUsed":"158133480","memory.heapTotal":"188534784"},"startTime":1772657081840,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":51562,"timestamp":910539715516,"id":47,"tags":{"url":"/login?_rsc=342t7"},"startTime":1772657081789,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":2,"timestamp":910539767097,"id":56,"parentId":47,"tags":{"url":"/login?_rsc=342t7","memory.rss":"826834944","memory.heapUsed":"158210696","memory.heapTotal":"188534784"},"startTime":1772657081841,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":172,"timestamp":910539770058,"id":59,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081844,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":185,"timestamp":910539770275,"id":60,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081844,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":30351,"timestamp":910539741167,"id":53,"tags":{"url":"/dashboard?_rsc=5c339"},"startTime":1772657081815,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":2,"timestamp":910539771538,"id":61,"parentId":53,"tags":{"url":"/dashboard?_rsc=5c339","memory.rss":"826990592","memory.heapUsed":"158930112","memory.heapTotal":"188796928"},"startTime":1772657081845,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":7142,"timestamp":910539769930,"id":58,"parentId":3,"tags":{"inputPage":"/dashboard/page"},"startTime":1772657081844,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":227,"timestamp":910539785334,"id":62,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081859,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":104,"timestamp":910539785582,"id":63,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081859,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":903,"timestamp":910539787420,"id":65,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772657081861,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":3357,"timestamp":910539787797,"id":67,"parentId":3,"tags":{"inputPage":"/api/user/profile/route"},"startTime":1772657081862,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":27611,"timestamp":910539769695,"id":57,"tags":{"url":"/dashboard?_rsc=5c339"},"startTime":1772657081844,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":3,"timestamp":910539797334,"id":68,"parentId":57,"tags":{"url":"/dashboard?_rsc=5c339","memory.rss":"828637184","memory.heapUsed":"163653152","memory.heapTotal":"189845504"},"startTime":1772657081871,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":13684,"timestamp":910539787206,"id":64,"tags":{"url":"/api/auth/session"},"startTime":1772657081861,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":3,"timestamp":910539800921,"id":71,"parentId":64,"tags":{"url":"/api/auth/session","memory.rss":"828739584","memory.heapUsed":"164290280","memory.heapTotal":"189845504"},"startTime":1772657081875,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":2940,"timestamp":910539799464,"id":70,"parentId":3,"tags":{"inputPage":"/dashboard/page"},"startTime":1772657081873,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":321,"timestamp":910539814321,"id":72,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081888,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":168,"timestamp":910539814670,"id":73,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081889,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":166,"timestamp":910539815640,"id":74,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081890,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":107,"timestamp":910539815824,"id":75,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081890,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":486,"timestamp":910539817746,"id":77,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772657081892,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":23385,"timestamp":910539799191,"id":69,"tags":{"url":"/dashboard?_rsc=5c339"},"startTime":1772657081873,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":3,"timestamp":910539822596,"id":78,"parentId":69,"tags":{"url":"/dashboard?_rsc=5c339","memory.rss":"830980096","memory.heapUsed":"157959104","memory.heapTotal":"192466944"},"startTime":1772657081896,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":1522,"timestamp":910539823697,"id":80,"parentId":3,"tags":{"inputPage":"/login/page"},"startTime":1772657081898,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":20908,"timestamp":910539817519,"id":76,"tags":{"url":"/api/auth/session"},"startTime":1772657081891,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":3,"timestamp":910539838449,"id":81,"parentId":76,"tags":{"url":"/api/auth/session","memory.rss":"832000000","memory.heapUsed":"161426808","memory.heapTotal":"192466944"},"startTime":1772657081912,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":1009,"timestamp":910539841107,"id":83,"parentId":3,"tags":{"inputPage":"/api/user/profile/route"},"startTime":1772657081915,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":26254,"timestamp":910539823477,"id":79,"tags":{"url":"/login?_rsc=1h1b5"},"startTime":1772657081897,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":4,"timestamp":910539849751,"id":84,"parentId":79,"tags":{"url":"/login?_rsc=1h1b5","memory.rss":"833892352","memory.heapUsed":"164639216","memory.heapTotal":"193916928"},"startTime":1772657081924,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":1054,"timestamp":910539854964,"id":86,"parentId":3,"tags":{"inputPage":"/dashboard/page"},"startTime":1772657081929,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":335643,"timestamp":910539533248,"id":36,"tags":{"url":"/api/user/profile"},"startTime":1772657081607,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":3,"timestamp":910539868912,"id":87,"parentId":36,"tags":{"url":"/api/user/profile","memory.rss":"835182592","memory.heapUsed":"168086376","memory.heapTotal":"194965504"},"startTime":1772657081943,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":779,"timestamp":910539871077,"id":89,"parentId":3,"tags":{"inputPage":"/login/page"},"startTime":1772657081945,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":26424,"timestamp":910539854172,"id":85,"tags":{"url":"/dashboard?_rsc=5c339"},"startTime":1772657081928,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":4,"timestamp":910539880619,"id":90,"parentId":85,"tags":{"url":"/dashboard?_rsc=5c339","memory.rss":"834994176","memory.heapUsed":"170611864","memory.heapTotal":"195227648"},"startTime":1772657081955,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":176,"timestamp":910539883474,"id":91,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081957,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":108,"timestamp":910539883670,"id":92,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081958,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":165,"timestamp":910539884827,"id":93,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081959,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":106,"timestamp":910539885008,"id":94,"parentId":3,"tags":{"inputPage":"/api/auth/session"},"startTime":1772657081959,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":1136,"timestamp":910539886114,"id":96,"parentId":3,"tags":{"inputPage":"/api/auth/[...nextauth]/route"},"startTime":1772657081960,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":25604,"timestamp":910539870696,"id":88,"tags":{"url":"/login?_rsc=1h1b5"},"startTime":1772657081945,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":6,"timestamp":910539896332,"id":97,"parentId":88,"tags":{"url":"/login?_rsc=1h1b5","memory.rss":"838766592","memory.heapUsed":"164012344","memory.heapTotal":"198373376"},"startTime":1772657081970,"traceId":"fef5d5f50d089721"},{"name":"ensure-page","duration":909,"timestamp":910539901053,"id":99,"parentId":3,"tags":{"inputPage":"/api/user/profile/route"},"startTime":1772657081975,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":19890,"timestamp":910539885888,"id":95,"tags":{"url":"/api/auth/session"},"startTime":1772657081960,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":4,"timestamp":910539905797,"id":100,"parentId":95,"tags":{"url":"/api/auth/session","memory.rss":"838610944","memory.heapUsed":"165359648","memory.heapTotal":"198635520"},"startTime":1772657081980,"traceId":"fef5d5f50d089721"},{"name":"handle-request","duration":196768,"timestamp":910539716091,"id":49,"tags":{"url":"/api/user/profile"},"startTime":1772657081790,"traceId":"fef5d5f50d089721"},{"name":"memory-usage","duration":4,"timestamp":910539912881,"id":104,"parentId":49,"tags":{"url":"/api/user/profile","memory.rss":"845672448","memory.heapUsed":"166426256","memory.heapTotal":"198635520"},"startTime":1772657081987,"traceId":"fef5d5f50d089721"},{"name":"compile-path","duration":7576,"timestamp":910539907739,"id":103,"tags":{"trigger":"/api/projects"},"startTime":1772657081982,"traceId":"fef5d5f50d089721"}] diff --git a/.next/dev/types/routes.d.ts b/.next/dev/types/routes.d.ts index fa7847a..901165d 100644 --- a/.next/dev/types/routes.d.ts +++ b/.next/dev/types/routes.d.ts @@ -1,7 +1,7 @@ // This file is generated automatically by Next.js // Do not edit this file manually -type AppRoutes = "/" | "/checkout" | "/dashboard" | "/features" | "/login" | "/pricing" | "/profile" | "/project/[id]" | "/project/[id]/ideas" | "/project/[id]/settings" | "/project/[id]/workflow" | "/project/[id]/world" | "/signup" +type AppRoutes = "/" | "/cgu" | "/cgv" | "/checkout" | "/dashboard" | "/features" | "/login" | "/pricing" | "/profile" | "/project/[id]" | "/project/[id]/ideas" | "/project/[id]/settings" | "/project/[id]/workflow" | "/project/[id]/world" | "/signup" | "/sitemap" type AppRouteHandlerRoutes = "/api/ai/generate" | "/api/ai/transform" | "/api/auth/[...nextauth]" | "/api/auth/register" | "/api/chapters" | "/api/chapters/[id]" | "/api/entities" | "/api/entities/[id]" | "/api/ideas" | "/api/ideas/[id]" | "/api/plans" | "/api/projects" | "/api/projects/[id]" | "/api/projects/[id]/workflow" | "/api/user/profile" type PageRoutes = never type LayoutRoutes = "/" | "/project/[id]" @@ -27,6 +27,8 @@ interface ParamMap { "/api/projects/[id]": { "id": string; } "/api/projects/[id]/workflow": { "id": string; } "/api/user/profile": {} + "/cgu": {} + "/cgv": {} "/checkout": {} "/dashboard": {} "/features": {} @@ -39,6 +41,7 @@ interface ParamMap { "/project/[id]/workflow": { "id": string; } "/project/[id]/world": { "id": string; } "/signup": {} + "/sitemap": {} } diff --git a/.next/dev/types/validator.ts b/.next/dev/types/validator.ts index 2249e1b..7564d19 100644 --- a/.next/dev/types/validator.ts +++ b/.next/dev/types/validator.ts @@ -47,6 +47,24 @@ type RouteHandlerConfig> = Specific + const handler = {} as typeof import("../../../src/app/cgu/page.js") + type __Check = __IsExpected + // @ts-ignore + type __Unused = __Check +} + +// Validate ../../../src/app/cgv/page.tsx +{ + type __IsExpected> = Specific + const handler = {} as typeof import("../../../src/app/cgv/page.js") + type __Check = __IsExpected + // @ts-ignore + type __Unused = __Check +} + // Validate ../../../src/app/checkout/page.tsx { type __IsExpected> = Specific @@ -164,6 +182,15 @@ type RouteHandlerConfig> = Specific + const handler = {} as typeof import("../../../src/app/sitemap/page.js") + type __Check = __IsExpected + // @ts-ignore + type __Unused = __Check +} + // Validate ../../../src/app/api/ai/generate/route.ts { type __IsExpected> = Specific diff --git a/.next/fallback-build-manifest.json b/.next/fallback-build-manifest.json index 7ee4d34..816cf89 100644 --- a/.next/fallback-build-manifest.json +++ b/.next/fallback-build-manifest.json @@ -5,8 +5,8 @@ "devFiles": [], "polyfillFiles": [], "lowPriorityFiles": [ - "static/Pe7tof7vDBhk_kXVU7nZJ/_ssgManifest.js", - "static/Pe7tof7vDBhk_kXVU7nZJ/_buildManifest.js" + "static/arWhYLxRTniGq2OEpqsNu/_ssgManifest.js", + "static/arWhYLxRTniGq2OEpqsNu/_buildManifest.js" ], "rootMainFiles": [] } \ No newline at end of file diff --git a/.next/prerender-manifest.json b/.next/prerender-manifest.json index f0f4d77..3789ec4 100644 --- a/.next/prerender-manifest.json +++ b/.next/prerender-manifest.json @@ -50,6 +50,54 @@ "x-next-revalidate-tag-token" ] }, + "/cgu": { + "experimentalBypassFor": [ + { + "type": "header", + "key": "next-action" + }, + { + "type": "header", + "key": "content-type", + "value": "multipart/form-data;.*" + } + ], + "initialRevalidateSeconds": false, + "srcRoute": "/cgu", + "dataRoute": "/cgu.rsc", + "allowHeader": [ + "host", + "x-matched-path", + "x-prerender-revalidate", + "x-prerender-revalidate-if-generated", + "x-next-revalidated-tags", + "x-next-revalidate-tag-token" + ] + }, + "/cgv": { + "experimentalBypassFor": [ + { + "type": "header", + "key": "next-action" + }, + { + "type": "header", + "key": "content-type", + "value": "multipart/form-data;.*" + } + ], + "initialRevalidateSeconds": false, + "srcRoute": "/cgv", + "dataRoute": "/cgv.rsc", + "allowHeader": [ + "host", + "x-matched-path", + "x-prerender-revalidate", + "x-prerender-revalidate-if-generated", + "x-next-revalidated-tags", + "x-next-revalidate-tag-token" + ] + }, "/checkout": { "experimentalBypassFor": [ { @@ -122,54 +170,6 @@ "x-next-revalidate-tag-token" ] }, - "/login": { - "experimentalBypassFor": [ - { - "type": "header", - "key": "next-action" - }, - { - "type": "header", - "key": "content-type", - "value": "multipart/form-data;.*" - } - ], - "initialRevalidateSeconds": false, - "srcRoute": "/login", - "dataRoute": "/login.rsc", - "allowHeader": [ - "host", - "x-matched-path", - "x-prerender-revalidate", - "x-prerender-revalidate-if-generated", - "x-next-revalidated-tags", - "x-next-revalidate-tag-token" - ] - }, - "/": { - "experimentalBypassFor": [ - { - "type": "header", - "key": "next-action" - }, - { - "type": "header", - "key": "content-type", - "value": "multipart/form-data;.*" - } - ], - "initialRevalidateSeconds": false, - "srcRoute": "/", - "dataRoute": "/index.rsc", - "allowHeader": [ - "host", - "x-matched-path", - "x-prerender-revalidate", - "x-prerender-revalidate-if-generated", - "x-next-revalidated-tags", - "x-next-revalidate-tag-token" - ] - }, "/pricing": { "experimentalBypassFor": [ { @@ -218,7 +218,7 @@ "x-next-revalidate-tag-token" ] }, - "/signup": { + "/sitemap": { "experimentalBypassFor": [ { "type": "header", @@ -231,8 +231,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/signup", - "dataRoute": "/signup.rsc", + "srcRoute": "/sitemap", + "dataRoute": "/sitemap.rsc", "allowHeader": [ "host", "x-matched-path", diff --git a/.next/required-server-files.js b/.next/required-server-files.js index 007a6be..218d9c6 100644 --- a/.next/required-server-files.js +++ b/.next/required-server-files.js @@ -210,12 +210,6 @@ self.__SERVER_FILES_MANIFEST={ "turbopackFileSystemCacheForDev": true, "turbopackFileSystemCacheForBuild": false, "turbopackInferModuleSideEffects": false, - "outputFileTracingIncludes": { - "/*": [ - "./node_modules/@prisma/client/**/*", - "./node_modules/.prisma/client/**/*" - ] - }, "optimizePackageImports": [ "lucide-react", "date-fns", @@ -300,15 +294,10 @@ self.__SERVER_FILES_MANIFEST={ "bundlePagesRouterDependencies": false, "configFileName": "next.config.ts", "serverExternalPackages": [ + "@prisma/client", "bcrypt", "bcryptjs" ], - "outputFileTracingIncludes": { - "/*": [ - "./node_modules/@prisma/client/**/*", - "./node_modules/.prisma/client/**/*" - ] - }, "turbopack": { "root": "C:\\Users\\streaper2" }, diff --git a/.next/required-server-files.json b/.next/required-server-files.json index c284b26..6c2ab01 100644 --- a/.next/required-server-files.json +++ b/.next/required-server-files.json @@ -210,12 +210,6 @@ "turbopackFileSystemCacheForDev": true, "turbopackFileSystemCacheForBuild": false, "turbopackInferModuleSideEffects": false, - "outputFileTracingIncludes": { - "/*": [ - "./node_modules/@prisma/client/**/*", - "./node_modules/.prisma/client/**/*" - ] - }, "optimizePackageImports": [ "lucide-react", "date-fns", @@ -300,15 +294,10 @@ "bundlePagesRouterDependencies": false, "configFileName": "next.config.ts", "serverExternalPackages": [ + "@prisma/client", "bcrypt", "bcryptjs" ], - "outputFileTracingIncludes": { - "/*": [ - "./node_modules/@prisma/client/**/*", - "./node_modules/.prisma/client/**/*" - ] - }, "turbopack": { "root": "C:\\Users\\streaper2" }, diff --git a/.next/routes-manifest.json b/.next/routes-manifest.json index f38269a..3424c48 100644 --- a/.next/routes-manifest.json +++ b/.next/routes-manifest.json @@ -183,6 +183,18 @@ "routeKeys": {}, "namedRegex": "^/api/user/profile(?:/)?$" }, + { + "page": "/cgu", + "regex": "^/cgu(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/cgu(?:/)?$" + }, + { + "page": "/cgv", + "regex": "^/cgv(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/cgv(?:/)?$" + }, { "page": "/checkout", "regex": "^/checkout(?:/)?$", @@ -224,6 +236,12 @@ "regex": "^/signup(?:/)?$", "routeKeys": {}, "namedRegex": "^/signup(?:/)?$" + }, + { + "page": "/sitemap", + "regex": "^/sitemap(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/sitemap(?:/)?$" } ], "dataRoutes": [], diff --git a/.next/server/app-paths-manifest.json b/.next/server/app-paths-manifest.json index f03b69b..761ce9c 100644 --- a/.next/server/app-paths-manifest.json +++ b/.next/server/app-paths-manifest.json @@ -16,6 +16,8 @@ "/api/projects/[id]/workflow/route": "app/api/projects/[id]/workflow/route.js", "/api/projects/route": "app/api/projects/route.js", "/api/user/profile/route": "app/api/user/profile/route.js", + "/cgu/page": "app/cgu/page.js", + "/cgv/page": "app/cgv/page.js", "/checkout/page": "app/checkout/page.js", "/dashboard/page": "app/dashboard/page.js", "/features/page": "app/features/page.js", @@ -28,5 +30,6 @@ "/project/[id]/settings/page": "app/project/[id]/settings/page.js", "/project/[id]/workflow/page": "app/project/[id]/workflow/page.js", "/project/[id]/world/page": "app/project/[id]/world/page.js", - "/signup/page": "app/signup/page.js" + "/signup/page": "app/signup/page.js", + "/sitemap/page": "app/sitemap/page.js" } \ No newline at end of file diff --git a/.next/server/app/_global-error.html b/.next/server/app/_global-error.html index 804d489..50caec1 100644 --- a/.next/server/app/_global-error.html +++ b/.next/server/app/_global-error.html @@ -1,2 +1,2 @@ -500: Internal Server Error.

500

Internal Server Error.

\ No newline at end of file +500: Internal Server Error.

500

Internal Server Error.

\ No newline at end of file diff --git a/.next/server/app/_global-error.rsc b/.next/server/app/_global-error.rsc index a71d20a..8760497 100644 --- a/.next/server/app/_global-error.rsc +++ b/.next/server/app/_global-error.rsc @@ -1,12 +1,12 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +4:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 5:"$Sreact.suspense" -7:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -b:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/0d48399cd7665c53.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true} +7:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +9:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +b:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/894f41fdcd07a0a8.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/70fd3a4ad532944c.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true} 8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 6:null a:[] diff --git a/.next/server/app/_global-error.segments/__PAGE__.segment.rsc b/.next/server/app/_global-error.segments/__PAGE__.segment.rsc index 1dcfbc2..27ed964 100644 --- a/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +++ b/.next/server/app/_global-error.segments/__PAGE__.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 3:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/0d48399cd7665c53.js","async":true}]],["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/894f41fdcd07a0a8.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/70fd3a4ad532944c.js","async":true}]],["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false} 4:null diff --git a/.next/server/app/_global-error.segments/_full.segment.rsc b/.next/server/app/_global-error.segments/_full.segment.rsc index a71d20a..8760497 100644 --- a/.next/server/app/_global-error.segments/_full.segment.rsc +++ b/.next/server/app/_global-error.segments/_full.segment.rsc @@ -1,12 +1,12 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +4:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 5:"$Sreact.suspense" -7:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -b:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/0d48399cd7665c53.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true} +7:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +9:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +b:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/894f41fdcd07a0a8.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/70fd3a4ad532944c.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true} 8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 6:null a:[] diff --git a/.next/server/app/_global-error.segments/_head.segment.rsc b/.next/server/app/_global-error.segments/_head.segment.rsc index f7c7c2a..cb47b0e 100644 --- a/.next/server/app/_global-error.segments/_head.segment.rsc +++ b/.next/server/app/_global-error.segments/_head.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] +2:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +3:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] 4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/_global-error.segments/_index.segment.rsc b/.next/server/app/_global-error.segments/_index.segment.rsc index 6dc73b4..e4dcce1 100644 --- a/.next/server/app/_global-error.segments/_index.segment.rsc +++ b/.next/server/app/_global-error.segments/_index.segment.rsc @@ -1,4 +1,4 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/_global-error.segments/_tree.segment.rsc b/.next/server/app/_global-error.segments/_tree.segment.rsc index 7740916..486e9cc 100644 --- a/.next/server/app/_global-error.segments/_tree.segment.rsc +++ b/.next/server/app/_global-error.segments/_tree.segment.rsc @@ -1 +1 @@ -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false},"staleTime":300} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false},"staleTime":300} diff --git a/.next/server/app/_global-error/page.js b/.next/server/app/_global-error/page.js index 7af1681..2292010 100644 --- a/.next/server/app/_global-error/page.js +++ b/.next/server/app/_global-error/page.js @@ -2,9 +2,9 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/_global-err R.c("server/chunks/ssr/[root-of-the-server]__cfc49589._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/549ce_next_dist_3a016300._.js") -R.c("server/chunks/ssr/[root-of-the-server]__d4de6698._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__13fa4d0a._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/b79dd_plumeia__next-internal_server_app__global-error_page_actions_c0ed771a.js") R.m(35826) module.exports=R.m(35826).exports diff --git a/.next/server/app/_global-error/page.js.nft.json b/.next/server/app/_global-error/page.js.nft.json index d065935..eaa8e5a 100644 --- a/.next/server/app/_global-error/page.js.nft.json +++ b/.next/server/app/_global-error/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_dist_3a016300._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__cfc49589._.js","../../chunks/ssr/[root-of-the-server]__d4de6698._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/b79dd_plumeia__next-internal_server_app__global-error_page_actions_c0ed771a.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_dist_3a016300._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/[root-of-the-server]__13fa4d0a._.js","../../chunks/ssr/[root-of-the-server]__cfc49589._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/b79dd_plumeia__next-internal_server_app__global-error_page_actions_c0ed771a.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/_global-error/page/build-manifest.json b/.next/server/app/_global-error/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/_global-error/page/build-manifest.json +++ b/.next/server/app/_global-error/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/_global-error/page_client-reference-manifest.js b/.next/server/app/_global-error/page_client-reference-manifest.js index 31004b4..03b1860 100644 --- a/.next/server/app/_global-error/page_client-reference-manifest.js +++ b/.next/server/app/_global-error/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/_global-error/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false}},"ssrModuleMapping":{"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/app-error":[]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/app-error":["static/chunks/0d48399cd7665c53.js"]}} +globalThis.__RSC_MANIFEST["/_global-error/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false}},"ssrModuleMapping":{"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/app-error":[]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/app-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"]}} diff --git a/.next/server/app/_not-found.html b/.next/server/app/_not-found.html index 31da6f6..d22f8b4 100644 --- a/.next/server/app/_not-found.html +++ b/.next/server/app/_not-found.html @@ -1 +1 @@ -404: This page could not be found.PlumeIA - Éditeur Intelligent

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.Pluume - Éditeur Intelligent

404

This page could not be found.

\ No newline at end of file diff --git a/.next/server/app/_not-found.rsc b/.next/server/app/_not-found.rsc index 4e02b87..cd00889 100644 --- a/.next/server/app/_not-found.rsc +++ b/.next/server/app/_not-found.rsc @@ -1,14 +1,15 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -6:"$Sreact.suspense" -8:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -a:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -c:I[45235,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0d48399cd7665c53.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c","$undefined"],"S":true} -9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -7:null -b:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +2:I[18404,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +5:I[61849,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +6:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"OutletBoundary"] +7:"$Sreact.suspense" +9:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"ViewportBoundary"] +b:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"MetadataBoundary"] +d:I[45235,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/d0684fcabfe97602.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/70fd3a4ad532944c.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d","$undefined"],"S":true} +a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +8:null +c:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/_not-found.segments/_full.segment.rsc b/.next/server/app/_not-found.segments/_full.segment.rsc index 4e02b87..cd00889 100644 --- a/.next/server/app/_not-found.segments/_full.segment.rsc +++ b/.next/server/app/_not-found.segments/_full.segment.rsc @@ -1,14 +1,15 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -6:"$Sreact.suspense" -8:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -a:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -c:I[45235,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0d48399cd7665c53.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c","$undefined"],"S":true} -9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -7:null -b:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +2:I[18404,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +5:I[61849,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +6:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"OutletBoundary"] +7:"$Sreact.suspense" +9:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"ViewportBoundary"] +b:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"MetadataBoundary"] +d:I[45235,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/d0684fcabfe97602.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/70fd3a4ad532944c.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L9",null,{"children":"$La"}],["$","div",null,{"hidden":true,"children":["$","$Lb",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":"$Lc"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$d","$undefined"],"S":true} +a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +8:null +c:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/_not-found.segments/_head.segment.rsc b/.next/server/app/_not-found.segments/_head.segment.rsc index 7b81500..22c17c5 100644 --- a/.next/server/app/_not-found.segments/_head.segment.rsc +++ b/.next/server/app/_not-found.segments/_head.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] +2:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"ViewportBoundary"] +3:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"MetadataBoundary"] 4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/_not-found.segments/_index.segment.rsc b/.next/server/app/_not-found.segments/_index.segment.rsc index 925e046..d2732dc 100644 --- a/.next/server/app/_not-found.segments/_index.segment.rsc +++ b/.next/server/app/_not-found.segments/_index.segment.rsc @@ -1,6 +1,7 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0d48399cd7665c53.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} +2:I[18404,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +5:I[61849,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/d0684fcabfe97602.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/70fd3a4ad532944c.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/_not-found.segments/_not-found.segment.rsc b/.next/server/app/_not-found.segments/_not-found.segment.rsc index 1d75e7b..9ed8ebf 100644 --- a/.next/server/app/_not-found.segments/_not-found.segment.rsc +++ b/.next/server/app/_not-found.segments/_not-found.segment.rsc @@ -1,4 +1,4 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} +2:I[62025,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +3:I[61849,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"default"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc b/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc index 77bdc90..746efc8 100644 --- a/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +++ b/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[35523,["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"OutletBoundary"] 3:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false} 4:null diff --git a/.next/server/app/_not-found.segments/_tree.segment.rsc b/.next/server/app/_not-found.segments/_tree.segment.rsc index 82f394e..c201c66 100644 --- a/.next/server/app/_not-found.segments/_tree.segment.rsc +++ b/.next/server/app/_not-found.segments/_tree.segment.rsc @@ -1,2 +1,2 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"/_not-found","paramType":null,"paramKey":"/_not-found","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"/_not-found","paramType":null,"paramKey":"/_not-found","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/_not-found/page.js b/.next/server/app/_not-found/page.js index 614b1db..e90a32b 100644 --- a/.next/server/app/_not-found/page.js +++ b/.next/server/app/_not-found/page.js @@ -2,10 +2,10 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/_not-found/ R.c("server/chunks/ssr/[root-of-the-server]__c6f5fed4._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/549ce_next_dist_esm_build_templates_app-page_4fc3017e.js") -R.c("server/chunks/ssr/[root-of-the-server]__d4de6698._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__13fa4d0a._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app__not-found_page_actions_a5009dd9.js") diff --git a/.next/server/app/_not-found/page.js.nft.json b/.next/server/app/_not-found/page.js.nft.json index 1e39c5e..1032ff5 100644 --- a/.next/server/app/_not-found/page.js.nft.json +++ b/.next/server/app/_not-found/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_esm_build_templates_app-page_4fc3017e.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app__not-found_page_actions_a5009dd9.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__c6f5fed4._.js","../../chunks/ssr/[root-of-the-server]__d4de6698._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_esm_build_templates_app-page_4fc3017e.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app__not-found_page_actions_a5009dd9.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__13fa4d0a._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__c6f5fed4._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/_not-found/page/build-manifest.json b/.next/server/app/_not-found/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/_not-found/page/build-manifest.json +++ b/.next/server/app/_not-found/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/_not-found/page_client-reference-manifest.js b/.next/server/app/_not-found/page_client-reference-manifest.js index d6e6e72..4c42d9d 100644 --- a/.next/server/app/_not-found/page_client-reference-manifest.js +++ b/.next/server/app/_not-found/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/_not-found/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0d48399cd7665c53.js"],"async":false}},"ssrModuleMapping":{"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js","static/chunks/0d48399cd7665c53.js"]}} +globalThis.__RSC_MANIFEST["/_not-found/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/d0684fcabfe97602.js","/_next/static/chunks/70fd3a4ad532944c.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false}},"ssrModuleMapping":{"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/d0684fcabfe97602.js","static/chunks/70fd3a4ad532944c.js","static/chunks/3da890e651d622d6.js"]}} diff --git a/.next/server/app/api/ai/generate/route.js b/.next/server/app/api/ai/generate/route.js index 40c87f5..60010b4 100644 --- a/.next/server/app/api/ai/generate/route.js +++ b/.next/server/app/api/ai/generate/route.js @@ -1,7 +1,7 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/ai/generate/route.js") -R.c("server/chunks/[root-of-the-server]__bcb19414._.js") +R.c("server/chunks/[root-of-the-server]__916d235d._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/[root-of-the-server]__71cad4f2._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_ai_generate_route_actions_cec2a72e.js") R.m(64743) diff --git a/.next/server/app/api/ai/generate/route.js.nft.json b/.next/server/app/api/ai/generate/route.js.nft.json index bc56235..b02e9ff 100644 --- a/.next/server/app/api/ai/generate/route.js.nft.json +++ b/.next/server/app/api/ai/generate/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/google-auth-library/build/src/auth/authclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsrequestsigner.js","../../../../../../node_modules/google-auth-library/build/src/auth/baseexternalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/computeclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/credentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/downscopedclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/envDetect.js","../../../../../../node_modules/google-auth-library/build/src/auth/executable-response.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/googleauth.js","../../../../../../node_modules/google-auth-library/build/src/auth/iam.js","../../../../../../node_modules/google-auth-library/build/src/auth/identitypoolclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/idtokenclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/impersonated.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtaccess.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/loginticket.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2client.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2common.js","../../../../../../node_modules/google-auth-library/build/src/auth/passthrough.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js","../../../../../../node_modules/google-auth-library/build/src/auth/refreshclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/stscredentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_75969379.js","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_ebc319fe.js","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__26c18d95._.js","../../../../chunks/[root-of-the-server]__4ea06459._.js","../../../../chunks/[root-of-the-server]__5e5c942e._.js","../../../../chunks/[root-of-the-server]__71cad4f2._.js","../../../../chunks/[root-of-the-server]__bcb19414._.js","../../../../chunks/[root-of-the-server]__ce5169da._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_ai_generate_route_actions_cec2a72e.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/google-auth-library/build/src/auth/authclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsrequestsigner.js","../../../../../../node_modules/google-auth-library/build/src/auth/baseexternalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/computeclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/credentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/downscopedclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/envDetect.js","../../../../../../node_modules/google-auth-library/build/src/auth/executable-response.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/googleauth.js","../../../../../../node_modules/google-auth-library/build/src/auth/iam.js","../../../../../../node_modules/google-auth-library/build/src/auth/identitypoolclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/idtokenclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/impersonated.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtaccess.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/loginticket.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2client.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2common.js","../../../../../../node_modules/google-auth-library/build/src/auth/passthrough.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js","../../../../../../node_modules/google-auth-library/build/src/auth/refreshclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/stscredentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_75969379.js","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_993c19a9.js","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__26c18d95._.js","../../../../chunks/[root-of-the-server]__4ea06459._.js","../../../../chunks/[root-of-the-server]__5e5c942e._.js","../../../../chunks/[root-of-the-server]__71cad4f2._.js","../../../../chunks/[root-of-the-server]__916d235d._.js","../../../../chunks/[root-of-the-server]__ce5169da._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_ai_generate_route_actions_cec2a72e.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/ai/transform/route.js b/.next/server/app/api/ai/transform/route.js index 234e996..a458d7a 100644 --- a/.next/server/app/api/ai/transform/route.js +++ b/.next/server/app/api/ai/transform/route.js @@ -1,7 +1,7 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/ai/transform/route.js") -R.c("server/chunks/[root-of-the-server]__5929ddbd._.js") +R.c("server/chunks/[root-of-the-server]__31ed63c3._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/[root-of-the-server]__71cad4f2._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_ai_transform_route_actions_13958e09.js") R.m(98781) diff --git a/.next/server/app/api/ai/transform/route.js.nft.json b/.next/server/app/api/ai/transform/route.js.nft.json index 314aaec..54a7c9b 100644 --- a/.next/server/app/api/ai/transform/route.js.nft.json +++ b/.next/server/app/api/ai/transform/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/google-auth-library/build/src/auth/authclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsrequestsigner.js","../../../../../../node_modules/google-auth-library/build/src/auth/baseexternalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/computeclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/credentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/downscopedclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/envDetect.js","../../../../../../node_modules/google-auth-library/build/src/auth/executable-response.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/googleauth.js","../../../../../../node_modules/google-auth-library/build/src/auth/iam.js","../../../../../../node_modules/google-auth-library/build/src/auth/identitypoolclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/idtokenclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/impersonated.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtaccess.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/loginticket.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2client.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2common.js","../../../../../../node_modules/google-auth-library/build/src/auth/passthrough.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js","../../../../../../node_modules/google-auth-library/build/src/auth/refreshclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/stscredentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_75969379.js","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_83c9608f.js","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__26c18d95._.js","../../../../chunks/[root-of-the-server]__4ea06459._.js","../../../../chunks/[root-of-the-server]__5929ddbd._.js","../../../../chunks/[root-of-the-server]__5e5c942e._.js","../../../../chunks/[root-of-the-server]__71cad4f2._.js","../../../../chunks/[root-of-the-server]__ce5169da._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_ai_transform_route_actions_13958e09.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/google-auth-library/build/src/auth/authclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/awsrequestsigner.js","../../../../../../node_modules/google-auth-library/build/src/auth/baseexternalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/computeclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/credentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/downscopedclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/envDetect.js","../../../../../../node_modules/google-auth-library/build/src/auth/executable-response.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js","../../../../../../node_modules/google-auth-library/build/src/auth/externalclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js","../../../../../../node_modules/google-auth-library/build/src/auth/googleauth.js","../../../../../../node_modules/google-auth-library/build/src/auth/iam.js","../../../../../../node_modules/google-auth-library/build/src/auth/identitypoolclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/idtokenclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/impersonated.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtaccess.js","../../../../../../node_modules/google-auth-library/build/src/auth/jwtclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/loginticket.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2client.js","../../../../../../node_modules/google-auth-library/build/src/auth/oauth2common.js","../../../../../../node_modules/google-auth-library/build/src/auth/passthrough.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js","../../../../../../node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js","../../../../../../node_modules/google-auth-library/build/src/auth/refreshclient.js","../../../../../../node_modules/google-auth-library/build/src/auth/stscredentials.js","../../../../../../node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_22db195d.js","../../../../chunks/549ce_node-fetch_src_utils_multipart-parser_75969379.js","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__26c18d95._.js","../../../../chunks/[root-of-the-server]__31ed63c3._.js","../../../../chunks/[root-of-the-server]__4ea06459._.js","../../../../chunks/[root-of-the-server]__5e5c942e._.js","../../../../chunks/[root-of-the-server]__71cad4f2._.js","../../../../chunks/[root-of-the-server]__ce5169da._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_ai_transform_route_actions_13958e09.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/[...nextauth]/route.js b/.next/server/app/api/auth/[...nextauth]/route.js index e5df873..0e969b7 100644 --- a/.next/server/app/api/auth/[...nextauth]/route.js +++ b/.next/server/app/api/auth/[...nextauth]/route.js @@ -1,6 +1,6 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/auth/[...nextauth]/route.js") -R.c("server/chunks/[root-of-the-server]__2d686467._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__1f0c87f8._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_auth_[___nextauth]_route_actions_af64a4a2.js") R.m(76306) diff --git a/.next/server/app/api/auth/[...nextauth]/route.js.nft.json b/.next/server/app/api/auth/[...nextauth]/route.js.nft.json index 40bf6a6..849b67b 100644 --- a/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +++ b/.next/server/app/api/auth/[...nextauth]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__135688ec._.js","../../../../chunks/[root-of-the-server]__2d686467._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_auth_[___nextauth]_route_actions_af64a4a2.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__1f0c87f8._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_auth_[___nextauth]_route_actions_af64a4a2.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/register/route.js b/.next/server/app/api/auth/register/route.js index 86fc54c..b5d9e08 100644 --- a/.next/server/app/api/auth/register/route.js +++ b/.next/server/app/api/auth/register/route.js @@ -1,6 +1,6 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/auth/register/route.js") -R.c("server/chunks/[root-of-the-server]__167f74f0._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__87b9555b._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_auth_register_route_actions_c7c49815.js") R.m(61670) module.exports=R.m(61670).exports diff --git a/.next/server/app/api/auth/register/route.js.nft.json b/.next/server/app/api/auth/register/route.js.nft.json index 1b82223..7654f54 100644 --- a/.next/server/app/api/auth/register/route.js.nft.json +++ b/.next/server/app/api/auth/register/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/[root-of-the-server]__167f74f0._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_auth_register_route_actions_c7c49815.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/[root-of-the-server]__87b9555b._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_auth_register_route_actions_c7c49815.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/chapters/[id]/route.js b/.next/server/app/api/chapters/[id]/route.js index 01d4092..9a71f6c 100644 --- a/.next/server/app/api/chapters/[id]/route.js +++ b/.next/server/app/api/chapters/[id]/route.js @@ -1,6 +1,6 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/chapters/[id]/route.js") -R.c("server/chunks/[root-of-the-server]__e93c2cbf._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__1163c993._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_chapters_[id]_route_actions_62885031.js") R.m(32126) diff --git a/.next/server/app/api/chapters/[id]/route.js.nft.json b/.next/server/app/api/chapters/[id]/route.js.nft.json index e1a9642..72ada19 100644 --- a/.next/server/app/api/chapters/[id]/route.js.nft.json +++ b/.next/server/app/api/chapters/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[root-of-the-server]__e93c2cbf._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_chapters_[id]_route_actions_62885031.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__1163c993._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_chapters_[id]_route_actions_62885031.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/chapters/route.js b/.next/server/app/api/chapters/route.js index cb009d1..2beebbb 100644 --- a/.next/server/app/api/chapters/route.js +++ b/.next/server/app/api/chapters/route.js @@ -1,6 +1,6 @@ var R=require("../../../chunks/[turbopack]_runtime.js")("server/app/api/chapters/route.js") -R.c("server/chunks/[root-of-the-server]__5ece1b26._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__171631f2._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_chapters_route_actions_bd3560ca.js") R.m(62905) diff --git a/.next/server/app/api/chapters/route.js.nft.json b/.next/server/app/api/chapters/route.js.nft.json index 0b1a9c4..ec87e27 100644 --- a/.next/server/app/api/chapters/route.js.nft.json +++ b/.next/server/app/api/chapters/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/.prisma/client/client.d.ts","../../../../../node_modules/.prisma/client/client.js","../../../../../node_modules/.prisma/client/default.d.ts","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../node_modules/.prisma/client/edge.js","../../../../../node_modules/.prisma/client/index-browser.js","../../../../../node_modules/.prisma/client/index.d.ts","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/LICENSE","../../../../../node_modules/@prisma/client/README.md","../../../../../node_modules/@prisma/client/default.d.ts","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../node_modules/@prisma/client/edge.js","../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../node_modules/@prisma/client/extension.js","../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../node_modules/@prisma/client/index-browser.js","../../../../../node_modules/@prisma/client/index.d.ts","../../../../../node_modules/@prisma/client/index.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../node_modules/@prisma/client/sql.js","../../../../../node_modules/@prisma/client/sql.mjs","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__5ece1b26._.js","../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../chunks/[turbopack]_runtime.js","../../../chunks/b79dd_plumeia__next-internal_server_app_api_chapters_route_actions_bd3560ca.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../node_modules/pg-cloudflare/package.json","../../../../../node_modules/pg-connection-string/index.js","../../../../../node_modules/pg-connection-string/package.json","../../../../../node_modules/pg-int8/index.js","../../../../../node_modules/pg-int8/package.json","../../../../../node_modules/pg-pool/index.js","../../../../../node_modules/pg-pool/package.json","../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../node_modules/pg-protocol/dist/index.js","../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../node_modules/pg-protocol/package.json","../../../../../node_modules/pg-types/index.js","../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../node_modules/pg-types/lib/builtins.js","../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../node_modules/pg-types/package.json","../../../../../node_modules/pg/esm/index.mjs","../../../../../node_modules/pg/lib/client.js","../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../node_modules/pg/lib/connection.js","../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../node_modules/pg/lib/defaults.js","../../../../../node_modules/pg/lib/index.js","../../../../../node_modules/pg/lib/native/client.js","../../../../../node_modules/pg/lib/native/index.js","../../../../../node_modules/pg/lib/native/query.js","../../../../../node_modules/pg/lib/query.js","../../../../../node_modules/pg/lib/result.js","../../../../../node_modules/pg/lib/stream.js","../../../../../node_modules/pg/lib/type-overrides.js","../../../../../node_modules/pg/lib/utils.js","../../../../../node_modules/pg/package.json","../../../../../node_modules/pgpass/lib/helper.js","../../../../../node_modules/pgpass/lib/index.js","../../../../../node_modules/pgpass/package.json","../../../../../node_modules/postgres-array/package.json","../../../../../node_modules/postgres-bytea/index.js","../../../../../node_modules/postgres-bytea/package.json","../../../../../node_modules/postgres-date/index.js","../../../../../node_modules/postgres-date/package.json","../../../../../node_modules/postgres-interval/index.js","../../../../../node_modules/postgres-interval/package.json","../../../../../node_modules/split2/index.js","../../../../../node_modules/split2/package.json","../../../../../node_modules/xtend/mutable.js","../../../../../node_modules/xtend/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../node_modules/pg-909e2581735964d3","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__171631f2._.js","../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../chunks/[turbopack]_runtime.js","../../../chunks/b79dd_plumeia__next-internal_server_app_api_chapters_route_actions_bd3560ca.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/entities/[id]/route.js b/.next/server/app/api/entities/[id]/route.js index 63bde1c..f780521 100644 --- a/.next/server/app/api/entities/[id]/route.js +++ b/.next/server/app/api/entities/[id]/route.js @@ -1,6 +1,6 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/entities/[id]/route.js") -R.c("server/chunks/[root-of-the-server]__cc8940e0._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__3ed0a268._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_entities_[id]_route_actions_2064f14c.js") R.m(91938) diff --git a/.next/server/app/api/entities/[id]/route.js.nft.json b/.next/server/app/api/entities/[id]/route.js.nft.json index 933797f..1180402 100644 --- a/.next/server/app/api/entities/[id]/route.js.nft.json +++ b/.next/server/app/api/entities/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__cc8940e0._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_entities_[id]_route_actions_2064f14c.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__3ed0a268._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_entities_[id]_route_actions_2064f14c.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/entities/route.js b/.next/server/app/api/entities/route.js index 58bafbd..19784cd 100644 --- a/.next/server/app/api/entities/route.js +++ b/.next/server/app/api/entities/route.js @@ -1,6 +1,6 @@ var R=require("../../../chunks/[turbopack]_runtime.js")("server/app/api/entities/route.js") -R.c("server/chunks/[root-of-the-server]__da2d3fa1._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__1ece29e0._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_entities_route_actions_a8b7dfbe.js") R.m(36837) diff --git a/.next/server/app/api/entities/route.js.nft.json b/.next/server/app/api/entities/route.js.nft.json index 67df572..2ccd24f 100644 --- a/.next/server/app/api/entities/route.js.nft.json +++ b/.next/server/app/api/entities/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/.prisma/client/client.d.ts","../../../../../node_modules/.prisma/client/client.js","../../../../../node_modules/.prisma/client/default.d.ts","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../node_modules/.prisma/client/edge.js","../../../../../node_modules/.prisma/client/index-browser.js","../../../../../node_modules/.prisma/client/index.d.ts","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/LICENSE","../../../../../node_modules/@prisma/client/README.md","../../../../../node_modules/@prisma/client/default.d.ts","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../node_modules/@prisma/client/edge.js","../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../node_modules/@prisma/client/extension.js","../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../node_modules/@prisma/client/index-browser.js","../../../../../node_modules/@prisma/client/index.d.ts","../../../../../node_modules/@prisma/client/index.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../node_modules/@prisma/client/sql.js","../../../../../node_modules/@prisma/client/sql.mjs","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../chunks/[root-of-the-server]__da2d3fa1._.js","../../../chunks/[turbopack]_runtime.js","../../../chunks/b79dd_plumeia__next-internal_server_app_api_entities_route_actions_a8b7dfbe.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../node_modules/pg-cloudflare/package.json","../../../../../node_modules/pg-connection-string/index.js","../../../../../node_modules/pg-connection-string/package.json","../../../../../node_modules/pg-int8/index.js","../../../../../node_modules/pg-int8/package.json","../../../../../node_modules/pg-pool/index.js","../../../../../node_modules/pg-pool/package.json","../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../node_modules/pg-protocol/dist/index.js","../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../node_modules/pg-protocol/package.json","../../../../../node_modules/pg-types/index.js","../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../node_modules/pg-types/lib/builtins.js","../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../node_modules/pg-types/package.json","../../../../../node_modules/pg/esm/index.mjs","../../../../../node_modules/pg/lib/client.js","../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../node_modules/pg/lib/connection.js","../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../node_modules/pg/lib/defaults.js","../../../../../node_modules/pg/lib/index.js","../../../../../node_modules/pg/lib/native/client.js","../../../../../node_modules/pg/lib/native/index.js","../../../../../node_modules/pg/lib/native/query.js","../../../../../node_modules/pg/lib/query.js","../../../../../node_modules/pg/lib/result.js","../../../../../node_modules/pg/lib/stream.js","../../../../../node_modules/pg/lib/type-overrides.js","../../../../../node_modules/pg/lib/utils.js","../../../../../node_modules/pg/package.json","../../../../../node_modules/pgpass/lib/helper.js","../../../../../node_modules/pgpass/lib/index.js","../../../../../node_modules/pgpass/package.json","../../../../../node_modules/postgres-array/package.json","../../../../../node_modules/postgres-bytea/index.js","../../../../../node_modules/postgres-bytea/package.json","../../../../../node_modules/postgres-date/index.js","../../../../../node_modules/postgres-date/package.json","../../../../../node_modules/postgres-interval/index.js","../../../../../node_modules/postgres-interval/package.json","../../../../../node_modules/split2/index.js","../../../../../node_modules/split2/package.json","../../../../../node_modules/xtend/mutable.js","../../../../../node_modules/xtend/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../node_modules/pg-909e2581735964d3","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__1ece29e0._.js","../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../chunks/[turbopack]_runtime.js","../../../chunks/b79dd_plumeia__next-internal_server_app_api_entities_route_actions_a8b7dfbe.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/ideas/[id]/route.js b/.next/server/app/api/ideas/[id]/route.js index 33e6ca3..4a9fbaa 100644 --- a/.next/server/app/api/ideas/[id]/route.js +++ b/.next/server/app/api/ideas/[id]/route.js @@ -1,6 +1,6 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/ideas/[id]/route.js") -R.c("server/chunks/[root-of-the-server]__9d883be9._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__3ce1b10f._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_ideas_[id]_route_actions_00e912bf.js") R.m(19003) diff --git a/.next/server/app/api/ideas/[id]/route.js.nft.json b/.next/server/app/api/ideas/[id]/route.js.nft.json index 7104cf0..bd87f51 100644 --- a/.next/server/app/api/ideas/[id]/route.js.nft.json +++ b/.next/server/app/api/ideas/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__9d883be9._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_ideas_[id]_route_actions_00e912bf.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__3ce1b10f._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_ideas_[id]_route_actions_00e912bf.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/ideas/route.js b/.next/server/app/api/ideas/route.js index b40b0cc..e70da51 100644 --- a/.next/server/app/api/ideas/route.js +++ b/.next/server/app/api/ideas/route.js @@ -1,6 +1,6 @@ var R=require("../../../chunks/[turbopack]_runtime.js")("server/app/api/ideas/route.js") -R.c("server/chunks/[root-of-the-server]__8394e031._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__c13052aa._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/80b94_00 - projet_plumeia__next-internal_server_app_api_ideas_route_actions_b14b8cb8.js") R.m(79976) diff --git a/.next/server/app/api/ideas/route.js.nft.json b/.next/server/app/api/ideas/route.js.nft.json index 7eb9076..fd16fff 100644 --- a/.next/server/app/api/ideas/route.js.nft.json +++ b/.next/server/app/api/ideas/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/.prisma/client/client.d.ts","../../../../../node_modules/.prisma/client/client.js","../../../../../node_modules/.prisma/client/default.d.ts","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../node_modules/.prisma/client/edge.js","../../../../../node_modules/.prisma/client/index-browser.js","../../../../../node_modules/.prisma/client/index.d.ts","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/LICENSE","../../../../../node_modules/@prisma/client/README.md","../../../../../node_modules/@prisma/client/default.d.ts","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../node_modules/@prisma/client/edge.js","../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../node_modules/@prisma/client/extension.js","../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../node_modules/@prisma/client/index-browser.js","../../../../../node_modules/@prisma/client/index.d.ts","../../../../../node_modules/@prisma/client/index.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../node_modules/@prisma/client/sql.js","../../../../../node_modules/@prisma/client/sql.mjs","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../chunks/80b94_00 - projet_plumeia__next-internal_server_app_api_ideas_route_actions_b14b8cb8.js","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__8394e031._.js","../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../chunks/[turbopack]_runtime.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../node_modules/pg-cloudflare/package.json","../../../../../node_modules/pg-connection-string/index.js","../../../../../node_modules/pg-connection-string/package.json","../../../../../node_modules/pg-int8/index.js","../../../../../node_modules/pg-int8/package.json","../../../../../node_modules/pg-pool/index.js","../../../../../node_modules/pg-pool/package.json","../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../node_modules/pg-protocol/dist/index.js","../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../node_modules/pg-protocol/package.json","../../../../../node_modules/pg-types/index.js","../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../node_modules/pg-types/lib/builtins.js","../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../node_modules/pg-types/package.json","../../../../../node_modules/pg/esm/index.mjs","../../../../../node_modules/pg/lib/client.js","../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../node_modules/pg/lib/connection.js","../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../node_modules/pg/lib/defaults.js","../../../../../node_modules/pg/lib/index.js","../../../../../node_modules/pg/lib/native/client.js","../../../../../node_modules/pg/lib/native/index.js","../../../../../node_modules/pg/lib/native/query.js","../../../../../node_modules/pg/lib/query.js","../../../../../node_modules/pg/lib/result.js","../../../../../node_modules/pg/lib/stream.js","../../../../../node_modules/pg/lib/type-overrides.js","../../../../../node_modules/pg/lib/utils.js","../../../../../node_modules/pg/package.json","../../../../../node_modules/pgpass/lib/helper.js","../../../../../node_modules/pgpass/lib/index.js","../../../../../node_modules/pgpass/package.json","../../../../../node_modules/postgres-array/package.json","../../../../../node_modules/postgres-bytea/index.js","../../../../../node_modules/postgres-bytea/package.json","../../../../../node_modules/postgres-date/index.js","../../../../../node_modules/postgres-date/package.json","../../../../../node_modules/postgres-interval/index.js","../../../../../node_modules/postgres-interval/package.json","../../../../../node_modules/split2/index.js","../../../../../node_modules/split2/package.json","../../../../../node_modules/xtend/mutable.js","../../../../../node_modules/xtend/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../node_modules/pg-909e2581735964d3","../../../chunks/80b94_00 - projet_plumeia__next-internal_server_app_api_ideas_route_actions_b14b8cb8.js","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__c13052aa._.js","../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../chunks/[turbopack]_runtime.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/plans/route.js b/.next/server/app/api/plans/route.js index ebe9feb..c849c8f 100644 --- a/.next/server/app/api/plans/route.js +++ b/.next/server/app/api/plans/route.js @@ -1,6 +1,6 @@ var R=require("../../../chunks/[turbopack]_runtime.js")("server/app/api/plans/route.js") -R.c("server/chunks/[root-of-the-server]__fc081e28._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__51124a64._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/80b94_00 - projet_plumeia__next-internal_server_app_api_plans_route_actions_6db30635.js") R.m(20761) module.exports=R.m(20761).exports diff --git a/.next/server/app/api/plans/route.js.nft.json b/.next/server/app/api/plans/route.js.nft.json index 0f70268..b8e64ce 100644 --- a/.next/server/app/api/plans/route.js.nft.json +++ b/.next/server/app/api/plans/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/.prisma/client/client.d.ts","../../../../../node_modules/.prisma/client/client.js","../../../../../node_modules/.prisma/client/default.d.ts","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../node_modules/.prisma/client/edge.js","../../../../../node_modules/.prisma/client/index-browser.js","../../../../../node_modules/.prisma/client/index.d.ts","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/LICENSE","../../../../../node_modules/@prisma/client/README.md","../../../../../node_modules/@prisma/client/default.d.ts","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../node_modules/@prisma/client/edge.js","../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../node_modules/@prisma/client/extension.js","../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../node_modules/@prisma/client/index-browser.js","../../../../../node_modules/@prisma/client/index.d.ts","../../../../../node_modules/@prisma/client/index.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../node_modules/@prisma/client/sql.js","../../../../../node_modules/@prisma/client/sql.mjs","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../chunks/80b94_00 - projet_plumeia__next-internal_server_app_api_plans_route_actions_6db30635.js","../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../chunks/[root-of-the-server]__fc081e28._.js","../../../chunks/[turbopack]_runtime.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../node_modules/pg-cloudflare/package.json","../../../../../node_modules/pg-connection-string/index.js","../../../../../node_modules/pg-connection-string/package.json","../../../../../node_modules/pg-int8/index.js","../../../../../node_modules/pg-int8/package.json","../../../../../node_modules/pg-pool/index.js","../../../../../node_modules/pg-pool/package.json","../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../node_modules/pg-protocol/dist/index.js","../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../node_modules/pg-protocol/package.json","../../../../../node_modules/pg-types/index.js","../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../node_modules/pg-types/lib/builtins.js","../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../node_modules/pg-types/package.json","../../../../../node_modules/pg/esm/index.mjs","../../../../../node_modules/pg/lib/client.js","../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../node_modules/pg/lib/connection.js","../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../node_modules/pg/lib/defaults.js","../../../../../node_modules/pg/lib/index.js","../../../../../node_modules/pg/lib/native/client.js","../../../../../node_modules/pg/lib/native/index.js","../../../../../node_modules/pg/lib/native/query.js","../../../../../node_modules/pg/lib/query.js","../../../../../node_modules/pg/lib/result.js","../../../../../node_modules/pg/lib/stream.js","../../../../../node_modules/pg/lib/type-overrides.js","../../../../../node_modules/pg/lib/utils.js","../../../../../node_modules/pg/package.json","../../../../../node_modules/pgpass/lib/helper.js","../../../../../node_modules/pgpass/lib/index.js","../../../../../node_modules/pgpass/package.json","../../../../../node_modules/postgres-array/package.json","../../../../../node_modules/postgres-bytea/index.js","../../../../../node_modules/postgres-bytea/package.json","../../../../../node_modules/postgres-date/index.js","../../../../../node_modules/postgres-date/package.json","../../../../../node_modules/postgres-interval/index.js","../../../../../node_modules/postgres-interval/package.json","../../../../../node_modules/split2/index.js","../../../../../node_modules/split2/package.json","../../../../../node_modules/xtend/mutable.js","../../../../../node_modules/xtend/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/pg-909e2581735964d3","../../../chunks/80b94_00 - projet_plumeia__next-internal_server_app_api_plans_route_actions_6db30635.js","../../../chunks/[root-of-the-server]__51124a64._.js","../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../chunks/[turbopack]_runtime.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/projects/[id]/route.js b/.next/server/app/api/projects/[id]/route.js index c663069..37f43f9 100644 --- a/.next/server/app/api/projects/[id]/route.js +++ b/.next/server/app/api/projects/[id]/route.js @@ -1,6 +1,6 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/projects/[id]/route.js") -R.c("server/chunks/[root-of-the-server]__724dfcf0._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__b80f85e6._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_projects_[id]_route_actions_70abba4c.js") R.m(10605) diff --git a/.next/server/app/api/projects/[id]/route.js.nft.json b/.next/server/app/api/projects/[id]/route.js.nft.json index d4eb764..8b62ba7 100644 --- a/.next/server/app/api/projects/[id]/route.js.nft.json +++ b/.next/server/app/api/projects/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__724dfcf0._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_projects_[id]_route_actions_70abba4c.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__b80f85e6._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_projects_[id]_route_actions_70abba4c.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/projects/[id]/workflow/route.js b/.next/server/app/api/projects/[id]/workflow/route.js index d939024..dd861ee 100644 --- a/.next/server/app/api/projects/[id]/workflow/route.js +++ b/.next/server/app/api/projects/[id]/workflow/route.js @@ -1,6 +1,6 @@ var R=require("../../../../../chunks/[turbopack]_runtime.js")("server/app/api/projects/[id]/workflow/route.js") -R.c("server/chunks/[root-of-the-server]__da7b36f8._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__327cfb46._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/13a27__next-internal_server_app_api_projects_[id]_workflow_route_actions_04e92945.js") R.m(19441) diff --git a/.next/server/app/api/projects/[id]/workflow/route.js.nft.json b/.next/server/app/api/projects/[id]/workflow/route.js.nft.json index 40577b5..a1fbc81 100644 --- a/.next/server/app/api/projects/[id]/workflow/route.js.nft.json +++ b/.next/server/app/api/projects/[id]/workflow/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../../node_modules/.prisma/client/client.js","../../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../../node_modules/.prisma/client/edge.js","../../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../../node_modules/@prisma/client/README.md","../../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../../node_modules/@prisma/client/edge.js","../../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../../node_modules/@prisma/client/extension.js","../../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../../node_modules/@prisma/client/index.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../../node_modules/@prisma/client/sql.js","../../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../../node_modules/bcryptjs/index.js","../../../../../../../node_modules/bcryptjs/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../chunks/13a27__next-internal_server_app_api_projects_[id]_workflow_route_actions_04e92945.js","../../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../../chunks/[root-of-the-server]__da7b36f8._.js","../../../../../chunks/[turbopack]_runtime.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../../node_modules/bcryptjs/index.js","../../../../../../../node_modules/bcryptjs/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../../node_modules/pg-connection-string/index.js","../../../../../../../node_modules/pg-connection-string/package.json","../../../../../../../node_modules/pg-int8/index.js","../../../../../../../node_modules/pg-int8/package.json","../../../../../../../node_modules/pg-pool/index.js","../../../../../../../node_modules/pg-pool/package.json","../../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../../node_modules/pg-protocol/package.json","../../../../../../../node_modules/pg-types/index.js","../../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../../node_modules/pg-types/package.json","../../../../../../../node_modules/pg/esm/index.mjs","../../../../../../../node_modules/pg/lib/client.js","../../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../../node_modules/pg/lib/connection.js","../../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../../node_modules/pg/lib/defaults.js","../../../../../../../node_modules/pg/lib/index.js","../../../../../../../node_modules/pg/lib/native/client.js","../../../../../../../node_modules/pg/lib/native/index.js","../../../../../../../node_modules/pg/lib/native/query.js","../../../../../../../node_modules/pg/lib/query.js","../../../../../../../node_modules/pg/lib/result.js","../../../../../../../node_modules/pg/lib/stream.js","../../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../../node_modules/pg/lib/utils.js","../../../../../../../node_modules/pg/package.json","../../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../../node_modules/pgpass/lib/index.js","../../../../../../../node_modules/pgpass/package.json","../../../../../../../node_modules/postgres-array/package.json","../../../../../../../node_modules/postgres-bytea/index.js","../../../../../../../node_modules/postgres-bytea/package.json","../../../../../../../node_modules/postgres-date/index.js","../../../../../../../node_modules/postgres-date/package.json","../../../../../../../node_modules/postgres-interval/index.js","../../../../../../../node_modules/postgres-interval/package.json","../../../../../../../node_modules/split2/index.js","../../../../../../../node_modules/split2/package.json","../../../../../../../node_modules/xtend/mutable.js","../../../../../../../node_modules/xtend/package.json","../../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../../node_modules/pg-909e2581735964d3","../../../../../chunks/13a27__next-internal_server_app_api_projects_[id]_workflow_route_actions_04e92945.js","../../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../../chunks/[root-of-the-server]__327cfb46._.js","../../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../../chunks/[turbopack]_runtime.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/projects/route.js b/.next/server/app/api/projects/route.js index 1e4687b..9ead9ce 100644 --- a/.next/server/app/api/projects/route.js +++ b/.next/server/app/api/projects/route.js @@ -1,6 +1,6 @@ var R=require("../../../chunks/[turbopack]_runtime.js")("server/app/api/projects/route.js") -R.c("server/chunks/[root-of-the-server]__207f23db._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__73c06b66._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_projects_route_actions_fab6ab14.js") R.m(72016) diff --git a/.next/server/app/api/projects/route.js.nft.json b/.next/server/app/api/projects/route.js.nft.json index 6c49a25..43c1d4f 100644 --- a/.next/server/app/api/projects/route.js.nft.json +++ b/.next/server/app/api/projects/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/.prisma/client/client.d.ts","../../../../../node_modules/.prisma/client/client.js","../../../../../node_modules/.prisma/client/default.d.ts","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../node_modules/.prisma/client/edge.js","../../../../../node_modules/.prisma/client/index-browser.js","../../../../../node_modules/.prisma/client/index.d.ts","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/LICENSE","../../../../../node_modules/@prisma/client/README.md","../../../../../node_modules/@prisma/client/default.d.ts","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../node_modules/@prisma/client/edge.js","../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../node_modules/@prisma/client/extension.js","../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../node_modules/@prisma/client/index-browser.js","../../../../../node_modules/@prisma/client/index.d.ts","../../../../../node_modules/@prisma/client/index.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../node_modules/@prisma/client/sql.js","../../../../../node_modules/@prisma/client/sql.mjs","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__207f23db._.js","../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../chunks/[turbopack]_runtime.js","../../../chunks/b79dd_plumeia__next-internal_server_app_api_projects_route_actions_fab6ab14.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/bcryptjs/index.js","../../../../../node_modules/bcryptjs/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../node_modules/pg-cloudflare/package.json","../../../../../node_modules/pg-connection-string/index.js","../../../../../node_modules/pg-connection-string/package.json","../../../../../node_modules/pg-int8/index.js","../../../../../node_modules/pg-int8/package.json","../../../../../node_modules/pg-pool/index.js","../../../../../node_modules/pg-pool/package.json","../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../node_modules/pg-protocol/dist/index.js","../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../node_modules/pg-protocol/package.json","../../../../../node_modules/pg-types/index.js","../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../node_modules/pg-types/lib/builtins.js","../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../node_modules/pg-types/package.json","../../../../../node_modules/pg/esm/index.mjs","../../../../../node_modules/pg/lib/client.js","../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../node_modules/pg/lib/connection.js","../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../node_modules/pg/lib/defaults.js","../../../../../node_modules/pg/lib/index.js","../../../../../node_modules/pg/lib/native/client.js","../../../../../node_modules/pg/lib/native/index.js","../../../../../node_modules/pg/lib/native/query.js","../../../../../node_modules/pg/lib/query.js","../../../../../node_modules/pg/lib/result.js","../../../../../node_modules/pg/lib/stream.js","../../../../../node_modules/pg/lib/type-overrides.js","../../../../../node_modules/pg/lib/utils.js","../../../../../node_modules/pg/package.json","../../../../../node_modules/pgpass/lib/helper.js","../../../../../node_modules/pgpass/lib/index.js","../../../../../node_modules/pgpass/package.json","../../../../../node_modules/postgres-array/package.json","../../../../../node_modules/postgres-bytea/index.js","../../../../../node_modules/postgres-bytea/package.json","../../../../../node_modules/postgres-date/index.js","../../../../../node_modules/postgres-date/package.json","../../../../../node_modules/postgres-interval/index.js","../../../../../node_modules/postgres-interval/package.json","../../../../../node_modules/split2/index.js","../../../../../node_modules/split2/package.json","../../../../../node_modules/xtend/mutable.js","../../../../../node_modules/xtend/package.json","../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../node_modules/pg-909e2581735964d3","../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../chunks/[root-of-the-server]__73c06b66._.js","../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../chunks/[turbopack]_runtime.js","../../../chunks/b79dd_plumeia__next-internal_server_app_api_projects_route_actions_fab6ab14.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/user/profile/route.js b/.next/server/app/api/user/profile/route.js index 07cf8bd..4374a72 100644 --- a/.next/server/app/api/user/profile/route.js +++ b/.next/server/app/api/user/profile/route.js @@ -1,6 +1,6 @@ var R=require("../../../../chunks/[turbopack]_runtime.js")("server/app/api/user/profile/route.js") -R.c("server/chunks/[root-of-the-server]__61a64b76._.js") -R.c("server/chunks/[root-of-the-server]__d7499f2f._.js") +R.c("server/chunks/[root-of-the-server]__79cadbeb._.js") +R.c("server/chunks/[root-of-the-server]__ee3c89fa._.js") R.c("server/chunks/Documents_00 - projet_plumeia_ef82539f._.js") R.c("server/chunks/b79dd_plumeia__next-internal_server_app_api_user_profile_route_actions_e7d4e2fa.js") R.m(14587) diff --git a/.next/server/app/api/user/profile/route.js.nft.json b/.next/server/app/api/user/profile/route.js.nft.json index 60299b0..989d5da 100644 --- a/.next/server/app/api/user/profile/route.js.nft.json +++ b/.next/server/app/api/user/profile/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__61a64b76._.js","../../../../chunks/[root-of-the-server]__d7499f2f._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_user_profile_route_actions_e7d4e2fa.js","./route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/bcryptjs/index.js","../../../../../../node_modules/bcryptjs/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../../node_modules/pg-cloudflare/package.json","../../../../../../node_modules/pg-connection-string/index.js","../../../../../../node_modules/pg-connection-string/package.json","../../../../../../node_modules/pg-int8/index.js","../../../../../../node_modules/pg-int8/package.json","../../../../../../node_modules/pg-pool/index.js","../../../../../../node_modules/pg-pool/package.json","../../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../../node_modules/pg-protocol/dist/index.js","../../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../../node_modules/pg-protocol/package.json","../../../../../../node_modules/pg-types/index.js","../../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../../node_modules/pg-types/lib/builtins.js","../../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../../../node_modules/pg-types/package.json","../../../../../../node_modules/pg/esm/index.mjs","../../../../../../node_modules/pg/lib/client.js","../../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../../node_modules/pg/lib/connection.js","../../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../../node_modules/pg/lib/defaults.js","../../../../../../node_modules/pg/lib/index.js","../../../../../../node_modules/pg/lib/native/client.js","../../../../../../node_modules/pg/lib/native/index.js","../../../../../../node_modules/pg/lib/native/query.js","../../../../../../node_modules/pg/lib/query.js","../../../../../../node_modules/pg/lib/result.js","../../../../../../node_modules/pg/lib/stream.js","../../../../../../node_modules/pg/lib/type-overrides.js","../../../../../../node_modules/pg/lib/utils.js","../../../../../../node_modules/pg/package.json","../../../../../../node_modules/pgpass/lib/helper.js","../../../../../../node_modules/pgpass/lib/index.js","../../../../../../node_modules/pgpass/package.json","../../../../../../node_modules/postgres-array/package.json","../../../../../../node_modules/postgres-bytea/index.js","../../../../../../node_modules/postgres-bytea/package.json","../../../../../../node_modules/postgres-date/index.js","../../../../../../node_modules/postgres-date/package.json","../../../../../../node_modules/postgres-interval/index.js","../../../../../../node_modules/postgres-interval/package.json","../../../../../../node_modules/split2/index.js","../../../../../../node_modules/split2/package.json","../../../../../../node_modules/xtend/mutable.js","../../../../../../node_modules/xtend/package.json","../../../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../../../node_modules/pg-909e2581735964d3","../../../../chunks/Documents_00 - projet_plumeia_ef82539f._.js","../../../../chunks/[root-of-the-server]__79cadbeb._.js","../../../../chunks/[root-of-the-server]__ee3c89fa._.js","../../../../chunks/[turbopack]_runtime.js","../../../../chunks/b79dd_plumeia__next-internal_server_app_api_user_profile_route_actions_e7d4e2fa.js","./route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/checkout.html b/.next/server/app/checkout.html index 07e4a25..3298215 100644 --- a/.next/server/app/checkout.html +++ b/.next/server/app/checkout.html @@ -1 +1 @@ -PlumeIA - Éditeur Intelligent

Commande

Auteur Pro12.00€
TVA (20%)2.40€
Total14.40€

Paiement Sécurisé

Traitement chiffré SSL 256-bits
\ No newline at end of file +Pluume - Éditeur Intelligent

Commande

Auteur Pro12.00€
TVA (20%)2.40€
Total14.40€

Paiement Sécurisé

Traitement chiffré SSL 256-bits
\ No newline at end of file diff --git a/.next/server/app/checkout.rsc b/.next/server/app/checkout.rsc index 1bcaf0b..a43e0db 100644 --- a/.next/server/app/checkout.rsc +++ b/.next/server/app/checkout.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[24911,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/26b64173345909cf.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[24911,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/d2c4fe62ab140659.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","checkout"],"q":"","i":false,"f":[[["",{"children":["checkout",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/26b64173345909cf.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","checkout"],"q":"","i":false,"f":[[["",{"children":["checkout",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/d2c4fe62ab140659.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/checkout.segments/_full.segment.rsc b/.next/server/app/checkout.segments/_full.segment.rsc index 1bcaf0b..a43e0db 100644 --- a/.next/server/app/checkout.segments/_full.segment.rsc +++ b/.next/server/app/checkout.segments/_full.segment.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[24911,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/26b64173345909cf.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[24911,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/d2c4fe62ab140659.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","checkout"],"q":"","i":false,"f":[[["",{"children":["checkout",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/26b64173345909cf.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","checkout"],"q":"","i":false,"f":[[["",{"children":["checkout",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/d2c4fe62ab140659.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/checkout.segments/_head.segment.rsc b/.next/server/app/checkout.segments/_head.segment.rsc index 9b39d04..d20682a 100644 --- a/.next/server/app/checkout.segments/_head.segment.rsc +++ b/.next/server/app/checkout.segments/_head.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] +2:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +3:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] 4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/checkout.segments/_index.segment.rsc b/.next/server/app/checkout.segments/_index.segment.rsc index b7c83ef..d2b1587 100644 --- a/.next/server/app/checkout.segments/_index.segment.rsc +++ b/.next/server/app/checkout.segments/_index.segment.rsc @@ -1,6 +1,7 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/checkout.segments/_tree.segment.rsc b/.next/server/app/checkout.segments/_tree.segment.rsc index c605d2c..9b52cd0 100644 --- a/.next/server/app/checkout.segments/_tree.segment.rsc +++ b/.next/server/app/checkout.segments/_tree.segment.rsc @@ -1,4 +1,4 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"checkout","paramType":null,"paramKey":"checkout","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"checkout","paramType":null,"paramKey":"checkout","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/checkout.segments/checkout.segment.rsc b/.next/server/app/checkout.segments/checkout.segment.rsc index 6dc73b4..e4dcce1 100644 --- a/.next/server/app/checkout.segments/checkout.segment.rsc +++ b/.next/server/app/checkout.segments/checkout.segment.rsc @@ -1,4 +1,4 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/checkout.segments/checkout/__PAGE__.segment.rsc b/.next/server/app/checkout.segments/checkout/__PAGE__.segment.rsc index 6956305..7faf987 100644 --- a/.next/server/app/checkout.segments/checkout/__PAGE__.segment.rsc +++ b/.next/server/app/checkout.segments/checkout/__PAGE__.segment.rsc @@ -1,9 +1,9 @@ 1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[24911,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/26b64173345909cf.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +3:I[24911,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/d2c4fe62ab140659.js"],"default"] +6:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/26b64173345909cf.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/d2c4fe62ab140659.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} 4:{} 5:"$0:rsc:props:children:0:props:serverProvidedParams:params" 8:null diff --git a/.next/server/app/checkout/page.js b/.next/server/app/checkout/page.js index 1241003..29281d2 100644 --- a/.next/server/app/checkout/page.js +++ b/.next/server/app/checkout/page.js @@ -2,11 +2,11 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/checkout/pa R.c("server/chunks/ssr/[root-of-the-server]__0233288c._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_a47a1c37._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/checkout/page.js.nft.json b/.next/server/app/checkout/page.js.nft.json index dbc8056..7def084 100644 --- a/.next/server/app/checkout/page.js.nft.json +++ b/.next/server/app/checkout/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_00782eb5._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_checkout_page_actions_aa638dc6.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_a47a1c37._.js","../../chunks/ssr/[root-of-the-server]__0233288c._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__93fbf849._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_d4ca4008._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_checkout_page_actions_aa638dc6.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_a47a1c37._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__0233288c._.js","../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../chunks/ssr/[root-of-the-server]__a6be4169._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/checkout/page/build-manifest.json b/.next/server/app/checkout/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/checkout/page/build-manifest.json +++ b/.next/server/app/checkout/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/checkout/page_client-reference-manifest.js b/.next/server/app/checkout/page_client-reference-manifest.js index 2e3266f..aa96c56 100644 --- a/.next/server/app/checkout/page_client-reference-manifest.js +++ b/.next/server/app/checkout/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/checkout/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/checkout/page.tsx ":{"id":24911,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/26b64173345909cf.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/checkout/page.tsx":{"id":24911,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/26b64173345909cf.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"24911":{"*":{"id":33045,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__93fbf849._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"24911":{"*":{"id":25331,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/checkout/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/checkout/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/26b64173345909cf.js"]}} +globalThis.__RSC_MANIFEST["/checkout/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/checkout/page.tsx ":{"id":24911,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/d2c4fe62ab140659.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/checkout/page.tsx":{"id":24911,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/d2c4fe62ab140659.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"24911":{"*":{"id":33045,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__a6be4169._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"24911":{"*":{"id":25331,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/checkout/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/checkout/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/d2c4fe62ab140659.js"]}} diff --git a/.next/server/app/dashboard.html b/.next/server/app/dashboard.html index 74d730c..8dec0d9 100644 --- a/.next/server/app/dashboard.html +++ b/.next/server/app/dashboard.html @@ -1 +1 @@ -PlumeIA - Éditeur Intelligent
PlumeIA
\ No newline at end of file +Pluume - Éditeur Intelligent
Pluume
\ No newline at end of file diff --git a/.next/server/app/dashboard.rsc b/.next/server/app/dashboard.rsc index 8ed2871..70cfe88 100644 --- a/.next/server/app/dashboard.rsc +++ b/.next/server/app/dashboard.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[23439,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/25a68da295a65da6.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[23439,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b76bf63fb066a92c.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","dashboard"],"q":"","i":false,"f":[[["",{"children":["dashboard",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/25a68da295a65da6.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","dashboard"],"q":"","i":false,"f":[[["",{"children":["dashboard",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b76bf63fb066a92c.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/dashboard.segments/_full.segment.rsc b/.next/server/app/dashboard.segments/_full.segment.rsc index 8ed2871..70cfe88 100644 --- a/.next/server/app/dashboard.segments/_full.segment.rsc +++ b/.next/server/app/dashboard.segments/_full.segment.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[23439,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/25a68da295a65da6.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[23439,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b76bf63fb066a92c.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","dashboard"],"q":"","i":false,"f":[[["",{"children":["dashboard",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/25a68da295a65da6.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","dashboard"],"q":"","i":false,"f":[[["",{"children":["dashboard",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b76bf63fb066a92c.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/dashboard.segments/_head.segment.rsc b/.next/server/app/dashboard.segments/_head.segment.rsc index 9b39d04..d20682a 100644 --- a/.next/server/app/dashboard.segments/_head.segment.rsc +++ b/.next/server/app/dashboard.segments/_head.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] +2:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +3:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] 4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/dashboard.segments/_index.segment.rsc b/.next/server/app/dashboard.segments/_index.segment.rsc index b7c83ef..d2b1587 100644 --- a/.next/server/app/dashboard.segments/_index.segment.rsc +++ b/.next/server/app/dashboard.segments/_index.segment.rsc @@ -1,6 +1,7 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/dashboard.segments/_tree.segment.rsc b/.next/server/app/dashboard.segments/_tree.segment.rsc index 18fd413..13d2fa2 100644 --- a/.next/server/app/dashboard.segments/_tree.segment.rsc +++ b/.next/server/app/dashboard.segments/_tree.segment.rsc @@ -1,4 +1,4 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"dashboard","paramType":null,"paramKey":"dashboard","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"dashboard","paramType":null,"paramKey":"dashboard","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/dashboard.segments/dashboard.segment.rsc b/.next/server/app/dashboard.segments/dashboard.segment.rsc index 6dc73b4..e4dcce1 100644 --- a/.next/server/app/dashboard.segments/dashboard.segment.rsc +++ b/.next/server/app/dashboard.segments/dashboard.segment.rsc @@ -1,4 +1,4 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc b/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc index 604837e..0229da9 100644 --- a/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc +++ b/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc @@ -1,9 +1,9 @@ 1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[23439,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/25a68da295a65da6.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +3:I[23439,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b76bf63fb066a92c.js"],"default"] +6:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/25a68da295a65da6.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b76bf63fb066a92c.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} 4:{} 5:"$0:rsc:props:children:0:props:serverProvidedParams:params" 8:null diff --git a/.next/server/app/dashboard/page.js b/.next/server/app/dashboard/page.js index b69f74a..f16e26d 100644 --- a/.next/server/app/dashboard/page.js +++ b/.next/server/app/dashboard/page.js @@ -2,11 +2,11 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/dashboard/p R.c("server/chunks/ssr/[root-of-the-server]__ed066274._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_9b3d7672._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/dashboard/page.js.nft.json b/.next/server/app/dashboard/page.js.nft.json index 0905a56..38d44d5 100644 --- a/.next/server/app/dashboard/page.js.nft.json +++ b/.next/server/app/dashboard/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_00782eb5._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_dashboard_page_actions_3551a95b.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_9b3d7672._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__59adb845._.js","../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__ed066274._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_d4ca4008._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_dashboard_page_actions_3551a95b.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_9b3d7672._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../chunks/ssr/[root-of-the-server]__8d9c265d._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__ed066274._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/dashboard/page/build-manifest.json b/.next/server/app/dashboard/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/dashboard/page/build-manifest.json +++ b/.next/server/app/dashboard/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/dashboard/page_client-reference-manifest.js b/.next/server/app/dashboard/page_client-reference-manifest.js index b19cc67..9adbce9 100644 --- a/.next/server/app/dashboard/page_client-reference-manifest.js +++ b/.next/server/app/dashboard/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/dashboard/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx ":{"id":23439,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/25a68da295a65da6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx":{"id":23439,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/25a68da295a65da6.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"23439":{"*":{"id":51780,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__59adb845._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"23439":{"*":{"id":68857,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/25a68da295a65da6.js"]}} +globalThis.__RSC_MANIFEST["/dashboard/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx ":{"id":23439,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b76bf63fb066a92c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx":{"id":23439,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b76bf63fb066a92c.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"23439":{"*":{"id":51780,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__8d9c265d._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"23439":{"*":{"id":68857,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/b76bf63fb066a92c.js"]}} diff --git a/.next/server/app/features.html b/.next/server/app/features.html index 491fd37..39446ff 100644 --- a/.next/server/app/features.html +++ b/.next/server/app/features.html @@ -1 +1 @@ -PlumeIA - Éditeur Intelligent

Un univers d'outils pour votre créativité.

Assistant IA Co-Auteur

Générez des paragraphes, brainstormez des idées et demandez conseil à une IA qui connaît votre univers.

Bible du Monde Vivante

Gérez vos personnages, lieux et objets. L'IA les reconnaît et garde une cohérence absolue.

Story Workflow

Visualisez votre intrigue sous forme de nœuds et gérez les embranchements de votre récit.

Boîte à Idées Kanban

Notez vos idées fugaces et transformez-les en chapitres quand vous êtes prêt.

Mise en page Pro

Exportez au format PDF, Word ou EPUB avec une mise en page soignée et automatique.

Éditeur Riche

Un traitement de texte complet avec mode focus et historique des modifications IA.

\ No newline at end of file +Pluume - Éditeur Intelligent

Nos Fonctionnalités

Découvrez les outils conçus pour donner vie à votre histoire

Assistant IA Co-Auteur

Générez des paragraphes, brainstormez des idées et demandez conseil à une IA qui connaît votre univers.

Bible du Monde Vivante

Gérez vos personnages, lieux et objets. L'IA les reconnaît et garde une cohérence absolue.

Story Workflow

Visualisez votre intrigue sous forme de nœuds et gérez les embranchements de votre récit.

Boîte à Idées Kanban

Notez vos idées fugaces et transformez-les en chapitres quand vous êtes prêt.

Mise en page Pro

Exportez au format PDF, Word ou EPUB avec une mise en page soignée et automatique.

Éditeur Riche

Un traitement de texte complet avec mode focus et historique des modifications IA.

\ No newline at end of file diff --git a/.next/server/app/features.rsc b/.next/server/app/features.rsc index 68d2db1..20bc26f 100644 --- a/.next/server/app/features.rsc +++ b/.next/server/app/features.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[18076,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/1a59817cc31dbd7f.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[18076,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/65dd8650e3ff3202.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","features"],"q":"","i":false,"f":[[["",{"children":["features",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/1a59817cc31dbd7f.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","features"],"q":"","i":false,"f":[[["",{"children":["features",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/65dd8650e3ff3202.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/features.segments/_full.segment.rsc b/.next/server/app/features.segments/_full.segment.rsc index 68d2db1..20bc26f 100644 --- a/.next/server/app/features.segments/_full.segment.rsc +++ b/.next/server/app/features.segments/_full.segment.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[18076,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/1a59817cc31dbd7f.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[18076,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/65dd8650e3ff3202.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","features"],"q":"","i":false,"f":[[["",{"children":["features",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/1a59817cc31dbd7f.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","features"],"q":"","i":false,"f":[[["",{"children":["features",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/65dd8650e3ff3202.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/features.segments/_head.segment.rsc b/.next/server/app/features.segments/_head.segment.rsc index 9b39d04..d20682a 100644 --- a/.next/server/app/features.segments/_head.segment.rsc +++ b/.next/server/app/features.segments/_head.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] +2:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +3:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] 4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/features.segments/_index.segment.rsc b/.next/server/app/features.segments/_index.segment.rsc index b7c83ef..d2b1587 100644 --- a/.next/server/app/features.segments/_index.segment.rsc +++ b/.next/server/app/features.segments/_index.segment.rsc @@ -1,6 +1,7 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/features.segments/_tree.segment.rsc b/.next/server/app/features.segments/_tree.segment.rsc index 98b682b..2b23f80 100644 --- a/.next/server/app/features.segments/_tree.segment.rsc +++ b/.next/server/app/features.segments/_tree.segment.rsc @@ -1,4 +1,4 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"features","paramType":null,"paramKey":"features","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"features","paramType":null,"paramKey":"features","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/features.segments/features.segment.rsc b/.next/server/app/features.segments/features.segment.rsc index 6dc73b4..e4dcce1 100644 --- a/.next/server/app/features.segments/features.segment.rsc +++ b/.next/server/app/features.segments/features.segment.rsc @@ -1,4 +1,4 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/features.segments/features/__PAGE__.segment.rsc b/.next/server/app/features.segments/features/__PAGE__.segment.rsc index db2575e..7a2be5c 100644 --- a/.next/server/app/features.segments/features/__PAGE__.segment.rsc +++ b/.next/server/app/features.segments/features/__PAGE__.segment.rsc @@ -1,9 +1,9 @@ 1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[18076,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/1a59817cc31dbd7f.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +3:I[18076,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/65dd8650e3ff3202.js"],"default"] +6:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/1a59817cc31dbd7f.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/65dd8650e3ff3202.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} 4:{} 5:"$0:rsc:props:children:0:props:serverProvidedParams:params" 8:null diff --git a/.next/server/app/features/page.js b/.next/server/app/features/page.js index 96f1b76..679d2b2 100644 --- a/.next/server/app/features/page.js +++ b/.next/server/app/features/page.js @@ -2,11 +2,11 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/features/pa R.c("server/chunks/ssr/[root-of-the-server]__635b48fc._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_a0a73c03._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/features/page.js.nft.json b/.next/server/app/features/page.js.nft.json index 032a747..f8cbd16 100644 --- a/.next/server/app/features/page.js.nft.json +++ b/.next/server/app/features/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_00782eb5._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_features_page_actions_18fb0c54.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_a0a73c03._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__26d3d76a._.js","../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../chunks/ssr/[root-of-the-server]__635b48fc._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_d4ca4008._.js","../../chunks/ssr/549ce_next_dist_7319df4e._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_features_page_actions_18fb0c54.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_a0a73c03._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../chunks/ssr/[root-of-the-server]__635b48fc._.js","../../chunks/ssr/[root-of-the-server]__73f09b0e._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/features/page/build-manifest.json b/.next/server/app/features/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/features/page/build-manifest.json +++ b/.next/server/app/features/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/features/page_client-reference-manifest.js b/.next/server/app/features/page_client-reference-manifest.js index 915e809..75a83d2 100644 --- a/.next/server/app/features/page_client-reference-manifest.js +++ b/.next/server/app/features/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/features/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/features/page.tsx ":{"id":18076,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/1a59817cc31dbd7f.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/features/page.tsx":{"id":18076,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/1a59817cc31dbd7f.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"18076":{"*":{"id":34437,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__26d3d76a._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"18076":{"*":{"id":98033,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/features/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/features/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/1a59817cc31dbd7f.js"]}} +globalThis.__RSC_MANIFEST["/features/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/features/page.tsx ":{"id":18076,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/65dd8650e3ff3202.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/features/page.tsx":{"id":18076,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/65dd8650e3ff3202.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"18076":{"*":{"id":34437,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__73f09b0e._.js","server/chunks/ssr/549ce_next_dist_7319df4e._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"18076":{"*":{"id":98033,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/features/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/features/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/65dd8650e3ff3202.js"]}} diff --git a/.next/server/app/index.html b/.next/server/app/index.html deleted file mode 100644 index 27b91b0..0000000 --- a/.next/server/app/index.html +++ /dev/null @@ -1 +0,0 @@ -PlumeIA - Éditeur Intelligent
NOUVEAUTÉ : GÉNÉRATION DE BIBLE DU MONDE PAR IA

L'écriture d'un roman,
augmentée par l'IA.

PlumeIA est le premier éditeur intelligent qui comprend votre univers, vos personnages et votre style pour vous aider à franchir la page blanche.

Editor Preview

Utilisé par les auteurs de demain

FantasyMagWriter's HubL'ÉditeurNovelty
PlumeIA

© 2024 PlumeIA. Tous droits réservés.

\ No newline at end of file diff --git a/.next/server/app/index.meta b/.next/server/app/index.meta deleted file mode 100644 index 897af29..0000000 --- a/.next/server/app/index.meta +++ /dev/null @@ -1,14 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/page,_N_T_/,_N_T_/index" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/__PAGE__", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/index.rsc b/.next/server/app/index.rsc deleted file mode 100644 index 69e8a29..0000000 --- a/.next/server/app/index.rsc +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[99473,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/b882acfc29dfc10d.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b882acfc29dfc10d.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/index.segments/__PAGE__.segment.rsc b/.next/server/app/index.segments/__PAGE__.segment.rsc deleted file mode 100644 index 464c43f..0000000 --- a/.next/server/app/index.segments/__PAGE__.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[99473,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/b882acfc29dfc10d.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b882acfc29dfc10d.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} -4:{} -5:"$0:rsc:props:children:0:props:serverProvidedParams:params" -8:null diff --git a/.next/server/app/index.segments/_full.segment.rsc b/.next/server/app/index.segments/_full.segment.rsc deleted file mode 100644 index 69e8a29..0000000 --- a/.next/server/app/index.segments/_full.segment.rsc +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[99473,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/b882acfc29dfc10d.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b882acfc29dfc10d.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/index.segments/_head.segment.rsc b/.next/server/app/index.segments/_head.segment.rsc deleted file mode 100644 index 9b39d04..0000000 --- a/.next/server/app/index.segments/_head.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/index.segments/_index.segment.rsc b/.next/server/app/index.segments/_index.segment.rsc deleted file mode 100644 index b7c83ef..0000000 --- a/.next/server/app/index.segments/_index.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/index.segments/_tree.segment.rsc b/.next/server/app/index.segments/_tree.segment.rsc deleted file mode 100644 index 3b57250..0000000 --- a/.next/server/app/index.segments/_tree.segment.rsc +++ /dev/null @@ -1,4 +0,0 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/login.html b/.next/server/app/login.html deleted file mode 100644 index 6d6c153..0000000 --- a/.next/server/app/login.html +++ /dev/null @@ -1 +0,0 @@ -PlumeIA - Éditeur Intelligent

Connexion

Bienvenue ! Connectez-vous à votre compte

Pas encore de compte ?
\ No newline at end of file diff --git a/.next/server/app/login.meta b/.next/server/app/login.meta deleted file mode 100644 index 9058170..0000000 --- a/.next/server/app/login.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/login/layout,_N_T_/login/page,_N_T_/login" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/login/__PAGE__", - "/login", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/login.rsc b/.next/server/app/login.rsc deleted file mode 100644 index 7f26237..0000000 --- a/.next/server/app/login.rsc +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[37143,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/7dee21f4f59da1b4.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","login"],"q":"","i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/7dee21f4f59da1b4.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/login.segments/_full.segment.rsc b/.next/server/app/login.segments/_full.segment.rsc deleted file mode 100644 index 7f26237..0000000 --- a/.next/server/app/login.segments/_full.segment.rsc +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[37143,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/7dee21f4f59da1b4.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","login"],"q":"","i":false,"f":[[["",{"children":["login",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/7dee21f4f59da1b4.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/login.segments/_head.segment.rsc b/.next/server/app/login.segments/_head.segment.rsc deleted file mode 100644 index 9b39d04..0000000 --- a/.next/server/app/login.segments/_head.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/login.segments/_index.segment.rsc b/.next/server/app/login.segments/_index.segment.rsc deleted file mode 100644 index b7c83ef..0000000 --- a/.next/server/app/login.segments/_index.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/login.segments/_tree.segment.rsc b/.next/server/app/login.segments/_tree.segment.rsc deleted file mode 100644 index 5b69d9a..0000000 --- a/.next/server/app/login.segments/_tree.segment.rsc +++ /dev/null @@ -1,4 +0,0 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"login","paramType":null,"paramKey":"login","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/login.segments/login.segment.rsc b/.next/server/app/login.segments/login.segment.rsc deleted file mode 100644 index 6dc73b4..0000000 --- a/.next/server/app/login.segments/login.segment.rsc +++ /dev/null @@ -1,4 +0,0 @@ -1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/login.segments/login/__PAGE__.segment.rsc b/.next/server/app/login.segments/login/__PAGE__.segment.rsc deleted file mode 100644 index b3403a0..0000000 --- a/.next/server/app/login.segments/login/__PAGE__.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[37143,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/7dee21f4f59da1b4.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/7dee21f4f59da1b4.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} -4:{} -5:"$0:rsc:props:children:0:props:serverProvidedParams:params" -8:null diff --git a/.next/server/app/login/page.js b/.next/server/app/login/page.js index 5c5c233..f3bad67 100644 --- a/.next/server/app/login/page.js +++ b/.next/server/app/login/page.js @@ -1,12 +1,13 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/login/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__d13a16ad._.js") -R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") +R.c("server/chunks/ssr/[root-of-the-server]__58c8fe48._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_05d2851f._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") +R.c("server/chunks/ssr/Documents_00 - projet_plumeia_56848ce7._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/login/page.js.nft.json b/.next/server/app/login/page.js.nft.json index 0225f31..57e8f20 100644 --- a/.next/server/app/login/page.js.nft.json +++ b/.next/server/app/login/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_00782eb5._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_login_page_actions_e5748603.js","../../chunks/ssr/Documents_00 - projet_plumeia_05d2851f._.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__d13a16ad._.js","../../chunks/ssr/[root-of-the-server]__d76143b2._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/bcryptjs/index.js","../../../../node_modules/bcryptjs/package.json","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../node_modules/pg-cloudflare/package.json","../../../../node_modules/pg-connection-string/index.js","../../../../node_modules/pg-connection-string/package.json","../../../../node_modules/pg-int8/index.js","../../../../node_modules/pg-int8/package.json","../../../../node_modules/pg-pool/index.js","../../../../node_modules/pg-pool/package.json","../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../node_modules/pg-protocol/dist/index.js","../../../../node_modules/pg-protocol/dist/messages.js","../../../../node_modules/pg-protocol/dist/parser.js","../../../../node_modules/pg-protocol/dist/serializer.js","../../../../node_modules/pg-protocol/package.json","../../../../node_modules/pg-types/index.js","../../../../node_modules/pg-types/lib/arrayParser.js","../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../node_modules/pg-types/lib/builtins.js","../../../../node_modules/pg-types/lib/textParsers.js","../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../node_modules/pg-types/package.json","../../../../node_modules/pg/esm/index.mjs","../../../../node_modules/pg/lib/client.js","../../../../node_modules/pg/lib/connection-parameters.js","../../../../node_modules/pg/lib/connection.js","../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../node_modules/pg/lib/crypto/sasl.js","../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../node_modules/pg/lib/crypto/utils.js","../../../../node_modules/pg/lib/defaults.js","../../../../node_modules/pg/lib/index.js","../../../../node_modules/pg/lib/native/client.js","../../../../node_modules/pg/lib/native/index.js","../../../../node_modules/pg/lib/native/query.js","../../../../node_modules/pg/lib/query.js","../../../../node_modules/pg/lib/result.js","../../../../node_modules/pg/lib/stream.js","../../../../node_modules/pg/lib/type-overrides.js","../../../../node_modules/pg/lib/utils.js","../../../../node_modules/pg/package.json","../../../../node_modules/pgpass/lib/helper.js","../../../../node_modules/pgpass/lib/index.js","../../../../node_modules/pgpass/package.json","../../../../node_modules/postgres-array/package.json","../../../../node_modules/postgres-bytea/index.js","../../../../node_modules/postgres-bytea/package.json","../../../../node_modules/postgres-date/index.js","../../../../node_modules/postgres-date/package.json","../../../../node_modules/postgres-interval/index.js","../../../../node_modules/postgres-interval/package.json","../../../../node_modules/split2/index.js","../../../../node_modules/split2/package.json","../../../../node_modules/xtend/mutable.js","../../../../node_modules/xtend/package.json","../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../node_modules/pg-909e2581735964d3","../../chunks/ssr/549ce_next_d4ca4008._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_login_page_actions_e5748603.js","../../chunks/ssr/Documents_00 - projet_plumeia_05d2851f._.js","../../chunks/ssr/Documents_00 - projet_plumeia_56848ce7._.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__1ff1d9f6._.js","../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../chunks/ssr/[root-of-the-server]__58c8fe48._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/login/page/build-manifest.json b/.next/server/app/login/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/login/page/build-manifest.json +++ b/.next/server/app/login/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/login/page_client-reference-manifest.js b/.next/server/app/login/page_client-reference-manifest.js index e2e736d..a75b859 100644 --- a/.next/server/app/login/page_client-reference-manifest.js +++ b/.next/server/app/login/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/login/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx ":{"id":37143,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/7dee21f4f59da1b4.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx":{"id":37143,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/7dee21f4f59da1b4.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"37143":{"*":{"id":67356,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__d76143b2._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"37143":{"*":{"id":40702,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/login/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/login/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/7dee21f4f59da1b4.js"]}} +globalThis.__RSC_MANIFEST["/login/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx ":{"id":86885,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/f7352f5b66975116.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/LoginClient.tsx":{"id":86885,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/f7352f5b66975116.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"86885":{"*":{"id":39638,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1ff1d9f6._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"86885":{"*":{"id":2430,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/login/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/login/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/f7352f5b66975116.js"]}} diff --git a/.next/server/app/page.js b/.next/server/app/page.js index 30899a3..003c41b 100644 --- a/.next/server/app/page.js +++ b/.next/server/app/page.js @@ -1,12 +1,13 @@ var R=require("../chunks/ssr/[turbopack]_runtime.js")("server/app/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__8915ef3b._.js") -R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") +R.c("server/chunks/ssr/[root-of-the-server]__a37634da._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_826d656c._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") +R.c("server/chunks/ssr/Documents_00 - projet_plumeia_56848ce7._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/page.js.nft.json b/.next/server/app/page.js.nft.json index 6a6c7aa..399206e 100644 --- a/.next/server/app/page.js.nft.json +++ b/.next/server/app/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../node_modules/.prisma/client/client.d.ts","../../../node_modules/.prisma/client/client.js","../../../node_modules/.prisma/client/default.d.ts","../../../node_modules/.prisma/client/default.js","../../../node_modules/.prisma/client/edge.d.ts","../../../node_modules/.prisma/client/edge.js","../../../node_modules/.prisma/client/index-browser.js","../../../node_modules/.prisma/client/index.d.ts","../../../node_modules/.prisma/client/index.js","../../../node_modules/.prisma/client/package.json","../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../node_modules/.prisma/client/schema.prisma","../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../node_modules/@prisma/client/LICENSE","../../../node_modules/@prisma/client/README.md","../../../node_modules/@prisma/client/default.d.ts","../../../node_modules/@prisma/client/default.js","../../../node_modules/@prisma/client/edge.d.ts","../../../node_modules/@prisma/client/edge.js","../../../node_modules/@prisma/client/extension.d.ts","../../../node_modules/@prisma/client/extension.js","../../../node_modules/@prisma/client/generator-build/index.js","../../../node_modules/@prisma/client/index-browser.js","../../../node_modules/@prisma/client/index.d.ts","../../../node_modules/@prisma/client/index.js","../../../node_modules/@prisma/client/package.json","../../../node_modules/@prisma/client/runtime/client.d.mts","../../../node_modules/@prisma/client/runtime/client.d.ts","../../../node_modules/@prisma/client/runtime/client.js","../../../node_modules/@prisma/client/runtime/client.js.map","../../../node_modules/@prisma/client/runtime/client.mjs","../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../node_modules/@prisma/client/runtime/index-browser.js","../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../node_modules/@prisma/client/scripts/colors.js","../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../node_modules/@prisma/client/scripts/default-index.js","../../../node_modules/@prisma/client/sql.d.ts","../../../node_modules/@prisma/client/sql.js","../../../node_modules/@prisma/client/sql.mjs","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/package.json","../chunks/ssr/549ce_00782eb5._.js","../chunks/ssr/549ce_next_dist_470effa2._.js","../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../chunks/ssr/549ce_next_dist_752cd4f9._.js","../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../chunks/ssr/549ce_next_dist_f187ee39._.js","../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../chunks/ssr/Documents_00 - projet_plumeia_826d656c._.js","../chunks/ssr/Documents_00 - projet_plumeia__next-internal_server_app_page_actions_badd4a99.js","../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../chunks/ssr/[root-of-the-server]__711fc51c._.js","../chunks/ssr/[root-of-the-server]__8915ef3b._.js","../chunks/ssr/[root-of-the-server]__9f280bdb._.js","../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../node_modules/.prisma/client/default.js","../../../node_modules/.prisma/client/index.js","../../../node_modules/.prisma/client/package.json","../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../node_modules/@prisma/client-runtime-utils/package.json","../../../node_modules/@prisma/client/default.js","../../../node_modules/@prisma/client/package.json","../../../node_modules/@prisma/client/runtime/client.js","../../../node_modules/bcryptjs/index.js","../../../node_modules/bcryptjs/package.json","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/package.json","../../../node_modules/pg-cloudflare/dist/empty.js","../../../node_modules/pg-cloudflare/package.json","../../../node_modules/pg-connection-string/index.js","../../../node_modules/pg-connection-string/package.json","../../../node_modules/pg-int8/index.js","../../../node_modules/pg-int8/package.json","../../../node_modules/pg-pool/index.js","../../../node_modules/pg-pool/package.json","../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../node_modules/pg-protocol/dist/index.js","../../../node_modules/pg-protocol/dist/messages.js","../../../node_modules/pg-protocol/dist/parser.js","../../../node_modules/pg-protocol/dist/serializer.js","../../../node_modules/pg-protocol/package.json","../../../node_modules/pg-types/index.js","../../../node_modules/pg-types/lib/arrayParser.js","../../../node_modules/pg-types/lib/binaryParsers.js","../../../node_modules/pg-types/lib/builtins.js","../../../node_modules/pg-types/lib/textParsers.js","../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../node_modules/pg-types/package.json","../../../node_modules/pg/esm/index.mjs","../../../node_modules/pg/lib/client.js","../../../node_modules/pg/lib/connection-parameters.js","../../../node_modules/pg/lib/connection.js","../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../node_modules/pg/lib/crypto/sasl.js","../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../node_modules/pg/lib/crypto/utils.js","../../../node_modules/pg/lib/defaults.js","../../../node_modules/pg/lib/index.js","../../../node_modules/pg/lib/native/client.js","../../../node_modules/pg/lib/native/index.js","../../../node_modules/pg/lib/native/query.js","../../../node_modules/pg/lib/query.js","../../../node_modules/pg/lib/result.js","../../../node_modules/pg/lib/stream.js","../../../node_modules/pg/lib/type-overrides.js","../../../node_modules/pg/lib/utils.js","../../../node_modules/pg/package.json","../../../node_modules/pgpass/lib/helper.js","../../../node_modules/pgpass/lib/index.js","../../../node_modules/pgpass/package.json","../../../node_modules/postgres-array/package.json","../../../node_modules/postgres-bytea/index.js","../../../node_modules/postgres-bytea/package.json","../../../node_modules/postgres-date/index.js","../../../node_modules/postgres-date/package.json","../../../node_modules/postgres-interval/index.js","../../../node_modules/postgres-interval/package.json","../../../node_modules/split2/index.js","../../../node_modules/split2/package.json","../../../node_modules/xtend/mutable.js","../../../node_modules/xtend/package.json","../../node_modules/@prisma/client-5d1deb26a67ff978","../../node_modules/bcryptjs-6c8cf8b3815327b5","../../node_modules/pg-909e2581735964d3","../chunks/ssr/549ce_next_d4ca4008._.js","../chunks/ssr/549ce_next_dist_7319df4e._.js","../chunks/ssr/549ce_next_dist_752cd4f9._.js","../chunks/ssr/549ce_next_dist_b340d0ac._.js","../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../chunks/ssr/549ce_next_dist_eb239156._.js","../chunks/ssr/549ce_next_dist_fd1d9597._.js","../chunks/ssr/Documents_00 - projet_plumeia_56848ce7._.js","../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../chunks/ssr/Documents_00 - projet_plumeia_826d656c._.js","../chunks/ssr/Documents_00 - projet_plumeia__next-internal_server_app_page_actions_badd4a99.js","../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../chunks/ssr/[root-of-the-server]__319b55ac._.js","../chunks/ssr/[root-of-the-server]__a37634da._.js","../chunks/ssr/[root-of-the-server]__b5609225._.js","../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../chunks/ssr/[root-of-the-server]__c7ae4a77._.js","../chunks/ssr/[root-of-the-server]__fc4da685._.js","../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/page/build-manifest.json b/.next/server/app/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/page/build-manifest.json +++ b/.next/server/app/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/page_client-reference-manifest.js b/.next/server/app/page_client-reference-manifest.js index 00720bc..736c0ff 100644 --- a/.next/server/app/page_client-reference-manifest.js +++ b/.next/server/app/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx ":{"id":99473,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/b882acfc29dfc10d.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx":{"id":99473,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/b882acfc29dfc10d.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"99473":{"*":{"id":40260,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__9f280bdb._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"99473":{"*":{"id":2918,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/b882acfc29dfc10d.js"]}} +globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx ":{"id":21198,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/379903f3ac47f94b.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/HomeClient.tsx":{"id":21198,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/379903f3ac47f94b.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"21198":{"*":{"id":40154,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__c7ae4a77._.js","server/chunks/ssr/549ce_next_dist_7319df4e._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"21198":{"*":{"id":41425,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/379903f3ac47f94b.js"]}} diff --git a/.next/server/app/pricing.html b/.next/server/app/pricing.html index d4de9fd..73af7b8 100644 --- a/.next/server/app/pricing.html +++ b/.next/server/app/pricing.html @@ -1 +1 @@ -PlumeIA - Éditeur Intelligent

Choisissez votre destin d'écrivain.

Passez au plan supérieur pour libérer toute la puissance de l'IA.

Chargement des offres...

\ No newline at end of file +Pluume - Éditeur Intelligent

Choisissez votre destin d'écrivain.

Passez au plan supérieur pour libérer toute la puissance de l'IA.

Chargement des offres...

\ No newline at end of file diff --git a/.next/server/app/pricing.rsc b/.next/server/app/pricing.rsc index cd8ef7a..f23a216 100644 --- a/.next/server/app/pricing.rsc +++ b/.next/server/app/pricing.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[72150,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/5375b9d412441d7d.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[72150,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b0cc1766d682b215.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","pricing"],"q":"","i":false,"f":[[["",{"children":["pricing",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/5375b9d412441d7d.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","pricing"],"q":"","i":false,"f":[[["",{"children":["pricing",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b0cc1766d682b215.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/pricing.segments/_full.segment.rsc b/.next/server/app/pricing.segments/_full.segment.rsc index cd8ef7a..f23a216 100644 --- a/.next/server/app/pricing.segments/_full.segment.rsc +++ b/.next/server/app/pricing.segments/_full.segment.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[72150,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/5375b9d412441d7d.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[72150,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b0cc1766d682b215.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","pricing"],"q":"","i":false,"f":[[["",{"children":["pricing",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/5375b9d412441d7d.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","pricing"],"q":"","i":false,"f":[[["",{"children":["pricing",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b0cc1766d682b215.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/pricing.segments/_head.segment.rsc b/.next/server/app/pricing.segments/_head.segment.rsc index 9b39d04..d20682a 100644 --- a/.next/server/app/pricing.segments/_head.segment.rsc +++ b/.next/server/app/pricing.segments/_head.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] +2:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +3:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] 4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/pricing.segments/_index.segment.rsc b/.next/server/app/pricing.segments/_index.segment.rsc index b7c83ef..d2b1587 100644 --- a/.next/server/app/pricing.segments/_index.segment.rsc +++ b/.next/server/app/pricing.segments/_index.segment.rsc @@ -1,6 +1,7 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/pricing.segments/_tree.segment.rsc b/.next/server/app/pricing.segments/_tree.segment.rsc index f8f6f62..c64d5a3 100644 --- a/.next/server/app/pricing.segments/_tree.segment.rsc +++ b/.next/server/app/pricing.segments/_tree.segment.rsc @@ -1,4 +1,4 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"pricing","paramType":null,"paramKey":"pricing","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"pricing","paramType":null,"paramKey":"pricing","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/pricing.segments/pricing.segment.rsc b/.next/server/app/pricing.segments/pricing.segment.rsc index 6dc73b4..e4dcce1 100644 --- a/.next/server/app/pricing.segments/pricing.segment.rsc +++ b/.next/server/app/pricing.segments/pricing.segment.rsc @@ -1,4 +1,4 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/pricing.segments/pricing/__PAGE__.segment.rsc b/.next/server/app/pricing.segments/pricing/__PAGE__.segment.rsc index 416b829..8d01415 100644 --- a/.next/server/app/pricing.segments/pricing/__PAGE__.segment.rsc +++ b/.next/server/app/pricing.segments/pricing/__PAGE__.segment.rsc @@ -1,9 +1,9 @@ 1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[72150,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/5375b9d412441d7d.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +3:I[72150,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b0cc1766d682b215.js"],"default"] +6:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/5375b9d412441d7d.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/b0cc1766d682b215.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} 4:{} 5:"$0:rsc:props:children:0:props:serverProvidedParams:params" 8:null diff --git a/.next/server/app/pricing/page.js b/.next/server/app/pricing/page.js index d6ac5a9..ddbe0e5 100644 --- a/.next/server/app/pricing/page.js +++ b/.next/server/app/pricing/page.js @@ -2,11 +2,11 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/pricing/pag R.c("server/chunks/ssr/[root-of-the-server]__b63d8de3._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_59d02a22._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/pricing/page.js.nft.json b/.next/server/app/pricing/page.js.nft.json index e0f94e7..81ab070 100644 --- a/.next/server/app/pricing/page.js.nft.json +++ b/.next/server/app/pricing/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_00782eb5._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_pricing_page_actions_a5bce3f9.js","../../chunks/ssr/Documents_00 - projet_plumeia_59d02a22._.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__1b51e774._.js","../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__b63d8de3._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_d4ca4008._.js","../../chunks/ssr/549ce_next_dist_7319df4e._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_pricing_page_actions_a5bce3f9.js","../../chunks/ssr/Documents_00 - projet_plumeia_59d02a22._.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__22aa2bfe._.js","../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__b63d8de3._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/pricing/page/build-manifest.json b/.next/server/app/pricing/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/pricing/page/build-manifest.json +++ b/.next/server/app/pricing/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/pricing/page_client-reference-manifest.js b/.next/server/app/pricing/page_client-reference-manifest.js index 8ebd3f0..db0c968 100644 --- a/.next/server/app/pricing/page_client-reference-manifest.js +++ b/.next/server/app/pricing/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/pricing/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/pricing/page.tsx ":{"id":72150,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/5375b9d412441d7d.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/pricing/page.tsx":{"id":72150,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/5375b9d412441d7d.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"72150":{"*":{"id":18091,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b51e774._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"72150":{"*":{"id":40174,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/pricing/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/pricing/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/5375b9d412441d7d.js"]}} +globalThis.__RSC_MANIFEST["/pricing/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/pricing/page.tsx ":{"id":72150,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b0cc1766d682b215.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/pricing/page.tsx":{"id":72150,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/b0cc1766d682b215.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"72150":{"*":{"id":18091,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__22aa2bfe._.js","server/chunks/ssr/549ce_next_dist_7319df4e._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"72150":{"*":{"id":40174,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/pricing/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/pricing/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/b0cc1766d682b215.js"]}} diff --git a/.next/server/app/profile.html b/.next/server/app/profile.html index 8e907ae..4a483fa 100644 --- a/.next/server/app/profile.html +++ b/.next/server/app/profile.html @@ -1 +1 @@ -PlumeIA - Éditeur Intelligent \ No newline at end of file +Pluume - Éditeur Intelligent \ No newline at end of file diff --git a/.next/server/app/profile.rsc b/.next/server/app/profile.rsc index eb5e871..99c1572 100644 --- a/.next/server/app/profile.rsc +++ b/.next/server/app/profile.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[4248,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/2130e993b25c1235.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[4248,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/5704edcee461330b.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","profile"],"q":"","i":false,"f":[[["",{"children":["profile",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/2130e993b25c1235.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","profile"],"q":"","i":false,"f":[[["",{"children":["profile",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/5704edcee461330b.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/profile.segments/_full.segment.rsc b/.next/server/app/profile.segments/_full.segment.rsc index eb5e871..99c1572 100644 --- a/.next/server/app/profile.segments/_full.segment.rsc +++ b/.next/server/app/profile.segments/_full.segment.rsc @@ -1,20 +1,21 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[4248,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/2130e993b25c1235.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +6:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +7:I[4248,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/5704edcee461330b.js"],"default"] +a:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] +b:"$Sreact.suspense" +d:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +f:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] +11:I[45235,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","profile"],"q":"","i":false,"f":[[["",{"children":["profile",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/2130e993b25c1235.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] +0:{"P":null,"b":"arWhYLxRTniGq2OEpqsNu","c":["","profile"],"q":"","i":false,"f":[[["",{"children":["profile",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/5704edcee461330b.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[]],"S":true} +8:{} +9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" +e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +c:null +10:[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/profile.segments/_head.segment.rsc b/.next/server/app/profile.segments/_head.segment.rsc index 9b39d04..d20682a 100644 --- a/.next/server/app/profile.segments/_head.segment.rsc +++ b/.next/server/app/profile.segments/_head.segment.rsc @@ -1,5 +1,5 @@ 1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] +2:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ViewportBoundary"] +3:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"MetadataBoundary"] 4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Pluume - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/profile.segments/_index.segment.rsc b/.next/server/app/profile.segments/_index.segment.rsc index b7c83ef..d2b1587 100644 --- a/.next/server/app/profile.segments/_index.segment.rsc +++ b/.next/server/app/profile.segments/_index.segment.rsc @@ -1,6 +1,7 @@ 1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} +2:I[18404,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"AuthProvider"] +3:I[62348,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"LanguageProvider"] +4:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +5:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/063d082511709c57.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2dd02733d8740ca5.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/3da890e651d622d6.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/profile.segments/_tree.segment.rsc b/.next/server/app/profile.segments/_tree.segment.rsc index 4dc6f5e..282cf89 100644 --- a/.next/server/app/profile.segments/_tree.segment.rsc +++ b/.next/server/app/profile.segments/_tree.segment.rsc @@ -1,4 +1,4 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] +:HL["/_next/static/chunks/063d082511709c57.css","style"] :HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"profile","paramType":null,"paramKey":"profile","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"profile","paramType":null,"paramKey":"profile","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/profile.segments/profile.segment.rsc b/.next/server/app/profile.segments/profile.segment.rsc index 6dc73b4..e4dcce1 100644 --- a/.next/server/app/profile.segments/profile.segment.rsc +++ b/.next/server/app/profile.segments/profile.segment.rsc @@ -1,4 +1,4 @@ 1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} +2:I[62025,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +3:I[61849,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"default"] +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/profile.segments/profile/__PAGE__.segment.rsc b/.next/server/app/profile.segments/profile/__PAGE__.segment.rsc index 01a8831..102e56f 100644 --- a/.next/server/app/profile.segments/profile/__PAGE__.segment.rsc +++ b/.next/server/app/profile.segments/profile/__PAGE__.segment.rsc @@ -1,9 +1,9 @@ 1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[4248,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/2130e993b25c1235.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] +2:I[74697,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"ClientPageRoot"] +3:I[4248,["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/5704edcee461330b.js"],"default"] +6:I[35523,["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"OutletBoundary"] 7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/2130e993b25c1235.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} +0:{"buildId":"arWhYLxRTniGq2OEpqsNu","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/5704edcee461330b.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} 4:{} 5:"$0:rsc:props:children:0:props:serverProvidedParams:params" 8:null diff --git a/.next/server/app/profile/page.js b/.next/server/app/profile/page.js index e189f17..4ffc538 100644 --- a/.next/server/app/profile/page.js +++ b/.next/server/app/profile/page.js @@ -2,11 +2,11 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/profile/pag R.c("server/chunks/ssr/[root-of-the-server]__0d77eb78._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_7e493979._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/profile/page.js.nft.json b/.next/server/app/profile/page.js.nft.json index aa9048c..356dd0f 100644 --- a/.next/server/app/profile/page.js.nft.json +++ b/.next/server/app/profile/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_00782eb5._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_profile_page_actions_dde55b35.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_7e493979._.js","../../chunks/ssr/[root-of-the-server]__0d77eb78._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__3d1ae521._.js","../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_next_d4ca4008._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_profile_page_actions_dde55b35.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_7e493979._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__0d77eb78._.js","../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../chunks/ssr/[root-of-the-server]__8a87c667._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/profile/page/build-manifest.json b/.next/server/app/profile/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/profile/page/build-manifest.json +++ b/.next/server/app/profile/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/profile/page_client-reference-manifest.js b/.next/server/app/profile/page_client-reference-manifest.js index bbaf938..ece4b4f 100644 --- a/.next/server/app/profile/page_client-reference-manifest.js +++ b/.next/server/app/profile/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/profile/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/profile/page.tsx ":{"id":4248,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/2130e993b25c1235.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/profile/page.tsx":{"id":4248,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/2130e993b25c1235.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"4248":{"*":{"id":98220,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__3d1ae521._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"4248":{"*":{"id":98532,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/profile/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/profile/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/2130e993b25c1235.js"]}} +globalThis.__RSC_MANIFEST["/profile/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/profile/page.tsx ":{"id":4248,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/5704edcee461330b.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/profile/page.tsx":{"id":4248,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/5704edcee461330b.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"4248":{"*":{"id":98220,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__8a87c667._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"4248":{"*":{"id":98532,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/profile/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/profile/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/5704edcee461330b.js"]}} diff --git a/.next/server/app/project/[id]/ideas/page.js b/.next/server/app/project/[id]/ideas/page.js index 33674b6..b964ffb 100644 --- a/.next/server/app/project/[id]/ideas/page.js +++ b/.next/server/app/project/[id]/ideas/page.js @@ -2,11 +2,11 @@ var R=require("../../../../chunks/ssr/[turbopack]_runtime.js")("server/app/proje R.c("server/chunks/ssr/[root-of-the-server]__54ebd377._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_0aafbefe._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/project/[id]/ideas/page.js.nft.json b/.next/server/app/project/[id]/ideas/page.js.nft.json index 7a7b113..10449b8 100644 --- a/.next/server/app/project/[id]/ideas/page.js.nft.json +++ b/.next/server/app/project/[id]/ideas/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_00782eb5._.js","../../../../chunks/ssr/549ce_next_dist_470effa2._.js","../../../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_0aafbefe._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../../../chunks/ssr/[root-of-the-server]__1b95e5fe._.js","../../../../chunks/ssr/[root-of-the-server]__54ebd377._.js","../../../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_ideas_page_actions_01ab8c20.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_next_d4ca4008._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_eb239156._.js","../../../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_0aafbefe._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../../../chunks/ssr/[root-of-the-server]__54ebd377._.js","../../../../chunks/ssr/[root-of-the-server]__b0f8fb18._.js","../../../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_ideas_page_actions_01ab8c20.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/project/[id]/ideas/page/build-manifest.json b/.next/server/app/project/[id]/ideas/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/project/[id]/ideas/page/build-manifest.json +++ b/.next/server/app/project/[id]/ideas/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/project/[id]/ideas/page_client-reference-manifest.js b/.next/server/app/project/[id]/ideas/page_client-reference-manifest.js index c385769..47ea739 100644 --- a/.next/server/app/project/[id]/ideas/page_client-reference-manifest.js +++ b/.next/server/app/project/[id]/ideas/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/ideas/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx ":{"id":89250,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/6d057587eb93aa9b.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx":{"id":89250,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/6d057587eb93aa9b.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"89250":{"*":{"id":71549,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"89250":{"*":{"id":3101,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js","static/chunks/6d057587eb93aa9b.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/ideas/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx ":{"id":89250,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/fad4f7bf6b80e94d.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx":{"id":89250,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/fad4f7bf6b80e94d.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"89250":{"*":{"id":71549,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"89250":{"*":{"id":3101,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js","static/chunks/fad4f7bf6b80e94d.js"]}} diff --git a/.next/server/app/project/[id]/page.js b/.next/server/app/project/[id]/page.js index 5866d1e..5f01e1f 100644 --- a/.next/server/app/project/[id]/page.js +++ b/.next/server/app/project/[id]/page.js @@ -2,11 +2,11 @@ var R=require("../../../chunks/ssr/[turbopack]_runtime.js")("server/app/project/ R.c("server/chunks/ssr/[root-of-the-server]__fe8a6881._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_6744f8d6._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/project/[id]/page.js.nft.json b/.next/server/app/project/[id]/page.js.nft.json index b5b376c..ffa94dd 100644 --- a/.next/server/app/project/[id]/page.js.nft.json +++ b/.next/server/app/project/[id]/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/.prisma/client/client.d.ts","../../../../../node_modules/.prisma/client/client.js","../../../../../node_modules/.prisma/client/default.d.ts","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../node_modules/.prisma/client/edge.js","../../../../../node_modules/.prisma/client/index-browser.js","../../../../../node_modules/.prisma/client/index.d.ts","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../node_modules/@prisma/client/LICENSE","../../../../../node_modules/@prisma/client/README.md","../../../../../node_modules/@prisma/client/default.d.ts","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../node_modules/@prisma/client/edge.js","../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../node_modules/@prisma/client/extension.js","../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../node_modules/@prisma/client/index-browser.js","../../../../../node_modules/@prisma/client/index.d.ts","../../../../../node_modules/@prisma/client/index.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../node_modules/@prisma/client/sql.js","../../../../../node_modules/@prisma/client/sql.mjs","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../chunks/ssr/549ce_00782eb5._.js","../../../chunks/ssr/549ce_lucide-react_dist_esm_icons_35d6dd8e._.js","../../../chunks/ssr/549ce_next_dist_470effa2._.js","../../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_6744f8d6._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js","../../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../../chunks/ssr/[root-of-the-server]__1b95e5fe._.js","../../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../chunks/ssr/[root-of-the-server]__fe8a6881._.js","../../../chunks/ssr/[turbopack]_runtime.js","../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_page_actions_6b8af4df.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../chunks/ssr/549ce_lucide-react_dist_esm_icons_35d6dd8e._.js","../../../chunks/ssr/549ce_next_d4ca4008._.js","../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../chunks/ssr/549ce_next_dist_eb239156._.js","../../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_6744f8d6._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js","../../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../../chunks/ssr/[root-of-the-server]__b0f8fb18._.js","../../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../../chunks/ssr/[root-of-the-server]__fe8a6881._.js","../../../chunks/ssr/[turbopack]_runtime.js","../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_page_actions_6b8af4df.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/project/[id]/page/build-manifest.json b/.next/server/app/project/[id]/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/project/[id]/page/build-manifest.json +++ b/.next/server/app/project/[id]/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/project/[id]/page_client-reference-manifest.js b/.next/server/app/project/[id]/page_client-reference-manifest.js index e11c6a8..16b72bf 100644 --- a/.next/server/app/project/[id]/page_client-reference-manifest.js +++ b/.next/server/app/project/[id]/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx ":{"id":81350,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/1a6b4062fd26f46f.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx":{"id":81350,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/1a6b4062fd26f46f.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"81350":{"*":{"id":32791,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_35d6dd8e._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"81350":{"*":{"id":71795,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js","static/chunks/1a6b4062fd26f46f.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx ":{"id":81350,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/c90a59e16fc67cb7.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx":{"id":81350,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/c90a59e16fc67cb7.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"81350":{"*":{"id":32791,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_35d6dd8e._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"81350":{"*":{"id":71795,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js","static/chunks/c90a59e16fc67cb7.js"]}} diff --git a/.next/server/app/project/[id]/settings/page.js b/.next/server/app/project/[id]/settings/page.js index 2f75752..9fbefb3 100644 --- a/.next/server/app/project/[id]/settings/page.js +++ b/.next/server/app/project/[id]/settings/page.js @@ -2,11 +2,11 @@ var R=require("../../../../chunks/ssr/[turbopack]_runtime.js")("server/app/proje R.c("server/chunks/ssr/[root-of-the-server]__08e21a6b._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_73e30adc._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/project/[id]/settings/page.js.nft.json b/.next/server/app/project/[id]/settings/page.js.nft.json index c07052e..367f39d 100644 --- a/.next/server/app/project/[id]/settings/page.js.nft.json +++ b/.next/server/app/project/[id]/settings/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_00782eb5._.js","../../../../chunks/ssr/549ce_next_dist_470effa2._.js","../../../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_73e30adc._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/[root-of-the-server]__08e21a6b._.js","../../../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../../../chunks/ssr/[root-of-the-server]__1b95e5fe._.js","../../../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_settings_page_actions_be2680b0.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_next_d4ca4008._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_eb239156._.js","../../../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_73e30adc._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../../../chunks/ssr/[root-of-the-server]__08e21a6b._.js","../../../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../../../chunks/ssr/[root-of-the-server]__b0f8fb18._.js","../../../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_settings_page_actions_be2680b0.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/project/[id]/settings/page/build-manifest.json b/.next/server/app/project/[id]/settings/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/project/[id]/settings/page/build-manifest.json +++ b/.next/server/app/project/[id]/settings/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/project/[id]/settings/page_client-reference-manifest.js b/.next/server/app/project/[id]/settings/page_client-reference-manifest.js index 2d238eb..f593b73 100644 --- a/.next/server/app/project/[id]/settings/page_client-reference-manifest.js +++ b/.next/server/app/project/[id]/settings/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/settings/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx ":{"id":78424,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/2fccc3238b861960.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx":{"id":78424,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/2fccc3238b861960.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"78424":{"*":{"id":27131,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"78424":{"*":{"id":935,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js","static/chunks/2fccc3238b861960.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/settings/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx ":{"id":78424,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/bcd73d60b4ecf00a.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx":{"id":78424,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/bcd73d60b4ecf00a.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"78424":{"*":{"id":27131,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"78424":{"*":{"id":935,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js","static/chunks/bcd73d60b4ecf00a.js"]}} diff --git a/.next/server/app/project/[id]/workflow/page.js b/.next/server/app/project/[id]/workflow/page.js index 12cf4c2..e696210 100644 --- a/.next/server/app/project/[id]/workflow/page.js +++ b/.next/server/app/project/[id]/workflow/page.js @@ -2,11 +2,11 @@ var R=require("../../../../chunks/ssr/[turbopack]_runtime.js")("server/app/proje R.c("server/chunks/ssr/[root-of-the-server]__2f0c31a0._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_c0669bf4._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/project/[id]/workflow/page.js.nft.json b/.next/server/app/project/[id]/workflow/page.js.nft.json index e40b3bd..6a01278 100644 --- a/.next/server/app/project/[id]/workflow/page.js.nft.json +++ b/.next/server/app/project/[id]/workflow/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_00782eb5._.js","../../../../chunks/ssr/549ce_lucide-react_dist_esm_icons_arrow-right_cad657db.js","../../../../chunks/ssr/549ce_next_dist_470effa2._.js","../../../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_c0669bf4._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js","../../../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../../../chunks/ssr/[root-of-the-server]__1b95e5fe._.js","../../../../chunks/ssr/[root-of-the-server]__2f0c31a0._.js","../../../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_workflow_page_actions_42a85d43.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_lucide-react_dist_esm_icons_arrow-right_cad657db.js","../../../../chunks/ssr/549ce_next_d4ca4008._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_eb239156._.js","../../../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_c0669bf4._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../../../chunks/ssr/[root-of-the-server]__2f0c31a0._.js","../../../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../../../chunks/ssr/[root-of-the-server]__b0f8fb18._.js","../../../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_workflow_page_actions_42a85d43.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/project/[id]/workflow/page/build-manifest.json b/.next/server/app/project/[id]/workflow/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/project/[id]/workflow/page/build-manifest.json +++ b/.next/server/app/project/[id]/workflow/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/project/[id]/workflow/page_client-reference-manifest.js b/.next/server/app/project/[id]/workflow/page_client-reference-manifest.js index 28ba692..9863d32 100644 --- a/.next/server/app/project/[id]/workflow/page_client-reference-manifest.js +++ b/.next/server/app/project/[id]/workflow/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/workflow/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx ":{"id":38562,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/5455a9bd9f6da178.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx":{"id":38562,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/5455a9bd9f6da178.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"38562":{"*":{"id":82451,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_arrow-right_cad657db.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"38562":{"*":{"id":55620,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js","static/chunks/5455a9bd9f6da178.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/workflow/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx ":{"id":38562,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/926c18e33103ae52.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx":{"id":38562,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/926c18e33103ae52.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"38562":{"*":{"id":82451,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_arrow-right_cad657db.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"38562":{"*":{"id":55620,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js","static/chunks/926c18e33103ae52.js"]}} diff --git a/.next/server/app/project/[id]/world/page.js b/.next/server/app/project/[id]/world/page.js index d5ae7fe..029f5fd 100644 --- a/.next/server/app/project/[id]/world/page.js +++ b/.next/server/app/project/[id]/world/page.js @@ -2,11 +2,11 @@ var R=require("../../../../chunks/ssr/[turbopack]_runtime.js")("server/app/proje R.c("server/chunks/ssr/[root-of-the-server]__fafef80e._.js") R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_05412e92._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/project/[id]/world/page.js.nft.json b/.next/server/app/project/[id]/world/page.js.nft.json index e5c7071..0eaa636 100644 --- a/.next/server/app/project/[id]/world/page.js.nft.json +++ b/.next/server/app/project/[id]/world/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/.prisma/client/client.d.ts","../../../../../../node_modules/.prisma/client/client.js","../../../../../../node_modules/.prisma/client/default.d.ts","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/edge.d.ts","../../../../../../node_modules/.prisma/client/edge.js","../../../../../../node_modules/.prisma/client/index-browser.js","../../../../../../node_modules/.prisma/client/index.d.ts","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../../../node_modules/@prisma/client/LICENSE","../../../../../../node_modules/@prisma/client/README.md","../../../../../../node_modules/@prisma/client/default.d.ts","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/edge.d.ts","../../../../../../node_modules/@prisma/client/edge.js","../../../../../../node_modules/@prisma/client/extension.d.ts","../../../../../../node_modules/@prisma/client/extension.js","../../../../../../node_modules/@prisma/client/generator-build/index.js","../../../../../../node_modules/@prisma/client/index-browser.js","../../../../../../node_modules/@prisma/client/index.d.ts","../../../../../../node_modules/@prisma/client/index.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../../../node_modules/@prisma/client/runtime/client.js","../../../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../../../node_modules/@prisma/client/scripts/colors.js","../../../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../../../node_modules/@prisma/client/sql.d.ts","../../../../../../node_modules/@prisma/client/sql.js","../../../../../../node_modules/@prisma/client/sql.mjs","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_00782eb5._.js","../../../../chunks/ssr/549ce_lucide-react_dist_esm_icons_293aa0b9._.js","../../../../chunks/ssr/549ce_next_dist_470effa2._.js","../../../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_05412e92._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js","../../../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../../../chunks/ssr/[root-of-the-server]__1b95e5fe._.js","../../../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[root-of-the-server]__fafef80e._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_world_page_actions_d01e8c43.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../chunks/ssr/549ce_lucide-react_dist_esm_icons_293aa0b9._.js","../../../../chunks/ssr/549ce_next_d4ca4008._.js","../../../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../../../chunks/ssr/549ce_next_dist_eb239156._.js","../../../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_05412e92._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_c09de6f3._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js","../../../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../../../chunks/ssr/[root-of-the-server]__b0f8fb18._.js","../../../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../../../chunks/ssr/[root-of-the-server]__fafef80e._.js","../../../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../../../chunks/ssr/[turbopack]_runtime.js","../../../../chunks/ssr/b79dd_plumeia__next-internal_server_app_project_[id]_world_page_actions_d01e8c43.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/project/[id]/world/page/build-manifest.json b/.next/server/app/project/[id]/world/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/project/[id]/world/page/build-manifest.json +++ b/.next/server/app/project/[id]/world/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/project/[id]/world/page_client-reference-manifest.js b/.next/server/app/project/[id]/world/page_client-reference-manifest.js index 26fbdb0..3b1807e 100644 --- a/.next/server/app/project/[id]/world/page_client-reference-manifest.js +++ b/.next/server/app/project/[id]/world/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/project/[id]/world/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx ":{"id":52724,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/90607739e2665c35.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx":{"id":52724,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/df6079c3e636ac5a.js","/_next/static/chunks/303f525330a930e3.js","/_next/static/chunks/90607739e2665c35.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"52724":{"*":{"id":85105,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js","server/chunks/ssr/549ce_00782eb5._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_293aa0b9._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"52724":{"*":{"id":55507,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/df6079c3e636ac5a.js","static/chunks/303f525330a930e3.js","static/chunks/90607739e2665c35.js"]}} +globalThis.__RSC_MANIFEST["/project/[id]/world/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx ":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx":{"id":34779,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx ":{"id":52724,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/f5e971c332b6612c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx":{"id":52724,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4f4a170f1f4cf71f.js","/_next/static/chunks/c41bf38f229de7be.js","/_next/static/chunks/f5e971c332b6612c.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"34779":{"*":{"id":74007,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js"],"async":false}},"52724":{"*":{"id":85105,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b0f8fb18._.js","server/chunks/ssr/549ce_next_d4ca4008._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js","server/chunks/ssr/549ce_lucide-react_dist_esm_icons_293aa0b9._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"34779":{"*":{"id":57119,"name":"*","chunks":[],"async":false}},"52724":{"*":{"id":55507,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js"],"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4f4a170f1f4cf71f.js","static/chunks/c41bf38f229de7be.js","static/chunks/f5e971c332b6612c.js"]}} diff --git a/.next/server/app/signup.html b/.next/server/app/signup.html deleted file mode 100644 index e1c402c..0000000 --- a/.next/server/app/signup.html +++ /dev/null @@ -1 +0,0 @@ -PlumeIA - Éditeur Intelligent

Commencer l'aventure

Créez votre compte gratuit en quelques secondes.

Déjà membre ?

\ No newline at end of file diff --git a/.next/server/app/signup.meta b/.next/server/app/signup.meta deleted file mode 100644 index 601094b..0000000 --- a/.next/server/app/signup.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/signup/layout,_N_T_/signup/page,_N_T_/signup" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/signup/__PAGE__", - "/signup", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/signup.rsc b/.next/server/app/signup.rsc deleted file mode 100644 index 913bf35..0000000 --- a/.next/server/app/signup.rsc +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[24605,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0b0db8395d3fe8fd.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","signup"],"q":"","i":false,"f":[[["",{"children":["signup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0b0db8395d3fe8fd.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/signup.segments/_full.segment.rsc b/.next/server/app/signup.segments/_full.segment.rsc deleted file mode 100644 index 913bf35..0000000 --- a/.next/server/app/signup.segments/_full.segment.rsc +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -5:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -6:I[24605,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0b0db8395d3fe8fd.js"],"default"] -9:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -a:"$Sreact.suspense" -c:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -e:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -10:I[45235,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"b":"Pe7tof7vDBhk_kXVU7nZJ","c":["","signup"],"q":"","i":false,"f":[[["",{"children":["signup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L5",null,{"Component":"$6","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@7","$@8"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0b0db8395d3fe8fd.js","async":true,"nonce":"$undefined"}]],["$","$L9",null,{"children":["$","$a",null,{"name":"Next.MetadataOutlet","children":"$@b"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","div",null,{"hidden":true,"children":["$","$Le",null,{"children":["$","$a",null,{"name":"Next.Metadata","children":"$Lf"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$10",[]],"S":true} -7:{} -8:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params" -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:null -f:[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]] diff --git a/.next/server/app/signup.segments/_head.segment.rsc b/.next/server/app/signup.segments/_head.segment.rsc deleted file mode 100644 index 9b39d04..0000000 --- a/.next/server/app/signup.segments/_head.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"ViewportBoundary"] -3:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"PlumeIA - Éditeur Intelligent"}],["$","meta","1",{"name":"description","content":"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/signup.segments/_index.segment.rsc b/.next/server/app/signup.segments/_index.segment.rsc deleted file mode 100644 index b7c83ef..0000000 --- a/.next/server/app/signup.segments/_index.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[18404,["/_next/static/chunks/4ed6dd63873df3bd.js"],"AuthProvider"] -3:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -4:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/b96b11bb94141fa8.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/4ed6dd63873df3bd.js","async":true}]],["$","html",null,{"lang":"fr","children":["$","body",null,{"className":"inter_b2991b2-module__9mH_6q__variable merriweather_6ee6941f-module__jsOStW__variable font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300","children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/signup.segments/_tree.segment.rsc b/.next/server/app/signup.segments/_tree.segment.rsc deleted file mode 100644 index 85d23c7..0000000 --- a/.next/server/app/signup.segments/_tree.segment.rsc +++ /dev/null @@ -1,4 +0,0 @@ -:HL["/_next/static/chunks/b96b11bb94141fa8.css","style"] -:HL["/_next/static/media/248e1dc0efc99276-s.p.8a6b2436.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"signup","paramType":null,"paramKey":"signup","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300} diff --git a/.next/server/app/signup.segments/signup.segment.rsc b/.next/server/app/signup.segments/signup.segment.rsc deleted file mode 100644 index 6dc73b4..0000000 --- a/.next/server/app/signup.segments/signup.segment.rsc +++ /dev/null @@ -1,4 +0,0 @@ -1:"$Sreact.fragment" -2:I[62025,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -3:I[61849,["/_next/static/chunks/0d48399cd7665c53.js"],"default"] -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false} diff --git a/.next/server/app/signup.segments/signup/__PAGE__.segment.rsc b/.next/server/app/signup.segments/signup/__PAGE__.segment.rsc deleted file mode 100644 index df129dc..0000000 --- a/.next/server/app/signup.segments/signup/__PAGE__.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -1:"$Sreact.fragment" -2:I[74697,["/_next/static/chunks/0d48399cd7665c53.js"],"ClientPageRoot"] -3:I[24605,["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0b0db8395d3fe8fd.js"],"default"] -6:I[35523,["/_next/static/chunks/0d48399cd7665c53.js"],"OutletBoundary"] -7:"$Sreact.suspense" -0:{"buildId":"Pe7tof7vDBhk_kXVU7nZJ","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0b0db8395d3fe8fd.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false} -4:{} -5:"$0:rsc:props:children:0:props:serverProvidedParams:params" -8:null diff --git a/.next/server/app/signup/page.js b/.next/server/app/signup/page.js index 6af28a3..88b90e6 100644 --- a/.next/server/app/signup/page.js +++ b/.next/server/app/signup/page.js @@ -1,12 +1,13 @@ var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/signup/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__b26e19df._.js") -R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") +R.c("server/chunks/ssr/[root-of-the-server]__3ef35b92._.js") R.c("server/chunks/ssr/Documents_00 - projet_plumeia_dacda503._.js") -R.c("server/chunks/ssr/[root-of-the-server]__5bf29f18._.js") -R.c("server/chunks/ssr/549ce_next_dist_f187ee39._.js") -R.c("server/chunks/ssr/549ce_next_dist_470effa2._.js") +R.c("server/chunks/ssr/549ce_next_dist_752cd4f9._.js") +R.c("server/chunks/ssr/Documents_00 - projet_plumeia_56848ce7._.js") +R.c("server/chunks/ssr/[root-of-the-server]__319b55ac._.js") +R.c("server/chunks/ssr/549ce_next_dist_eb239156._.js") +R.c("server/chunks/ssr/549ce_next_dist_fd1d9597._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js") -R.c("server/chunks/ssr/[root-of-the-server]__711fc51c._.js") +R.c("server/chunks/ssr/[root-of-the-server]__b5609225._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_5ea51078._.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js") R.c("server/chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js") diff --git a/.next/server/app/signup/page.js.nft.json b/.next/server/app/signup/page.js.nft.json index 95d77ca..d7a29bf 100644 --- a/.next/server/app/signup/page.js.nft.json +++ b/.next/server/app/signup/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/.prisma/client/client.d.ts","../../../../node_modules/.prisma/client/client.js","../../../../node_modules/.prisma/client/default.d.ts","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/edge.d.ts","../../../../node_modules/.prisma/client/edge.js","../../../../node_modules/.prisma/client/index-browser.js","../../../../node_modules/.prisma/client/index.d.ts","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/.prisma/client/wasm-edge-light-loader.mjs","../../../../node_modules/.prisma/client/wasm-worker-loader.mjs","../../../../node_modules/@prisma/client/LICENSE","../../../../node_modules/@prisma/client/README.md","../../../../node_modules/@prisma/client/default.d.ts","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/edge.d.ts","../../../../node_modules/@prisma/client/edge.js","../../../../node_modules/@prisma/client/extension.d.ts","../../../../node_modules/@prisma/client/extension.js","../../../../node_modules/@prisma/client/generator-build/index.js","../../../../node_modules/@prisma/client/index-browser.js","../../../../node_modules/@prisma/client/index.d.ts","../../../../node_modules/@prisma/client/index.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.d.mts","../../../../node_modules/@prisma/client/runtime/client.d.ts","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/@prisma/client/runtime/client.js.map","../../../../node_modules/@prisma/client/runtime/client.mjs","../../../../node_modules/@prisma/client/runtime/client.mjs.map","../../../../node_modules/@prisma/client/runtime/index-browser.d.mts","../../../../node_modules/@prisma/client/runtime/index-browser.d.ts","../../../../node_modules/@prisma/client/runtime/index-browser.js","../../../../node_modules/@prisma/client/runtime/index-browser.js.map","../../../../node_modules/@prisma/client/runtime/index-browser.mjs","../../../../node_modules/@prisma/client/runtime/index-browser.mjs.map","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_fast_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.cockroachdb.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.mysql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.postgresql.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlite.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.mjs","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.js","../../../../node_modules/@prisma/client/runtime/query_compiler_small_bg.sqlserver.wasm-base64.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.js.map","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs","../../../../node_modules/@prisma/client/runtime/wasm-compiler-edge.mjs.map","../../../../node_modules/@prisma/client/scripts/colors.js","../../../../node_modules/@prisma/client/scripts/default-index.d.ts","../../../../node_modules/@prisma/client/scripts/default-index.js","../../../../node_modules/@prisma/client/sql.d.ts","../../../../node_modules/@prisma/client/sql.js","../../../../node_modules/@prisma/client/sql.mjs","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../chunks/ssr/549ce_00782eb5._.js","../../chunks/ssr/549ce_next_dist_470effa2._.js","../../chunks/ssr/549ce_next_dist_4ebb36b4._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_f187ee39._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_signup_page_actions_adad39ce.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_dacda503._.js","../../chunks/ssr/[root-of-the-server]__1a3c2506._.js","../../chunks/ssr/[root-of-the-server]__5bf29f18._.js","../../chunks/ssr/[root-of-the-server]__711fc51c._.js","../../chunks/ssr/[root-of-the-server]__b187b587._.js","../../chunks/ssr/[root-of-the-server]__b26e19df._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/query_compiler_fast_bg.js","../../../../node_modules/.prisma/client/query_compiler_fast_bg.wasm-base64.js","../../../../node_modules/@prisma/client-runtime-utils/dist/index.js","../../../../node_modules/@prisma/client-runtime-utils/package.json","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/client.js","../../../../node_modules/bcryptjs/index.js","../../../../node_modules/bcryptjs/package.json","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../node_modules/pg-cloudflare/package.json","../../../../node_modules/pg-connection-string/index.js","../../../../node_modules/pg-connection-string/package.json","../../../../node_modules/pg-int8/index.js","../../../../node_modules/pg-int8/package.json","../../../../node_modules/pg-pool/index.js","../../../../node_modules/pg-pool/package.json","../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../node_modules/pg-protocol/dist/index.js","../../../../node_modules/pg-protocol/dist/messages.js","../../../../node_modules/pg-protocol/dist/parser.js","../../../../node_modules/pg-protocol/dist/serializer.js","../../../../node_modules/pg-protocol/package.json","../../../../node_modules/pg-types/index.js","../../../../node_modules/pg-types/lib/arrayParser.js","../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../node_modules/pg-types/lib/builtins.js","../../../../node_modules/pg-types/lib/textParsers.js","../../../../node_modules/pg-types/node_modules/postgres-array/index.js","../../../../node_modules/pg-types/node_modules/postgres-array/package.json","../../../../node_modules/pg-types/package.json","../../../../node_modules/pg/esm/index.mjs","../../../../node_modules/pg/lib/client.js","../../../../node_modules/pg/lib/connection-parameters.js","../../../../node_modules/pg/lib/connection.js","../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../node_modules/pg/lib/crypto/sasl.js","../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../node_modules/pg/lib/crypto/utils.js","../../../../node_modules/pg/lib/defaults.js","../../../../node_modules/pg/lib/index.js","../../../../node_modules/pg/lib/native/client.js","../../../../node_modules/pg/lib/native/index.js","../../../../node_modules/pg/lib/native/query.js","../../../../node_modules/pg/lib/query.js","../../../../node_modules/pg/lib/result.js","../../../../node_modules/pg/lib/stream.js","../../../../node_modules/pg/lib/type-overrides.js","../../../../node_modules/pg/lib/utils.js","../../../../node_modules/pg/package.json","../../../../node_modules/pgpass/lib/helper.js","../../../../node_modules/pgpass/lib/index.js","../../../../node_modules/pgpass/package.json","../../../../node_modules/postgres-array/package.json","../../../../node_modules/postgres-bytea/index.js","../../../../node_modules/postgres-bytea/package.json","../../../../node_modules/postgres-date/index.js","../../../../node_modules/postgres-date/package.json","../../../../node_modules/postgres-interval/index.js","../../../../node_modules/postgres-interval/package.json","../../../../node_modules/split2/index.js","../../../../node_modules/split2/package.json","../../../../node_modules/xtend/mutable.js","../../../../node_modules/xtend/package.json","../../../node_modules/@prisma/client-5d1deb26a67ff978","../../../node_modules/bcryptjs-6c8cf8b3815327b5","../../../node_modules/pg-909e2581735964d3","../../chunks/ssr/549ce_next_d4ca4008._.js","../../chunks/ssr/549ce_next_dist_752cd4f9._.js","../../chunks/ssr/549ce_next_dist_b340d0ac._.js","../../chunks/ssr/549ce_next_dist_client_components_5ea51078._.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_forbidden_0318745e.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_global-error_316a03e7.js","../../chunks/ssr/549ce_next_dist_client_components_builtin_unauthorized_5a2cd2c8.js","../../chunks/ssr/549ce_next_dist_eb239156._.js","../../chunks/ssr/549ce_next_dist_fd1d9597._.js","../../chunks/ssr/80b94_00 - projet_plumeia__next-internal_server_app_signup_page_actions_adad39ce.js","../../chunks/ssr/Documents_00 - projet_plumeia_56848ce7._.js","../../chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","../../chunks/ssr/Documents_00 - projet_plumeia_dacda503._.js","../../chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","../../chunks/ssr/[root-of-the-server]__319b55ac._.js","../../chunks/ssr/[root-of-the-server]__3ef35b92._.js","../../chunks/ssr/[root-of-the-server]__b5609225._.js","../../chunks/ssr/[root-of-the-server]__ba8b7e33._.js","../../chunks/ssr/[root-of-the-server]__c50dc7b7._.js","../../chunks/ssr/[root-of-the-server]__fc4da685._.js","../../chunks/ssr/[turbopack]_runtime.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/signup/page/build-manifest.json b/.next/server/app/signup/page/build-manifest.json index 4a57b45..64c307b 100644 --- a/.next/server/app/signup/page/build-manifest.json +++ b/.next/server/app/signup/page/build-manifest.json @@ -6,11 +6,11 @@ ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ], "pages": {}, "ampFirstPages": [] diff --git a/.next/server/app/signup/page_client-reference-manifest.js b/.next/server/app/signup/page_client-reference-manifest.js index 69f9f1e..7b89fe3 100644 --- a/.next/server/app/signup/page_client-reference-manifest.js +++ b/.next/server/app/signup/page_client-reference-manifest.js @@ -1,2 +1,2 @@ globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/signup/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/0d48399cd7665c53.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx ":{"id":24605,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0b0db8395d3fe8fd.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx":{"id":24605,"name":"*","chunks":["/_next/static/chunks/4ed6dd63873df3bd.js","/_next/static/chunks/0b0db8395d3fe8fd.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1a3c2506._.js","server/chunks/ssr/549ce_next_dist_4ebb36b4._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"24605":{"*":{"id":41440,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__b187b587._.js","server/chunks/ssr/549ce_00782eb5._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"24605":{"*":{"id":35609,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/signup/page":[{"path":"static/chunks/b96b11bb94141fa8.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0d48399cd7665c53.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/4ed6dd63873df3bd.js"],"[project]/Documents/00 - projet/plumeia/src/app/signup/page":["static/chunks/4ed6dd63873df3bd.js","static/chunks/0b0db8395d3fe8fd.js"]}} +globalThis.__RSC_MANIFEST["/signup/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js":{"id":62025,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":61849,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js ":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js":{"id":74697,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js":{"id":65899,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63557,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":95835,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":35523,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js":{"id":45235,"name":"*","chunks":["/_next/static/chunks/894f41fdcd07a0a8.js","/_next/static/chunks/70fd3a4ad532944c.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx":{"id":18404,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx ":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/providers/LanguageProvider.tsx":{"id":62348,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/SignupClient.tsx ":{"id":42213,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4613c8a45de7b245.js"],"async":false},"[project]/Documents/00 - projet/plumeia/src/components/SignupClient.tsx":{"id":42213,"name":"*","chunks":["/_next/static/chunks/2dd02733d8740ca5.js","/_next/static/chunks/3da890e651d622d6.js","/_next/static/chunks/4613c8a45de7b245.js"],"async":false}},"ssrModuleMapping":{"62025":{"*":{"id":26852,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"61849":{"*":{"id":50425,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"74697":{"*":{"id":64166,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"65899":{"*":{"id":18936,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"63557":{"*":{"id":40182,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"95835":{"*":{"id":40158,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"35523":{"*":{"id":81947,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"45235":{"*":{"id":77979,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__fc4da685._.js","server/chunks/ssr/549ce_next_dist_b340d0ac._.js"],"async":false}},"18404":{"*":{"id":95121,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"62348":{"*":{"id":54607,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js"],"async":false}},"42213":{"*":{"id":28821,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__c50dc7b7._.js","server/chunks/ssr/Documents_00 - projet_plumeia_src_providers_LanguageProvider_tsx_6f7056ba._.js","server/chunks/ssr/Documents_00 - projet_plumeia_6ac9e2a6._.js","server/chunks/ssr/[root-of-the-server]__ba8b7e33._.js","server/chunks/ssr/549ce_next_d4ca4008._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"62025":{"*":{"id":84270,"name":"*","chunks":[],"async":false}},"61849":{"*":{"id":1978,"name":"*","chunks":[],"async":false}},"74697":{"*":{"id":19271,"name":"*","chunks":[],"async":false}},"65899":{"*":{"id":79957,"name":"*","chunks":[],"async":false}},"63557":{"*":{"id":46976,"name":"*","chunks":[],"async":false}},"95835":{"*":{"id":17284,"name":"*","chunks":[],"async":false}},"35523":{"*":{"id":20825,"name":"*","chunks":[],"async":false}},"45235":{"*":{"id":40284,"name":"*","chunks":[],"async":false}},"18404":{"*":{"id":22012,"name":"*","chunks":[],"async":false}},"62348":{"*":{"id":27372,"name":"*","chunks":[],"async":false}},"42213":{"*":{"id":6378,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/Documents/00 - projet/plumeia/src/app/layout":[{"path":"static/chunks/063d082511709c57.css","inlined":false}],"[project]/Documents/00 - projet/plumeia/src/app/signup/page":[{"path":"static/chunks/063d082511709c57.css","inlined":false}]},"entryJSFiles":{"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/894f41fdcd07a0a8.js","static/chunks/70fd3a4ad532944c.js"],"[project]/Documents/00 - projet/plumeia/src/app/layout":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js"],"[project]/Documents/00 - projet/plumeia/src/app/signup/page":["static/chunks/2dd02733d8740ca5.js","static/chunks/3da890e651d622d6.js","static/chunks/4613c8a45de7b245.js"]}} diff --git a/.next/server/chunks/[root-of-the-server]__71cad4f2._.js b/.next/server/chunks/[root-of-the-server]__71cad4f2._.js index bb79f4d..df7d31c 100644 --- a/.next/server/chunks/[root-of-the-server]__71cad4f2._.js +++ b/.next/server/chunks/[root-of-the-server]__71cad4f2._.js @@ -10,11 +10,11 @@ ${m} ${g}`,_=`${d}/${e.region}/${l}/aws4_request`,E=`${o} ${c} ${_} -`+await e.crypto.sha256DigestHex(y),v=await a(e.crypto,e.securityCredentials.secretAccessKey,d,e.region,l),T=await s(e.crypto,v,E),A=`${o} Credential=${e.securityCredentials.accessKeyId}/${_}, SignedHeaders=${m}, Signature=${(0,i.fromArrayBufferToHex)(T)}`;return{amzDate:t.has("date")?void 0:c,authorizationHeader:A,canonicalQuerystring:e.canonicalQuerystring}}r.AwsRequestSigner=class{getCredentials;region;crypto;constructor(e,t){this.getCredentials=e,this.region=t,this.crypto=(0,i.createCrypto)()}async getRequestOptions(e){if(!e.url)throw RangeError('"url" is required in "amzOptions"');let t="object"==typeof e.data?JSON.stringify(e.data):e.data,r=e.url,i=e.method||"GET",o=e.body||t,s=e.headers,a=await this.getCredentials(),u=new URL(r);if("string"!=typeof o&&void 0!==o)throw TypeError(`'requestPayload' is expected to be a string if provided. Got: ${o}`);let c=await l({crypto:this.crypto,host:u.host,canonicalUri:u.pathname,canonicalQuerystring:u.search.slice(1),method:i,region:this.region,securityCredentials:a,requestPayload:o,additionalAmzHeaders:s}),d=n.Gaxios.mergeHeaders(c.amzDate?{"x-amz-date":c.amzDate}:{},{authorization:c.authorizationHeader,host:u.host},s||{});a.token&&n.Gaxios.mergeHeaders(d,{"x-amz-security-token":a.token});let p={url:r,method:i,headers:d};return void 0!==o&&(p.body=o),p}}},8775,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DefaultAwsSecurityCredentialsSupplier=void 0;let n=e.r(5567);r.DefaultAwsSecurityCredentialsSupplier=class{regionUrl;securityCredentialsUrl;imdsV2SessionTokenUrl;additionalGaxiosOptions;constructor(e){this.regionUrl=e.regionUrl,this.securityCredentialsUrl=e.securityCredentialsUrl,this.imdsV2SessionTokenUrl=e.imdsV2SessionTokenUrl,this.additionalGaxiosOptions=e.additionalGaxiosOptions}async getAwsRegion(e){if(this.#T)return this.#T;let t=new Headers;if(!this.#T&&this.imdsV2SessionTokenUrl&&t.set("x-aws-ec2-metadata-token",await this.#A(e.transporter)),!this.regionUrl)throw RangeError('Unable to determine AWS region due to missing "options.credential_source.region_url"');let r={...this.additionalGaxiosOptions,url:this.regionUrl,method:"GET",responseType:"text",headers:t};n.AuthClient.setMethodName(r,"getAwsRegion");let i=await e.transporter.request(r);return i.data.substr(0,i.data.length-1)}async getAwsSecurityCredentials(e){if(this.#S)return this.#S;let t=new Headers;this.imdsV2SessionTokenUrl&&t.set("x-aws-ec2-metadata-token",await this.#A(e.transporter));let r=await this.#b(t,e.transporter),n=await this.#C(r,t,e.transporter);return{accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,token:n.Token}}async #A(e){let t={...this.additionalGaxiosOptions,url:this.imdsV2SessionTokenUrl,method:"PUT",responseType:"text",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"300"}};return n.AuthClient.setMethodName(t,"#getImdsV2SessionToken"),(await e.request(t)).data}async #b(e,t){if(!this.securityCredentialsUrl)throw Error('Unable to determine AWS role name due to missing "options.credential_source.url"');let r={...this.additionalGaxiosOptions,url:this.securityCredentialsUrl,method:"GET",responseType:"text",headers:e};return n.AuthClient.setMethodName(r,"#getAwsRoleName"),(await t.request(r)).data}async #C(e,t,r){let i={...this.additionalGaxiosOptions,url:`${this.securityCredentialsUrl}/${e}`,headers:t,responseType:"json"};return n.AuthClient.setMethodName(i,"#retrieveAwsSecurityCredentials"),(await r.request(i)).data}get #T(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||null}get #S(){return process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY?{accessKeyId:process.env.AWS_ACCESS_KEY_ID,secretAccessKey:process.env.AWS_SECRET_ACCESS_KEY,token:process.env.AWS_SESSION_TOKEN}:null}}},85338,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AwsClient=void 0;let n=e.r(3168),i=e.r(1668),o=e.r(8775),s=e.r(71850),a=e.r(65065);class l extends i.BaseExternalAccountClient{environmentId;awsSecurityCredentialsSupplier;regionalCredVerificationUrl;awsRequestSigner;region;static #O="https://sts.{region}.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15";static AWS_EC2_METADATA_IPV4_ADDRESS="169.254.169.254";static AWS_EC2_METADATA_IPV6_ADDRESS="fd00:ec2::254";constructor(e){super(e);const t=(0,s.originalOrCamelOptions)(e),r=t.get("credential_source"),n=t.get("aws_security_credentials_supplier");if(!r&&!n)throw Error("A credential source or AWS security credentials supplier must be specified.");if(r&&n)throw Error("Only one of credential source or AWS security credentials supplier can be specified.");if(n)this.awsSecurityCredentialsSupplier=n,this.regionalCredVerificationUrl=l.#O,this.credentialSourceType="programmatic";else{const e=(0,s.originalOrCamelOptions)(r);this.environmentId=e.get("environment_id");const t=e.get("region_url"),n=e.get("url"),i=e.get("imdsv2_session_token_url");this.awsSecurityCredentialsSupplier=new o.DefaultAwsSecurityCredentialsSupplier({regionUrl:t,securityCredentialsUrl:n,imdsV2SessionTokenUrl:i}),this.regionalCredVerificationUrl=e.get("regional_cred_verification_url"),this.credentialSourceType="aws",this.validateEnvironmentId()}this.awsRequestSigner=null,this.region=""}validateEnvironmentId(){let e=this.environmentId?.match(/^(aws)(\d+)$/);if(e&&this.regionalCredVerificationUrl){if(1!==parseInt(e[2],10))throw Error(`aws version "${e[2]}" is not supported in the current build.`)}else throw Error('No valid AWS "credential_source" provided')}async retrieveSubjectToken(){this.awsRequestSigner||(this.region=await this.awsSecurityCredentialsSupplier.getAwsRegion(this.supplierContext),this.awsRequestSigner=new n.AwsRequestSigner(async()=>this.awsSecurityCredentialsSupplier.getAwsSecurityCredentials(this.supplierContext),this.region));let e=await this.awsRequestSigner.getRequestOptions({...l.RETRY_CONFIG,url:this.regionalCredVerificationUrl.replace("{region}",this.region),method:"POST"}),t=[];return a.Gaxios.mergeHeaders({"x-goog-cloud-target-resource":this.audience},e.headers).forEach((e,r)=>t.push({key:r,value:e})),encodeURIComponent(JSON.stringify({url:e.url,method:e.method,headers:t}))}}r.AwsClient=l},21475,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InvalidSubjectTokenError=r.InvalidMessageFieldError=r.InvalidCodeFieldError=r.InvalidTokenTypeFieldError=r.InvalidExpirationTimeFieldError=r.InvalidSuccessFieldError=r.InvalidVersionFieldError=r.ExecutableResponseError=r.ExecutableResponse=void 0;let n="urn:ietf:params:oauth:token-type:saml2",i="urn:ietf:params:oauth:token-type:id_token",o="urn:ietf:params:oauth:token-type:jwt";r.ExecutableResponse=class{version;success;expirationTime;tokenType;errorCode;errorMessage;subjectToken;constructor(e){if(!e.version)throw new a("Executable response must contain a 'version' field.");if(void 0===e.success)throw new l("Executable response must contain a 'success' field.");if(this.version=e.version,this.success=e.success,this.success){if(this.expirationTime=e.expiration_time,this.tokenType=e.token_type,this.tokenType!==n&&this.tokenType!==i&&this.tokenType!==o)throw new u(`Executable response must contain a 'token_type' field when successful and it must be one of ${i}, ${o}, or ${n}.`);if(this.tokenType===n){if(!e.saml_response)throw new p(`Executable response must contain a 'saml_response' field when token_type=${n}.`);this.subjectToken=e.saml_response}else{if(!e.id_token)throw new p(`Executable response must contain a 'id_token' field when token_type=${i} or ${o}.`);this.subjectToken=e.id_token}}else{if(!e.code)throw new c("Executable response must contain a 'code' field when unsuccessful.");if(!e.message)throw new d("Executable response must contain a 'message' field when unsuccessful.");this.errorCode=e.code,this.errorMessage=e.message}}isValid(){return!this.isExpired()&&this.success}isExpired(){return void 0!==this.expirationTime&&this.expirationTime{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PluggableAuthHandler=r.ExecutableError=void 0;let n=e.r(21475),i=e.r(33405),o=e.r(22734);class s extends Error{code;constructor(e,t){super(`The executable failed with exit code: ${t} and error message: ${e}.`),this.code=t,Object.setPrototypeOf(this,new.target.prototype)}}r.ExecutableError=s;class a{commandComponents;timeoutMillis;outputFile;constructor(e){if(!e.command)throw Error("No command provided.");if(this.commandComponents=a.parseCommand(e.command),this.timeoutMillis=e.timeoutMillis,!this.timeoutMillis)throw Error("No timeoutMillis provided.");this.outputFile=e.outputFile}retrieveResponseFromExecutable(e){return new Promise((t,r)=>{let o=i.spawn(this.commandComponents[0],this.commandComponents.slice(1),{env:{...process.env,...Object.fromEntries(e)}}),a="";o.stdout.on("data",e=>{a+=e}),o.stderr.on("data",e=>{a+=e});let l=setTimeout(()=>(o.removeAllListeners(),o.kill(),r(Error("The executable failed to finish within the timeout specified."))),this.timeoutMillis);o.on("close",e=>{if(clearTimeout(l),0!==e)return r(new s(a,e.toString()));try{let e=JSON.parse(a),r=new n.ExecutableResponse(e);return t(r)}catch(e){if(e instanceof n.ExecutableResponseError)return r(e);return r(new n.ExecutableResponseError(`The executable returned an invalid response: ${a}`))}})})}async retrieveCachedResponse(){let e;if(!this.outputFile||0===this.outputFile.length)return;try{e=await o.promises.realpath(this.outputFile)}catch{return}if(!(await o.promises.lstat(e)).isFile())return;let t=await o.promises.readFile(e,{encoding:"utf8"});if(""!==t)try{let e=JSON.parse(t);if(new n.ExecutableResponse(e).isValid())return new n.ExecutableResponse(e);return}catch(e){if(e instanceof n.ExecutableResponseError)throw e;throw new n.ExecutableResponseError(`The output file contained an invalid response: ${t}`)}}static parseCommand(e){let t=e.match(/(?:[^\s"]+|"[^"]*")+/g);if(!t)throw Error(`Provided command: "${e}" could not be parsed.`);for(let e=0;e{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PluggableAuthClient=r.ExecutableError=void 0;let n=e.r(1668),i=e.r(21475),o=e.r(33946);var s=e.r(33946);Object.defineProperty(r,"ExecutableError",{enumerable:!0,get:function(){return s.ExecutableError}});class a extends n.BaseExternalAccountClient{command;timeoutMillis;outputFile;handler;constructor(e){if(super(e),!e.credential_source.executable||(this.command=e.credential_source.executable.command,!this.command))throw Error('No valid Pluggable Auth "credential_source" provided.');if(void 0===e.credential_source.executable.timeout_millis)this.timeoutMillis=3e4;else if(this.timeoutMillis=e.credential_source.executable.timeout_millis,this.timeoutMillis<5e3||this.timeoutMillis>12e4)throw Error("Timeout must be between 5000120000 milliseconds.");this.outputFile=e.credential_source.executable.output_file,this.handler=new o.PluggableAuthHandler({command:this.command,timeoutMillis:this.timeoutMillis,outputFile:this.outputFile}),this.credentialSourceType="executable"}async retrieveSubjectToken(){let e;if("1"!==process.env.GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES)throw Error("Pluggable Auth executables need to be explicitly allowed to run by setting the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment Variable to 1.");if(this.outputFile&&(e=await this.handler.retrieveCachedResponse()),!e){let t=new Map;t.set("GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE",this.audience),t.set("GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE",this.subjectTokenType),t.set("GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE","0"),this.outputFile&&t.set("GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE",this.outputFile);let r=this.getServiceAccountEmail();r&&t.set("GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL",r),e=await this.handler.retrieveResponseFromExecutable(t)}if(e.version>1)throw Error("Version of executable is not currently supported, maximum supported version is 1.");if(!e.success)throw new o.ExecutableError(e.errorMessage,e.errorCode);if(this.outputFile&&!e.expirationTime)throw new i.InvalidExpirationTimeFieldError("The executable response must contain the `expiration_time` field for successful responses when an output_file has been specified in the configuration.");if(e.isExpired())throw Error("Executable response is expired.");return e.subjectToken}}r.PluggableAuthClient=a},87092,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExternalAccountClient=void 0;let n=e.r(1668),i=e.r(984),o=e.r(85338),s=e.r(65006);r.ExternalAccountClient=class{constructor(){throw Error("ExternalAccountClients should be initialized via: ExternalAccountClient.fromJSON(), directly via explicit constructors, eg. new AwsClient(options), new IdentityPoolClient(options), newPluggableAuthClientOptions, or via new GoogleAuth(options).getClient()")}static fromJSON(e){return e&&e.type===n.EXTERNAL_ACCOUNT_TYPE?e.credential_source?.environment_id?new o.AwsClient(e):e.credential_source?.executable?new s.PluggableAuthClient(e):new i.IdentityPoolClient(e):null}}},52589,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExternalAccountAuthorizedUserClient=r.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE=void 0;let n=e.r(5567),i=e.r(15774),o=e.r(65065),s=e.r(88947),a=e.r(1668);r.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE="external_account_authorized_user";class l extends i.OAuthClientAuthHandler{#I;constructor(e){super(e),this.#I=e.tokenRefreshEndpoint}async refreshToken(e,t){let r={...l.RETRY_CONFIG,url:this.#I,method:"POST",headers:t,data:new URLSearchParams({grant_type:"refresh_token",refresh_token:e}),responseType:"json"};n.AuthClient.setMethodName(r,"refreshToken"),this.applyClientAuthenticationOptions(r);try{let e=await this.transporter.request(r),t=e.data;return t.res=e,t}catch(e){if(e instanceof o.GaxiosError&&e.response)throw(0,i.getErrorFromOAuthErrorResponse)(e.response.data,e);throw e}}}class u extends n.AuthClient{cachedAccessToken;externalAccountAuthorizedUserHandler;refreshToken;constructor(e){super(e),e.universe_domain&&(this.universeDomain=e.universe_domain),this.refreshToken=e.refresh_token;const t={confidentialClientType:"basic",clientId:e.client_id,clientSecret:e.client_secret};this.externalAccountAuthorizedUserHandler=new l({tokenRefreshEndpoint:e.token_url??"https://sts.{universeDomain}/v1/oauthtoken".replace("{universeDomain}",this.universeDomain),transporter:this.transporter,clientAuthentication:t}),this.cachedAccessToken=null,this.quotaProjectId=e.quota_project_id,"number"!=typeof e?.eagerRefreshThresholdMillis?this.eagerRefreshThresholdMillis=a.EXPIRATION_TIME_OFFSET:this.eagerRefreshThresholdMillis=e.eagerRefreshThresholdMillis,this.forceRefreshOnFailure=!!e?.forceRefreshOnFailure}async getAccessToken(){return(!this.cachedAccessToken||this.isExpired(this.cachedAccessToken))&&await this.refreshAccessTokenAsync(),{token:this.cachedAccessToken.access_token,res:this.cachedAccessToken.res}}async getRequestHeaders(){let e=await this.getAccessToken(),t=new Headers({authorization:`Bearer ${e.token}`});return this.addSharedMetadataHeaders(t)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then(e=>t(null,e),e=>t(e,e.response))}async requestAsync(e,t=!1){let r;try{let t=await this.getRequestHeaders();e.headers=o.Gaxios.mergeHeaders(e.headers),this.addUserProjectAndAuthHeaders(e.headers,t),r=await this.transporter.request(e)}catch(n){let r=n.response;if(r){let n=r.status,i=r.config.data instanceof s.Readable;if(!t&&(401===n||403===n)&&!i&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return r}async refreshAccessTokenAsync(){let e=await this.externalAccountAuthorizedUserHandler.refreshToken(this.refreshToken);return this.cachedAccessToken={access_token:e.access_token,expiry_date:new Date().getTime()+1e3*e.expires_in,res:e.res},void 0!==e.refresh_token&&(this.refreshToken=e.refresh_token),this.cachedAccessToken}isExpired(e){let t=new Date().getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}}r.ExternalAccountAuthorizedUserClient=u},5670,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAuth=r.GoogleAuthExceptionMessages=void 0;let n=e.r(33405),i=e.r(22734),o=e.r(65065),s=e.r(37876),a=e.r(46786),l=e.r(14747),u=e.r(24715),c=e.r(72020),d=e.r(19820),p=e.r(68791),h=e.r(25922),f=e.r(87155),m=e.r(7534),g=e.r(87092),y=e.r(1668),_=e.r(5567),E=e.r(52589),v=e.r(71850);r.GoogleAuthExceptionMessages={API_KEY_WITH_CREDENTIALS:"API Keys and Credentials are mutually exclusive authentication methods and cannot be used together.",NO_PROJECT_ID_FOUND:"Unable to detect a Project Id in the current environment. \nTo learn more about authentication and Google APIs, visit: \nhttps://cloud.google.com/docs/authentication/getting-started",NO_CREDENTIALS_FOUND:"Unable to find credentials in current environment. \nTo learn more about authentication and Google APIs, visit: \nhttps://cloud.google.com/docs/authentication/getting-started",NO_ADC_FOUND:"Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.",NO_UNIVERSE_DOMAIN_FOUND:"Unable to detect a Universe Domain in the current environment.\nTo learn more about Universe Domain retrieval, visit: \nhttps://cloud.google.com/compute/docs/metadata/predefined-metadata-keys"},r.GoogleAuth=class{checkIsGCE=void 0;useJWTAccessWithScope;defaultServicePath;get isGCE(){return this.checkIsGCE}_findProjectIdPromise;_cachedProjectId;jsonContent=null;apiKey;cachedCredential=null;#w=null;defaultScopes;keyFilename;scopes;clientOptions={};constructor(e={}){if(this._cachedProjectId=e.projectId||null,this.cachedCredential=e.authClient||null,this.keyFilename=e.keyFilename||e.keyFile,this.scopes=e.scopes,this.clientOptions=e.clientOptions||{},this.jsonContent=e.credentials||null,this.apiKey=e.apiKey||this.clientOptions.apiKey||null,this.apiKey&&(this.jsonContent||this.clientOptions.credentials))throw RangeError(r.GoogleAuthExceptionMessages.API_KEY_WITH_CREDENTIALS);e.universeDomain&&(this.clientOptions.universeDomain=e.universeDomain)}setGapicJWTValues(e){e.defaultServicePath=this.defaultServicePath,e.useJWTAccessWithScope=this.useJWTAccessWithScope,e.defaultScopes=this.defaultScopes}getProjectId(e){if(!e)return this.getProjectIdAsync();this.getProjectIdAsync().then(t=>e(null,t),e)}async getProjectIdOptional(){try{return await this.getProjectId()}catch(e){if(e instanceof Error&&e.message===r.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)return null;throw e}}async findAndCacheProjectId(){let e=null;if(e||=await this.getProductionProjectId(),e||=await this.getFileProjectId(),e||=await this.getDefaultServiceProjectId(),e||=await this.getGCEProjectId(),e||=await this.getExternalAccountClientProjectId())return this._cachedProjectId=e,e;throw Error(r.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)}async getProjectIdAsync(){return this._cachedProjectId?this._cachedProjectId:(this._findProjectIdPromise||(this._findProjectIdPromise=this.findAndCacheProjectId()),this._findProjectIdPromise)}async getUniverseDomainFromMetadataServer(){let e;try{e=await s.universe("universe-domain"),e||=_.DEFAULT_UNIVERSE}catch(t){if(t&&t?.response?.status===404)e=_.DEFAULT_UNIVERSE;else throw t}return e}async getUniverseDomain(){let e=(0,v.originalOrCamelOptions)(this.clientOptions).get("universe_domain");try{e??=(await this.getClient()).universeDomain}catch{e??=_.DEFAULT_UNIVERSE}return e}getAnyScopes(){return this.scopes||this.defaultScopes}getApplicationDefault(e={},t){let r;if("function"==typeof e?t=e:r=e,!t)return this.getApplicationDefaultAsync(r);this.getApplicationDefaultAsync(r).then(e=>t(null,e.credential,e.projectId),t)}async getApplicationDefaultAsync(e={}){let t;if(this.cachedCredential)return await this.#R(this.cachedCredential,null);if((t=await this._tryGetApplicationCredentialsFromEnvironmentVariable(e))||(t=await this._tryGetApplicationCredentialsFromWellKnownFile(e)))return t instanceof h.JWT?t.scopes=this.scopes:t instanceof y.BaseExternalAccountClient&&(t.scopes=this.getAnyScopes()),await this.#R(t);if(await this._checkIsGCE())return e.scopes=this.getAnyScopes(),await this.#R(new c.Compute(e));throw Error(r.GoogleAuthExceptionMessages.NO_ADC_FOUND)}async #R(e,t=process.env.GOOGLE_CLOUD_QUOTA_PROJECT||null){let r=await this.getProjectIdOptional();return t&&(e.quotaProjectId=t),this.cachedCredential=e,{credential:e,projectId:r}}async _checkIsGCE(){return void 0===this.checkIsGCE&&(this.checkIsGCE=s.getGCPResidency()||await s.isAvailable()),this.checkIsGCE}async _tryGetApplicationCredentialsFromEnvironmentVariable(e){let t=process.env.GOOGLE_APPLICATION_CREDENTIALS||process.env.google_application_credentials;if(!t||0===t.length)return null;try{return this._getApplicationCredentialsFromFilePath(t,e)}catch(e){throw e instanceof Error&&(e.message=`Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${e.message}`),e}}async _tryGetApplicationCredentialsFromWellKnownFile(e){let t=null;if(this._isWindows())t=process.env.APPDATA;else{let e=process.env.HOME;e&&(t=l.join(e,".config"))}return(t&&(t=l.join(t,"gcloud","application_default_credentials.json"),i.existsSync(t)||(t=null)),t)?await this._getApplicationCredentialsFromFilePath(t,e):null}async _getApplicationCredentialsFromFilePath(e,t={}){if(!e||0===e.length)throw Error("The file path is invalid.");try{if(e=i.realpathSync(e),!i.lstatSync(e).isFile())throw Error()}catch(t){throw t instanceof Error&&(t.message=`The file at ${e} does not exist, or it is not a file. ${t.message}`),t}let r=i.createReadStream(e);return this.fromStream(r,t)}fromImpersonatedJSON(e){if(!e)throw Error("Must pass in a JSON object containing an impersonated refresh token");if(e.type!==m.IMPERSONATED_ACCOUNT_TYPE)throw Error(`The incoming JSON object does not have the "${m.IMPERSONATED_ACCOUNT_TYPE}" type`);if(!e.source_credentials)throw Error("The incoming JSON object does not contain a source_credentials field");if(!e.service_account_impersonation_url)throw Error("The incoming JSON object does not contain a service_account_impersonation_url field");let t=this.fromJSON(e.source_credentials);if(e.service_account_impersonation_url?.length>256)throw RangeError(`Target principal is too long: ${e.service_account_impersonation_url}`);let r=/(?[^/]+):(generateAccessToken|generateIdToken)$/.exec(e.service_account_impersonation_url)?.groups?.target;if(!r)throw RangeError(`Cannot extract target principal from ${e.service_account_impersonation_url}`);let n=(this.scopes||e.scopes||this.defaultScopes)??[];return new m.Impersonated({...e,sourceClient:t,targetPrincipal:r,targetScopes:Array.isArray(n)?n:[n]})}fromJSON(e,t={}){let r,n=(0,v.originalOrCamelOptions)(t).get("universe_domain");return e.type===f.USER_REFRESH_ACCOUNT_TYPE?(r=new f.UserRefreshClient(t)).fromJSON(e):e.type===m.IMPERSONATED_ACCOUNT_TYPE?r=this.fromImpersonatedJSON(e):e.type===y.EXTERNAL_ACCOUNT_TYPE?(r=g.ExternalAccountClient.fromJSON({...e,...t})).scopes=this.getAnyScopes():e.type===E.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE?r=new E.ExternalAccountAuthorizedUserClient({...e,...t}):(t.scopes=this.scopes,r=new h.JWT(t),this.setGapicJWTValues(r),r.fromJSON(e)),n&&(r.universeDomain=n),r}_cacheClientFromJSON(e,t){let r=this.fromJSON(e,t);return this.jsonContent=e,this.cachedCredential=r,r}fromStream(e,t={},r){let n={};if("function"==typeof t?r=t:n=t,!r)return this.fromStreamAsync(e,n);this.fromStreamAsync(e,n).then(e=>r(null,e),r)}fromStreamAsync(e,t){return new Promise((r,n)=>{if(!e)throw Error("Must pass in a stream containing the Google auth settings.");let i=[];e.setEncoding("utf8").on("error",n).on("data",e=>i.push(e)).on("end",()=>{try{try{let e=JSON.parse(i.join("")),n=this._cacheClientFromJSON(e,t);return r(n)}catch(t){if(!this.keyFilename)throw t;let e=new h.JWT({...this.clientOptions,keyFile:this.keyFilename});return this.cachedCredential=e,this.setGapicJWTValues(e),r(e)}}catch(e){return n(e)}})})}fromAPIKey(e,t={}){return new h.JWT({...t,apiKey:e})}_isWindows(){let e=a.platform();return!!e&&!!(e.length>=3)&&"win"===e.substring(0,3).toLowerCase()}async getDefaultServiceProjectId(){return new Promise(e=>{(0,n.exec)("gcloud config config-helper --format json",(t,r)=>{if(!t&&r)try{let t=JSON.parse(r).configuration.properties.core.project;e(t);return}catch(e){}e(null)})})}getProductionProjectId(){return process.env.GCLOUD_PROJECT||process.env.GOOGLE_CLOUD_PROJECT||process.env.gcloud_project||process.env.google_cloud_project}async getFileProjectId(){if(this.cachedCredential)return this.cachedCredential.projectId;if(this.keyFilename){let e=await this.getClient();if(e&&e.projectId)return e.projectId}let e=await this._tryGetApplicationCredentialsFromEnvironmentVariable();return e?e.projectId:null}async getExternalAccountClientProjectId(){if(!this.jsonContent||this.jsonContent.type!==y.EXTERNAL_ACCOUNT_TYPE)return null;let e=await this.getClient();return await e.getProjectId()}async getGCEProjectId(){try{return await s.project("project-id")}catch(e){return null}}getCredentials(e){if(!e)return this.getCredentialsAsync();this.getCredentialsAsync().then(t=>e(null,t),e)}async getCredentialsAsync(){let e=await this.getClient();if(e instanceof m.Impersonated)return{client_email:e.getTargetPrincipal()};if(e instanceof y.BaseExternalAccountClient){let t=e.getServiceAccountEmail();if(t)return{client_email:t,universe_domain:e.universeDomain}}if(this.jsonContent)return{client_email:this.jsonContent.client_email,private_key:this.jsonContent.private_key,universe_domain:this.jsonContent.universe_domain};if(await this._checkIsGCE()){let[e,t]=await Promise.all([s.instance("service-accounts/default/email"),this.getUniverseDomain()]);return{client_email:e,universe_domain:t}}throw Error(r.GoogleAuthExceptionMessages.NO_CREDENTIALS_FOUND)}async getClient(){if(this.cachedCredential)return this.cachedCredential;this.#w=this.#w||this.#N();try{return await this.#w}finally{this.#w=null}}async #N(){if(this.jsonContent)return this._cacheClientFromJSON(this.jsonContent,this.clientOptions);if(this.keyFilename){let e=l.resolve(this.keyFilename),t=i.createReadStream(e);return await this.fromStreamAsync(t,this.clientOptions)}if(this.apiKey){let e=await this.fromAPIKey(this.apiKey,this.clientOptions);e.scopes=this.scopes;let{credential:t}=await this.#R(e);return t}{let{credential:e}=await this.getApplicationDefaultAsync(this.clientOptions);return e}}async getIdTokenClient(e){let t=await this.getClient();if(!("fetchIdToken"in t))throw Error("Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.");return new d.IdTokenClient({targetAudience:e,idTokenProvider:t})}async getAccessToken(){let e=await this.getClient();return(await e.getAccessToken()).token}async getRequestHeaders(e){return(await this.getClient()).getRequestHeaders(e)}async authorizeRequest(e={}){let t=e.url,r=await this.getClient(),n=await r.getRequestHeaders(t);return e.headers=o.Gaxios.mergeHeaders(e.headers,n),e}async fetch(...e){return(await this.getClient()).fetch(...e)}async request(e){return(await this.getClient()).request(e)}getEnv(){return(0,p.getEnv)()}async sign(e,t){let r=await this.getClient(),n=await this.getUniverseDomain();if(t=t||`https://iamcredentials.${n}/v1/projects/-/serviceAccounts/`,r instanceof m.Impersonated)return(await r.sign(e)).signedBlob;let i=(0,u.createCrypto)();if(r instanceof h.JWT&&r.key)return await i.sign(r.key,e);let o=await this.getCredentials();if(!o.client_email)throw Error("Cannot sign data without `client_email`.");return this.signBlob(i,o.client_email,e,t)}async signBlob(e,t,r,n){let i=new URL(n+`${t}:signBlob`);return(await this.request({method:"POST",url:i.href,data:{payload:e.encodeBase64StringUtf8(r)},retry:!0,retryConfig:{httpMethodsToRetry:["POST"]}})).data.signedBlob}}},88850,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.IAMAuth=void 0,r.IAMAuth=class{selector;token;constructor(e,t){this.selector=e,this.token=t,this.selector=e,this.token=t}getRequestHeaders(){return{"x-goog-iam-authority-selector":this.selector,"x-goog-iam-authorization-token":this.token}}}},35244,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DownscopedClient=r.EXPIRATION_TIME_OFFSET=r.MAX_ACCESS_BOUNDARY_RULES_COUNT=void 0;let n=e.r(65065),i=e.r(88947),o=e.r(5567),s=e.r(91007);r.MAX_ACCESS_BOUNDARY_RULES_COUNT=10,r.EXPIRATION_TIME_OFFSET=3e5;class a extends o.AuthClient{authClient;credentialAccessBoundary;cachedDownscopedAccessToken;stsCredential;constructor(e,t={accessBoundary:{accessBoundaryRules:[]}}){if(super(e instanceof o.AuthClient?{}:e),e instanceof o.AuthClient?(this.authClient=e,this.credentialAccessBoundary=t):(this.authClient=e.authClient,this.credentialAccessBoundary=e.credentialAccessBoundary),0===this.credentialAccessBoundary.accessBoundary.accessBoundaryRules.length)throw Error("At least one access boundary rule needs to be defined.");if(this.credentialAccessBoundary.accessBoundary.accessBoundaryRules.length>r.MAX_ACCESS_BOUNDARY_RULES_COUNT)throw Error(`The provided access boundary has more than ${r.MAX_ACCESS_BOUNDARY_RULES_COUNT} access boundary rules.`);for(const e of this.credentialAccessBoundary.accessBoundary.accessBoundaryRules)if(0===e.availablePermissions.length)throw Error("At least one permission should be defined in access boundary rules.");this.stsCredential=new s.StsCredentials({tokenExchangeEndpoint:`https://sts.${this.universeDomain}/v1/token`}),this.cachedDownscopedAccessToken=null}setCredentials(e){if(!e.expiry_date)throw Error("The access token expiry_date field is missing in the provided credentials.");super.setCredentials(e),this.cachedDownscopedAccessToken=e}async getAccessToken(){return(!this.cachedDownscopedAccessToken||this.isExpired(this.cachedDownscopedAccessToken))&&await this.refreshAccessTokenAsync(),{token:this.cachedDownscopedAccessToken.access_token,expirationTime:this.cachedDownscopedAccessToken.expiry_date,res:this.cachedDownscopedAccessToken.res}}async getRequestHeaders(){let e=await this.getAccessToken(),t=new Headers({authorization:`Bearer ${e.token}`});return this.addSharedMetadataHeaders(t)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then(e=>t(null,e),e=>t(e,e.response))}async requestAsync(e,t=!1){let r;try{let t=await this.getRequestHeaders();e.headers=n.Gaxios.mergeHeaders(e.headers),this.addUserProjectAndAuthHeaders(e.headers,t),r=await this.transporter.request(e)}catch(n){let r=n.response;if(r){let n=r.status,o=r.config.data instanceof i.Readable;if(!t&&(401===n||403===n)&&!o&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return r}async refreshAccessTokenAsync(){let e=(await this.authClient.getAccessToken()).token,t=await this.stsCredential.exchangeToken({grantType:"urn:ietf:params:oauth:grant-type:token-exchange",requestedTokenType:"urn:ietf:params:oauth:token-type:access_token",subjectToken:e,subjectTokenType:"urn:ietf:params:oauth:token-type:access_token"},void 0,this.credentialAccessBoundary),r=this.authClient.credentials?.expiry_date||null,n=t.expires_in?new Date().getTime()+1e3*t.expires_in:r;return this.cachedDownscopedAccessToken={access_token:t.access_token,expiry_date:n,res:t.res},this.credentials={},Object.assign(this.credentials,this.cachedDownscopedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedDownscopedAccessToken.expiry_date,access_token:this.cachedDownscopedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedDownscopedAccessToken}isExpired(e){let t=new Date().getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}}r.DownscopedClient=a},1798,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PassThroughClient=void 0;let n=e.r(5567);class i extends n.AuthClient{async request(e){return this.transporter.request(e)}async getAccessToken(){return{}}async getRequestHeaders(){return new Headers}}r.PassThroughClient=i},40259,(e,t,r)=>{"use strict";var n=e.e&&e.e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=e.e&&e.e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAuth=r.auth=r.PassThroughClient=r.ExternalAccountAuthorizedUserClient=r.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE=r.ExecutableError=r.PluggableAuthClient=r.DownscopedClient=r.BaseExternalAccountClient=r.ExternalAccountClient=r.IdentityPoolClient=r.AwsRequestSigner=r.AwsClient=r.UserRefreshClient=r.LoginTicket=r.ClientAuthentication=r.OAuth2Client=r.CodeChallengeMethod=r.Impersonated=r.JWT=r.JWTAccess=r.IdTokenClient=r.IAMAuth=r.GCPEnv=r.Compute=r.DEFAULT_UNIVERSE=r.AuthClient=r.gaxios=r.gcpMetadata=void 0;let o=e.r(5670);Object.defineProperty(r,"GoogleAuth",{enumerable:!0,get:function(){return o.GoogleAuth}}),r.gcpMetadata=e.r(37876),r.gaxios=e.r(65065);var s=e.r(5567);Object.defineProperty(r,"AuthClient",{enumerable:!0,get:function(){return s.AuthClient}}),Object.defineProperty(r,"DEFAULT_UNIVERSE",{enumerable:!0,get:function(){return s.DEFAULT_UNIVERSE}});var a=e.r(72020);Object.defineProperty(r,"Compute",{enumerable:!0,get:function(){return a.Compute}});var l=e.r(68791);Object.defineProperty(r,"GCPEnv",{enumerable:!0,get:function(){return l.GCPEnv}});var u=e.r(88850);Object.defineProperty(r,"IAMAuth",{enumerable:!0,get:function(){return u.IAMAuth}});var c=e.r(19820);Object.defineProperty(r,"IdTokenClient",{enumerable:!0,get:function(){return c.IdTokenClient}});var d=e.r(95479);Object.defineProperty(r,"JWTAccess",{enumerable:!0,get:function(){return d.JWTAccess}});var p=e.r(25922);Object.defineProperty(r,"JWT",{enumerable:!0,get:function(){return p.JWT}});var h=e.r(7534);Object.defineProperty(r,"Impersonated",{enumerable:!0,get:function(){return h.Impersonated}});var f=e.r(43812);Object.defineProperty(r,"CodeChallengeMethod",{enumerable:!0,get:function(){return f.CodeChallengeMethod}}),Object.defineProperty(r,"OAuth2Client",{enumerable:!0,get:function(){return f.OAuth2Client}}),Object.defineProperty(r,"ClientAuthentication",{enumerable:!0,get:function(){return f.ClientAuthentication}});var m=e.r(45219);Object.defineProperty(r,"LoginTicket",{enumerable:!0,get:function(){return m.LoginTicket}});var g=e.r(87155);Object.defineProperty(r,"UserRefreshClient",{enumerable:!0,get:function(){return g.UserRefreshClient}});var y=e.r(85338);Object.defineProperty(r,"AwsClient",{enumerable:!0,get:function(){return y.AwsClient}});var _=e.r(3168);Object.defineProperty(r,"AwsRequestSigner",{enumerable:!0,get:function(){return _.AwsRequestSigner}});var E=e.r(984);Object.defineProperty(r,"IdentityPoolClient",{enumerable:!0,get:function(){return E.IdentityPoolClient}});var v=e.r(87092);Object.defineProperty(r,"ExternalAccountClient",{enumerable:!0,get:function(){return v.ExternalAccountClient}});var T=e.r(1668);Object.defineProperty(r,"BaseExternalAccountClient",{enumerable:!0,get:function(){return T.BaseExternalAccountClient}});var A=e.r(35244);Object.defineProperty(r,"DownscopedClient",{enumerable:!0,get:function(){return A.DownscopedClient}});var S=e.r(65006);Object.defineProperty(r,"PluggableAuthClient",{enumerable:!0,get:function(){return S.PluggableAuthClient}}),Object.defineProperty(r,"ExecutableError",{enumerable:!0,get:function(){return S.ExecutableError}});var b=e.r(52589);Object.defineProperty(r,"EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE",{enumerable:!0,get:function(){return b.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE}}),Object.defineProperty(r,"ExternalAccountAuthorizedUserClient",{enumerable:!0,get:function(){return b.ExternalAccountAuthorizedUserClient}});var C=e.r(1798);Object.defineProperty(r,"PassThroughClient",{enumerable:!0,get:function(){return C.PassThroughClient}}),i(e.r(12408),r),r.auth=new o.GoogleAuth},24868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},88646,(e,t,r)=>{t.exports=e.x("node:stream/promises",()=>require("node:stream/promises"))},6461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},2198,(e,t,r)=>{"use strict";let n=["nodebuffer","arraybuffer","fragments"],i="u">typeof Blob;i&&n.push("blob"),t.exports={BINARY_TYPES:n,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:i,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},54875,(e,t,r)=>{"use strict";let{EMPTY_BUFFER:n}=e.r(2198),i=Buffer[Symbol.species];function o(e,t,r,n,i){for(let o=0;o{let e=Error("Cannot find module 'bufferutil'");throw e.code="MODULE_NOT_FOUND",e})();t.exports.mask=function(t,r,n,i,s){s<48?o(t,r,n,i,s):e.mask(t,r,n,i,s)},t.exports.unmask=function(t,r){t.length<32?s(t,r):e.unmask(t,r)}}catch(e){}},71630,(e,t,r)=>{"use strict";let n=Symbol("kDone"),i=Symbol("kRun");t.exports=class{constructor(e){this[n]=()=>{this.pending--,this[i]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[i]()}[i](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[n])}}}},18768,(e,t,r)=>{"use strict";let n,i=e.r(6461),o=e.r(54875),s=e.r(71630),{kStatusCode:a}=e.r(2198),l=Buffer[Symbol.species],u=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),d=Symbol("total-length"),p=Symbol("callback"),h=Symbol("buffers"),f=Symbol("error");function m(e){this[h].push(e),this[d]+=e.length}function g(e){(this[d]+=e.length,this[c]._maxPayload<1||this[d]<=this[c]._maxPayload)?this[h].push(e):(this[f]=RangeError("Max payload size exceeded"),this[f].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[f][a]=1009,this.removeListener("data",g),this.reset())}function y(e){(this[c]._inflate=null,this[f])?this[p](this[f]):(e[a]=1007,this[p](e))}t.exports=class{constructor(e,t,r){this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,n||(n=new s(void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10))}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[p];this._deflate.close(),this._deflate=null,e&&e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,r=e.find(e=>(!1!==t.serverNoContextTakeover||!e.server_no_context_takeover)&&(!e.server_max_window_bits||!1!==t.serverMaxWindowBits&&("number"!=typeof t.serverMaxWindowBits||!(t.serverMaxWindowBits>e.server_max_window_bits)))&&("number"!=typeof t.clientMaxWindowBits||!!e.client_max_window_bits));if(!r)throw Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:(!0===r.client_max_window_bits||!1===t.clientMaxWindowBits)&&delete r.client_max_window_bits,r}acceptAsClient(e){let t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach(e=>{Object.keys(e).forEach(t=>{let r=e[t];if(r.length>1)throw Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if("client_no_context_takeover"===t||"server_no_context_takeover"===t){if(!0!==r)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else throw Error(`Unknown parameter "${t}"`);e[t]=r})}),e}decompress(e,t,r){n.add(n=>{this._decompress(e,t,(e,t)=>{n(),r(e,t)})})}compress(e,t,r){n.add(n=>{this._compress(e,t,(e,t)=>{n(),r(e,t)})})}_decompress(e,t,r){let n=this._isServer?"client":"server";if(!this._inflate){let e=`${n}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=i.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[d]=0,this._inflate[h]=[],this._inflate.on("error",y),this._inflate.on("data",g)}this._inflate[p]=r,this._inflate.write(e),t&&this._inflate.write(u),this._inflate.flush(()=>{let e=this._inflate[f];if(e){this._inflate.close(),this._inflate=null,r(e);return}let i=o.concat(this._inflate[h],this._inflate[d]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[d]=0,this._inflate[h]=[],t&&this.params[`${n}_no_context_takeover`]&&this._inflate.reset()),r(null,i)})}_compress(e,t,r){let n=this._isServer?"server":"client";if(!this._deflate){let e=`${n}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=i.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[d]=0,this._deflate[h]=[],this._deflate.on("data",m)}this._deflate[p]=r,this._deflate.write(e),this._deflate.flush(i.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let e=o.concat(this._deflate[h],this._deflate[d]);t&&(e=new l(e.buffer,e.byteOffset,e.length-4)),this._deflate[p]=null,this._deflate[d]=0,this._deflate[h]=[],t&&this.params[`${n}_no_context_takeover`]&&this._deflate.reset(),r(null,e)})}}},69650,(e,t,r)=>{"use strict";let{isUtf8:n}=e.r(874),{hasBlob:i}=e.r(2198);function o(e){let t=e.length,r=0;for(;r=t||(192&e[r+1])!=128||(192&e[r+2])!=128||224===e[r]&&(224&e[r+1])==128||237===e[r]&&(224&e[r+1])==160)return!1;r+=3}else{if((248&e[r])!=240||r+3>=t||(192&e[r+1])!=128||(192&e[r+2])!=128||(192&e[r+3])!=128||240===e[r]&&(240&e[r+1])==128||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}if(t.exports={isBlob:function(e){return i&&"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&("Blob"===e[Symbol.toStringTag]||"File"===e[Symbol.toStringTag])},isValidStatusCode:function(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},isValidUTF8:o,tokenChars:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0]},n)t.exports.isValidUTF8=function(e){return e.length<24?o(e):n(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=(()=>{let e=Error("Cannot find module 'utf-8-validate'");throw e.code="MODULE_NOT_FOUND",e})();t.exports.isValidUTF8=function(t){return t.length<32?o(t):e(t)}}catch(e){}},95371,(e,t,r)=>{"use strict";let{Writable:n}=e.r(88947),i=e.r(18768),{BINARY_TYPES:o,EMPTY_BUFFER:s,kStatusCode:a,kWebSocket:l}=e.r(2198),{concat:u,toArrayBuffer:c,unmask:d}=e.r(54875),{isValidStatusCode:p,isValidUTF8:h}=e.r(69650),f=Buffer[Symbol.species];t.exports=class extends n{constructor(e={}){super(),this._allowSynchronousEvents=void 0===e.allowSynchronousEvents||e.allowSynchronousEvents,this._binaryType=e.binaryType||o[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[l]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e=r.length?t.set(this._buffers.shift(),n):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),n),this._buffers[0]=new f(r.buffer,r.byteOffset+e,r.length-e)),e-=r.length}while(e>0)return t}startLoop(e){this._loop=!0;do switch(this._state){case 0:this.getInfo(e);break;case 1:this.getPayloadLength16(e);break;case 2:this.getPayloadLength64(e);break;case 3:this.getMask();break;case 4:this.getData(e);break;case 5:case 6:this._loop=!1;return}while(this._loop)this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((48&t[0])!=0)return void e(this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3"));let r=(64&t[0])==64;if(r&&!this._extensions[i.extensionName])return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(this._fin=(128&t[0])==128,this._opcode=15&t[0],this._payloadLength=127&t[1],0===this._opcode){if(r)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(!this._fragmented)return void e(this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE"));this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));this._compressed=r}else{if(!(this._opcode>7)||!(this._opcode<11))return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));if(!this._fin)return void e(this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN"));if(r)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(this._payloadLength>125||8===this._opcode&&1===this._payloadLength)return void e(this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH"))}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=(128&t[1])==128,this._isServer){if(!this._masked)return void e(this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK"))}else if(this._masked)return void e(this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK"));126===this._payloadLength?this._state=1:127===this._payloadLength?this._state=2:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),r=t.readUInt32BE(0);r>2097151?e(this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=0x100000000*r+t.readUInt32BE(4),this.haveLength(e))}haveLength(e){this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)?e(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH")):this._masked?this._state=3:this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=s;if(this._payloadLength){if(this._bufferedBytes7)return void this.controlMessage(t,e);if(this._compressed){this._state=5,this.decompress(t,e);return}t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage(e)}decompress(e,t){this._extensions[i.extensionName].decompress(e,this._fin,(e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return void t(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(r)}this.dataMessage(t),0===this._state&&this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=0;return}let t=this._messageLength,r=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let n;n="nodebuffer"===this._binaryType?u(r,t):"arraybuffer"===this._binaryType?c(u(r,t)):"blob"===this._binaryType?new Blob(r):r,this._allowSynchronousEvents?(this.emit("message",n,!0),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",n,!0),this._state=0,this.startLoop(e)}))}else{let n=u(r,t);if(!this._skipUTF8Validation&&!h(n))return void e(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));5===this._state||this._allowSynchronousEvents?(this.emit("message",n,!1),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",n,!1),this._state=0,this.startLoop(e)}))}}controlMessage(e,t){if(8===this._opcode){if(0===e.length)this._loop=!1,this.emit("conclude",1005,s),this.end();else{let r=e.readUInt16BE(0);if(!p(r))return void t(this.createError(RangeError,`invalid status code ${r}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE"));let n=new f(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!h(n))return void t(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));this._loop=!1,this.emit("conclude",r,n),this.end()}this._state=0;return}this._allowSynchronousEvents?(this.emit(9===this._opcode?"ping":"pong",e),this._state=0):(this._state=6,setImmediate(()=>{this.emit(9===this._opcode?"ping":"pong",e),this._state=0,this.startLoop(t)}))}createError(e,t,r,n,i){this._loop=!1,this._errored=!0;let o=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=i,o[a]=n,o}}},53862,(e,t,r)=>{"use strict";let n,{Duplex:i}=e.r(88947),{randomFillSync:o}=e.r(54799),s=e.r(18768),{EMPTY_BUFFER:a,kWebSocket:l,NOOP:u}=e.r(2198),{isBlob:c,isValidStatusCode:d}=e.r(69650),{mask:p,toBuffer:h}=e.r(54875),f=Symbol("kByteLength"),m=Buffer.alloc(4),g=8192;class y{constructor(e,t,r){this._extensions=t||{},r&&(this._generateMask=r,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=0,this.onerror=u,this[l]=void 0}static frame(e,t){let r,i,s=!1,a=2,l=!1;t.mask&&(r=t.maskBuffer||m,t.generateMask?t.generateMask(r):(8192===g&&(void 0===n&&(n=Buffer.alloc(8192)),o(n,0,8192),g=0),r[0]=n[g++],r[1]=n[g++],r[2]=n[g++],r[3]=n[g++]),l=(r[0]|r[1]|r[2]|r[3])==0,a=6),"string"==typeof e?i=(!t.mask||l)&&void 0!==t[f]?t[f]:(e=Buffer.from(e)).length:(i=e.length,s=t.mask&&t.readOnly&&!l);let u=i;i>=65536?(a+=8,u=127):i>125&&(a+=2,u=126);let c=Buffer.allocUnsafe(s?i+a:a);return(c[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(c[0]|=64),c[1]=u,126===u?c.writeUInt16BE(i,2):127===u&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),t.mask)?(c[1]|=128,c[a-4]=r[0],c[a-3]=r[1],c[a-2]=r[2],c[a-1]=r[3],l)?[c,e]:s?(p(e,r,c,a,i),[c]):(p(e,r,e,0,i),[c,e]):[c,e]}close(e,t,r,n){let i;if(void 0===e)i=a;else if("number"==typeof e&&d(e))if(void 0!==t&&t.length){let r=Buffer.byteLength(t);if(r>123)throw RangeError("The message must not be greater than 123 bytes");(i=Buffer.allocUnsafe(2+r)).writeUInt16BE(e,0),"string"==typeof t?i.write(t,2):i.set(t,2)}else(i=Buffer.allocUnsafe(2)).writeUInt16BE(e,0);else throw TypeError("First argument must be a valid error code number");let o={[f]:i.length,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};0!==this._state?this.enqueue([this.dispatch,i,!1,o,n]):this.sendFrame(y.frame(i,o),n)}ping(e,t,r){let n,i;if("string"==typeof e?(n=Buffer.byteLength(e),i=!1):c(e)?(n=e.size,i=!1):(n=(e=h(e)).length,i=h.readOnly),n>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[f]:n,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,r]):this.getBlobData(e,!1,o,r):0!==this._state?this.enqueue([this.dispatch,e,!1,o,r]):this.sendFrame(y.frame(e,o),r)}pong(e,t,r){let n,i;if("string"==typeof e?(n=Buffer.byteLength(e),i=!1):c(e)?(n=e.size,i=!1):(n=(e=h(e)).length,i=h.readOnly),n>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[f]:n,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,r]):this.getBlobData(e,!1,o,r):0!==this._state?this.enqueue([this.dispatch,e,!1,o,r]):this.sendFrame(y.frame(e,o),r)}send(e,t,r){let n,i,o=this._extensions[s.extensionName],a=t.binary?2:1,l=t.compress;"string"==typeof e?(n=Buffer.byteLength(e),i=!1):c(e)?(n=e.size,i=!1):(n=(e=h(e)).length,i=h.readOnly),this._firstFragment?(this._firstFragment=!1,l&&o&&o.params[o._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(l=n>=o._threshold),this._compress=l):(l=!1,a=0),t.fin&&(this._firstFragment=!0);let u={[f]:n,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:a,readOnly:i,rsv1:l};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,this._compress,u,r]):this.getBlobData(e,this._compress,u,r):0!==this._state?this.enqueue([this.dispatch,e,this._compress,u,r]):this.dispatch(e,this._compress,u,r)}getBlobData(e,t,r,n){this._bufferedBytes+=r[f],this._state=2,e.arrayBuffer().then(e=>{if(this._socket.destroyed){let e=Error("The socket was closed while the blob was being read");process.nextTick(_,this,e,n);return}this._bufferedBytes-=r[f];let i=h(e);t?this.dispatch(i,t,r,n):(this._state=0,this.sendFrame(y.frame(i,r),n),this.dequeue())}).catch(e=>{process.nextTick(E,this,e,n)})}dispatch(e,t,r,n){if(!t)return void this.sendFrame(y.frame(e,r),n);let i=this._extensions[s.extensionName];this._bufferedBytes+=r[f],this._state=1,i.compress(e,r.fin,(e,t)=>{this._socket.destroyed?_(this,Error("The socket was closed while data was being compressed"),n):(this._bufferedBytes-=r[f],this._state=0,r.readOnly=!1,this.sendFrame(y.frame(t,r),n),this.dequeue())})}dequeue(){for(;0===this._state&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][f],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][f],this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}function _(e,t,r){"function"==typeof r&&r(t);for(let r=0;r{"use strict";let{kForOnEventAttribute:n,kListener:i}=e.r(2198),o=Symbol("kCode"),s=Symbol("kData"),a=Symbol("kError"),l=Symbol("kMessage"),u=Symbol("kReason"),c=Symbol("kTarget"),d=Symbol("kType"),p=Symbol("kWasClean");class h{constructor(e){this[c]=null,this[d]=e}get target(){return this[c]}get type(){return this[d]}}Object.defineProperty(h.prototype,"target",{enumerable:!0}),Object.defineProperty(h.prototype,"type",{enumerable:!0});class f extends h{constructor(e,t={}){super(e),this[o]=void 0===t.code?0:t.code,this[u]=void 0===t.reason?"":t.reason,this[p]=void 0!==t.wasClean&&t.wasClean}get code(){return this[o]}get reason(){return this[u]}get wasClean(){return this[p]}}Object.defineProperty(f.prototype,"code",{enumerable:!0}),Object.defineProperty(f.prototype,"reason",{enumerable:!0}),Object.defineProperty(f.prototype,"wasClean",{enumerable:!0});class m extends h{constructor(e,t={}){super(e),this[a]=void 0===t.error?null:t.error,this[l]=void 0===t.message?"":t.message}get error(){return this[a]}get message(){return this[l]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class g extends h{constructor(e,t={}){super(e),this[s]=void 0===t.data?null:t.data}get data(){return this[s]}}function y(e,t,r){"object"==typeof e&&e.handleEvent?e.handleEvent.call(e,r):e.call(t,r)}Object.defineProperty(g.prototype,"data",{enumerable:!0}),t.exports={CloseEvent:f,ErrorEvent:m,Event:h,EventTarget:{addEventListener(e,t,r={}){let o;for(let o of this.listeners(e))if(!r[n]&&o[i]===t&&!o[n])return;if("message"===e)o=function(e,r){let n=new g("message",{data:r?e:e.toString()});n[c]=this,y(t,this,n)};else if("close"===e)o=function(e,r){let n=new f("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});n[c]=this,y(t,this,n)};else if("error"===e)o=function(e){let r=new m("error",{error:e,message:e.message});r[c]=this,y(t,this,r)};else{if("open"!==e)return;o=function(){let e=new h("open");e[c]=this,y(t,this,e)}}o[n]=!!r[n],o[i]=t,r.once?this.once(e,o):this.on(e,o)},removeEventListener(e,t){for(let r of this.listeners(e))if(r[i]===t&&!r[n]){this.removeListener(e,r);break}}},MessageEvent:g}},38877,(e,t,r)=>{"use strict";let{tokenChars:n}=e.r(69650);function i(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}t.exports={format:function(e){return Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>[t].concat(Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>!0===e?t:`${t}=${e}`).join("; ")})).join("; ")).join(", ")}).join(", ")},parse:function(e){let t,r,o=Object.create(null),s=Object.create(null),a=!1,l=!1,u=!1,c=-1,d=-1,p=-1,h=0;for(;h{"use strict";let n=e.r(27699),i=e.r(24836),o=e.r(21517),s=e.r(4446),a=e.r(55004),{randomBytes:l,createHash:u}=e.r(54799),{Duplex:c,Readable:d}=e.r(88947),{URL:p}=e.r(92509),h=e.r(18768),f=e.r(95371),m=e.r(53862),{isBlob:g}=e.r(69650),{BINARY_TYPES:y,CLOSE_TIMEOUT:_,EMPTY_BUFFER:E,GUID:v,kForOnEventAttribute:T,kListener:A,kStatusCode:S,kWebSocket:b,NOOP:C}=e.r(2198),{EventTarget:{addEventListener:O,removeEventListener:I}}=e.r(63812),{format:w,parse:R}=e.r(38877),{toBuffer:N}=e.r(54875),k=Symbol("kAborted"),P=[8,13],x=["CONNECTING","OPEN","CLOSING","CLOSED"],U=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class D extends n{constructor(e,t,r){super(),this._binaryType=y[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=E,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=D.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(r=t,t=[]):t=[t]),function e(t,r,n,s){let a,c,d,f,m={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:_,protocolVersion:P[1],maxPayload:0x6400000,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(t._autoPong=m.autoPong,t._closeTimeout=m.closeTimeout,!P.includes(m.protocolVersion))throw RangeError(`Unsupported protocol version: ${m.protocolVersion} (supported versions: ${P.join(", ")})`);if(r instanceof p)a=r;else try{a=new p(r)}catch(e){throw SyntaxError(`Invalid URL: ${r}`)}"http:"===a.protocol?a.protocol="ws:":"https:"===a.protocol&&(a.protocol="wss:"),t._url=a.href;let g="wss:"===a.protocol,y="ws+unix:"===a.protocol;if("ws:"===a.protocol||g||y?y&&!a.pathname?c="The URL's pathname is empty":a.hash&&(c="The URL contains a fragment identifier"):c='The URL\'s protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"',c){let e=SyntaxError(c);if(0!==t._redirects)return void M(t,e);throw e}let E=g?443:80,T=l(16).toString("base64"),A=g?i.request:o.request,S=new Set;if(m.createConnection=m.createConnection||(g?j:L),m.defaultPort=m.defaultPort||E,m.port=a.port||E,m.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,m.headers={...m.headers,"Sec-WebSocket-Version":m.protocolVersion,"Sec-WebSocket-Key":T,Connection:"Upgrade",Upgrade:"websocket"},m.path=a.pathname+a.search,m.timeout=m.handshakeTimeout,m.perMessageDeflate&&(d=new h(!0!==m.perMessageDeflate?m.perMessageDeflate:{},!1,m.maxPayload),m.headers["Sec-WebSocket-Extensions"]=w({[h.extensionName]:d.offer()})),n.length){for(let e of n){if("string"!=typeof e||!U.test(e)||S.has(e))throw SyntaxError("An invalid or duplicated subprotocol was specified");S.add(e)}m.headers["Sec-WebSocket-Protocol"]=n.join(",")}if(m.origin&&(m.protocolVersion<13?m.headers["Sec-WebSocket-Origin"]=m.origin:m.headers.Origin=m.origin),(a.username||a.password)&&(m.auth=`${a.username}:${a.password}`),y){let e=m.path.split(":");m.socketPath=e[0],m.path=e[1]}if(m.followRedirects){if(0===t._redirects){t._originalIpc=y,t._originalSecure=g,t._originalHostOrSocketPath=y?m.socketPath:a.host;let e=s&&s.headers;if(s={...s,headers:{}},e)for(let[t,r]of Object.entries(e))s.headers[t.toLowerCase()]=r}else if(0===t.listenerCount("redirect")){let e=y?!!t._originalIpc&&m.socketPath===t._originalHostOrSocketPath:!t._originalIpc&&a.host===t._originalHostOrSocketPath;e&&(!t._originalSecure||g)||(delete m.headers.authorization,delete m.headers.cookie,e||delete m.headers.host,m.auth=void 0)}m.auth&&!s.headers.authorization&&(s.headers.authorization="Basic "+Buffer.from(m.auth).toString("base64")),f=t._req=A(m),t._redirects&&t.emit("redirect",t.url,f)}else f=t._req=A(m);m.timeout&&f.on("timeout",()=>{G(t,f,"Opening handshake has timed out")}),f.on("error",e=>{null===f||f[k]||(f=t._req=null,M(t,e))}),f.on("response",i=>{let o=i.headers.location,a=i.statusCode;if(o&&m.followRedirects&&a>=300&&a<400){let i;if(++t._redirects>m.maxRedirects)return void G(t,f,"Maximum redirects exceeded");f.abort();try{i=new p(o,r)}catch(e){M(t,SyntaxError(`Invalid URL: ${o}`));return}e(t,i,n,s)}else t.emit("unexpected-response",f,i)||G(t,f,`Unexpected server response: ${i.statusCode}`)}),f.on("upgrade",(e,r,n)=>{let i;if(t.emit("upgrade",e),t.readyState!==D.CONNECTING)return;f=t._req=null;let o=e.headers.upgrade;if(void 0===o||"websocket"!==o.toLowerCase())return void G(t,r,"Invalid Upgrade header");let s=u("sha1").update(T+v).digest("base64");if(e.headers["sec-websocket-accept"]!==s)return void G(t,r,"Invalid Sec-WebSocket-Accept header");let a=e.headers["sec-websocket-protocol"];if(void 0!==a?S.size?S.has(a)||(i="Server sent an invalid subprotocol"):i="Server sent a subprotocol but none was requested":S.size&&(i="Server sent no subprotocol"),i)return void G(t,r,i);a&&(t._protocol=a);let l=e.headers["sec-websocket-extensions"];if(void 0!==l){let e;if(!d)return void G(t,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");try{e=R(l)}catch(e){G(t,r,"Invalid Sec-WebSocket-Extensions header");return}let n=Object.keys(e);if(1!==n.length||n[0]!==h.extensionName)return void G(t,r,"Server indicated an extension that was not requested");try{d.accept(e[h.extensionName])}catch(e){G(t,r,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[h.extensionName]=d}t.setSocket(r,n,{allowSynchronousEvents:m.allowSynchronousEvents,generateMask:m.generateMask,maxPayload:m.maxPayload,skipUTF8Validation:m.skipUTF8Validation})}),m.finishRequest?m.finishRequest(f,t):f.end()}(this,e,t,r)):(this._autoPong=r.autoPong,this._closeTimeout=r.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){y.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){let n=new f({allowSynchronousEvents:r.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation}),i=new m(e,this._extensions,r.generateMask);this._receiver=n,this._sender=i,this._socket=e,n[b]=this,i[b]=this,e[b]=this,n.on("conclude",q),n.on("drain",H),n.on("error",B),n.on("message",$),n.on("ping",J),n.on("pong",W),i.onerror=Y,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",X),e.on("data",Q),e.on("end",Z),e.on("error",ee),this._readyState=D.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=D.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[h.extensionName]&&this._extensions[h.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=D.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING)return void G(this,this._req,"WebSocket was closed before the connection was established");if(this.readyState===D.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=D.CLOSING,this._sender.close(e,t,!this._isServer,e=>{!e&&(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),z(this)}}pause(){this.readyState!==D.CONNECTING&&this.readyState!==D.CLOSED&&(this._paused=!0,this._socket.pause())}ping(e,t,r){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)?F(this,e,r):(void 0===t&&(t=!this._isServer),this._sender.ping(e||E,t,r))}pong(e,t,r){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)?F(this,e,r):(void 0===t&&(t=!this._isServer),this._sender.pong(e||E,t,r))}resume(){this.readyState!==D.CONNECTING&&this.readyState!==D.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,r){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)return void F(this,e,r);let n={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[h.extensionName]||(n.compress=!1),this._sender.send(e||E,n,r)}terminate(){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING)return void G(this,this._req,"WebSocket was closed before the connection was established");this._socket&&(this._readyState=D.CLOSING,this._socket.destroy())}}}function M(e,t){e._readyState=D.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function L(e){return e.path=e.socketPath,s.connect(e)}function j(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=s.isIP(e.host)?"":e.host),a.connect(e)}function G(e,t,r){e._readyState=D.CLOSING;let n=Error(r);Error.captureStackTrace(n,G),t.setHeader?(t[k]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(M,e,n)):(t.destroy(n),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function F(e,t,r){if(t){let r=g(t)?t.size:N(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}if(r){let t=Error(`WebSocket is not open: readyState ${e.readyState} (${x[e.readyState]})`);process.nextTick(r,t)}}function q(e,t){let r=this[b];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[b]&&(r._socket.removeListener("data",Q),process.nextTick(K,r._socket),1005===e?r.close():r.close(e,t))}function H(){let e=this[b];e.isPaused||e._socket.resume()}function B(e){let t=this[b];void 0!==t._socket[b]&&(t._socket.removeListener("data",Q),process.nextTick(K,t._socket),t.close(e[S])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function V(){this[b].emitClose()}function $(e,t){this[b].emit("message",e,t)}function J(e){let t=this[b];t._autoPong&&t.pong(e,!this._isServer,C),t.emit("ping",e)}function W(e){this[b].emit("pong",e)}function K(e){e.resume()}function Y(e){let t=this[b];t.readyState!==D.CLOSED&&(t.readyState===D.OPEN&&(t._readyState=D.CLOSING,z(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function z(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function X(){let e=this[b];if(this.removeListener("close",X),this.removeListener("data",Q),this.removeListener("end",Z),e._readyState=D.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&0!==this._readableState.length){let t=this.read(this._readableState.length);e._receiver.write(t)}e._receiver.end(),this[b]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",V),e._receiver.on("finish",V))}function Q(e){this[b]._receiver.write(e)||this.pause()}function Z(){let e=this[b];e._readyState=D.CLOSING,e._receiver.end(),this.end()}function ee(){let e=this[b];this.removeListener("error",ee),this.on("error",C),e&&(e._readyState=D.CLOSING,this.destroy())}Object.defineProperty(D,"CONNECTING",{enumerable:!0,value:x.indexOf("CONNECTING")}),Object.defineProperty(D.prototype,"CONNECTING",{enumerable:!0,value:x.indexOf("CONNECTING")}),Object.defineProperty(D,"OPEN",{enumerable:!0,value:x.indexOf("OPEN")}),Object.defineProperty(D.prototype,"OPEN",{enumerable:!0,value:x.indexOf("OPEN")}),Object.defineProperty(D,"CLOSING",{enumerable:!0,value:x.indexOf("CLOSING")}),Object.defineProperty(D.prototype,"CLOSING",{enumerable:!0,value:x.indexOf("CLOSING")}),Object.defineProperty(D,"CLOSED",{enumerable:!0,value:x.indexOf("CLOSED")}),Object.defineProperty(D.prototype,"CLOSED",{enumerable:!0,value:x.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(D.prototype,e,{enumerable:!0})}),["open","error","close","message"].forEach(e=>{Object.defineProperty(D.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[T])return t[A];return null},set(t){for(let t of this.listeners(e))if(t[T]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[T]:!0})}})}),D.prototype.addEventListener=O,D.prototype.removeEventListener=I,t.exports=D},51710,(e,t,r)=>{"use strict";e.r(44875);let{Duplex:n}=e.r(88947);function i(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function s(e){this.removeListener("error",s),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}t.exports=function(e,t){let r=!0,a=new n({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(t,r){let n=!r&&a._readableState.objectMode?t.toString():t;a.push(n)||e.pause()}),e.once("error",function(e){a.destroyed||(r=!1,a.destroy(e))}),e.once("close",function(){a.destroyed||a.push(null)}),a._destroy=function(t,n){if(e.readyState===e.CLOSED){n(t),process.nextTick(i,a);return}let o=!1;e.once("error",function(e){o=!0,n(e)}),e.once("close",function(){o||n(t),process.nextTick(i,a)}),r&&e.terminate()},a._final=function(t){e.readyState===e.CONNECTING?e.once("open",function(){a._final(t)}):null!==e._socket&&(e._socket._writableState.finished?(t(),a._readableState.endEmitted&&a.destroy()):(e._socket.once("finish",function(){t()}),e.close()))},a._read=function(){e.isPaused&&e.resume()},a._write=function(t,r,n){e.readyState===e.CONNECTING?e.once("open",function(){a._write(t,r,n)}):e.send(t,n)},a.on("end",o),a.on("error",s),a}},99595,(e,t,r)=>{"use strict";let{tokenChars:n}=e.r(69650);t.exports={parse:function(e){let t=new Set,r=-1,i=-1,o=0;for(;o{"use strict";let n=e.r(27699),i=e.r(21517),{Duplex:o}=e.r(88947),{createHash:s}=e.r(54799),a=e.r(38877),l=e.r(18768),u=e.r(99595),c=e.r(44875),{CLOSE_TIMEOUT:d,GUID:p,kWebSocket:h}=e.r(2198),f=/^[+/0-9A-Za-z]{22}==$/;function m(e){e._state=2,e.emit("close")}function g(){this.destroy()}function y(e,t,r,n){r=r||i.STATUS_CODES[t],n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...n},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${i.STATUS_CODES[t]}\r -`+Object.keys(n).map(e=>`${e}: ${n[e]}`).join("\r\n")+"\r\n\r\n"+r)}function _(e,t,r,n,i,o){if(e.listenerCount("wsClientError")){let n=Error(i);Error.captureStackTrace(n,_),e.emit("wsClientError",n,r,t)}else y(r,n,i,o)}t.exports=class extends n{constructor(e,t){if(super(),null==(e={allowSynchronousEvents:!0,autoPong:!0,maxPayload:0x6400000,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:d,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:c,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=i.createServer((e,t)=>{let r=i.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(let r of Object.keys(t))e.on(r,t[r]);return function(){for(let r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,n)=>{this.handleUpgrade(t,r,n,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state){e&&this.once("close",()=>{e(Error("The server is not running"))}),process.nextTick(m,this);return}if(e&&this.once("close",e),1!==this._state)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(m,this);else{let e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close(()=>{m(this)})}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,n){t.on("error",g);let i=e.headers["sec-websocket-key"],o=e.headers.upgrade,s=+e.headers["sec-websocket-version"];if("GET"!==e.method)return void _(this,e,t,405,"Invalid HTTP method");if(void 0===o||"websocket"!==o.toLowerCase())return void _(this,e,t,400,"Invalid Upgrade header");if(void 0===i||!f.test(i))return void _(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");if(13!==s&&8!==s)return void _(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});if(!this.shouldHandle(e))return void y(t,400);let c=e.headers["sec-websocket-protocol"],d=new Set;if(void 0!==c)try{d=u.parse(c)}catch(r){_(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let p=e.headers["sec-websocket-extensions"],h={};if(this.options.perMessageDeflate&&void 0!==p){let r=new l(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let e=a.parse(p);e[l.extensionName]&&(r.accept(e[l.extensionName]),h[l.extensionName]=r)}catch(r){_(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let o={origin:e.headers[`${8===s?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(o,(o,s,a,l)=>{if(!o)return y(t,s||401,a,l);this.completeUpgrade(h,i,d,e,t,r,n)});if(!this.options.verifyClient(o))return y(t,401)}this.completeUpgrade(h,i,d,e,t,r,n)}completeUpgrade(e,t,r,n,i,o,u){if(!i.readable||!i.writable)return i.destroy();if(i[h])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return y(i,503);let c=s("sha1").update(t+p).digest("base64"),d=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${c}`],f=new this.options.WebSocket(null,void 0,this.options);if(r.size){let e=this.options.handleProtocols?this.options.handleProtocols(r,n):r.values().next().value;e&&(d.push(`Sec-WebSocket-Protocol: ${e}`),f._protocol=e)}if(e[l.extensionName]){let t=e[l.extensionName].params,r=a.format({[l.extensionName]:[t]});d.push(`Sec-WebSocket-Extensions: ${r}`),f._extensions=e}this.emit("headers",d,n),i.write(d.concat("\r\n").join("\r\n")),i.removeListener("error",g),f.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(f),f.on("close",()=>{this.clients.delete(f),this._shouldEmitClose&&!this.clients.size&&process.nextTick(m,this)})),u(f,n)}}},94666,e=>{"use strict";let t,r,n,i,o;var s,a,l,u,c,d,p,h,f,m,g,y,_,E,v,T,A,S,b,C,O,I,w,R,N,k,P,x,U,D,M,L,j,G,F,q,H,B,V,$,J,W,K,Y,z,X,Q,Z,ee,et,er,en,ei,eo,es,ea,el,eu,ec,ed,ep,eh,ef,em,eg,ey,e_,eE,ev,eT,eA,eS,eb,eC,eO,eI,ew,eR,eN,ek,eP,ex,eU,eD,eM,eL,ej,eG,eF,eq,eH,eB,eV,e$,eJ,eW,eK,eY,ez,eX,eQ,eZ,e0,e1,e2,e4,e6,e8,e5,e3,e7,e9,te,tt,tr,tn,ti,to,ts,ta=e.i(53577),tl=e.i(40259),tu=e.i(22734),tc=e.i(24868),td=e.i(81111),tp=e.i(88646);e.i(51710),e.i(95371),e.i(53862);var th=e.i(44875);e.i(88430),th.default;var tf=e.i(14747);class tm{}function tg(e,t){return e.replace(/\{([^}]+)\}/g,(e,r)=>{if(Object.prototype.hasOwnProperty.call(t,r)){let e=t[r];return null!=e?String(e):""}throw Error(`Key '${r}' not found in valueMap.`)})}function ty(e,t,r){for(let n=0;n({}));else throw Error(`Value must be a list given an array path ${i}`);if(Array.isArray(e[o])){let i=e[o];if(Array.isArray(r))for(let e=0;et_(e,t.slice(n+1),r))}}e=e[i]}return e}catch(e){if(e instanceof TypeError)return r;throw e}}function tE(e){if("string"!=typeof e)throw Error("fromImageBytes must be a string");return e}function tv(e){var t;let r,n,i,o,s={},a=t_(e,["name"]);null!=a&&ty(s,["name"],a);let l=t_(e,["metadata"]);null!=l&&ty(s,["metadata"],l);let u=t_(e,["done"]);null!=u&&ty(s,["done"],u);let c=t_(e,["error"]);null!=c&&ty(s,["error"],c);let d=t_(e,["response"]);return null!=d&&ty(s,["response"],(r={},null!=(n=t_(t=d,["sdkHttpResponse"]))&&ty(r,["sdkHttpResponse"],n),null!=(i=t_(t,["parent"]))&&ty(r,["parent"],i),null!=(o=t_(t,["documentName"]))&&ty(r,["documentName"],o),r)),s}(s=ed||(ed={})).OUTCOME_UNSPECIFIED="OUTCOME_UNSPECIFIED",s.OUTCOME_OK="OUTCOME_OK",s.OUTCOME_FAILED="OUTCOME_FAILED",s.OUTCOME_DEADLINE_EXCEEDED="OUTCOME_DEADLINE_EXCEEDED",(a=ep||(ep={})).LANGUAGE_UNSPECIFIED="LANGUAGE_UNSPECIFIED",a.PYTHON="PYTHON",(l=eh||(eh={})).SCHEDULING_UNSPECIFIED="SCHEDULING_UNSPECIFIED",l.SILENT="SILENT",l.WHEN_IDLE="WHEN_IDLE",l.INTERRUPT="INTERRUPT",(u=ef||(ef={})).TYPE_UNSPECIFIED="TYPE_UNSPECIFIED",u.STRING="STRING",u.NUMBER="NUMBER",u.INTEGER="INTEGER",u.BOOLEAN="BOOLEAN",u.ARRAY="ARRAY",u.OBJECT="OBJECT",u.NULL="NULL",(c=em||(em={})).PHISH_BLOCK_THRESHOLD_UNSPECIFIED="PHISH_BLOCK_THRESHOLD_UNSPECIFIED",c.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",c.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",c.BLOCK_HIGH_AND_ABOVE="BLOCK_HIGH_AND_ABOVE",c.BLOCK_HIGHER_AND_ABOVE="BLOCK_HIGHER_AND_ABOVE",c.BLOCK_VERY_HIGH_AND_ABOVE="BLOCK_VERY_HIGH_AND_ABOVE",c.BLOCK_ONLY_EXTREMELY_HIGH="BLOCK_ONLY_EXTREMELY_HIGH",(d=eg||(eg={})).API_SPEC_UNSPECIFIED="API_SPEC_UNSPECIFIED",d.SIMPLE_SEARCH="SIMPLE_SEARCH",d.ELASTIC_SEARCH="ELASTIC_SEARCH",(p=ey||(ey={})).AUTH_TYPE_UNSPECIFIED="AUTH_TYPE_UNSPECIFIED",p.NO_AUTH="NO_AUTH",p.API_KEY_AUTH="API_KEY_AUTH",p.HTTP_BASIC_AUTH="HTTP_BASIC_AUTH",p.GOOGLE_SERVICE_ACCOUNT_AUTH="GOOGLE_SERVICE_ACCOUNT_AUTH",p.OAUTH="OAUTH",p.OIDC_AUTH="OIDC_AUTH",(h=e_||(e_={})).HTTP_IN_UNSPECIFIED="HTTP_IN_UNSPECIFIED",h.HTTP_IN_QUERY="HTTP_IN_QUERY",h.HTTP_IN_HEADER="HTTP_IN_HEADER",h.HTTP_IN_PATH="HTTP_IN_PATH",h.HTTP_IN_BODY="HTTP_IN_BODY",h.HTTP_IN_COOKIE="HTTP_IN_COOKIE",(f=eE||(eE={})).UNSPECIFIED="UNSPECIFIED",f.BLOCKING="BLOCKING",f.NON_BLOCKING="NON_BLOCKING",(m=ev||(ev={})).MODE_UNSPECIFIED="MODE_UNSPECIFIED",m.MODE_DYNAMIC="MODE_DYNAMIC",(g=eT||(eT={})).MODE_UNSPECIFIED="MODE_UNSPECIFIED",g.AUTO="AUTO",g.ANY="ANY",g.NONE="NONE",g.VALIDATED="VALIDATED",(y=eA||(eA={})).THINKING_LEVEL_UNSPECIFIED="THINKING_LEVEL_UNSPECIFIED",y.LOW="LOW",y.MEDIUM="MEDIUM",y.HIGH="HIGH",y.MINIMAL="MINIMAL",(_=eS||(eS={})).HARM_CATEGORY_UNSPECIFIED="HARM_CATEGORY_UNSPECIFIED",_.HARM_CATEGORY_HARASSMENT="HARM_CATEGORY_HARASSMENT",_.HARM_CATEGORY_HATE_SPEECH="HARM_CATEGORY_HATE_SPEECH",_.HARM_CATEGORY_SEXUALLY_EXPLICIT="HARM_CATEGORY_SEXUALLY_EXPLICIT",_.HARM_CATEGORY_DANGEROUS_CONTENT="HARM_CATEGORY_DANGEROUS_CONTENT",_.HARM_CATEGORY_CIVIC_INTEGRITY="HARM_CATEGORY_CIVIC_INTEGRITY",_.HARM_CATEGORY_IMAGE_HATE="HARM_CATEGORY_IMAGE_HATE",_.HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT="HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT",_.HARM_CATEGORY_IMAGE_HARASSMENT="HARM_CATEGORY_IMAGE_HARASSMENT",_.HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT="HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT",_.HARM_CATEGORY_JAILBREAK="HARM_CATEGORY_JAILBREAK",(E=eb||(eb={})).HARM_BLOCK_METHOD_UNSPECIFIED="HARM_BLOCK_METHOD_UNSPECIFIED",E.SEVERITY="SEVERITY",E.PROBABILITY="PROBABILITY",(v=eC||(eC={})).HARM_BLOCK_THRESHOLD_UNSPECIFIED="HARM_BLOCK_THRESHOLD_UNSPECIFIED",v.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",v.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",v.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",v.BLOCK_NONE="BLOCK_NONE",v.OFF="OFF",(T=eO||(eO={})).FINISH_REASON_UNSPECIFIED="FINISH_REASON_UNSPECIFIED",T.STOP="STOP",T.MAX_TOKENS="MAX_TOKENS",T.SAFETY="SAFETY",T.RECITATION="RECITATION",T.LANGUAGE="LANGUAGE",T.OTHER="OTHER",T.BLOCKLIST="BLOCKLIST",T.PROHIBITED_CONTENT="PROHIBITED_CONTENT",T.SPII="SPII",T.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",T.IMAGE_SAFETY="IMAGE_SAFETY",T.UNEXPECTED_TOOL_CALL="UNEXPECTED_TOOL_CALL",T.IMAGE_PROHIBITED_CONTENT="IMAGE_PROHIBITED_CONTENT",T.NO_IMAGE="NO_IMAGE",T.IMAGE_RECITATION="IMAGE_RECITATION",T.IMAGE_OTHER="IMAGE_OTHER",(A=eI||(eI={})).HARM_PROBABILITY_UNSPECIFIED="HARM_PROBABILITY_UNSPECIFIED",A.NEGLIGIBLE="NEGLIGIBLE",A.LOW="LOW",A.MEDIUM="MEDIUM",A.HIGH="HIGH",(S=ew||(ew={})).HARM_SEVERITY_UNSPECIFIED="HARM_SEVERITY_UNSPECIFIED",S.HARM_SEVERITY_NEGLIGIBLE="HARM_SEVERITY_NEGLIGIBLE",S.HARM_SEVERITY_LOW="HARM_SEVERITY_LOW",S.HARM_SEVERITY_MEDIUM="HARM_SEVERITY_MEDIUM",S.HARM_SEVERITY_HIGH="HARM_SEVERITY_HIGH",(b=eR||(eR={})).URL_RETRIEVAL_STATUS_UNSPECIFIED="URL_RETRIEVAL_STATUS_UNSPECIFIED",b.URL_RETRIEVAL_STATUS_SUCCESS="URL_RETRIEVAL_STATUS_SUCCESS",b.URL_RETRIEVAL_STATUS_ERROR="URL_RETRIEVAL_STATUS_ERROR",b.URL_RETRIEVAL_STATUS_PAYWALL="URL_RETRIEVAL_STATUS_PAYWALL",b.URL_RETRIEVAL_STATUS_UNSAFE="URL_RETRIEVAL_STATUS_UNSAFE",(C=eN||(eN={})).BLOCKED_REASON_UNSPECIFIED="BLOCKED_REASON_UNSPECIFIED",C.SAFETY="SAFETY",C.OTHER="OTHER",C.BLOCKLIST="BLOCKLIST",C.PROHIBITED_CONTENT="PROHIBITED_CONTENT",C.IMAGE_SAFETY="IMAGE_SAFETY",C.MODEL_ARMOR="MODEL_ARMOR",C.JAILBREAK="JAILBREAK",(O=ek||(ek={})).TRAFFIC_TYPE_UNSPECIFIED="TRAFFIC_TYPE_UNSPECIFIED",O.ON_DEMAND="ON_DEMAND",O.PROVISIONED_THROUGHPUT="PROVISIONED_THROUGHPUT",(I=eP||(eP={})).MODALITY_UNSPECIFIED="MODALITY_UNSPECIFIED",I.TEXT="TEXT",I.IMAGE="IMAGE",I.AUDIO="AUDIO",(w=ex||(ex={})).MEDIA_RESOLUTION_UNSPECIFIED="MEDIA_RESOLUTION_UNSPECIFIED",w.MEDIA_RESOLUTION_LOW="MEDIA_RESOLUTION_LOW",w.MEDIA_RESOLUTION_MEDIUM="MEDIA_RESOLUTION_MEDIUM",w.MEDIA_RESOLUTION_HIGH="MEDIA_RESOLUTION_HIGH",(R=eU||(eU={})).TUNING_MODE_UNSPECIFIED="TUNING_MODE_UNSPECIFIED",R.TUNING_MODE_FULL="TUNING_MODE_FULL",R.TUNING_MODE_PEFT_ADAPTER="TUNING_MODE_PEFT_ADAPTER",(N=eD||(eD={})).ADAPTER_SIZE_UNSPECIFIED="ADAPTER_SIZE_UNSPECIFIED",N.ADAPTER_SIZE_ONE="ADAPTER_SIZE_ONE",N.ADAPTER_SIZE_TWO="ADAPTER_SIZE_TWO",N.ADAPTER_SIZE_FOUR="ADAPTER_SIZE_FOUR",N.ADAPTER_SIZE_EIGHT="ADAPTER_SIZE_EIGHT",N.ADAPTER_SIZE_SIXTEEN="ADAPTER_SIZE_SIXTEEN",N.ADAPTER_SIZE_THIRTY_TWO="ADAPTER_SIZE_THIRTY_TWO",(k=eM||(eM={})).JOB_STATE_UNSPECIFIED="JOB_STATE_UNSPECIFIED",k.JOB_STATE_QUEUED="JOB_STATE_QUEUED",k.JOB_STATE_PENDING="JOB_STATE_PENDING",k.JOB_STATE_RUNNING="JOB_STATE_RUNNING",k.JOB_STATE_SUCCEEDED="JOB_STATE_SUCCEEDED",k.JOB_STATE_FAILED="JOB_STATE_FAILED",k.JOB_STATE_CANCELLING="JOB_STATE_CANCELLING",k.JOB_STATE_CANCELLED="JOB_STATE_CANCELLED",k.JOB_STATE_PAUSED="JOB_STATE_PAUSED",k.JOB_STATE_EXPIRED="JOB_STATE_EXPIRED",k.JOB_STATE_UPDATING="JOB_STATE_UPDATING",k.JOB_STATE_PARTIALLY_SUCCEEDED="JOB_STATE_PARTIALLY_SUCCEEDED",(P=eL||(eL={})).TUNING_TASK_UNSPECIFIED="TUNING_TASK_UNSPECIFIED",P.TUNING_TASK_I2V="TUNING_TASK_I2V",P.TUNING_TASK_T2V="TUNING_TASK_T2V",P.TUNING_TASK_R2V="TUNING_TASK_R2V",(x=ej||(ej={})).MEDIA_RESOLUTION_UNSPECIFIED="MEDIA_RESOLUTION_UNSPECIFIED",x.MEDIA_RESOLUTION_LOW="MEDIA_RESOLUTION_LOW",x.MEDIA_RESOLUTION_MEDIUM="MEDIA_RESOLUTION_MEDIUM",x.MEDIA_RESOLUTION_HIGH="MEDIA_RESOLUTION_HIGH",x.MEDIA_RESOLUTION_ULTRA_HIGH="MEDIA_RESOLUTION_ULTRA_HIGH",(eG||(eG={})).COLLECTION="COLLECTION",(U=eF||(eF={})).FEATURE_SELECTION_PREFERENCE_UNSPECIFIED="FEATURE_SELECTION_PREFERENCE_UNSPECIFIED",U.PRIORITIZE_QUALITY="PRIORITIZE_QUALITY",U.BALANCED="BALANCED",U.PRIORITIZE_COST="PRIORITIZE_COST",(D=eq||(eq={})).ENVIRONMENT_UNSPECIFIED="ENVIRONMENT_UNSPECIFIED",D.ENVIRONMENT_BROWSER="ENVIRONMENT_BROWSER",(M=eH||(eH={})).PROMINENT_PEOPLE_UNSPECIFIED="PROMINENT_PEOPLE_UNSPECIFIED",M.ALLOW_PROMINENT_PEOPLE="ALLOW_PROMINENT_PEOPLE",M.BLOCK_PROMINENT_PEOPLE="BLOCK_PROMINENT_PEOPLE",(L=eB||(eB={})).PREDICT="PREDICT",L.EMBED_CONTENT="EMBED_CONTENT",(j=eV||(eV={})).BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",j.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",j.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",j.BLOCK_NONE="BLOCK_NONE",(G=e$||(e$={})).DONT_ALLOW="DONT_ALLOW",G.ALLOW_ADULT="ALLOW_ADULT",G.ALLOW_ALL="ALLOW_ALL",(F=eJ||(eJ={})).auto="auto",F.en="en",F.ja="ja",F.ko="ko",F.hi="hi",F.zh="zh",F.pt="pt",F.es="es",(q=eW||(eW={})).MASK_MODE_DEFAULT="MASK_MODE_DEFAULT",q.MASK_MODE_USER_PROVIDED="MASK_MODE_USER_PROVIDED",q.MASK_MODE_BACKGROUND="MASK_MODE_BACKGROUND",q.MASK_MODE_FOREGROUND="MASK_MODE_FOREGROUND",q.MASK_MODE_SEMANTIC="MASK_MODE_SEMANTIC",(H=eK||(eK={})).CONTROL_TYPE_DEFAULT="CONTROL_TYPE_DEFAULT",H.CONTROL_TYPE_CANNY="CONTROL_TYPE_CANNY",H.CONTROL_TYPE_SCRIBBLE="CONTROL_TYPE_SCRIBBLE",H.CONTROL_TYPE_FACE_MESH="CONTROL_TYPE_FACE_MESH",(B=eY||(eY={})).SUBJECT_TYPE_DEFAULT="SUBJECT_TYPE_DEFAULT",B.SUBJECT_TYPE_PERSON="SUBJECT_TYPE_PERSON",B.SUBJECT_TYPE_ANIMAL="SUBJECT_TYPE_ANIMAL",B.SUBJECT_TYPE_PRODUCT="SUBJECT_TYPE_PRODUCT",(V=ez||(ez={})).EDIT_MODE_DEFAULT="EDIT_MODE_DEFAULT",V.EDIT_MODE_INPAINT_REMOVAL="EDIT_MODE_INPAINT_REMOVAL",V.EDIT_MODE_INPAINT_INSERTION="EDIT_MODE_INPAINT_INSERTION",V.EDIT_MODE_OUTPAINT="EDIT_MODE_OUTPAINT",V.EDIT_MODE_CONTROLLED_EDITING="EDIT_MODE_CONTROLLED_EDITING",V.EDIT_MODE_STYLE="EDIT_MODE_STYLE",V.EDIT_MODE_BGSWAP="EDIT_MODE_BGSWAP",V.EDIT_MODE_PRODUCT_IMAGE="EDIT_MODE_PRODUCT_IMAGE",($=eX||(eX={})).FOREGROUND="FOREGROUND",$.BACKGROUND="BACKGROUND",$.PROMPT="PROMPT",$.SEMANTIC="SEMANTIC",$.INTERACTIVE="INTERACTIVE",(J=eQ||(eQ={})).ASSET="ASSET",J.STYLE="STYLE",(W=eZ||(eZ={})).INSERT="INSERT",W.REMOVE="REMOVE",W.REMOVE_STATIC="REMOVE_STATIC",W.OUTPAINT="OUTPAINT",(K=e0||(e0={})).OPTIMIZED="OPTIMIZED",K.LOSSLESS="LOSSLESS",(Y=e1||(e1={})).SUPERVISED_FINE_TUNING="SUPERVISED_FINE_TUNING",Y.PREFERENCE_TUNING="PREFERENCE_TUNING",Y.DISTILLATION="DISTILLATION",(z=e2||(e2={})).STATE_UNSPECIFIED="STATE_UNSPECIFIED",z.STATE_PENDING="STATE_PENDING",z.STATE_ACTIVE="STATE_ACTIVE",z.STATE_FAILED="STATE_FAILED",(X=e4||(e4={})).STATE_UNSPECIFIED="STATE_UNSPECIFIED",X.PROCESSING="PROCESSING",X.ACTIVE="ACTIVE",X.FAILED="FAILED",(Q=e6||(e6={})).SOURCE_UNSPECIFIED="SOURCE_UNSPECIFIED",Q.UPLOADED="UPLOADED",Q.GENERATED="GENERATED",Q.REGISTERED="REGISTERED",(Z=e8||(e8={})).TURN_COMPLETE_REASON_UNSPECIFIED="TURN_COMPLETE_REASON_UNSPECIFIED",Z.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",Z.RESPONSE_REJECTED="RESPONSE_REJECTED",Z.NEED_MORE_INPUT="NEED_MORE_INPUT",(ee=e5||(e5={})).MODALITY_UNSPECIFIED="MODALITY_UNSPECIFIED",ee.TEXT="TEXT",ee.IMAGE="IMAGE",ee.VIDEO="VIDEO",ee.AUDIO="AUDIO",ee.DOCUMENT="DOCUMENT",(et=e3||(e3={})).VAD_SIGNAL_TYPE_UNSPECIFIED="VAD_SIGNAL_TYPE_UNSPECIFIED",et.VAD_SIGNAL_TYPE_SOS="VAD_SIGNAL_TYPE_SOS",et.VAD_SIGNAL_TYPE_EOS="VAD_SIGNAL_TYPE_EOS",(er=e7||(e7={})).TYPE_UNSPECIFIED="TYPE_UNSPECIFIED",er.ACTIVITY_START="ACTIVITY_START",er.ACTIVITY_END="ACTIVITY_END",(en=e9||(e9={})).START_SENSITIVITY_UNSPECIFIED="START_SENSITIVITY_UNSPECIFIED",en.START_SENSITIVITY_HIGH="START_SENSITIVITY_HIGH",en.START_SENSITIVITY_LOW="START_SENSITIVITY_LOW",(ei=te||(te={})).END_SENSITIVITY_UNSPECIFIED="END_SENSITIVITY_UNSPECIFIED",ei.END_SENSITIVITY_HIGH="END_SENSITIVITY_HIGH",ei.END_SENSITIVITY_LOW="END_SENSITIVITY_LOW",(eo=tt||(tt={})).ACTIVITY_HANDLING_UNSPECIFIED="ACTIVITY_HANDLING_UNSPECIFIED",eo.START_OF_ACTIVITY_INTERRUPTS="START_OF_ACTIVITY_INTERRUPTS",eo.NO_INTERRUPTION="NO_INTERRUPTION",(es=tr||(tr={})).TURN_COVERAGE_UNSPECIFIED="TURN_COVERAGE_UNSPECIFIED",es.TURN_INCLUDES_ONLY_ACTIVITY="TURN_INCLUDES_ONLY_ACTIVITY",es.TURN_INCLUDES_ALL_INPUT="TURN_INCLUDES_ALL_INPUT",(ea=tn||(tn={})).SCALE_UNSPECIFIED="SCALE_UNSPECIFIED",ea.C_MAJOR_A_MINOR="C_MAJOR_A_MINOR",ea.D_FLAT_MAJOR_B_FLAT_MINOR="D_FLAT_MAJOR_B_FLAT_MINOR",ea.D_MAJOR_B_MINOR="D_MAJOR_B_MINOR",ea.E_FLAT_MAJOR_C_MINOR="E_FLAT_MAJOR_C_MINOR",ea.E_MAJOR_D_FLAT_MINOR="E_MAJOR_D_FLAT_MINOR",ea.F_MAJOR_D_MINOR="F_MAJOR_D_MINOR",ea.G_FLAT_MAJOR_E_FLAT_MINOR="G_FLAT_MAJOR_E_FLAT_MINOR",ea.G_MAJOR_E_MINOR="G_MAJOR_E_MINOR",ea.A_FLAT_MAJOR_F_MINOR="A_FLAT_MAJOR_F_MINOR",ea.A_MAJOR_G_FLAT_MINOR="A_MAJOR_G_FLAT_MINOR",ea.B_FLAT_MAJOR_G_MINOR="B_FLAT_MAJOR_G_MINOR",ea.B_MAJOR_A_FLAT_MINOR="B_MAJOR_A_FLAT_MINOR",(el=ti||(ti={})).MUSIC_GENERATION_MODE_UNSPECIFIED="MUSIC_GENERATION_MODE_UNSPECIFIED",el.QUALITY="QUALITY",el.DIVERSITY="DIVERSITY",el.VOCALIZATION="VOCALIZATION",(eu=to||(to={})).PLAYBACK_CONTROL_UNSPECIFIED="PLAYBACK_CONTROL_UNSPECIFIED",eu.PLAY="PLAY",eu.PAUSE="PAUSE",eu.STOP="STOP",eu.RESET_CONTEXT="RESET_CONTEXT";class tT{constructor(e){const t={};for(const r of e.headers.entries())t[r[0]]=r[1];this.headers=t,this.responseInternal=e}json(){return this.responseInternal.json()}}class tA{get text(){var e,t,r,n,i,o,s,a;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning text from the first one.");let l="",u=!1,c=[];for(let e of null!=(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?a:[]){for(let[t,r]of Object.entries(e))"text"!==t&&"thought"!==t&&"thoughtSignature"!==t&&(null!==r||void 0!==r)&&c.push(t);if("string"==typeof e.text){if("boolean"==typeof e.thought&&e.thought)continue;u=!0,l+=e.text}}return c.length>0&&console.warn(`there are non-text parts ${c} in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.`),u?l:void 0}get data(){var e,t,r,n,i,o,s,a;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning data from the first one.");let l="",u=[];for(let e of null!=(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?a:[]){for(let[t,r]of Object.entries(e))"inlineData"!==t&&(null!==r||void 0!==r)&&u.push(t);e.inlineData&&"string"==typeof e.inlineData.data&&(l+=atob(e.inlineData.data))}return u.length>0&&console.warn(`there are non-data parts ${u} in the response, returning concatenation of all data parts. Please refer to the non data parts for a full response from model.`),l.length>0?btoa(l):void 0}get functionCalls(){var e,t,r,n,i,o,s,a;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning function calls from the first one.");let l=null==(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?void 0:a.filter(e=>e.functionCall).map(e=>e.functionCall).filter(e=>void 0!==e);if((null==l?void 0:l.length)!==0)return l}get executableCode(){var e,t,r,n,i,o,s,a,l;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning executable code from the first one.");let u=null==(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?void 0:a.filter(e=>e.executableCode).map(e=>e.executableCode).filter(e=>void 0!==e);if((null==u?void 0:u.length)!==0)return null==(l=null==u?void 0:u[0])?void 0:l.code}get codeExecutionResult(){var e,t,r,n,i,o,s,a,l;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning code execution result from the first one.");let u=null==(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?void 0:a.filter(e=>e.codeExecutionResult).map(e=>e.codeExecutionResult).filter(e=>void 0!==e);if((null==u?void 0:u.length)!==0)return null==(l=null==u?void 0:u[0])?void 0:l.output}}class tS{}class tb{}class tC{}class tO{}class tI{}class tw{}class tR{}class tN{}class tk{}class tP{}class tx{_fromAPIResponse({apiResponse:e,_isVertexAI:t}){let r,n=new tx;if(t){let t,n,i,o,s,a;t={},null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["metadata"]))&&ty(t,["metadata"],i),null!=(o=t_(e,["done"]))&&ty(t,["done"],o),null!=(s=t_(e,["error"]))&&ty(t,["error"],s),null!=(a=t_(e,["response"]))&&ty(t,["response"],function(e){let t={},r=t_(e,["videos"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["_self"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["gcsUri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["bytesBase64Encoded"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["mimeType"]))&&ty(i,["mimeType"],a),i)),r})),ty(t,["generatedVideos"],e)}let n=t_(e,["raiMediaFilteredCount"]);null!=n&&ty(t,["raiMediaFilteredCount"],n);let i=t_(e,["raiMediaFilteredReasons"]);return null!=i&&ty(t,["raiMediaFilteredReasons"],i),t}(a)),r=t}else{let t,n,i,o,s,a;t={},null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["metadata"]))&&ty(t,["metadata"],i),null!=(o=t_(e,["done"]))&&ty(t,["done"],o),null!=(s=t_(e,["error"]))&&ty(t,["error"],s),null!=(a=t_(e,["response","generateVideoResponse"]))&&ty(t,["response"],function(e){let t={},r=t_(e,["generatedSamples"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["video"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["uri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["encodedVideo"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["encoding"]))&&ty(i,["mimeType"],a),i)),r})),ty(t,["generatedVideos"],e)}let n=t_(e,["raiMediaFilteredCount"]);null!=n&&ty(t,["raiMediaFilteredCount"],n);let i=t_(e,["raiMediaFilteredReasons"]);return null!=i&&ty(t,["raiMediaFilteredReasons"],i),t}(a)),r=t}return Object.assign(n,r),n}}class tU{}class tD{}class tM{}class tL{}class tj{}class tG{}class tF{}class tq{_fromAPIResponse({apiResponse:e,_isVertexAI:t}){var r;let n,i,o,s,a,l,u,c,d,p,h=new tq;return Object.assign(h,(a={},null!=(l=t_(e,["name"]))&&ty(a,["name"],l),null!=(u=t_(e,["metadata"]))&&ty(a,["metadata"],u),null!=(c=t_(e,["done"]))&&ty(a,["done"],c),null!=(d=t_(e,["error"]))&&ty(a,["error"],d),null!=(p=t_(e,["response"]))&&ty(a,["response"],(n={},null!=(i=t_(r=p,["sdkHttpResponse"]))&&ty(n,["sdkHttpResponse"],i),null!=(o=t_(r,["parent"]))&&ty(n,["parent"],o),null!=(s=t_(r,["documentName"]))&&ty(n,["documentName"],s),n)),a)),h}}class tH{}class tB{}class tV{}class t${}class tJ{}class tW{get text(){var e,t,r;let n="",i=!1,o=[];for(let s of null!=(r=null==(t=null==(e=this.serverContent)?void 0:e.modelTurn)?void 0:t.parts)?r:[]){for(let[e,t]of Object.entries(s))"text"!==e&&"thought"!==e&&null!==t&&o.push(e);if("string"==typeof s.text){if("boolean"==typeof s.thought&&s.thought)continue;i=!0,n+=s.text}}return o.length>0&&console.warn(`there are non-text parts ${o} in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.`),i?n:void 0}get data(){var e,t,r;let n="",i=[];for(let o of null!=(r=null==(t=null==(e=this.serverContent)?void 0:e.modelTurn)?void 0:t.parts)?r:[]){for(let[e,t]of Object.entries(o))"inlineData"!==e&&null!==t&&i.push(e);o.inlineData&&"string"==typeof o.inlineData.data&&(n+=atob(o.inlineData.data))}return i.length>0&&console.warn(`there are non-data parts ${i} in the response, returning concatenation of all data parts. Please refer to the non data parts for a full response from model.`),n.length>0?btoa(n):void 0}}class tK{get audioChunk(){if(this.serverContent&&this.serverContent.audioChunks&&this.serverContent.audioChunks.length>0)return this.serverContent.audioChunks[0]}}class tY{_fromAPIResponse({apiResponse:e,_isVertexAI:t}){let r=new tY;return Object.assign(r,tv(e)),r}}function tz(e,t){if(!t||"string"!=typeof t)throw Error("model is required and must be a string");if(t.includes("..")||t.includes("?")||t.includes("&"))throw Error("invalid model parameter");if(e.isVertexAI())if(t.startsWith("publishers/")||t.startsWith("projects/")||t.startsWith("models/"))return t;else{if(!(t.indexOf("/")>=0))return`publishers/google/models/${t}`;let e=t.split("/",2);return`publishers/${e[0]}/models/${e[1]}`}return t.startsWith("models/")||t.startsWith("tunedModels/")?t:`models/${t}`}function tX(e,t){let r=tz(e,t);return r?r.startsWith("publishers/")&&e.isVertexAI()?`projects/${e.getProject()}/locations/${e.getLocation()}/${r}`:r.startsWith("models/")&&e.isVertexAI()?`projects/${e.getProject()}/locations/${e.getLocation()}/publishers/google/${r}`:r:""}function tQ(e){return Array.isArray(e)?e.map(e=>tZ(e)):[tZ(e)]}function tZ(e){if("object"==typeof e&&null!==e)return e;throw Error(`Could not parse input as Blob. Unsupported blob type: ${typeof e}`)}function t0(e){let t=tZ(e);if(t.mimeType&&t.mimeType.startsWith("image/"))return t;throw Error(`Unsupported mime type: ${t.mimeType}`)}function t1(e){let t=tZ(e);if(t.mimeType&&t.mimeType.startsWith("audio/"))return t;throw Error(`Unsupported mime type: ${t.mimeType}`)}function t2(e){if(null==e)throw Error("PartUnion is required");if("object"==typeof e)return e;if("string"==typeof e)return{text:e};throw Error(`Unsupported part type: ${typeof e}`)}function t4(e){if(null==e||Array.isArray(e)&&0===e.length)throw Error("PartListUnion is required");return Array.isArray(e)?e.map(e=>t2(e)):[t2(e)]}function t6(e){return null!=e&&"object"==typeof e&&"parts"in e&&Array.isArray(e.parts)}function t8(e){return null!=e&&"object"==typeof e&&"functionCall"in e}function t5(e){return null!=e&&"object"==typeof e&&"functionResponse"in e}function t3(e){if(null==e)throw Error("ContentUnion is required");return t6(e)?e:{role:"user",parts:t4(e)}}function t7(e,t){if(!t)return[];if(e.isVertexAI()&&Array.isArray(t))return t.flatMap(e=>{let t=t3(e);return t.parts&&t.parts.length>0&&void 0!==t.parts[0].text?[t.parts[0].text]:[]});if(e.isVertexAI()){let e=t3(t);return e.parts&&e.parts.length>0&&void 0!==e.parts[0].text?[e.parts[0].text]:[]}return Array.isArray(t)?t.map(e=>t3(e)):[t3(t)]}function t9(e){if(null==e||Array.isArray(e)&&0===e.length)throw Error("contents are required");if(!Array.isArray(e)){if(t8(e)||t5(e))throw Error("To specify functionCall or functionResponse parts, please wrap them in a Content object, specifying the role for them");return[t3(e)]}let t=[],r=[],n=t6(e[0]);for(let i of e){let e=t6(i);if(e!=n)throw Error("Mixing Content and Parts is not supported, please group the parts into a the appropriate Content objects and specify the roles for them");if(e)t.push(i);else if(t8(i)||t5(i))throw Error("To specify functionCall or functionResponse parts, please wrap them, and any other parts, in Content objects as appropriate, specifying the role for them");else r.push(i)}return n||t.push({role:"user",parts:t4(r)}),t}function re(e){let t={},r=["items"],n=["anyOf"],i=["properties"];if(e.type&&e.anyOf)throw Error("type and anyOf cannot be both populated.");let o=e.anyOf;for(let[s,a]of(null!=o&&2==o.length&&("null"===o[0].type?(t.nullable=!0,e=o[1]):"null"===o[1].type&&(t.nullable=!0,e=o[0])),e.type instanceof Array&&function(e,t){e.includes("null")&&(t.nullable=!0);let r=e.filter(e=>"null"!==e);if(1===r.length)t.type=Object.values(ef).includes(r[0].toUpperCase())?r[0].toUpperCase():ef.TYPE_UNSPECIFIED;else for(let e of(t.anyOf=[],r))t.anyOf.push({type:Object.values(ef).includes(e.toUpperCase())?e.toUpperCase():ef.TYPE_UNSPECIFIED})}(e.type,t),Object.entries(e)))if(null!=a)if("type"==s){if("null"===a)throw Error("type: null can not be the only possible type for the field.");if(a instanceof Array)continue;t.type=Object.values(ef).includes(a.toUpperCase())?a.toUpperCase():ef.TYPE_UNSPECIFIED}else if(r.includes(s))t[s]=re(a);else if(n.includes(s)){let e=[];for(let r of a){if("null"==r.type){t.nullable=!0;continue}e.push(re(r))}t[s]=e}else if(i.includes(s)){let e={};for(let[t,r]of Object.entries(a))e[t]=re(r);t[s]=e}else{if("additionalProperties"===s)continue;t[s]=a}return t}function rt(e){if("object"==typeof e)return e;if("string"==typeof e)return{voiceConfig:{prebuiltVoiceConfig:{voiceName:e}}};throw Error(`Unsupported speechConfig type: ${typeof e}`)}function rr(e){if("multiSpeakerVoiceConfig"in e)throw Error("multiSpeakerVoiceConfig is not supported in the live API.");return e}function rn(e){if(e.functionDeclarations)for(let t of e.functionDeclarations)t.parameters&&(Object.keys(t.parameters).includes("$schema")?t.parametersJsonSchema||(t.parametersJsonSchema=t.parameters,delete t.parameters):t.parameters=re(t.parameters)),t.response&&(Object.keys(t.response).includes("$schema")?t.responseJsonSchema||(t.responseJsonSchema=t.response,delete t.response):t.response=re(t.response));return e}function ri(e){if(null==e)throw Error("tools is required");if(!Array.isArray(e))throw Error("tools is required and must be an array of Tools");let t=[];for(let r of e)t.push(r);return t}function ro(e,t){if("string"!=typeof t)throw Error("name must be a string");return function(e,t,r,n=1){let i=!t.startsWith(`${r}/`)&&t.split("/").length===n;if(e.isVertexAI())if(t.startsWith("projects/"))return t;else if(t.startsWith("locations/"))return`projects/${e.getProject()}/${t}`;else if(t.startsWith(`${r}/`))return`projects/${e.getProject()}/locations/${e.getLocation()}/${t}`;else if(i)return`projects/${e.getProject()}/locations/${e.getLocation()}/${r}/${t}`;else return t;return i?`${r}/${t}`:t}(e,t,"cachedContents")}function rs(e){switch(e){case"STATE_UNSPECIFIED":return"JOB_STATE_UNSPECIFIED";case"CREATING":return"JOB_STATE_RUNNING";case"ACTIVE":return"JOB_STATE_SUCCEEDED";case"FAILED":return"JOB_STATE_FAILED";default:return e}}function ra(e){return null!=e&&"object"==typeof e&&"video"in e}function rl(e){return null!=e&&"object"==typeof e&&"uri"in e}function ru(e){var t;let r;if(null!=e&&"object"==typeof e&&"name"in e&&(r=e.name),!rl(e)||void 0!==(r=e.uri)){if(!ra(e)||void 0!==(r=null==(t=e.video)?void 0:t.uri)){if("string"==typeof e&&(r=e),void 0===r)throw Error("Could not extract file name from the provided input.");if(r.startsWith("https://")){let e=r.split("files/")[1].match(/[a-z0-9]+/);if(null===e)throw Error(`Could not extract file name from URI ${r}`);r=e[0]}else r.startsWith("files/")&&(r=r.split("files/")[1]);return r}}}function rc(e,t){return e.isVertexAI()?t?"publishers/google/models":"models":t?"models":"tunedModels"}function rd(e){for(let n of["models","tunedModels","publisherModels"]){var t,r;if(t=e,r=n,null!==t&&"object"==typeof t&&r in t)return e[n]}return[]}function rp(e,t){let r;if("string"==typeof t)if(e.isVertexAI())if(t.startsWith("gs://"))r={format:"jsonl",gcsUri:[t]};else if(t.startsWith("bq://"))r={format:"bigquery",bigqueryUri:t};else throw Error(`Unsupported string source for Vertex AI: ${t}`);else if(t.startsWith("files/"))r={fileName:t};else throw Error(`Unsupported string source for Gemini API: ${t}`);else if(Array.isArray(t)){if(e.isVertexAI())throw Error("InlinedRequest[] is not supported in Vertex AI.");r={inlinedRequests:t}}else r=t;let n=[r.gcsUri,r.bigqueryUri].filter(Boolean).length,i=[r.inlinedRequests,r.fileName].filter(Boolean).length;if(e.isVertexAI()){if(i>0||1!==n)throw Error("Exactly one of `gcsUri` or `bigqueryUri` must be set for Vertex AI.")}else if(n>0||1!==i)throw Error("Exactly one of `inlinedRequests`, `fileName`, must be set for Gemini API.");return r}function rh(e){if("object"!=typeof e||null===e)return{};let t=e.inlinedResponses;if("object"!=typeof t||null===t)return e;let r=t.inlinedResponses;if(!Array.isArray(r)||0===r.length)return e;let n=!1;for(let e of r){if("object"!=typeof e||null===e)continue;let t=e.response;if("object"==typeof t&&null!==t&&void 0!==t.embedding){n=!0;break}}return n&&(e.inlinedEmbedContentResponses=e.inlinedResponses,delete e.inlinedResponses),e}function rf(e,t){if(!e.isVertexAI()){if(/batches\/[^/]+$/.test(t))return t.split("/").pop();throw Error(`Invalid batch job name: ${t}.`)}if(/^projects\/[^/]+\/locations\/[^/]+\/batchPredictionJobs\/[^/]+$/.test(t))return t.split("/").pop();if(/^\d+$/.test(t))return t;throw Error(`Invalid batch job name: ${t}.`)}function rm(e){if("BATCH_STATE_UNSPECIFIED"===e)return"JOB_STATE_UNSPECIFIED";if("BATCH_STATE_PENDING"===e)return"JOB_STATE_PENDING";if("BATCH_STATE_RUNNING"===e)return"JOB_STATE_RUNNING";if("BATCH_STATE_SUCCEEDED"===e)return"JOB_STATE_SUCCEEDED";if("BATCH_STATE_FAILED"===e)return"JOB_STATE_FAILED";else if("BATCH_STATE_CANCELLED"===e)return"JOB_STATE_CANCELLED";else if("BATCH_STATE_EXPIRED"===e)return"JOB_STATE_EXPIRED";else return e}function rg(e){let t={},r=t_(e,["name"]);null!=r&&ty(t,["name"],r);let n=t_(e,["metadata","displayName"]);null!=n&&ty(t,["displayName"],n);let i=t_(e,["metadata","state"]);null!=i&&ty(t,["state"],rm(i));let o=t_(e,["metadata","createTime"]);null!=o&&ty(t,["createTime"],o);let s=t_(e,["metadata","endTime"]);null!=s&&ty(t,["endTime"],s);let a=t_(e,["metadata","updateTime"]);null!=a&&ty(t,["updateTime"],a);let l=t_(e,["metadata","model"]);null!=l&&ty(t,["model"],l);let u=t_(e,["metadata","output"]);return null!=u&&ty(t,["dest"],function(e){let t={},r=t_(e,["responsesFile"]);null!=r&&ty(t,["fileName"],r);let n=t_(e,["inlinedResponses","inlinedResponses"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o;return r={},null!=(n=t_(t=e,["response"]))&&ty(r,["response"],function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["candidates"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["content"]);null!=r&&ty(t,["content"],r);let n=t_(e,["citationMetadata"]);null!=n&&ty(t,["citationMetadata"],function(e){let t={},r=t_(e,["citationSources"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["citations"],e)}return t}(n));let i=t_(e,["tokenCount"]);null!=i&&ty(t,["tokenCount"],i);let o=t_(e,["finishReason"]);null!=o&&ty(t,["finishReason"],o);let s=t_(e,["groundingMetadata"]);null!=s&&ty(t,["groundingMetadata"],s);let a=t_(e,["avgLogprobs"]);null!=a&&ty(t,["avgLogprobs"],a);let l=t_(e,["index"]);null!=l&&ty(t,["index"],l);let u=t_(e,["logprobsResult"]);null!=u&&ty(t,["logprobsResult"],u);let c=t_(e,["safetyRatings"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["safetyRatings"],e)}let d=t_(e,["urlContextMetadata"]);return null!=d&&ty(t,["urlContextMetadata"],d),t})(e))),ty(t,["candidates"],e)}let i=t_(e,["modelVersion"]);null!=i&&ty(t,["modelVersion"],i);let o=t_(e,["promptFeedback"]);null!=o&&ty(t,["promptFeedback"],o);let s=t_(e,["responseId"]);null!=s&&ty(t,["responseId"],s);let a=t_(e,["usageMetadata"]);return null!=a&&ty(t,["usageMetadata"],a),t}(n)),null!=(i=t_(t,["metadata"]))&&ty(r,["metadata"],i),null!=(o=t_(t,["error"]))&&ty(r,["error"],o),r})),ty(t,["inlinedResponses"],e)}let i=t_(e,["inlinedEmbedContentResponses","inlinedResponses"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["inlinedEmbedContentResponses"],e)}return t}(rh(u))),t}function ry(e){var t,r;let n,i,o,s,a,l,u,c,d={},p=t_(e,["name"]);null!=p&&ty(d,["name"],p);let h=t_(e,["displayName"]);null!=h&&ty(d,["displayName"],h);let f=t_(e,["state"]);null!=f&&ty(d,["state"],rm(f));let m=t_(e,["error"]);null!=m&&ty(d,["error"],m);let g=t_(e,["createTime"]);null!=g&&ty(d,["createTime"],g);let y=t_(e,["startTime"]);null!=y&&ty(d,["startTime"],y);let _=t_(e,["endTime"]);null!=_&&ty(d,["endTime"],_);let E=t_(e,["updateTime"]);null!=E&&ty(d,["updateTime"],E);let v=t_(e,["model"]);null!=v&&ty(d,["model"],v);let T=t_(e,["inputConfig"]);null!=T&&ty(d,["src"],(n={},null!=(i=t_(r=T,["instancesFormat"]))&&ty(n,["format"],i),null!=(o=t_(r,["gcsSource","uris"]))&&ty(n,["gcsUri"],o),null!=(s=t_(r,["bigquerySource","inputUri"]))&&ty(n,["bigqueryUri"],s),n));let A=t_(e,["outputConfig"]);null!=A&&ty(d,["dest"],(t=rh(A),a={},null!=(l=t_(t,["predictionsFormat"]))&&ty(a,["format"],l),null!=(u=t_(t,["gcsDestination","outputUriPrefix"]))&&ty(a,["gcsUri"],u),null!=(c=t_(t,["bigqueryDestination","outputUri"]))&&ty(a,["bigqueryUri"],c),a));let S=t_(e,["completionStats"]);return null!=S&&ty(d,["completionStats"],S),d}function r_(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}function rE(e,t){let r={},n=t_(t,["model"]);null!=n&&ty(r,["_url","model"],tz(e,n));let i=t_(t,["src"]);null!=i&&ty(r,["batch","inputConfig"],function(e,t){let r={};if(void 0!==t_(t,["format"]))throw Error("format parameter is not supported in Gemini API.");if(void 0!==t_(t,["gcsUri"]))throw Error("gcsUri parameter is not supported in Gemini API.");if(void 0!==t_(t,["bigqueryUri"]))throw Error("bigqueryUri parameter is not supported in Gemini API.");let n=t_(t,["fileName"]);null!=n&&ty(r,["fileName"],n);let i=t_(t,["inlinedRequests"]);if(null!=i){let t=i;Array.isArray(t)&&(t=t.map(t=>(function(e,t){let r={},n=t_(t,["model"]);null!=n&&ty(r,["request","model"],tz(e,n));let i=t_(t,["contents"]);if(null!=i){let e=t9(i);Array.isArray(e)&&(e=e.map(e=>r_(e))),ty(r,["request","contents"],e)}let o=t_(t,["metadata"]);null!=o&&ty(r,["metadata"],o);let s=t_(t,["config"]);return null!=s&&ty(r,["request","generationConfig"],function(e,t,r){var n;let i,o,s,a={},l=t_(t,["systemInstruction"]);void 0!==r&&null!=l&&ty(r,["systemInstruction"],r_(t3(l)));let u=t_(t,["temperature"]);null!=u&&ty(a,["temperature"],u);let c=t_(t,["topP"]);null!=c&&ty(a,["topP"],c);let d=t_(t,["topK"]);null!=d&&ty(a,["topK"],d);let p=t_(t,["candidateCount"]);null!=p&&ty(a,["candidateCount"],p);let h=t_(t,["maxOutputTokens"]);null!=h&&ty(a,["maxOutputTokens"],h);let f=t_(t,["stopSequences"]);null!=f&&ty(a,["stopSequences"],f);let m=t_(t,["responseLogprobs"]);null!=m&&ty(a,["responseLogprobs"],m);let g=t_(t,["logprobs"]);null!=g&&ty(a,["logprobs"],g);let y=t_(t,["presencePenalty"]);null!=y&&ty(a,["presencePenalty"],y);let _=t_(t,["frequencyPenalty"]);null!=_&&ty(a,["frequencyPenalty"],_);let E=t_(t,["seed"]);null!=E&&ty(a,["seed"],E);let v=t_(t,["responseMimeType"]);null!=v&&ty(a,["responseMimeType"],v);let T=t_(t,["responseSchema"]);null!=T&&ty(a,["responseSchema"],re(T));let A=t_(t,["responseJsonSchema"]);if(null!=A&&ty(a,["responseJsonSchema"],A),void 0!==t_(t,["routingConfig"]))throw Error("routingConfig parameter is not supported in Gemini API.");if(void 0!==t_(t,["modelSelectionConfig"]))throw Error("modelSelectionConfig parameter is not supported in Gemini API.");let S=t_(t,["safetySettings"]);if(void 0!==r&&null!=S){let e=S;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["category"]);if(null!=r&&ty(t,["category"],r),void 0!==t_(e,["method"]))throw Error("method parameter is not supported in Gemini API.");let n=t_(e,["threshold"]);return null!=n&&ty(t,["threshold"],n),t})(e))),ty(r,["safetySettings"],e)}let b=t_(t,["tools"]);if(void 0!==r&&null!=b){let e=ri(b);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(rn(e)))),ty(r,["tools"],e)}let C=t_(t,["toolConfig"]);if(void 0!==r&&null!=C&&ty(r,["toolConfig"],(i={},null!=(o=t_(n=C,["retrievalConfig"]))&&ty(i,["retrievalConfig"],o),null!=(s=t_(n,["functionCallingConfig"]))&&ty(i,["functionCallingConfig"],function(e){let t={},r=t_(e,["allowedFunctionNames"]);null!=r&&ty(t,["allowedFunctionNames"],r);let n=t_(e,["mode"]);if(null!=n&&ty(t,["mode"],n),void 0!==t_(e,["streamFunctionCallArguments"]))throw Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return t}(s)),i)),void 0!==t_(t,["labels"]))throw Error("labels parameter is not supported in Gemini API.");let O=t_(t,["cachedContent"]);void 0!==r&&null!=O&&ty(r,["cachedContent"],ro(e,O));let I=t_(t,["responseModalities"]);null!=I&&ty(a,["responseModalities"],I);let w=t_(t,["mediaResolution"]);null!=w&&ty(a,["mediaResolution"],w);let R=t_(t,["speechConfig"]);if(null!=R&&ty(a,["speechConfig"],rt(R)),void 0!==t_(t,["audioTimestamp"]))throw Error("audioTimestamp parameter is not supported in Gemini API.");let N=t_(t,["thinkingConfig"]);null!=N&&ty(a,["thinkingConfig"],N);let k=t_(t,["imageConfig"]);null!=k&&ty(a,["imageConfig"],function(e){let t={},r=t_(e,["aspectRatio"]);null!=r&&ty(t,["aspectRatio"],r);let n=t_(e,["imageSize"]);if(null!=n&&ty(t,["imageSize"],n),void 0!==t_(e,["personGeneration"]))throw Error("personGeneration parameter is not supported in Gemini API.");if(void 0!==t_(e,["prominentPeople"]))throw Error("prominentPeople parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputMimeType"]))throw Error("outputMimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputCompressionQuality"]))throw Error("outputCompressionQuality parameter is not supported in Gemini API.");return t}(k));let P=t_(t,["enableEnhancedCivicAnswers"]);if(null!=P&&ty(a,["enableEnhancedCivicAnswers"],P),void 0!==t_(t,["modelArmorConfig"]))throw Error("modelArmorConfig parameter is not supported in Gemini API.");return a}(e,s,t_(r,["request"],{}))),r})(e,t))),ty(r,["requests","requests"],t)}return r}(e,rp(e,i)));let o=t_(t,["config"]);return null!=o&&function(e,t){let r=t_(e,["displayName"]);if(void 0!==t&&null!=r&&ty(t,["batch","displayName"],r),void 0!==t_(e,["dest"]))throw Error("dest parameter is not supported in Gemini API.")}(o,r),r}(ec=ts||(ts={})).PAGED_ITEM_BATCH_JOBS="batchJobs",ec.PAGED_ITEM_MODELS="models",ec.PAGED_ITEM_TUNING_JOBS="tuningJobs",ec.PAGED_ITEM_FILES="files",ec.PAGED_ITEM_CACHED_CONTENTS="cachedContents",ec.PAGED_ITEM_FILE_SEARCH_STORES="fileSearchStores",ec.PAGED_ITEM_DOCUMENTS="documents";class rv{constructor(e,t,r,n){this.pageInternal=[],this.paramsInternal={},this.requestInternal=t,this.init(e,r,n)}init(e,t,r){var n,i;this.nameInternal=e,this.pageInternal=t[this.nameInternal]||[],this.sdkHttpResponseInternal=null==t?void 0:t.sdkHttpResponse,this.idxInternal=0;let o={config:{}};(o=r&&0!==Object.keys(r).length?"object"==typeof r?Object.assign({},r):r:{config:{}}).config&&(o.config.pageToken=t.nextPageToken),this.paramsInternal=o,this.pageInternalSize=null!=(i=null==(n=o.config)?void 0:n.pageSize)?i:this.pageInternal.length}initNextPage(e){this.init(this.nameInternal,e,this.paramsInternal)}get page(){return this.pageInternal}get name(){return this.nameInternal}get pageSize(){return this.pageInternalSize}get sdkHttpResponse(){return this.sdkHttpResponseInternal}get params(){return this.paramsInternal}get pageLength(){return this.pageInternal.length}getItem(e){return this.pageInternal[e]}[Symbol.asyncIterator](){return{next:async()=>{if(this.idxInternal>=this.pageLength)if(!this.hasNextPage())return{value:void 0,done:!0};else await this.nextPage();let e=this.getItem(this.idxInternal);return this.idxInternal+=1,{value:e,done:!1}},return:async()=>({value:void 0,done:!0})}}async nextPage(){if(!this.hasNextPage())throw Error("No more pages to fetch.");let e=await this.requestInternal(this.params);return this.initNextPage(e),this.page}hasNextPage(){var e;return(null==(e=this.params.config)?void 0:e.pageToken)!==void 0}}class rT extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_BATCH_JOBS,e=>this.listInternal(e),await this.listInternal(e),e),this.create=async e=>(this.apiClient.isVertexAI()&&(e.config=this.formatDestination(e.src,e.config)),this.createInternal(e)),this.createEmbeddings=async e=>{if(console.warn("batches.createEmbeddings() is experimental and may change without notice."),this.apiClient.isVertexAI())throw Error("Vertex AI does not support batches.createEmbeddings.");return this.createEmbeddingsInternal(e)}}createInlinedGenerateContentRequest(e){let t=rE(this.apiClient,e),r=tg("{model}:batchGenerateContent",t._url),n=t.batch.inputConfig.requests,i=n.requests,o=[];for(let e of i){let t=Object.assign({},e);if(t.systemInstruction){let e=t.systemInstruction;delete t.systemInstruction;let r=t.request;r.systemInstruction=e,t.request=r}o.push(t)}return n.requests=o,delete t.config,delete t._url,delete t._query,{path:r,body:t}}getGcsUri(e){return"string"==typeof e?e.startsWith("gs://")?e:void 0:!Array.isArray(e)&&e.gcsUri&&e.gcsUri.length>0?e.gcsUri[0]:void 0}getBigqueryUri(e){return"string"==typeof e?e.startsWith("bq://")?e:void 0:Array.isArray(e)?void 0:e.bigqueryUri}formatDestination(e,t){let r=t?Object.assign({},t):{},n=Date.now().toString();if(r.displayName||(r.displayName=`genaiBatchJob_${n}`),void 0===r.dest){let t=this.getGcsUri(e),i=this.getBigqueryUri(e);if(t)t.endsWith(".jsonl")?r.dest=`${t.slice(0,-6)}/dest`:r.dest=`${t}_dest_${n}`;else if(i)r.dest=`${i}_dest_${n}`;else throw Error("Unsupported source for Vertex AI: No GCS or BigQuery URI found.")}return r}async createInternal(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI()){let n,i,l,u,c,d,p=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["model"],tz(o,i)),null!=(l=t_(e,["src"]))&&ty(n,["inputConfig"],function(e){let t={},r=t_(e,["format"]);null!=r&&ty(t,["instancesFormat"],r);let n=t_(e,["gcsUri"]);null!=n&&ty(t,["gcsSource","uris"],n);let i=t_(e,["bigqueryUri"]);if(null!=i&&ty(t,["bigquerySource","inputUri"],i),void 0!==t_(e,["fileName"]))throw Error("fileName parameter is not supported in Vertex AI.");if(void 0!==t_(e,["inlinedRequests"]))throw Error("inlinedRequests parameter is not supported in Vertex AI.");return t}(rp(o,l))),null!=(u=t_(e,["config"]))&&(c=t_(u,["displayName"]),void 0!==n&&null!=c&&ty(n,["displayName"],c),d=t_(u,["dest"]),void 0!==n&&null!=d&&ty(n,["outputConfig"],function(e){let t={},r=t_(e,["format"]);null!=r&&ty(t,["predictionsFormat"],r);let n=t_(e,["gcsUri"]);null!=n&&ty(t,["gcsDestination","outputUriPrefix"],n);let i=t_(e,["bigqueryUri"]);if(null!=i&&ty(t,["bigqueryDestination","outputUri"],i),void 0!==t_(e,["fileName"]))throw Error("fileName parameter is not supported in Vertex AI.");if(void 0!==t_(e,["inlinedResponses"]))throw Error("inlinedResponses parameter is not supported in Vertex AI.");if(void 0!==t_(e,["inlinedEmbedContentResponses"]))throw Error("inlinedEmbedContentResponses parameter is not supported in Vertex AI.");return t}(function(e){if("string"!=typeof e)return e;if(e.startsWith("gs://"))return{format:"jsonl",gcsUri:e};if(e.startsWith("bq://"))return{format:"bigquery",bigqueryUri:e};throw Error(`Unsupported destination: ${e}`)}(d)))),n);return s=tg("batchPredictionJobs",p._url),a=p._query,delete p._url,delete p._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(p),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>ry(e))}{let t=rE(this.apiClient,e);return s=tg("{model}:batchGenerateContent",t._url),a=t._query,delete t._url,delete t._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rg(e))}}async createEmbeddingsInternal(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let l,u,c,d,p,h,f,m,g=(n=this.apiClient,d={},null!=(p=t_(e,["model"]))&&ty(d,["_url","model"],tz(n,p)),null!=(h=t_(e,["src"]))&&ty(d,["batch","inputConfig"],(i=n,l={},null!=(u=t_(o=h,["fileName"]))&&ty(l,["file_name"],u),null!=(c=t_(o,["inlinedRequests"]))&&ty(l,["requests"],function(e,t){let r={},n=t_(t,["contents"]);if(null!=n){let t=t7(e,n);Array.isArray(t)&&(t=t.map(e=>e)),ty(r,["requests[]","request","content"],t)}let i=t_(t,["config"]);return null!=i&&(ty(r,["_self"],function(e,t){let r=t_(e,["taskType"]);void 0!==t&&null!=r&&ty(t,["requests[]","taskType"],r);let n=t_(e,["title"]);void 0!==t&&null!=n&&ty(t,["requests[]","title"],n);let i=t_(e,["outputDimensionality"]);if(void 0!==t&&null!=i&&ty(t,["requests[]","outputDimensionality"],i),void 0!==t_(e,["mimeType"]))throw Error("mimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["autoTruncate"]))throw Error("autoTruncate parameter is not supported in Gemini API.");return{}}(i,r)),!function(e,t){for(let[r,n]of Object.entries(t)){let t=r.split("."),i=n.split("."),o=new Set,s=-1;for(let e=0;es)for(let e=s;e=r.length||"object"!=typeof t||null===t)return;let s=r[i];if(s.endsWith("[]")){let a=s.slice(0,-2);if(a in t&&Array.isArray(t[a]))for(let s of t[a])e(s,r,n,i+1,o)}else if("*"===s){if("object"==typeof t&&null!==t&&!Array.isArray(t)){let e=Object.keys(t).filter(e=>!e.startsWith("_")&&!o.has(e)),r={};for(let n of e)r[n]=t[n];for(let[e,o]of Object.entries(r)){let r=[];for(let t of n.slice(i))"*"===t?r.push(e):r.push(t);ty(t,r,o)}for(let r of e)delete t[r]}}else s in t&&e(t[s],r,n,i+1,o)}(e,t,i,0,o)}}(r,{"requests[].*":"requests[].request.*"})),r}(i,c)),l)),null!=(f=t_(e,["config"]))&&(m=t_(f,["displayName"]),void 0!==d&&null!=m&&ty(d,["batch","displayName"],m)),d);return s=tg("{model}:asyncBatchEmbedContent",g._url),a=g._query,delete g._url,delete g._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(g),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>rg(e))}}async get(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],rf(o,i)),n);return a=tg("batchPredictionJobs/{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>ry(e))}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],rf(s,r)),t);return a=tg("batches/{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rg(e))}}async cancel(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],rf(o,i)),n);a=tg("batchPredictionJobs/{name}:cancel",s._url),l=s._query,delete s._url,delete s._query,await this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal})}else{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],rf(s,r)),t);a=tg("batches/{name}:cancel",o._url),l=o._query,delete o._url,delete o._query,await this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal})}}async listInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a,l,u,c=(n={},null!=(i=t_(e,["config"]))&&(a=t_(i,["pageSize"]),void 0!==n&&null!=a&&ty(n,["_query","pageSize"],a),l=t_(i,["pageToken"]),void 0!==n&&null!=l&&ty(n,["_query","pageToken"],l),u=t_(i,["filter"]),void 0!==n&&null!=u&&ty(n,["_query","filter"],u)),n);return o=tg("batchPredictionJobs",c._url),s=c._query,delete c._url,delete c._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["batchPredictionJobs"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>ry(e))),ty(t,["batchJobs"],e)}return t}(e),r=new tJ;return Object.assign(r,t),r})}{let t,r,a=(t={},null!=(r=t_(e,["config"]))&&function(e,t){let r=t_(e,["pageSize"]);void 0!==t&&null!=r&&ty(t,["_query","pageSize"],r);let n=t_(e,["pageToken"]);if(void 0!==t&&null!=n&&ty(t,["_query","pageToken"],n),void 0!==t_(e,["filter"]))throw Error("filter parameter is not supported in Gemini API.")}(r,t),t);return o=tg("batches",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["operations"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rg(e))),ty(t,["batchJobs"],e)}return t}(e),r=new tJ;return Object.assign(r,t),r})}}async delete(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],rf(o,i)),n);return a=tg("batchPredictionJobs/{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o;return t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),t})}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],rf(s,r)),t);return a=tg("batches/{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"DELETE",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o;return t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),t})}}}function rA(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}class rS extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_CACHED_CONTENTS,e=>this.listInternal(e),await this.listInternal(e),e)}async create(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["model"],tX(o,i)),null!=(s=t_(e,["config"]))&&function(e,t){let r=t_(e,["ttl"]);void 0!==t&&null!=r&&ty(t,["ttl"],r);let n=t_(e,["expireTime"]);void 0!==t&&null!=n&&ty(t,["expireTime"],n);let i=t_(e,["displayName"]);void 0!==t&&null!=i&&ty(t,["displayName"],i);let o=t_(e,["contents"]);if(void 0!==t&&null!=o){let e=t9(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["contents"],e)}let s=t_(e,["systemInstruction"]);void 0!==t&&null!=s&&ty(t,["systemInstruction"],t3(s));let a=t_(e,["tools"]);if(void 0!==t&&null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["retrieval"]);null!=r&&ty(t,["retrieval"],r);let n=t_(e,["computerUse"]);if(null!=n&&ty(t,["computerUse"],n),void 0!==t_(e,["fileSearch"]))throw Error("fileSearch parameter is not supported in Vertex AI.");let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],i);let o=t_(e,["codeExecution"]);null!=o&&ty(t,["codeExecution"],o);let s=t_(e,["enterpriseWebSearch"]);null!=s&&ty(t,["enterpriseWebSearch"],s);let a=t_(e,["functionDeclarations"]);if(null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["description"]);null!=r&&ty(t,["description"],r);let n=t_(e,["name"]);null!=n&&ty(t,["name"],n);let i=t_(e,["parameters"]);null!=i&&ty(t,["parameters"],i);let o=t_(e,["parametersJsonSchema"]);null!=o&&ty(t,["parametersJsonSchema"],o);let s=t_(e,["response"]);null!=s&&ty(t,["response"],s);let a=t_(e,["responseJsonSchema"]);if(null!=a&&ty(t,["responseJsonSchema"],a),void 0!==t_(e,["behavior"]))throw Error("behavior parameter is not supported in Vertex AI.");return t})(e))),ty(t,["functionDeclarations"],e)}let l=t_(e,["googleMaps"]);null!=l&&ty(t,["googleMaps"],l);let u=t_(e,["googleSearchRetrieval"]);null!=u&&ty(t,["googleSearchRetrieval"],u);let c=t_(e,["urlContext"]);if(null!=c&&ty(t,["urlContext"],c),void 0!==t_(e,["mcpServers"]))throw Error("mcpServers parameter is not supported in Vertex AI.");return t})(e))),ty(t,["tools"],e)}let l=t_(e,["toolConfig"]);void 0!==t&&null!=l&&ty(t,["toolConfig"],l);let u=t_(e,["kmsKeyName"]);void 0!==t&&null!=u&&ty(t,["encryption_spec","kmsKeyName"],u)}(s,n),n);return a=tg("cachedContents",u._url),l=u._query,delete u._url,delete u._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(u),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}{let t,r,o,u=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["model"],tX(s,r)),null!=(o=t_(e,["config"]))&&function(e,t){var r;let n,i,o,s=t_(e,["ttl"]);void 0!==t&&null!=s&&ty(t,["ttl"],s);let a=t_(e,["expireTime"]);void 0!==t&&null!=a&&ty(t,["expireTime"],a);let l=t_(e,["displayName"]);void 0!==t&&null!=l&&ty(t,["displayName"],l);let u=t_(e,["contents"]);if(void 0!==t&&null!=u){let e=t9(u);Array.isArray(e)&&(e=e.map(e=>rA(e))),ty(t,["contents"],e)}let c=t_(e,["systemInstruction"]);void 0!==t&&null!=c&&ty(t,["systemInstruction"],rA(t3(c)));let d=t_(e,["tools"]);if(void 0!==t&&null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(e))),ty(t,["tools"],e)}let p=t_(e,["toolConfig"]);if(void 0!==t&&null!=p&&ty(t,["toolConfig"],(n={},null!=(i=t_(r=p,["retrievalConfig"]))&&ty(n,["retrievalConfig"],i),null!=(o=t_(r,["functionCallingConfig"]))&&ty(n,["functionCallingConfig"],function(e){let t={},r=t_(e,["allowedFunctionNames"]);null!=r&&ty(t,["allowedFunctionNames"],r);let n=t_(e,["mode"]);if(null!=n&&ty(t,["mode"],n),void 0!==t_(e,["streamFunctionCallArguments"]))throw Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return t}(o)),n)),void 0!==t_(e,["kmsKeyName"]))throw Error("kmsKeyName parameter is not supported in Gemini API.")}(o,t),t);return a=tg("cachedContents",u._url),l=u._query,delete u._url,delete u._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(u),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>e)}}async get(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],ro(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],ro(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],ro(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tM;return Object.assign(i,n),i})}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],ro(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"DELETE",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tM;return Object.assign(i,n),i})}}async update(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],ro(o,i)),null!=(s=t_(e,["config"]))&&(u=t_(s,["ttl"]),void 0!==n&&null!=u&&ty(n,["ttl"],u),c=t_(s,["expireTime"]),void 0!==n&&null!=c&&ty(n,["expireTime"],c)),n);return a=tg("{name}",d._url),l=d._query,delete d._url,delete d._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(d),httpMethod:"PATCH",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}{let t,r,o,u,c,d=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],ro(s,r)),null!=(o=t_(e,["config"]))&&(u=t_(o,["ttl"]),void 0!==t&&null!=u&&ty(t,["ttl"],u),c=t_(o,["expireTime"]),void 0!==t&&null!=c&&ty(t,["expireTime"],c)),t);return a=tg("{name}",d._url),l=d._query,delete d._url,delete d._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(d),httpMethod:"PATCH",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>e)}}async listInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a,l,u=(n={},null!=(i=t_(e,["config"]))&&(a=t_(i,["pageSize"]),void 0!==n&&null!=a&&ty(n,["_query","pageSize"],a),l=t_(i,["pageToken"]),void 0!==n&&null!=l&&ty(n,["_query","pageToken"],l)),n);return o=tg("cachedContents",u._url),s=u._query,delete u._url,delete u._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["cachedContents"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["cachedContents"],e)}return t}(e),r=new tL;return Object.assign(r,t),r})}{let t,r,a,l,u=(t={},null!=(r=t_(e,["config"]))&&(a=t_(r,["pageSize"]),void 0!==t&&null!=a&&ty(t,["_query","pageSize"],a),l=t_(r,["pageToken"]),void 0!==t&&null!=l&&ty(t,["_query","pageToken"],l)),t);return o=tg("cachedContents",u._url),s=u._query,delete u._url,delete u._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["cachedContents"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["cachedContents"],e)}return t}(e),r=new tL;return Object.assign(r,t),r})}}}function rb(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function rC(e){return this instanceof rC?(this.v=e,this):new rC(e)}function rO(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function s(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{var r;(r=i[e](t)).value instanceof rC?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function rI(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){var o,s,a;o=n,s=i,a=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:a})},s)})}}}function rw(e){if(void 0===e.parts||0===e.parts.length)return!1;for(let t of e.parts)if(void 0===t||0===Object.keys(t).length)return!1;return!0}function rR(e){if(void 0===e||0===e.length)return[];let t=[],r=e.length,n=0;for(;n{var e,t,i;let o=await n,s=null==(t=null==(e=o.candidates)?void 0:e[0])?void 0:t.content,a=o.automaticFunctionCallingHistory,l=this.getHistory(!0).length,u=[];null!=a&&(u=null!=(i=a.slice(l))?i:[]),this.recordHistory(r,s?[s]:[],u)})(),await this.sendPromise.catch(()=>{this.sendPromise=Promise.resolve()}),n}async sendMessageStream(e){var t;await this.sendPromise;let r=t3(e.message),n=this.modelsModule.generateContentStream({model:this.model,contents:this.getHistory(!0).concat(r),config:null!=(t=e.config)?t:this.config});this.sendPromise=n.then(()=>void 0).catch(()=>void 0);let i=await n;return this.processStreamResponse(i,r)}getHistory(e=!1){return structuredClone(e?rR(this.history):this.history)}processStreamResponse(e,t){return rO(this,arguments,function*(){let r=[];try{for(var n,i,o,s,a,l,u,c=!0,d=rI(e);!(n=(u=yield rC(d.next())).done);c=!0){if(s=u.value,c=!1,function(e){var t;if(void 0==e.candidates||0===e.candidates.length)return!1;let r=null==(t=e.candidates[0])?void 0:t.content;return void 0!==r&&rw(r)}(s)){let e=null==(l=null==(a=s.candidates)?void 0:a[0])?void 0:l.content;void 0!==e&&r.push(e)}yield yield rC(s)}}catch(e){i={error:e}}finally{try{!c&&!n&&(o=d.return)&&(yield rC(o.call(d)))}finally{if(i)throw i.error}}this.recordHistory(t,r)})}recordHistory(e,t,r){let n=[];t.length>0&&t.every(e=>void 0!==e.role)?n=t:n.push({role:"model",parts:[]}),r&&r.length>0?this.history.push(...rR(r)):this.history.push(e),this.history.push(...n)}}class rP extends Error{constructor(e){super(e.message),this.name="ApiError",this.status=e.status,Object.setPrototypeOf(this,rP.prototype)}}class rx extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_FILES,e=>this.listInternal(e),await this.listInternal(e),e)}async upload(e){if(this.apiClient.isVertexAI())throw Error("Vertex AI does not support uploading files. You can share files through a GCS bucket.");return this.apiClient.uploadFile(e.file,e.config).then(e=>e)}async download(e){await this.apiClient.downloadFile(e)}async registerFiles(e){throw Error("registerFiles is only supported in Node.js environments.")}async _registerFiles(e){return this.registerFilesInternal(e)}async listInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["config"]))&&(a=t_(s,["pageSize"]),void 0!==o&&null!=a&&ty(o,["_query","pageSize"],a),l=t_(s,["pageToken"]),void 0!==o&&null!=l&&ty(o,["_query","pageToken"],l)),o);return n=tg("files",u._url),i=u._query,delete u._url,delete u._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["files"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["files"],e)}return t}(e),r=new tH;return Object.assign(r,t),r})}}async createInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["file"]))&&ty(o,["file"],s),o);return n=tg("upload/v1beta/files",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tB;return Object.assign(i,n),i})}}async get(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","file"],ru(s)),o);return n=tg("files/{file}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","file"],ru(s)),o);return n=tg("files/{file}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tV;return Object.assign(i,n),i})}}async registerFilesInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["uris"]))&&ty(o,["uris"],s),o);return n=tg("files:register",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["files"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["files"],e)}return t}(e),r=new t$;return Object.assign(r,t),r})}}}function rU(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}function rD(e,t){let r={},n=t_(e,["parts"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e,t){let r={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["fileUri"]);null!=n&&ty(r,["fileUri"],n);let i=t_(e,["mimeType"]);return null!=i&&ty(r,["mimeType"],i),r}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e,t){let r={},n=t_(e,["id"]);null!=n&&ty(r,["id"],n);let i=t_(e,["args"]);null!=i&&ty(r,["args"],i);let o=t_(e,["name"]);if(null!=o&&ty(r,["name"],o),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return r}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e,t){let r={},n=t_(e,["data"]);if(null!=n&&ty(r,["data"],n),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let i=t_(e,["mimeType"]);return null!=i&&ty(r,["mimeType"],i),r}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(r,["parts"],e)}let i=t_(e,["role"]);return null!=i&&ty(r,["role"],i),r}function rM(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t9(o);Array.isArray(e)&&(e=e.map(e=>rD(e))),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&ty(n,["generationConfig"],function(e,t,r,n){var i;let o,s,a,l={},u=t_(t,["systemInstruction"]);void 0!==r&&null!=u&&ty(r,["systemInstruction"],rD(t3(u)));let c=t_(t,["temperature"]);null!=c&&ty(l,["temperature"],c);let d=t_(t,["topP"]);null!=d&&ty(l,["topP"],d);let p=t_(t,["topK"]);null!=p&&ty(l,["topK"],p);let h=t_(t,["candidateCount"]);null!=h&&ty(l,["candidateCount"],h);let f=t_(t,["maxOutputTokens"]);null!=f&&ty(l,["maxOutputTokens"],f);let m=t_(t,["stopSequences"]);null!=m&&ty(l,["stopSequences"],m);let g=t_(t,["responseLogprobs"]);null!=g&&ty(l,["responseLogprobs"],g);let y=t_(t,["logprobs"]);null!=y&&ty(l,["logprobs"],y);let _=t_(t,["presencePenalty"]);null!=_&&ty(l,["presencePenalty"],_);let E=t_(t,["frequencyPenalty"]);null!=E&&ty(l,["frequencyPenalty"],E);let v=t_(t,["seed"]);null!=v&&ty(l,["seed"],v);let T=t_(t,["responseMimeType"]);null!=T&&ty(l,["responseMimeType"],T);let A=t_(t,["responseSchema"]);null!=A&&ty(l,["responseSchema"],re(A));let S=t_(t,["responseJsonSchema"]);if(null!=S&&ty(l,["responseJsonSchema"],S),void 0!==t_(t,["routingConfig"]))throw Error("routingConfig parameter is not supported in Gemini API.");if(void 0!==t_(t,["modelSelectionConfig"]))throw Error("modelSelectionConfig parameter is not supported in Gemini API.");let b=t_(t,["safetySettings"]);if(void 0!==r&&null!=b){let e=b;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["category"]);if(null!=n&&ty(r,["category"],n),void 0!==t_(e,["method"]))throw Error("method parameter is not supported in Gemini API.");let i=t_(e,["threshold"]);return null!=i&&ty(r,["threshold"],i),r})(e))),ty(r,["safetySettings"],e)}let C=t_(t,["tools"]);if(void 0!==r&&null!=C){let e=ri(C);Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let n=t_(e,["computerUse"]);null!=n&&ty(r,["computerUse"],n);let i=t_(e,["fileSearch"]);null!=i&&ty(r,["fileSearch"],i);let o=t_(e,["googleSearch"]);null!=o&&ty(r,["googleSearch"],function(e,t){let r={},n=t_(e,["searchTypes"]);if(null!=n&&ty(r,["searchTypes"],n),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let i=t_(e,["timeRangeFilter"]);return null!=i&&ty(r,["timeRangeFilter"],i),r}(o));let s=t_(e,["codeExecution"]);if(null!=s&&ty(r,["codeExecution"],s),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let a=t_(e,["functionDeclarations"]);if(null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["functionDeclarations"],e)}let l=t_(e,["googleMaps"]);null!=l&&ty(r,["googleMaps"],function(e,t){let r={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let n=t_(e,["enableWidget"]);return null!=n&&ty(r,["enableWidget"],n),r}(l));let u=t_(e,["googleSearchRetrieval"]);null!=u&&ty(r,["googleSearchRetrieval"],u);let c=t_(e,["urlContext"]);null!=c&&ty(r,["urlContext"],c);let d=t_(e,["mcpServers"]);if(null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["mcpServers"],e)}return r})(rn(e)))),ty(r,["tools"],e)}let O=t_(t,["toolConfig"]);if(void 0!==r&&null!=O&&ty(r,["toolConfig"],(o={},null!=(s=t_(i=O,["retrievalConfig"]))&&ty(o,["retrievalConfig"],s),null!=(a=t_(i,["functionCallingConfig"]))&&ty(o,["functionCallingConfig"],function(e,t){let r={},n=t_(e,["allowedFunctionNames"]);null!=n&&ty(r,["allowedFunctionNames"],n);let i=t_(e,["mode"]);if(null!=i&&ty(r,["mode"],i),void 0!==t_(e,["streamFunctionCallArguments"]))throw Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return r}(a)),o)),void 0!==t_(t,["labels"]))throw Error("labels parameter is not supported in Gemini API.");let I=t_(t,["cachedContent"]);void 0!==r&&null!=I&&ty(r,["cachedContent"],ro(e,I));let w=t_(t,["responseModalities"]);null!=w&&ty(l,["responseModalities"],w);let R=t_(t,["mediaResolution"]);null!=R&&ty(l,["mediaResolution"],R);let N=t_(t,["speechConfig"]);if(null!=N&&ty(l,["speechConfig"],rt(N)),void 0!==t_(t,["audioTimestamp"]))throw Error("audioTimestamp parameter is not supported in Gemini API.");let k=t_(t,["thinkingConfig"]);null!=k&&ty(l,["thinkingConfig"],k);let P=t_(t,["imageConfig"]);null!=P&&ty(l,["imageConfig"],function(e,t){let r={},n=t_(e,["aspectRatio"]);null!=n&&ty(r,["aspectRatio"],n);let i=t_(e,["imageSize"]);if(null!=i&&ty(r,["imageSize"],i),void 0!==t_(e,["personGeneration"]))throw Error("personGeneration parameter is not supported in Gemini API.");if(void 0!==t_(e,["prominentPeople"]))throw Error("prominentPeople parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputMimeType"]))throw Error("outputMimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputCompressionQuality"]))throw Error("outputCompressionQuality parameter is not supported in Gemini API.");return r}(P));let x=t_(t,["enableEnhancedCivicAnswers"]);if(null!=x&&ty(l,["enableEnhancedCivicAnswers"],x),void 0!==t_(t,["modelArmorConfig"]))throw Error("modelArmorConfig parameter is not supported in Gemini API.");return l}(e,s,n)),n}function rL(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t9(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&ty(n,["generationConfig"],function(e,t,r,n){var i;let o,s,a,l,u,c,d,p={},h=t_(t,["systemInstruction"]);void 0!==r&&null!=h&&ty(r,["systemInstruction"],t3(h));let f=t_(t,["temperature"]);null!=f&&ty(p,["temperature"],f);let m=t_(t,["topP"]);null!=m&&ty(p,["topP"],m);let g=t_(t,["topK"]);null!=g&&ty(p,["topK"],g);let y=t_(t,["candidateCount"]);null!=y&&ty(p,["candidateCount"],y);let _=t_(t,["maxOutputTokens"]);null!=_&&ty(p,["maxOutputTokens"],_);let E=t_(t,["stopSequences"]);null!=E&&ty(p,["stopSequences"],E);let v=t_(t,["responseLogprobs"]);null!=v&&ty(p,["responseLogprobs"],v);let T=t_(t,["logprobs"]);null!=T&&ty(p,["logprobs"],T);let A=t_(t,["presencePenalty"]);null!=A&&ty(p,["presencePenalty"],A);let S=t_(t,["frequencyPenalty"]);null!=S&&ty(p,["frequencyPenalty"],S);let b=t_(t,["seed"]);null!=b&&ty(p,["seed"],b);let C=t_(t,["responseMimeType"]);null!=C&&ty(p,["responseMimeType"],C);let O=t_(t,["responseSchema"]);null!=O&&ty(p,["responseSchema"],re(O));let I=t_(t,["responseJsonSchema"]);null!=I&&ty(p,["responseJsonSchema"],I);let w=t_(t,["routingConfig"]);null!=w&&ty(p,["routingConfig"],w);let R=t_(t,["modelSelectionConfig"]);null!=R&&ty(p,["modelConfig"],R);let N=t_(t,["safetySettings"]);if(void 0!==r&&null!=N){let e=N;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["safetySettings"],e)}let k=t_(t,["tools"]);if(void 0!==r&&null!=k){let e=ri(k);Array.isArray(e)&&(e=e.map(e=>rK(rn(e)))),ty(r,["tools"],e)}let P=t_(t,["toolConfig"]);void 0!==r&&null!=P&&ty(r,["toolConfig"],P);let x=t_(t,["labels"]);void 0!==r&&null!=x&&ty(r,["labels"],x);let U=t_(t,["cachedContent"]);void 0!==r&&null!=U&&ty(r,["cachedContent"],ro(e,U));let D=t_(t,["responseModalities"]);null!=D&&ty(p,["responseModalities"],D);let M=t_(t,["mediaResolution"]);null!=M&&ty(p,["mediaResolution"],M);let L=t_(t,["speechConfig"]);null!=L&&ty(p,["speechConfig"],rt(L));let j=t_(t,["audioTimestamp"]);null!=j&&ty(p,["audioTimestamp"],j);let G=t_(t,["thinkingConfig"]);null!=G&&ty(p,["thinkingConfig"],G);let F=t_(t,["imageConfig"]);if(null!=F&&ty(p,["imageConfig"],(o={},null!=(s=t_(i=F,["aspectRatio"]))&&ty(o,["aspectRatio"],s),null!=(a=t_(i,["imageSize"]))&&ty(o,["imageSize"],a),null!=(l=t_(i,["personGeneration"]))&&ty(o,["personGeneration"],l),null!=(u=t_(i,["prominentPeople"]))&&ty(o,["prominentPeople"],u),null!=(c=t_(i,["outputMimeType"]))&&ty(o,["imageOutputOptions","mimeType"],c),null!=(d=t_(i,["outputCompressionQuality"]))&&ty(o,["imageOutputOptions","compressionQuality"],d),o)),void 0!==t_(t,["enableEnhancedCivicAnswers"]))throw Error("enableEnhancedCivicAnswers parameter is not supported in Vertex AI.");let q=t_(t,["modelArmorConfig"]);return void 0!==r&&null!=q&&ty(r,["modelArmorConfig"],q),p}(e,s,n)),n}function rj(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["candidates"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["content"]);null!=n&&ty(r,["content"],n);let i=t_(e,["citationMetadata"]);null!=i&&ty(r,["citationMetadata"],function(e,t){let r={},n=t_(e,["citationSources"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["citations"],e)}return r}(i));let o=t_(e,["tokenCount"]);null!=o&&ty(r,["tokenCount"],o);let s=t_(e,["finishReason"]);null!=s&&ty(r,["finishReason"],s);let a=t_(e,["groundingMetadata"]);null!=a&&ty(r,["groundingMetadata"],a);let l=t_(e,["avgLogprobs"]);null!=l&&ty(r,["avgLogprobs"],l);let u=t_(e,["index"]);null!=u&&ty(r,["index"],u);let c=t_(e,["logprobsResult"]);null!=c&&ty(r,["logprobsResult"],c);let d=t_(e,["safetyRatings"]);if(null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["safetyRatings"],e)}let p=t_(e,["urlContextMetadata"]);return null!=p&&ty(r,["urlContextMetadata"],p),r})(e))),ty(r,["candidates"],e)}let o=t_(e,["modelVersion"]);null!=o&&ty(r,["modelVersion"],o);let s=t_(e,["promptFeedback"]);null!=s&&ty(r,["promptFeedback"],s);let a=t_(e,["responseId"]);null!=a&&ty(r,["responseId"],a);let l=t_(e,["usageMetadata"]);return null!=l&&ty(r,["usageMetadata"],l),r}function rG(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["candidates"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["candidates"],e)}let o=t_(e,["createTime"]);null!=o&&ty(r,["createTime"],o);let s=t_(e,["modelVersion"]);null!=s&&ty(r,["modelVersion"],s);let a=t_(e,["promptFeedback"]);null!=a&&ty(r,["promptFeedback"],a);let l=t_(e,["responseId"]);null!=l&&ty(r,["responseId"],l);let u=t_(e,["usageMetadata"]);return null!=u&&ty(r,["usageMetadata"],u),r}function rF(e,t){let r={},n=t_(e,["_self"]);null!=n&&ty(r,["image"],rq(n));let i=t_(e,["raiFilteredReason"]);null!=i&&ty(r,["raiFilteredReason"],i);let o=t_(e,["_self"]);null!=o&&ty(r,["safetyAttributes"],rW(o));let s=t_(e,["prompt"]);return null!=s&&ty(r,["enhancedPrompt"],s),r}function rq(e,t){let r={},n=t_(e,["gcsUri"]);null!=n&&ty(r,["gcsUri"],n);let i=t_(e,["bytesBase64Encoded"]);null!=i&&ty(r,["imageBytes"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["mimeType"],o),r}function rH(e,t){let r={};if(void 0!==t_(e,["gcsUri"]))throw Error("gcsUri parameter is not supported in Gemini API.");let n=t_(e,["imageBytes"]);null!=n&&ty(r,["bytesBase64Encoded"],tE(n));let i=t_(e,["mimeType"]);return null!=i&&ty(r,["mimeType"],i),r}function rB(e,t){let r={},n=t_(e,["gcsUri"]);null!=n&&ty(r,["gcsUri"],n);let i=t_(e,["imageBytes"]);null!=i&&ty(r,["bytesBase64Encoded"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["mimeType"],o),r}function rV(e,t){var r;let n,i,o,s,a={},l=t_(e,["name"]);null!=l&&ty(a,["name"],l);let u=t_(e,["displayName"]);null!=u&&ty(a,["displayName"],u);let c=t_(e,["description"]);null!=c&&ty(a,["description"],c);let d=t_(e,["version"]);null!=d&&ty(a,["version"],d);let p=t_(e,["_self"]);null!=p&&ty(a,["tunedModelInfo"],(n={},null!=(i=t_(r=p,["baseModel"]))&&ty(n,["baseModel"],i),null!=(o=t_(r,["createTime"]))&&ty(n,["createTime"],o),null!=(s=t_(r,["updateTime"]))&&ty(n,["updateTime"],s),n));let h=t_(e,["inputTokenLimit"]);null!=h&&ty(a,["inputTokenLimit"],h);let f=t_(e,["outputTokenLimit"]);null!=f&&ty(a,["outputTokenLimit"],f);let m=t_(e,["supportedGenerationMethods"]);null!=m&&ty(a,["supportedActions"],m);let g=t_(e,["temperature"]);null!=g&&ty(a,["temperature"],g);let y=t_(e,["maxTemperature"]);null!=y&&ty(a,["maxTemperature"],y);let _=t_(e,["topP"]);null!=_&&ty(a,["topP"],_);let E=t_(e,["topK"]);null!=E&&ty(a,["topK"],E);let v=t_(e,["thinking"]);return null!=v&&ty(a,["thinking"],v),a}function r$(e,t){var r;let n,i,o,s,a={},l=t_(e,["name"]);null!=l&&ty(a,["name"],l);let u=t_(e,["displayName"]);null!=u&&ty(a,["displayName"],u);let c=t_(e,["description"]);null!=c&&ty(a,["description"],c);let d=t_(e,["versionId"]);null!=d&&ty(a,["version"],d);let p=t_(e,["deployedModels"]);if(null!=p){let e=p;Array.isArray(e)&&(e=e.map(e=>{let t,r,n;return t={},null!=(r=t_(e,["endpoint"]))&&ty(t,["name"],r),null!=(n=t_(e,["deployedModelId"]))&&ty(t,["deployedModelId"],n),t})),ty(a,["endpoints"],e)}let h=t_(e,["labels"]);null!=h&&ty(a,["labels"],h);let f=t_(e,["_self"]);null!=f&&ty(a,["tunedModelInfo"],(n={},null!=(i=t_(r=f,["labels","google-vertex-llm-tuning-base-model-id"]))&&ty(n,["baseModel"],i),null!=(o=t_(r,["createTime"]))&&ty(n,["createTime"],o),null!=(s=t_(r,["updateTime"]))&&ty(n,["updateTime"],s),n));let m=t_(e,["defaultCheckpointId"]);null!=m&&ty(a,["defaultCheckpointId"],m);let g=t_(e,["checkpoints"]);if(null!=g){let e=g;Array.isArray(e)&&(e=e.map(e=>e)),ty(a,["checkpoints"],e)}return a}function rJ(e,t){let r={},n=t_(e,["safetyAttributes","categories"]);null!=n&&ty(r,["categories"],n);let i=t_(e,["safetyAttributes","scores"]);null!=i&&ty(r,["scores"],i);let o=t_(e,["contentType"]);return null!=o&&ty(r,["contentType"],o),r}function rW(e,t){let r={},n=t_(e,["safetyAttributes","categories"]);null!=n&&ty(r,["categories"],n);let i=t_(e,["safetyAttributes","scores"]);null!=i&&ty(r,["scores"],i);let o=t_(e,["contentType"]);return null!=o&&ty(r,["contentType"],o),r}function rK(e,t){let r={},n=t_(e,["retrieval"]);null!=n&&ty(r,["retrieval"],n);let i=t_(e,["computerUse"]);if(null!=i&&ty(r,["computerUse"],i),void 0!==t_(e,["fileSearch"]))throw Error("fileSearch parameter is not supported in Vertex AI.");let o=t_(e,["googleSearch"]);null!=o&&ty(r,["googleSearch"],o);let s=t_(e,["codeExecution"]);null!=s&&ty(r,["codeExecution"],s);let a=t_(e,["enterpriseWebSearch"]);null!=a&&ty(r,["enterpriseWebSearch"],a);let l=t_(e,["functionDeclarations"]);if(null!=l){let e=l;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["description"]);null!=n&&ty(r,["description"],n);let i=t_(e,["name"]);null!=i&&ty(r,["name"],i);let o=t_(e,["parameters"]);null!=o&&ty(r,["parameters"],o);let s=t_(e,["parametersJsonSchema"]);null!=s&&ty(r,["parametersJsonSchema"],s);let a=t_(e,["response"]);null!=a&&ty(r,["response"],a);let l=t_(e,["responseJsonSchema"]);if(null!=l&&ty(r,["responseJsonSchema"],l),void 0!==t_(e,["behavior"]))throw Error("behavior parameter is not supported in Vertex AI.");return r})(e))),ty(r,["functionDeclarations"],e)}let u=t_(e,["googleMaps"]);null!=u&&ty(r,["googleMaps"],u);let c=t_(e,["googleSearchRetrieval"]);null!=c&&ty(r,["googleSearchRetrieval"],c);let d=t_(e,["urlContext"]);if(null!=d&&ty(r,["urlContext"],d),void 0!==t_(e,["mcpServers"]))throw Error("mcpServers parameter is not supported in Vertex AI.");return r}function rY(e,t){let r={},n=t_(e,["uri"]);null!=n&&ty(r,["uri"],n);let i=t_(e,["videoBytes"]);null!=i&&ty(r,["encodedVideo"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["encoding"],o),r}function rz(e,t){let r={},n=t_(e,["uri"]);null!=n&&ty(r,["gcsUri"],n);let i=t_(e,["videoBytes"]);null!=i&&ty(r,["bytesBase64Encoded"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["mimeType"],o),r}function rX(e,t){let r=t_(e,["mimeType"]);void 0!==t&&null!=r&&ty(t,["mimeType"],r);let n=t_(e,["displayName"]);void 0!==t&&null!=n&&ty(t,["displayName"],n);let i=t_(e,["customMetadata"]);if(void 0!==t&&null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["customMetadata"],e)}let o=t_(e,["chunkingConfig"]);return void 0!==t&&null!=o&&ty(t,["chunkingConfig"],o),{}}let rQ="x-goog-api-client",rZ=[408,429,500,502,503,504];class r0{constructor(e){var t,r,n;this.clientOptions=Object.assign({},e),this.customBaseUrl=null==(t=e.httpOptions)?void 0:t.baseUrl,this.clientOptions.vertexai&&(this.clientOptions.project&&this.clientOptions.location?this.clientOptions.apiKey=void 0:this.clientOptions.apiKey&&(this.clientOptions.project=void 0,this.clientOptions.location=void 0));const i={};if(this.clientOptions.vertexai){if(this.clientOptions.location||this.clientOptions.apiKey||this.customBaseUrl||(this.clientOptions.location="global"),!(this.clientOptions.project&&this.clientOptions.location||this.clientOptions.apiKey)&&!this.customBaseUrl)throw Error("Authentication is not set up. Please provide either a project and location, or an API key, or a custom base URL.");const t=e.project&&e.location||!!e.apiKey;this.customBaseUrl&&!t?(i.baseUrl=this.customBaseUrl,this.clientOptions.project=void 0,this.clientOptions.location=void 0):this.clientOptions.apiKey||"global"===this.clientOptions.location?i.baseUrl="https://aiplatform.googleapis.com/":this.clientOptions.project&&this.clientOptions.location&&(i.baseUrl=`https://${this.clientOptions.location}-aiplatform.googleapis.com/`),i.apiVersion=null!=(r=this.clientOptions.apiVersion)?r:"v1beta1"}else{if(!this.clientOptions.apiKey)throw new rP({message:"API key must be set when using the Gemini API.",status:403});i.apiVersion=null!=(n=this.clientOptions.apiVersion)?n:"v1beta",i.baseUrl="https://generativelanguage.googleapis.com/"}i.headers=this.getDefaultHeaders(),this.clientOptions.httpOptions=i,e.httpOptions&&(this.clientOptions.httpOptions=this.patchHttpOptions(i,e.httpOptions))}isVertexAI(){var e;return null!=(e=this.clientOptions.vertexai)&&e}getProject(){return this.clientOptions.project}getLocation(){return this.clientOptions.location}getCustomBaseUrl(){return this.customBaseUrl}async getAuthHeaders(){let e=new Headers;return await this.clientOptions.auth.addAuthHeaders(e),e}getApiVersion(){if(this.clientOptions.httpOptions&&void 0!==this.clientOptions.httpOptions.apiVersion)return this.clientOptions.httpOptions.apiVersion;throw Error("API version is not set.")}getBaseUrl(){if(this.clientOptions.httpOptions&&void 0!==this.clientOptions.httpOptions.baseUrl)return this.clientOptions.httpOptions.baseUrl;throw Error("Base URL is not set.")}getRequestUrl(){return this.getRequestUrlInternal(this.clientOptions.httpOptions)}getHeaders(){if(this.clientOptions.httpOptions&&void 0!==this.clientOptions.httpOptions.headers)return this.clientOptions.httpOptions.headers;throw Error("Headers are not set.")}getRequestUrlInternal(e){if(!e||void 0===e.baseUrl||void 0===e.apiVersion)throw Error("HTTP options are not correctly set.");let t=[e.baseUrl.endsWith("/")?e.baseUrl.slice(0,-1):e.baseUrl];return e.apiVersion&&""!==e.apiVersion&&t.push(e.apiVersion),t.join("/")}getBaseResourcePath(){return`projects/${this.clientOptions.project}/locations/${this.clientOptions.location}`}getApiKey(){return this.clientOptions.apiKey}getWebsocketBaseUrl(){let e=new URL(this.getBaseUrl());return e.protocol="http:"==e.protocol?"ws":"wss",e.toString()}setBaseUrl(e){if(this.clientOptions.httpOptions)this.clientOptions.httpOptions.baseUrl=e;else throw Error("HTTP options are not correctly set.")}constructUrl(e,t,r){let n=[this.getRequestUrlInternal(t)];return r&&n.push(this.getBaseResourcePath()),""!==e&&n.push(e),new URL(`${n.join("/")}`)}shouldPrependVertexProjectPath(e,t){return!(t.baseUrl&&t.baseUrlResourceScope===eG.COLLECTION||this.clientOptions.apiKey||!this.clientOptions.vertexai||e.path.startsWith("projects/")||"GET"===e.httpMethod&&e.path.startsWith("publishers/google/models"))}async request(e){let t=this.clientOptions.httpOptions;e.httpOptions&&(t=this.patchHttpOptions(this.clientOptions.httpOptions,e.httpOptions));let r=this.shouldPrependVertexProjectPath(e,t),n=this.constructUrl(e.path,t,r);if(e.queryParams)for(let[t,r]of Object.entries(e.queryParams))n.searchParams.append(t,String(r));let i={};if("GET"===e.httpMethod){if(e.body&&"{}"!==e.body)throw Error("Request body should be empty for GET request, but got non empty request body")}else i.body=e.body;return i=await this.includeExtraHttpOptionsToRequestInit(i,t,n.toString(),e.abortSignal),this.unaryApiCall(n,i,e.httpMethod)}patchHttpOptions(e,t){let r=JSON.parse(JSON.stringify(e));for(let[e,n]of Object.entries(t))"object"==typeof n?r[e]=Object.assign(Object.assign({},r[e]),n):void 0!==n&&(r[e]=n);return r}async requestStream(e){let t=this.clientOptions.httpOptions;e.httpOptions&&(t=this.patchHttpOptions(this.clientOptions.httpOptions,e.httpOptions));let r=this.shouldPrependVertexProjectPath(e,t),n=this.constructUrl(e.path,t,r);n.searchParams.has("alt")&&"sse"===n.searchParams.get("alt")||n.searchParams.set("alt","sse");let i={};return i.body=e.body,i=await this.includeExtraHttpOptionsToRequestInit(i,t,n.toString(),e.abortSignal),this.streamApiCall(n,i,e.httpMethod)}async includeExtraHttpOptionsToRequestInit(e,t,r,n){if(t&&t.timeout||n){let r=new AbortController,i=r.signal;if(t.timeout&&(null==t?void 0:t.timeout)>0){let e=setTimeout(()=>r.abort(),t.timeout);e&&"function"==typeof e.unref&&e.unref()}n&&n.addEventListener("abort",()=>{r.abort()}),e.signal=i}return t&&null!==t.extraBody&&function(e,t){if(!t||0===Object.keys(t).length)return;if(e.body instanceof Blob)return console.warn("includeExtraBodyToRequestInit: extraBody provided but current request body is a Blob. extraBody will be ignored as merging is not supported for Blob bodies.");let r={};if("string"==typeof e.body&&e.body.length>0)try{let t=JSON.parse(e.body);if("object"!=typeof t||null===t||Array.isArray(t))return void console.warn("includeExtraBodyToRequestInit: Original request body is valid JSON but not a non-array object. Skip applying extraBody to the request body.");r=t}catch(e){console.warn("includeExtraBodyToRequestInit: Original request body is not valid JSON. Skip applying extraBody to the request body.");return}e.body=JSON.stringify(function e(t,r){let n=Object.assign({},t);for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)){let i=r[t],o=n[t];i&&"object"==typeof i&&!Array.isArray(i)&&o&&"object"==typeof o&&!Array.isArray(o)?n[t]=e(o,i):(o&&i&&typeof o!=typeof i&&console.warn(`includeExtraBodyToRequestInit:deepMerge: Type mismatch for key "${t}". Original type: ${typeof o}, New type: ${typeof i}. Overwriting.`),n[t]=i)}return n}(r,t))}(e,t.extraBody),e.headers=await this.getHeadersInternal(t,r),e}async unaryApiCall(e,t,r){return this.apiCall(e.toString(),Object.assign(Object.assign({},t),{method:r})).then(async e=>(await r1(e),new tT(e))).catch(e=>{if(e instanceof Error)throw e;throw Error(JSON.stringify(e))})}async streamApiCall(e,t,r){return this.apiCall(e.toString(),Object.assign(Object.assign({},t),{method:r})).then(async e=>(await r1(e),this.processStreamResponse(e))).catch(e=>{if(e instanceof Error)throw e;throw Error(JSON.stringify(e))})}processStreamResponse(e){return rO(this,arguments,function*(){var t;let r=null==(t=null==e?void 0:e.body)?void 0:t.getReader(),n=new TextDecoder("utf-8");if(!r)throw Error("Response body is empty");try{let t="",i="data:",o=["\n\n","\r\r","\r\n\r\n"];for(;;){let{done:s,value:a}=yield rC(r.read());if(s){if(t.trim().length>0)throw Error("Incomplete JSON segment at the end");break}let l=n.decode(a,{stream:!0});try{let e=JSON.parse(l);if("error"in e){let t=JSON.parse(JSON.stringify(e.error)),r=t.status,n=t.code,i=`got status: ${r}. ${JSON.stringify(e)}`;if(n>=400&&n<600)throw new rP({message:i,status:n})}}catch(e){if("ApiError"===e.name)throw e}t+=l;let u=-1,c=0;for(;;){for(let e of(u=-1,c=0,o)){let r=t.indexOf(e);-1!==r&&(-1===u||r{let r=await fetch(e,t);if(r.ok)return r;if(rZ.includes(r.status))throw Error(`Retryable HTTP Error: ${r.statusText}`);throw new ta.AbortError(`Non-retryable exception ${r.statusText} sending request`)};return(0,ta.default)(i,{retries:(null!=(r=n.attempts)?r:5)-1})}getDefaultHeaders(){let e={},t="google-genai-sdk/1.43.0 "+this.clientOptions.userAgentExtra;return e["User-Agent"]=t,e[rQ]=t,e["Content-Type"]="application/json",e}async getHeadersInternal(e,t){let r=new Headers;if(e&&e.headers){for(let[t,n]of Object.entries(e.headers))r.append(t,n);e.timeout&&e.timeout>0&&r.append("X-Server-Timeout",String(Math.ceil(e.timeout/1e3)))}return await this.clientOptions.auth.addAuthHeaders(r,t),r}getFileName(e){var t;let r="";return"string"==typeof e&&(r=null!=(t=(r=e.replace(/[/\\]+$/,"")).split(/[/\\]/).pop())?t:""),r}async uploadFile(e,t){var r;let n={};null!=t&&(n.mimeType=t.mimeType,n.name=t.name,n.displayName=t.displayName),n.name&&!n.name.startsWith("files/")&&(n.name=`files/${n.name}`);let i=this.clientOptions.uploader,o=await i.stat(e);n.sizeBytes=String(o.size);let s=null!=(r=null==t?void 0:t.mimeType)?r:o.type;if(void 0===s||""===s)throw Error("Can not determine mimeType. Please provide mimeType in the config.");n.mimeType=s;let a={file:n},l=this.getFileName(e),u=tg("upload/v1beta/files",a._url),c=await this.fetchUploadUrl(u,n.sizeBytes,n.mimeType,l,a,null==t?void 0:t.httpOptions);return i.upload(e,c,this)}async uploadFileToFileSearchStore(e,t,r){var n;let i=this.clientOptions.uploader,o=await i.stat(t),s=String(o.size),a=null!=(n=null==r?void 0:r.mimeType)?n:o.type;if(void 0===a||""===a)throw Error("Can not determine mimeType. Please provide mimeType in the config.");let l=`upload/v1beta/${e}:uploadToFileSearchStore`,u=this.getFileName(t),c={};null!=r&&rX(r,c);let d=await this.fetchUploadUrl(l,s,a,u,c,null==r?void 0:r.httpOptions);return i.uploadToFileSearchStore(t,d,this)}async downloadFile(e){let t=this.clientOptions.downloader;await t.download(e,this)}async fetchUploadUrl(e,t,r,n,i,o){var s;let a={};a=o||{apiVersion:"",headers:Object.assign({"Content-Type":"application/json","X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":`${t}`,"X-Goog-Upload-Header-Content-Type":`${r}`},n?{"X-Goog-Upload-File-Name":n}:{})};let l=await this.request({path:e,body:JSON.stringify(i),httpMethod:"POST",httpOptions:a});if(!l||!(null==l?void 0:l.headers))throw Error("Server did not return an HttpResponse or the returned HttpResponse did not have headers.");let u=null==(s=null==l?void 0:l.headers)?void 0:s["x-goog-upload-url"];if(void 0===u)throw Error("Failed to get upload url. Server did not return the x-google-upload-url in the headers");return u}}async function r1(e){var t;if(void 0===e)throw Error("response is undefined");if(!e.ok){let r=e.status,n=JSON.stringify((null==(t=e.headers.get("content-type"))?void 0:t.includes("application/json"))?await e.json():{error:{message:await e.text(),code:e.status,status:e.statusText}});if(r>=400&&r<600)throw new rP({message:n,status:r});throw Error(n)}}function r2(e){for(let r of e){var t;if(null!==(t=r)&&"object"==typeof t&&t instanceof r6||"object"==typeof r&&"inputSchema"in r)return!0}return!1}function r4(e){var t;let r=null!=(t=e[rQ])?t:"";e[rQ]=(r+" mcp_used/unknown").trimStart()}class r6{constructor(e=[],t){this.mcpTools=[],this.functionNameToMcpClient={},this.mcpClients=e,this.config=t}static create(e,t){return new r6(e,t)}async initialize(){var e,t,r,n;if(this.mcpTools.length>0)return;let i={},o=[];for(let u of this.mcpClients)try{for(var s,a=!0,l=(t=void 0,rI(function(e){return rO(this,arguments,function*(e,t=100){let r,n=0;for(;n{},c=new Promise(e=>{u=e}),d=e.callbacks,p=this.apiClient,h={onopen:function(){u({})},onmessage:e=>{r8(p,d.onmessage,e)},onerror:null!=(t=null==d?void 0:d.onerror)?t:function(e){},onclose:null!=(r=null==d?void 0:d.onclose)?r:function(e){}},f=this.webSocketFactory.create(l,(n={},s.forEach((e,t)=>{n[t]=e}),n),h);f.connect(),await c;let m=tz(this.apiClient,e.model);return f.send(JSON.stringify({setup:{model:m}})),new r3(f,this.apiClient)}}class r3{constructor(e,t){this.conn=e,this.apiClient=t}async setWeightedPrompts(e){if(!e.weightedPrompts||0===Object.keys(e.weightedPrompts).length)throw Error("Weighted prompts must be set and contain at least one entry.");let t=function(e){let t={},r=t_(e,["weightedPrompts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["weightedPrompts"],e)}return t}(e);this.conn.send(JSON.stringify({clientContent:t}))}async setMusicGenerationConfig(e){let t,r;e.musicGenerationConfig||(e.musicGenerationConfig={});let n=(t={},null!=(r=t_(e,["musicGenerationConfig"]))&&ty(t,["musicGenerationConfig"],r),t);this.conn.send(JSON.stringify(n))}sendPlaybackControl(e){this.conn.send(JSON.stringify({playbackControl:e}))}play(){this.sendPlaybackControl(to.PLAY)}pause(){this.sendPlaybackControl(to.PAUSE)}stop(){this.sendPlaybackControl(to.STOP)}resetContext(){this.sendPlaybackControl(to.RESET_CONTEXT)}close(){this.conn.close()}}async function r7(e,t,r){let n=new tW,i=JSON.parse(r.data instanceof Blob?await r.data.text():r.data instanceof ArrayBuffer?new TextDecoder().decode(r.data):r.data);if(e.isVertexAI()){let e,t,r,o,s,a,l,u,c,d,p,h;Object.assign(n,(e={},null!=(t=t_(i,["setupComplete"]))&&ty(e,["setupComplete"],t),null!=(r=t_(i,["serverContent"]))&&ty(e,["serverContent"],r),null!=(o=t_(i,["toolCall"]))&&ty(e,["toolCall"],o),null!=(s=t_(i,["toolCallCancellation"]))&&ty(e,["toolCallCancellation"],s),null!=(a=t_(i,["usageMetadata"]))&&ty(e,["usageMetadata"],function(e){let t={},r=t_(e,["promptTokenCount"]);null!=r&&ty(t,["promptTokenCount"],r);let n=t_(e,["cachedContentTokenCount"]);null!=n&&ty(t,["cachedContentTokenCount"],n);let i=t_(e,["candidatesTokenCount"]);null!=i&&ty(t,["responseTokenCount"],i);let o=t_(e,["toolUsePromptTokenCount"]);null!=o&&ty(t,["toolUsePromptTokenCount"],o);let s=t_(e,["thoughtsTokenCount"]);null!=s&&ty(t,["thoughtsTokenCount"],s);let a=t_(e,["totalTokenCount"]);null!=a&&ty(t,["totalTokenCount"],a);let l=t_(e,["promptTokensDetails"]);if(null!=l){let e=l;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["promptTokensDetails"],e)}let u=t_(e,["cacheTokensDetails"]);if(null!=u){let e=u;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["cacheTokensDetails"],e)}let c=t_(e,["candidatesTokensDetails"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["responseTokensDetails"],e)}let d=t_(e,["toolUsePromptTokensDetails"]);if(null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["toolUsePromptTokensDetails"],e)}let p=t_(e,["trafficType"]);return null!=p&&ty(t,["trafficType"],p),t}(a)),null!=(l=t_(i,["goAway"]))&&ty(e,["goAway"],l),null!=(u=t_(i,["sessionResumptionUpdate"]))&&ty(e,["sessionResumptionUpdate"],u),null!=(c=t_(i,["voiceActivityDetectionSignal"]))&&ty(e,["voiceActivityDetectionSignal"],c),null!=(d=t_(i,["voiceActivity"]))&&ty(e,["voiceActivity"],(p={},null!=(h=t_(d,["type"]))&&ty(p,["voiceActivityType"],h),p)),e))}else Object.assign(n,i);t(n)}class r9{constructor(e,t,r){this.apiClient=e,this.auth=t,this.webSocketFactory=r,this.music=new r5(this.apiClient,this.auth,this.webSocketFactory)}async connect(e){var t,r,n,i,o,s,a,l;let u,c;if(e.config&&e.config.httpOptions)throw Error("The Live module does not support httpOptions at request-level in LiveConnectConfig yet. Please use the client-level httpOptions configuration instead.");let d=this.apiClient.getWebsocketBaseUrl(),p=this.apiClient.getApiVersion(),h=this.apiClient.getHeaders();e.config&&e.config.tools&&r2(e.config.tools)&&r4(h);let f=function(e){let t=new Headers;for(let[r,n]of Object.entries(e))t.append(r,n);return t}(h);if(this.apiClient.isVertexAI()){let e=this.apiClient.getProject(),t=this.apiClient.getLocation(),r=this.apiClient.getApiKey();this.apiClient.getCustomBaseUrl()&&!(e&&t||r)?u=d:(u=`${d}/ws/google.cloud.aiplatform.${p}.LlmBidiService/BidiGenerateContent`,await this.auth.addAuthHeaders(f,u))}else{let e=this.apiClient.getApiKey(),t="BidiGenerateContent",r="key";(null==e?void 0:e.startsWith("auth_tokens/"))&&(console.warn("Warning: Ephemeral token support is experimental and may change in future versions."),"v1alpha"!==p&&console.warn("Warning: The SDK's ephemeral token support is in v1alpha only. Please use const ai = new GoogleGenAI({apiKey: token.name, httpOptions: { apiVersion: 'v1alpha' }}); before session connection."),t="BidiGenerateContentConstrained",r="access_token"),u=`${d}/ws/google.ai.generativelanguage.${p}.GenerativeService.${t}?${r}=${e}`}let m=()=>{},g=new Promise(e=>{m=e}),y=e.callbacks,_=this.apiClient,E={onopen:function(){var e;null==(e=null==y?void 0:y.onopen)||e.call(y),m({})},onmessage:e=>{r7(_,y.onmessage,e)},onerror:null!=(t=null==y?void 0:y.onerror)?t:function(e){},onclose:null!=(r=null==y?void 0:y.onclose)?r:function(e){}},v=this.webSocketFactory.create(u,(c={},f.forEach((e,t)=>{c[t]=e}),c),E);v.connect(),await g;let T=tz(this.apiClient,e.model);if(this.apiClient.isVertexAI()&&T.startsWith("publishers/")){let e=this.apiClient.getProject(),t=this.apiClient.getLocation();e&&t&&(T=`projects/${e}/locations/${t}/`+T)}let A={};this.apiClient.isVertexAI()&&(null==(n=e.config)?void 0:n.responseModalities)===void 0&&(void 0===e.config?e.config={responseModalities:[eP.AUDIO]}:e.config.responseModalities=[eP.AUDIO]),(null==(i=e.config)?void 0:i.generationConfig)&&console.warn("Setting `LiveConnectConfig.generation_config` is deprecated, please set the fields on `LiveConnectConfig` directly. This will become an error in a future version (not before Q3 2025).");let S=null!=(s=null==(o=e.config)?void 0:o.tools)?s:[],b=[];for(let e of S)this.isCallableTool(e)?b.push(await e.tool()):b.push(e);b.length>0&&(e.config.tools=b);let C={model:T,config:e.config,callbacks:e.callbacks};if(this.apiClient.isVertexAI()){let e,t,r;a=this.apiClient,e={},null!=(t=t_(C,["model"]))&&ty(e,["setup","model"],tz(a,t)),null!=(r=t_(C,["config"]))&&ty(e,["config"],function(e,t){let r=t_(e,["generationConfig"]);void 0!==t&&null!=r&&ty(t,["setup","generationConfig"],function(e){let t={},r=t_(e,["modelSelectionConfig"]);null!=r&&ty(t,["modelConfig"],r);let n=t_(e,["responseJsonSchema"]);null!=n&&ty(t,["responseJsonSchema"],n);let i=t_(e,["audioTimestamp"]);null!=i&&ty(t,["audioTimestamp"],i);let o=t_(e,["candidateCount"]);null!=o&&ty(t,["candidateCount"],o);let s=t_(e,["enableAffectiveDialog"]);null!=s&&ty(t,["enableAffectiveDialog"],s);let a=t_(e,["frequencyPenalty"]);null!=a&&ty(t,["frequencyPenalty"],a);let l=t_(e,["logprobs"]);null!=l&&ty(t,["logprobs"],l);let u=t_(e,["maxOutputTokens"]);null!=u&&ty(t,["maxOutputTokens"],u);let c=t_(e,["mediaResolution"]);null!=c&&ty(t,["mediaResolution"],c);let d=t_(e,["presencePenalty"]);null!=d&&ty(t,["presencePenalty"],d);let p=t_(e,["responseLogprobs"]);null!=p&&ty(t,["responseLogprobs"],p);let h=t_(e,["responseMimeType"]);null!=h&&ty(t,["responseMimeType"],h);let f=t_(e,["responseModalities"]);null!=f&&ty(t,["responseModalities"],f);let m=t_(e,["responseSchema"]);null!=m&&ty(t,["responseSchema"],m);let g=t_(e,["routingConfig"]);null!=g&&ty(t,["routingConfig"],g);let y=t_(e,["seed"]);null!=y&&ty(t,["seed"],y);let _=t_(e,["speechConfig"]);null!=_&&ty(t,["speechConfig"],_);let E=t_(e,["stopSequences"]);null!=E&&ty(t,["stopSequences"],E);let v=t_(e,["temperature"]);null!=v&&ty(t,["temperature"],v);let T=t_(e,["thinkingConfig"]);null!=T&&ty(t,["thinkingConfig"],T);let A=t_(e,["topK"]);null!=A&&ty(t,["topK"],A);let S=t_(e,["topP"]);if(null!=S&&ty(t,["topP"],S),void 0!==t_(e,["enableEnhancedCivicAnswers"]))throw Error("enableEnhancedCivicAnswers parameter is not supported in Vertex AI.");return t}(r));let n=t_(e,["responseModalities"]);void 0!==t&&null!=n&&ty(t,["setup","generationConfig","responseModalities"],n);let i=t_(e,["temperature"]);void 0!==t&&null!=i&&ty(t,["setup","generationConfig","temperature"],i);let o=t_(e,["topP"]);void 0!==t&&null!=o&&ty(t,["setup","generationConfig","topP"],o);let s=t_(e,["topK"]);void 0!==t&&null!=s&&ty(t,["setup","generationConfig","topK"],s);let a=t_(e,["maxOutputTokens"]);void 0!==t&&null!=a&&ty(t,["setup","generationConfig","maxOutputTokens"],a);let l=t_(e,["mediaResolution"]);void 0!==t&&null!=l&&ty(t,["setup","generationConfig","mediaResolution"],l);let u=t_(e,["seed"]);void 0!==t&&null!=u&&ty(t,["setup","generationConfig","seed"],u);let c=t_(e,["speechConfig"]);void 0!==t&&null!=c&&ty(t,["setup","generationConfig","speechConfig"],rr(c));let d=t_(e,["thinkingConfig"]);void 0!==t&&null!=d&&ty(t,["setup","generationConfig","thinkingConfig"],d);let p=t_(e,["enableAffectiveDialog"]);void 0!==t&&null!=p&&ty(t,["setup","generationConfig","enableAffectiveDialog"],p);let h=t_(e,["systemInstruction"]);void 0!==t&&null!=h&&ty(t,["setup","systemInstruction"],t3(h));let f=t_(e,["tools"]);if(void 0!==t&&null!=f){let e=ri(f);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["retrieval"]);null!=r&&ty(t,["retrieval"],r);let n=t_(e,["computerUse"]);if(null!=n&&ty(t,["computerUse"],n),void 0!==t_(e,["fileSearch"]))throw Error("fileSearch parameter is not supported in Vertex AI.");let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],i);let o=t_(e,["codeExecution"]);null!=o&&ty(t,["codeExecution"],o);let s=t_(e,["enterpriseWebSearch"]);null!=s&&ty(t,["enterpriseWebSearch"],s);let a=t_(e,["functionDeclarations"]);if(null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["description"]);null!=r&&ty(t,["description"],r);let n=t_(e,["name"]);null!=n&&ty(t,["name"],n);let i=t_(e,["parameters"]);null!=i&&ty(t,["parameters"],i);let o=t_(e,["parametersJsonSchema"]);null!=o&&ty(t,["parametersJsonSchema"],o);let s=t_(e,["response"]);null!=s&&ty(t,["response"],s);let a=t_(e,["responseJsonSchema"]);if(null!=a&&ty(t,["responseJsonSchema"],a),void 0!==t_(e,["behavior"]))throw Error("behavior parameter is not supported in Vertex AI.");return t})(e))),ty(t,["functionDeclarations"],e)}let l=t_(e,["googleMaps"]);null!=l&&ty(t,["googleMaps"],l);let u=t_(e,["googleSearchRetrieval"]);null!=u&&ty(t,["googleSearchRetrieval"],u);let c=t_(e,["urlContext"]);if(null!=c&&ty(t,["urlContext"],c),void 0!==t_(e,["mcpServers"]))throw Error("mcpServers parameter is not supported in Vertex AI.");return t})(rn(e)))),ty(t,["setup","tools"],e)}let m=t_(e,["sessionResumption"]);void 0!==t&&null!=m&&ty(t,["setup","sessionResumption"],m);let g=t_(e,["inputAudioTranscription"]);void 0!==t&&null!=g&&ty(t,["setup","inputAudioTranscription"],g);let y=t_(e,["outputAudioTranscription"]);void 0!==t&&null!=y&&ty(t,["setup","outputAudioTranscription"],y);let _=t_(e,["realtimeInputConfig"]);void 0!==t&&null!=_&&ty(t,["setup","realtimeInputConfig"],_);let E=t_(e,["contextWindowCompression"]);void 0!==t&&null!=E&&ty(t,["setup","contextWindowCompression"],E);let v=t_(e,["proactivity"]);void 0!==t&&null!=v&&ty(t,["setup","proactivity"],v);let T=t_(e,["explicitVadSignal"]);return void 0!==t&&null!=T&&ty(t,["setup","explicitVadSignal"],T),{}}(r,e)),A=e}else{let e,t,r;l=this.apiClient,e={},null!=(t=t_(C,["model"]))&&ty(e,["setup","model"],tz(l,t)),null!=(r=t_(C,["config"]))&&ty(e,["config"],function(e,t){let r=t_(e,["generationConfig"]);void 0!==t&&null!=r&&ty(t,["setup","generationConfig"],r);let n=t_(e,["responseModalities"]);void 0!==t&&null!=n&&ty(t,["setup","generationConfig","responseModalities"],n);let i=t_(e,["temperature"]);void 0!==t&&null!=i&&ty(t,["setup","generationConfig","temperature"],i);let o=t_(e,["topP"]);void 0!==t&&null!=o&&ty(t,["setup","generationConfig","topP"],o);let s=t_(e,["topK"]);void 0!==t&&null!=s&&ty(t,["setup","generationConfig","topK"],s);let a=t_(e,["maxOutputTokens"]);void 0!==t&&null!=a&&ty(t,["setup","generationConfig","maxOutputTokens"],a);let l=t_(e,["mediaResolution"]);void 0!==t&&null!=l&&ty(t,["setup","generationConfig","mediaResolution"],l);let u=t_(e,["seed"]);void 0!==t&&null!=u&&ty(t,["setup","generationConfig","seed"],u);let c=t_(e,["speechConfig"]);void 0!==t&&null!=c&&ty(t,["setup","generationConfig","speechConfig"],rr(c));let d=t_(e,["thinkingConfig"]);void 0!==t&&null!=d&&ty(t,["setup","generationConfig","thinkingConfig"],d);let p=t_(e,["enableAffectiveDialog"]);void 0!==t&&null!=p&&ty(t,["setup","generationConfig","enableAffectiveDialog"],p);let h=t_(e,["systemInstruction"]);void 0!==t&&null!=h&&ty(t,["setup","systemInstruction"],function(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],rU(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}(t3(h)));let f=t_(e,["tools"]);if(void 0!==t&&null!=f){let e=ri(f);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(rn(e)))),ty(t,["setup","tools"],e)}let m=t_(e,["sessionResumption"]);void 0!==t&&null!=m&&ty(t,["setup","sessionResumption"],function(e){let t={},r=t_(e,["handle"]);if(null!=r&&ty(t,["handle"],r),void 0!==t_(e,["transparent"]))throw Error("transparent parameter is not supported in Gemini API.");return t}(m));let g=t_(e,["inputAudioTranscription"]);void 0!==t&&null!=g&&ty(t,["setup","inputAudioTranscription"],g);let y=t_(e,["outputAudioTranscription"]);void 0!==t&&null!=y&&ty(t,["setup","outputAudioTranscription"],y);let _=t_(e,["realtimeInputConfig"]);void 0!==t&&null!=_&&ty(t,["setup","realtimeInputConfig"],_);let E=t_(e,["contextWindowCompression"]);void 0!==t&&null!=E&&ty(t,["setup","contextWindowCompression"],E);let v=t_(e,["proactivity"]);if(void 0!==t&&null!=v&&ty(t,["setup","proactivity"],v),void 0!==t_(e,["explicitVadSignal"]))throw Error("explicitVadSignal parameter is not supported in Gemini API.");return{}}(r,e)),A=e}return delete A.config,v.send(JSON.stringify(A)),new nt(v,this.apiClient)}isCallableTool(e){return"callTool"in e&&"function"==typeof e.callTool}}let ne={turnComplete:!0};class nt{constructor(e,t){this.conn=e,this.apiClient=t}tLiveClientContent(e,t){if(null!==t.turns&&void 0!==t.turns){let r=[];try{r=t9(t.turns),e.isVertexAI()||(r=r.map(e=>rD(e)))}catch(e){throw Error(`Failed to parse client content "turns", type: '${typeof t.turns}'`)}return{clientContent:{turns:r,turnComplete:t.turnComplete}}}return{clientContent:{turnComplete:t.turnComplete}}}tLiveClienttToolResponse(e,t){let r=[];if(null==t.functionResponses||0===(r=Array.isArray(t.functionResponses)?t.functionResponses:[t.functionResponses]).length)throw Error("functionResponses is required.");for(let t of r){if("object"!=typeof t||null===t||!("name"in t)||!("response"in t))throw Error(`Could not parse function response, type '${typeof t}'.`);if(!e.isVertexAI()&&!("id"in t))throw Error("FunctionResponse request must have an `id` field from the response of a ToolCall.FunctionalCalls in Google AI.")}return{toolResponse:{functionResponses:r}}}sendClientContent(e){e=Object.assign(Object.assign({},ne),e);let t=this.tLiveClientContent(this.apiClient,e);this.conn.send(JSON.stringify(t))}sendRealtimeInput(e){let t={};t=this.apiClient.isVertexAI()?{realtimeInput:function(e){let t={},r=t_(e,["media"]);if(null!=r){let e=tQ(r);Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mediaChunks"],e)}let n=t_(e,["audio"]);null!=n&&ty(t,["audio"],t1(n));let i=t_(e,["audioStreamEnd"]);null!=i&&ty(t,["audioStreamEnd"],i);let o=t_(e,["video"]);null!=o&&ty(t,["video"],t0(o));let s=t_(e,["text"]);null!=s&&ty(t,["text"],s);let a=t_(e,["activityStart"]);null!=a&&ty(t,["activityStart"],a);let l=t_(e,["activityEnd"]);return null!=l&&ty(t,["activityEnd"],l),t}(e)}:{realtimeInput:function(e){let t={},r=t_(e,["media"]);if(null!=r){let e=tQ(r);Array.isArray(e)&&(e=e.map(e=>rU(e))),ty(t,["mediaChunks"],e)}let n=t_(e,["audio"]);null!=n&&ty(t,["audio"],rU(t1(n)));let i=t_(e,["audioStreamEnd"]);null!=i&&ty(t,["audioStreamEnd"],i);let o=t_(e,["video"]);null!=o&&ty(t,["video"],rU(t0(o)));let s=t_(e,["text"]);null!=s&&ty(t,["text"],s);let a=t_(e,["activityStart"]);null!=a&&ty(t,["activityStart"],a);let l=t_(e,["activityEnd"]);return null!=l&&ty(t,["activityEnd"],l),t}(e)},this.conn.send(JSON.stringify(t))}sendToolResponse(e){if(null==e.functionResponses)throw Error("Tool response parameters are required.");let t=this.tLiveClienttToolResponse(this.apiClient,e);this.conn.send(JSON.stringify(t))}close(){this.conn.close()}}function nr(e){var t,r,n;if(null==(t=null==e?void 0:e.automaticFunctionCalling)?void 0:t.disable)return!0;let i=!1;for(let t of null!=(r=null==e?void 0:e.tools)?r:[])if(nn(t)){i=!0;break}if(!i)return!0;let o=null==(n=null==e?void 0:e.automaticFunctionCalling)?void 0:n.maximumRemoteCalls;return(!(!o||!(o<0)&&Number.isInteger(o))||0==o)&&(console.warn("Invalid maximumRemoteCalls value provided for automatic function calling. Disabled automatic function calling. Please provide a valid integer value greater than 0. maximumRemoteCalls provided:",o),!0)}function nn(e){return"callTool"in e&&"function"==typeof e.callTool}function ni(e){var t;let r=[];return(null==(t=null==e?void 0:e.config)?void 0:t.tools)&&e.config.tools.forEach((e,t)=>{nn(e)||e.functionDeclarations&&e.functionDeclarations.length>0&&r.push(t)}),r}function no(e){var t;return!(null==(t=null==e?void 0:e.automaticFunctionCalling)?void 0:t.ignoreCallHistory)}class ns extends tm{constructor(e){super(),this.apiClient=e,this.embedContent=async e=>{if(!this.apiClient.isVertexAI())return await this.embedContentInternal(e);if(e.model.includes("gemini")&&"gemini-embedding-001"!==e.model||e.model.includes("maas")){let t=t9(e.contents);if(t.length>1)throw Error("The embedContent API for this model only supports one content at a time.");let r=Object.assign(Object.assign({},e),{content:t[0],embeddingApiType:eB.EMBED_CONTENT});return await this.embedContentInternal(r)}{let t=Object.assign(Object.assign({},e),{embeddingApiType:eB.PREDICT});return await this.embedContentInternal(t)}},this.generateContent=async e=>{var t,r,n,i,o,s,a,l;let u,c,d=await this.processParamsMaybeAddMcpUsage(e);if(this.maybeMoveToResponseJsonSchem(e),!(null!=(l=null==(a=null==(s=e.config)?void 0:s.tools)?void 0:a.some(e=>nn(e)))&&l)||nr(e.config))return await this.generateContentInternal(d);let p=ni(e);if(p.length>0){let e=p.map(e=>`tools[${e}]`).join(", ");throw Error(`Automatic function calling with CallableTools (or MCP objects) and basic FunctionDeclarations is not yet supported. Incompatible tools found at ${e}.`)}let h=t9(d.contents),f=null!=(n=null==(r=null==(t=d.config)?void 0:t.automaticFunctionCalling)?void 0:r.maximumRemoteCalls)?n:10,m=0;for(;m{var t,r,n,i,o;if(this.maybeMoveToResponseJsonSchem(e),nr(e.config)){let t=await this.processParamsMaybeAddMcpUsage(e);return await this.generateContentStreamInternal(t)}let s=ni(e);if(s.length>0){let e=s.map(e=>`tools[${e}]`).join(", ");throw Error(`Incompatible tools found at ${e}. Automatic function calling with CallableTools (or MCP objects) and basic FunctionDeclarations" is not yet supported.`)}let a=null==(n=null==(r=null==(t=null==e?void 0:e.config)?void 0:t.toolConfig)?void 0:r.functionCallingConfig)?void 0:n.streamFunctionCallArguments,l=null==(o=null==(i=null==e?void 0:e.config)?void 0:i.automaticFunctionCalling)?void 0:o.disable;if(a&&!l)throw Error("Running in streaming mode with 'streamFunctionCallArguments' enabled, this feature is not compatible with automatic function calling (AFC). Please set 'config.automaticFunctionCalling.disable' to true to disable AFC or leave 'config.toolConfig.functionCallingConfig.streamFunctionCallArguments' to be undefined or set to false to disable streaming function call arguments feature.");return await this.processAfcStream(e)},this.generateImages=async e=>await this.generateImagesInternal(e).then(e=>{var t;let r,n=[];if(null==e?void 0:e.generatedImages)for(let i of e.generatedImages)i&&(null==i?void 0:i.safetyAttributes)&&(null==(t=null==i?void 0:i.safetyAttributes)?void 0:t.contentType)==="Positive Prompt"?r=null==i?void 0:i.safetyAttributes:n.push(i);return r?{generatedImages:n,positivePromptSafetyAttributes:r,sdkHttpResponse:e.sdkHttpResponse}:{generatedImages:n,sdkHttpResponse:e.sdkHttpResponse}}),this.list=async e=>{var t;let r={config:Object.assign(Object.assign({},{queryBase:!0}),null==e?void 0:e.config)};if(this.apiClient.isVertexAI()&&!r.config.queryBase)if(null==(t=r.config)?void 0:t.filter)throw Error("Filtering tuned models list for Vertex AI is not currently supported");else r.config.filter="labels.tune-type:*";return new rv(ts.PAGED_ITEM_MODELS,e=>this.listInternal(e),await this.listInternal(r),r)},this.editImage=async e=>{let t={model:e.model,prompt:e.prompt,referenceImages:[],config:e.config};return e.referenceImages&&e.referenceImages&&(t.referenceImages=e.referenceImages.map(e=>e.toReferenceImageAPI())),await this.editImageInternal(t)},this.upscaleImage=async e=>{let t={numberOfImages:1,mode:"upscale"};e.config&&(t=Object.assign(Object.assign({},t),e.config));let r={model:e.model,image:e.image,upscaleFactor:e.upscaleFactor,config:t};return await this.upscaleImageInternal(r)},this.generateVideos=async e=>{var t,r,n,i,o,s;if((e.prompt||e.image||e.video)&&e.source)throw Error("Source and prompt/image/video are mutually exclusive. Please only use source.");return!this.apiClient.isVertexAI()&&((null==(t=e.video)?void 0:t.uri)&&(null==(r=e.video)?void 0:r.videoBytes)?e.video={uri:e.video.uri,mimeType:e.video.mimeType}:(null==(i=null==(n=e.source)?void 0:n.video)?void 0:i.uri)&&(null==(s=null==(o=e.source)?void 0:o.video)?void 0:s.videoBytes)&&(e.source.video={uri:e.source.video.uri,mimeType:e.source.video.mimeType})),await this.generateVideosInternal(e)}}maybeMoveToResponseJsonSchem(e){e.config&&e.config.responseSchema&&!e.config.responseJsonSchema&&Object.keys(e.config.responseSchema).includes("$schema")&&(e.config.responseJsonSchema=e.config.responseSchema,delete e.config.responseSchema)}async processParamsMaybeAddMcpUsage(e){var t,r,n;let i=null==(t=e.config)?void 0:t.tools;if(!i)return e;let o=await Promise.all(i.map(async e=>nn(e)?await e.tool():e)),s={model:e.model,contents:e.contents,config:Object.assign(Object.assign({},e.config),{tools:o})};if(s.config.tools=o,e.config&&e.config.tools&&r2(e.config.tools)){let t=Object.assign({},null!=(n=null==(r=e.config.httpOptions)?void 0:r.headers)?n:{});0===Object.keys(t).length&&(t=this.apiClient.getDefaultHeaders()),r4(t),s.config.httpOptions=Object.assign(Object.assign({},e.config.httpOptions),{headers:t})}return s}async initAfcToolsMap(e){var t,r,n;let i=new Map;for(let o of null!=(r=null==(t=e.config)?void 0:t.tools)?r:[])if(nn(o))for(let e of null!=(n=(await o.tool()).functionDeclarations)?n:[]){if(!e.name)throw Error("Function declaration name is required.");if(i.has(e.name))throw Error(`Duplicate tool declaration name: ${e.name}`);i.set(e.name,o)}return i}async processAfcStream(e){var t,r,n;let i=null!=(n=null==(r=null==(t=e.config)?void 0:t.automaticFunctionCalling)?void 0:r.maximumRemoteCalls)?n:10,o=!1,s=0;return function(e,t,r){return rO(this,arguments,function*(){for(;s0){o=!0;let e=new tA;e.candidates=[{content:{role:"user",parts:y}}],yield yield rC(e);let t=[];t.push(..._),t.push({role:"user",parts:y});let n=t9(r.contents).concat(t);r.contents=n}else break}})}(this,await this.initAfcToolsMap(e),e)}async generateContentInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n=rL(this.apiClient,e);return o=tg("{model}:generateContent",n._url),s=n._query,delete n._url,delete n._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=rG(e),r=new tA;return Object.assign(r,t),r})}{let t=rM(this.apiClient,e);return o=tg("{model}:generateContent",t._url),s=t._query,delete t._url,delete t._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=rj(e),r=new tA;return Object.assign(r,t),r})}}async generateContentStreamInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n=rL(this.apiClient,e);return o=tg("{model}:streamGenerateContent?alt=sse",n._url),s=n._query,delete n._url,delete n._query,this.apiClient.requestStream({path:o,queryParams:s,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(function(t){return rO(this,arguments,function*(){var r,n,i,o;try{for(var s,a=!0,l=rI(t);!(r=(s=yield rC(l.next())).done);a=!0){o=s.value,a=!1;let t=rG((yield rC(o.json())),e);t.sdkHttpResponse={headers:o.headers};let r=new tA;Object.assign(r,t),yield yield rC(r)}}catch(e){n={error:e}}finally{try{!a&&!r&&(i=l.return)&&(yield rC(i.call(l)))}finally{if(n)throw n.error}}})})}{let t=rM(this.apiClient,e);return o=tg("{model}:streamGenerateContent?alt=sse",t._url),s=t._query,delete t._url,delete t._query,this.apiClient.requestStream({path:o,queryParams:s,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(function(t){return rO(this,arguments,function*(){var r,n,i,o;try{for(var s,a=!0,l=rI(t);!(r=(s=yield rC(l.next())).done);a=!0){o=s.value,a=!1;let t=rj((yield rC(o.json())),e);t.sdkHttpResponse={headers:o.headers};let r=new tA;Object.assign(r,t),yield yield rC(r)}}catch(e){n={error:e}}finally{try{!a&&!r&&(i=l.return)&&(yield rC(i.call(l)))}finally{if(n)throw n.error}}})})}}async embedContentInternal(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI()){let n=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(r,["embeddingApiType"]);if(void 0===o&&(o="PREDICT"),"PREDICT"===o){let r=t_(t,["contents"]);if(null!=r){let t=t7(e,r);Array.isArray(t)&&(t=t.map(e=>e)),ty(n,["instances[]","content"],t)}}let s=t_(r,["embeddingApiType"]);if(void 0===s&&(s="PREDICT"),"EMBED_CONTENT"===s){let e=t_(t,["content"]);null!=e&&ty(n,["content"],t3(e))}let a=t_(t,["config"]);return null!=a&&function(e,t,r){let n=t_(r,["embeddingApiType"]);if(void 0===n&&(n="PREDICT"),"PREDICT"===n){let r=t_(e,["taskType"]);void 0!==t&&null!=r&&ty(t,["instances[]","task_type"],r)}else if("EMBED_CONTENT"===n){let r=t_(e,["taskType"]);void 0!==t&&null!=r&&ty(t,["taskType"],r)}let i=t_(r,["embeddingApiType"]);if(void 0===i&&(i="PREDICT"),"PREDICT"===i){let r=t_(e,["title"]);void 0!==t&&null!=r&&ty(t,["instances[]","title"],r)}else if("EMBED_CONTENT"===i){let r=t_(e,["title"]);void 0!==t&&null!=r&&ty(t,["title"],r)}let o=t_(r,["embeddingApiType"]);if(void 0===o&&(o="PREDICT"),"PREDICT"===o){let r=t_(e,["outputDimensionality"]);void 0!==t&&null!=r&&ty(t,["parameters","outputDimensionality"],r)}else if("EMBED_CONTENT"===o){let r=t_(e,["outputDimensionality"]);void 0!==t&&null!=r&&ty(t,["outputDimensionality"],r)}let s=t_(r,["embeddingApiType"]);if(void 0===s&&(s="PREDICT"),"PREDICT"===s){let r=t_(e,["mimeType"]);void 0!==t&&null!=r&&ty(t,["instances[]","mimeType"],r)}let a=t_(r,["embeddingApiType"]);if(void 0===a&&(a="PREDICT"),"PREDICT"===a){let r=t_(e,["autoTruncate"]);void 0!==t&&null!=r&&ty(t,["parameters","autoTruncate"],r)}else if("EMBED_CONTENT"===a){let r=t_(e,["autoTruncate"]);void 0!==t&&null!=r&&ty(t,["autoTruncate"],r)}}(a,n,r),n}(this.apiClient,e,e);return s=tg((o=e.model).includes("gemini")&&"gemini-embedding-001"!==o||o.includes("maas")?"{model}:embedContent":"{model}:predict",n._url),a=n._query,delete n._url,delete n._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(t=>{let r=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions[]","embeddings"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["values"]))&&ty(r,["values"],n),null!=(i=t_(e,["statistics"]))&&ty(r,["statistics"],(o={},null!=(s=t_(t=i,["truncated"]))&&ty(o,["truncated"],s),null!=(a=t_(t,["token_count"]))&&ty(o,["tokenCount"],a),o)),r})),ty(r,["embeddings"],e)}let o=t_(e,["metadata"]);if(null!=o&&ty(r,["metadata"],o),t&&"EMBED_CONTENT"===t_(t,["embeddingApiType"])){let t=t_(e,["embedding"]),n=t_(e,["usageMetadata"]),i=t_(e,["truncated"]);if(t){let e={};n&&n.promptTokenCount&&(e.tokenCount=n.promptTokenCount),i&&(e.truncated=i),t.statistics=e,ty(r,["embeddings"],[t])}}return r}(t,e),n=new tS;return Object.assign(n,r),n})}{let t=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let t=t7(e,o);Array.isArray(t)&&(t=t.map(e=>e)),ty(n,["requests[]","content"],t)}let s=t_(t,["content"]);null!=s&&rD(t3(s));let a=t_(t,["config"]);null!=a&&function(e,t,r){let n=t_(e,["taskType"]);void 0!==t&&null!=n&&ty(t,["requests[]","taskType"],n);let i=t_(e,["title"]);void 0!==t&&null!=i&&ty(t,["requests[]","title"],i);let o=t_(e,["outputDimensionality"]);if(void 0!==t&&null!=o&&ty(t,["requests[]","outputDimensionality"],o),void 0!==t_(e,["mimeType"]))throw Error("mimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["autoTruncate"]))throw Error("autoTruncate parameter is not supported in Gemini API.")}(a,n);let l=t_(t,["model"]);return void 0!==l&&ty(n,["requests[]","model"],tz(e,l)),n}(this.apiClient,e);return s=tg("{model}:batchEmbedContents",t._url),a=t._query,delete t._url,delete t._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["embeddings"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["embeddings"],e)}let o=t_(e,["metadata"]);return null!=o&&ty(r,["metadata"],o),r}(e),r=new tS;return Object.assign(r,t),r})}}async generateImagesInternal(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d,p,h,f,m,g,y,_,E,v,T,A,S,b,C,O,I=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","model"],tz(o,i)),null!=(s=t_(e,["prompt"]))&&ty(n,["instances[0]","prompt"],s),null!=(u=t_(e,["config"]))&&(c=t_(u,["outputGcsUri"]),void 0!==n&&null!=c&&ty(n,["parameters","storageUri"],c),d=t_(u,["negativePrompt"]),void 0!==n&&null!=d&&ty(n,["parameters","negativePrompt"],d),p=t_(u,["numberOfImages"]),void 0!==n&&null!=p&&ty(n,["parameters","sampleCount"],p),h=t_(u,["aspectRatio"]),void 0!==n&&null!=h&&ty(n,["parameters","aspectRatio"],h),f=t_(u,["guidanceScale"]),void 0!==n&&null!=f&&ty(n,["parameters","guidanceScale"],f),m=t_(u,["seed"]),void 0!==n&&null!=m&&ty(n,["parameters","seed"],m),g=t_(u,["safetyFilterLevel"]),void 0!==n&&null!=g&&ty(n,["parameters","safetySetting"],g),y=t_(u,["personGeneration"]),void 0!==n&&null!=y&&ty(n,["parameters","personGeneration"],y),_=t_(u,["includeSafetyAttributes"]),void 0!==n&&null!=_&&ty(n,["parameters","includeSafetyAttributes"],_),E=t_(u,["includeRaiReason"]),void 0!==n&&null!=E&&ty(n,["parameters","includeRaiReason"],E),v=t_(u,["language"]),void 0!==n&&null!=v&&ty(n,["parameters","language"],v),T=t_(u,["outputMimeType"]),void 0!==n&&null!=T&&ty(n,["parameters","outputOptions","mimeType"],T),A=t_(u,["outputCompressionQuality"]),void 0!==n&&null!=A&&ty(n,["parameters","outputOptions","compressionQuality"],A),S=t_(u,["addWatermark"]),void 0!==n&&null!=S&&ty(n,["parameters","addWatermark"],S),b=t_(u,["labels"]),void 0!==n&&null!=b&&ty(n,["labels"],b),C=t_(u,["imageSize"]),void 0!==n&&null!=C&&ty(n,["parameters","sampleImageSize"],C),O=t_(u,["enhancePrompt"]),void 0!==n&&null!=O&&ty(n,["parameters","enhancePrompt"],O)),n);return a=tg("{model}:predict",I._url),l=I._query,delete I._url,delete I._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(I),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}let o=t_(e,["positivePromptSafetyAttributes"]);return null!=o&&ty(r,["positivePromptSafetyAttributes"],rW(o)),r}(e),r=new tb;return Object.assign(r,t),r})}{let t,r,o,u,c=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","model"],tz(s,r)),null!=(o=t_(e,["prompt"]))&&ty(t,["instances[0]","prompt"],o),null!=(u=t_(e,["config"]))&&function(e,t,r){if(void 0!==t_(e,["outputGcsUri"]))throw Error("outputGcsUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["negativePrompt"]))throw Error("negativePrompt parameter is not supported in Gemini API.");let n=t_(e,["numberOfImages"]);void 0!==t&&null!=n&&ty(t,["parameters","sampleCount"],n);let i=t_(e,["aspectRatio"]);void 0!==t&&null!=i&&ty(t,["parameters","aspectRatio"],i);let o=t_(e,["guidanceScale"]);if(void 0!==t&&null!=o&&ty(t,["parameters","guidanceScale"],o),void 0!==t_(e,["seed"]))throw Error("seed parameter is not supported in Gemini API.");let s=t_(e,["safetyFilterLevel"]);void 0!==t&&null!=s&&ty(t,["parameters","safetySetting"],s);let a=t_(e,["personGeneration"]);void 0!==t&&null!=a&&ty(t,["parameters","personGeneration"],a);let l=t_(e,["includeSafetyAttributes"]);void 0!==t&&null!=l&&ty(t,["parameters","includeSafetyAttributes"],l);let u=t_(e,["includeRaiReason"]);void 0!==t&&null!=u&&ty(t,["parameters","includeRaiReason"],u);let c=t_(e,["language"]);void 0!==t&&null!=c&&ty(t,["parameters","language"],c);let d=t_(e,["outputMimeType"]);void 0!==t&&null!=d&&ty(t,["parameters","outputOptions","mimeType"],d);let p=t_(e,["outputCompressionQuality"]);if(void 0!==t&&null!=p&&ty(t,["parameters","outputOptions","compressionQuality"],p),void 0!==t_(e,["addWatermark"]))throw Error("addWatermark parameter is not supported in Gemini API.");if(void 0!==t_(e,["labels"]))throw Error("labels parameter is not supported in Gemini API.");let h=t_(e,["imageSize"]);if(void 0!==t&&null!=h&&ty(t,["parameters","sampleImageSize"],h),void 0!==t_(e,["enhancePrompt"]))throw Error("enhancePrompt parameter is not supported in Gemini API.")}(u,t),t);return a=tg("{model}:predict",c._url),l=c._query,delete c._url,delete c._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(c),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>{var t,r;let n,i,o,s,a,l,u;return n={},null!=(i=t_(t=e,["_self"]))&&ty(n,["image"],(o={},null!=(s=t_(r=i,["bytesBase64Encoded"]))&&ty(o,["imageBytes"],tE(s)),null!=(a=t_(r,["mimeType"]))&&ty(o,["mimeType"],a),o)),null!=(l=t_(t,["raiFilteredReason"]))&&ty(n,["raiFilteredReason"],l),null!=(u=t_(t,["_self"]))&&ty(n,["safetyAttributes"],rJ(u)),n})),ty(r,["generatedImages"],e)}let o=t_(e,["positivePromptSafetyAttributes"]);return null!=o&&ty(r,["positivePromptSafetyAttributes"],rJ(o)),r}(e),r=new tb;return Object.assign(r,t),r})}}async editImageInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o=function(e,t,r){let n,i,o,s,a,l,u,c,d,p,h,f,m,g,y,_,E,v={},T=t_(t,["model"]);null!=T&&ty(v,["_url","model"],tz(e,T));let A=t_(t,["prompt"]);null!=A&&ty(v,["instances[0]","prompt"],A);let S=t_(t,["referenceImages"]);if(null!=S){let e=S;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r,n,i,o,s,a,l,u={},c=t_(e,["referenceImage"]);null!=c&&ty(u,["referenceImage"],rB(c));let d=t_(e,["referenceId"]);null!=d&&ty(u,["referenceId"],d);let p=t_(e,["referenceType"]);null!=p&&ty(u,["referenceType"],p);let h=t_(e,["maskImageConfig"]);null!=h&&ty(u,["maskImageConfig"],(r={},null!=(n=t_(h,["maskMode"]))&&ty(r,["maskMode"],n),null!=(i=t_(h,["segmentationClasses"]))&&ty(r,["maskClasses"],i),null!=(o=t_(h,["maskDilation"]))&&ty(r,["dilation"],o),r));let f=t_(e,["controlImageConfig"]);null!=f&&ty(u,["controlImageConfig"],(s={},null!=(a=t_(f,["controlType"]))&&ty(s,["controlType"],a),null!=(l=t_(f,["enableControlImageComputation"]))&&ty(s,["computeControl"],l),s));let m=t_(e,["styleImageConfig"]);null!=m&&ty(u,["styleImageConfig"],m);let g=t_(e,["subjectImageConfig"]);return null!=g&&ty(u,["subjectImageConfig"],g),u})(e))),ty(v,["instances[0]","referenceImages"],e)}let b=t_(t,["config"]);return null!=b&&(n=t_(b,["outputGcsUri"]),void 0!==v&&null!=n&&ty(v,["parameters","storageUri"],n),i=t_(b,["negativePrompt"]),void 0!==v&&null!=i&&ty(v,["parameters","negativePrompt"],i),o=t_(b,["numberOfImages"]),void 0!==v&&null!=o&&ty(v,["parameters","sampleCount"],o),s=t_(b,["aspectRatio"]),void 0!==v&&null!=s&&ty(v,["parameters","aspectRatio"],s),a=t_(b,["guidanceScale"]),void 0!==v&&null!=a&&ty(v,["parameters","guidanceScale"],a),l=t_(b,["seed"]),void 0!==v&&null!=l&&ty(v,["parameters","seed"],l),u=t_(b,["safetyFilterLevel"]),void 0!==v&&null!=u&&ty(v,["parameters","safetySetting"],u),c=t_(b,["personGeneration"]),void 0!==v&&null!=c&&ty(v,["parameters","personGeneration"],c),d=t_(b,["includeSafetyAttributes"]),void 0!==v&&null!=d&&ty(v,["parameters","includeSafetyAttributes"],d),p=t_(b,["includeRaiReason"]),void 0!==v&&null!=p&&ty(v,["parameters","includeRaiReason"],p),h=t_(b,["language"]),void 0!==v&&null!=h&&ty(v,["parameters","language"],h),f=t_(b,["outputMimeType"]),void 0!==v&&null!=f&&ty(v,["parameters","outputOptions","mimeType"],f),m=t_(b,["outputCompressionQuality"]),void 0!==v&&null!=m&&ty(v,["parameters","outputOptions","compressionQuality"],m),g=t_(b,["addWatermark"]),void 0!==v&&null!=g&&ty(v,["parameters","addWatermark"],g),y=t_(b,["labels"]),void 0!==v&&null!=y&&ty(v,["labels"],y),_=t_(b,["editMode"]),void 0!==v&&null!=_&&ty(v,["parameters","editMode"],_),E=t_(b,["baseSteps"]),void 0!==v&&null!=E&&ty(v,["parameters","editConfig","baseSteps"],E)),v}(this.apiClient,e);return n=tg("{model}:predict",o._url),i=o._query,delete o._url,delete o._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(o),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}return r}(e),r=new tC;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async upscaleImageInternal(e){var t,r,n;let i="",o={};if(this.apiClient.isVertexAI()){let s,a,l,u,c,d,p,h,f,m,g,y,_,E,v,T,A=(n=this.apiClient,s={},null!=(a=t_(e,["model"]))&&ty(s,["_url","model"],tz(n,a)),null!=(l=t_(e,["image"]))&&ty(s,["instances[0]","image"],rB(l)),null!=(u=t_(e,["upscaleFactor"]))&&ty(s,["parameters","upscaleConfig","upscaleFactor"],u),null!=(c=t_(e,["config"]))&&(d=t_(c,["outputGcsUri"]),void 0!==s&&null!=d&&ty(s,["parameters","storageUri"],d),p=t_(c,["safetyFilterLevel"]),void 0!==s&&null!=p&&ty(s,["parameters","safetySetting"],p),h=t_(c,["personGeneration"]),void 0!==s&&null!=h&&ty(s,["parameters","personGeneration"],h),f=t_(c,["includeRaiReason"]),void 0!==s&&null!=f&&ty(s,["parameters","includeRaiReason"],f),m=t_(c,["outputMimeType"]),void 0!==s&&null!=m&&ty(s,["parameters","outputOptions","mimeType"],m),g=t_(c,["outputCompressionQuality"]),void 0!==s&&null!=g&&ty(s,["parameters","outputOptions","compressionQuality"],g),y=t_(c,["enhanceInputImage"]),void 0!==s&&null!=y&&ty(s,["parameters","upscaleConfig","enhanceInputImage"],y),_=t_(c,["imagePreservationFactor"]),void 0!==s&&null!=_&&ty(s,["parameters","upscaleConfig","imagePreservationFactor"],_),E=t_(c,["labels"]),void 0!==s&&null!=E&&ty(s,["labels"],E),v=t_(c,["numberOfImages"]),void 0!==s&&null!=v&&ty(s,["parameters","sampleCount"],v),T=t_(c,["mode"]),void 0!==s&&null!=T&&ty(s,["parameters","mode"],T)),s);return i=tg("{model}:predict",A._url),o=A._query,delete A._url,delete A._query,this.apiClient.request({path:i,queryParams:o,body:JSON.stringify(A),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}return r}(e),r=new tO;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async recontextImage(e){var t,r,n;let i="",o={};if(this.apiClient.isVertexAI()){let s,a,l,u,c,d,p,h,f,m,g,y,_,E,v,T=(n=this.apiClient,s={},null!=(a=t_(e,["model"]))&&ty(s,["_url","model"],tz(n,a)),null!=(l=t_(e,["source"]))&&function(e,t,r){let n=t_(e,["prompt"]);void 0!==t&&null!=n&&ty(t,["instances[0]","prompt"],n);let i=t_(e,["personImage"]);void 0!==t&&null!=i&&ty(t,["instances[0]","personImage","image"],rB(i));let o=t_(e,["productImages"]);if(void 0!==t&&null!=o){let e=o;Array.isArray(e)&&(e=e.map(e=>{let t,r;return t={},null!=(r=t_(e,["productImage"]))&&ty(t,["image"],rB(r)),t})),ty(t,["instances[0]","productImages"],e)}}(l,s),null!=(u=t_(e,["config"]))&&(c=t_(u,["numberOfImages"]),void 0!==s&&null!=c&&ty(s,["parameters","sampleCount"],c),d=t_(u,["baseSteps"]),void 0!==s&&null!=d&&ty(s,["parameters","baseSteps"],d),p=t_(u,["outputGcsUri"]),void 0!==s&&null!=p&&ty(s,["parameters","storageUri"],p),h=t_(u,["seed"]),void 0!==s&&null!=h&&ty(s,["parameters","seed"],h),f=t_(u,["safetyFilterLevel"]),void 0!==s&&null!=f&&ty(s,["parameters","safetySetting"],f),m=t_(u,["personGeneration"]),void 0!==s&&null!=m&&ty(s,["parameters","personGeneration"],m),g=t_(u,["addWatermark"]),void 0!==s&&null!=g&&ty(s,["parameters","addWatermark"],g),y=t_(u,["outputMimeType"]),void 0!==s&&null!=y&&ty(s,["parameters","outputOptions","mimeType"],y),_=t_(u,["outputCompressionQuality"]),void 0!==s&&null!=_&&ty(s,["parameters","outputOptions","compressionQuality"],_),E=t_(u,["enhancePrompt"]),void 0!==s&&null!=E&&ty(s,["parameters","enhancePrompt"],E),v=t_(u,["labels"]),void 0!==s&&null!=v&&ty(s,["labels"],v)),s);return i=tg("{model}:predict",T._url),o=T._query,delete T._url,delete T._query,this.apiClient.request({path:i,queryParams:o,body:JSON.stringify(T),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e,t){let r={},n=t_(e,["predictions"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}return r}(e),r=new tI;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async segmentImage(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI()){let l,u,c,d,p,h,f,m,g,y,_,E,v,T,A,S=(n=this.apiClient,h={},null!=(f=t_(e,["model"]))&&ty(h,["_url","model"],tz(n,f)),null!=(m=t_(e,["source"]))&&(i=m,o=h,c=t_(i,["prompt"]),void 0!==o&&null!=c&&ty(o,["instances[0]","prompt"],c),d=t_(i,["image"]),void 0!==o&&null!=d&&ty(o,["instances[0]","image"],rB(d)),p=t_(i,["scribbleImage"]),void 0!==o&&null!=p&&ty(o,["instances[0]","scribble"],(l={},null!=(u=t_(p,["image"]))&&ty(l,["image"],rB(u)),l))),null!=(g=t_(e,["config"]))&&(y=t_(g,["mode"]),void 0!==h&&null!=y&&ty(h,["parameters","mode"],y),_=t_(g,["maxPredictions"]),void 0!==h&&null!=_&&ty(h,["parameters","maxPredictions"],_),E=t_(g,["confidenceThreshold"]),void 0!==h&&null!=E&&ty(h,["parameters","confidenceThreshold"],E),v=t_(g,["maskDilation"]),void 0!==h&&null!=v&&ty(h,["parameters","maskDilation"],v),T=t_(g,["binaryColorThreshold"]),void 0!==h&&null!=T&&ty(h,["parameters","binaryColorThreshold"],T),A=t_(g,["labels"]),void 0!==h&&null!=A&&ty(h,["labels"],A)),h);return s=tg("{model}:predict",S._url),a=S._query,delete S._url,delete S._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(S),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e,t){let r={},n=t_(e,["predictions"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["_self"]);null!=n&&ty(r,["mask"],rq(n));let i=t_(e,["labels"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["labels"],e)}return r})(e))),ty(r,["generatedMasks"],e)}return r}(e),r=new tw;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async get(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","name"],tz(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>r$(e))}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","name"],tz(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rV(e))}}async listInternal(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d,p=(o=this.apiClient,n={},null!=(i=t_(e,["config"]))&&(s=t_(i,["pageSize"]),void 0!==n&&null!=s&&ty(n,["_query","pageSize"],s),u=t_(i,["pageToken"]),void 0!==n&&null!=u&&ty(n,["_query","pageToken"],u),c=t_(i,["filter"]),void 0!==n&&null!=c&&ty(n,["_query","filter"],c),d=t_(i,["queryBase"]),void 0!==n&&null!=d&&ty(n,["_url","models_url"],rc(o,d))),n);return a=tg("{models_url}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["_self"]);if(null!=o){let e=rd(o);Array.isArray(e)&&(e=e.map(e=>r$(e))),ty(r,["models"],e)}return r}(e),r=new tR;return Object.assign(r,t),r})}{let t,r,o,u,c,d,p=(s=this.apiClient,t={},null!=(r=t_(e,["config"]))&&(o=t_(r,["pageSize"]),void 0!==t&&null!=o&&ty(t,["_query","pageSize"],o),u=t_(r,["pageToken"]),void 0!==t&&null!=u&&ty(t,["_query","pageToken"],u),c=t_(r,["filter"]),void 0!==t&&null!=c&&ty(t,["_query","filter"],c),d=t_(r,["queryBase"]),void 0!==t&&null!=d&&ty(t,["_url","models_url"],rc(s,d))),t);return a=tg("{models_url}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["_self"]);if(null!=o){let e=rd(o);Array.isArray(e)&&(e=e.map(e=>rV(e))),ty(r,["models"],e)}return r}(e),r=new tR;return Object.assign(r,t),r})}}async update(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d,p=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","model"],tz(o,i)),null!=(s=t_(e,["config"]))&&(u=t_(s,["displayName"]),void 0!==n&&null!=u&&ty(n,["displayName"],u),c=t_(s,["description"]),void 0!==n&&null!=c&&ty(n,["description"],c),d=t_(s,["defaultCheckpointId"]),void 0!==n&&null!=d&&ty(n,["defaultCheckpointId"],d)),n);return a=tg("{model}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"PATCH",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>r$(e))}{let t,r,o,u,c,d,p=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","name"],tz(s,r)),null!=(o=t_(e,["config"]))&&(u=t_(o,["displayName"]),void 0!==t&&null!=u&&ty(t,["displayName"],u),c=t_(o,["description"]),void 0!==t&&null!=c&&ty(t,["description"],c),d=t_(o,["defaultCheckpointId"]),void 0!==t&&null!=d&&ty(t,["defaultCheckpointId"],d)),t);return a=tg("{name}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"PATCH",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rV(e))}}async delete(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","name"],tz(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tN;return Object.assign(i,n),i})}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","name"],tz(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"DELETE",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tN;return Object.assign(i,n),i})}}async countTokens(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t9(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&function(e,t,r){let n=t_(e,["systemInstruction"]);void 0!==t&&null!=n&&ty(t,["systemInstruction"],t3(n));let i=t_(e,["tools"]);if(void 0!==t&&null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rK(e))),ty(t,["tools"],e)}let o=t_(e,["generationConfig"]);void 0!==t&&null!=o&&ty(t,["generationConfig"],function(e,t){let r={},n=t_(e,["modelSelectionConfig"]);null!=n&&ty(r,["modelConfig"],n);let i=t_(e,["responseJsonSchema"]);null!=i&&ty(r,["responseJsonSchema"],i);let o=t_(e,["audioTimestamp"]);null!=o&&ty(r,["audioTimestamp"],o);let s=t_(e,["candidateCount"]);null!=s&&ty(r,["candidateCount"],s);let a=t_(e,["enableAffectiveDialog"]);null!=a&&ty(r,["enableAffectiveDialog"],a);let l=t_(e,["frequencyPenalty"]);null!=l&&ty(r,["frequencyPenalty"],l);let u=t_(e,["logprobs"]);null!=u&&ty(r,["logprobs"],u);let c=t_(e,["maxOutputTokens"]);null!=c&&ty(r,["maxOutputTokens"],c);let d=t_(e,["mediaResolution"]);null!=d&&ty(r,["mediaResolution"],d);let p=t_(e,["presencePenalty"]);null!=p&&ty(r,["presencePenalty"],p);let h=t_(e,["responseLogprobs"]);null!=h&&ty(r,["responseLogprobs"],h);let f=t_(e,["responseMimeType"]);null!=f&&ty(r,["responseMimeType"],f);let m=t_(e,["responseModalities"]);null!=m&&ty(r,["responseModalities"],m);let g=t_(e,["responseSchema"]);null!=g&&ty(r,["responseSchema"],g);let y=t_(e,["routingConfig"]);null!=y&&ty(r,["routingConfig"],y);let _=t_(e,["seed"]);null!=_&&ty(r,["seed"],_);let E=t_(e,["speechConfig"]);null!=E&&ty(r,["speechConfig"],E);let v=t_(e,["stopSequences"]);null!=v&&ty(r,["stopSequences"],v);let T=t_(e,["temperature"]);null!=T&&ty(r,["temperature"],T);let A=t_(e,["thinkingConfig"]);null!=A&&ty(r,["thinkingConfig"],A);let S=t_(e,["topK"]);null!=S&&ty(r,["topK"],S);let b=t_(e,["topP"]);if(null!=b&&ty(r,["topP"],b),void 0!==t_(e,["enableEnhancedCivicAnswers"]))throw Error("enableEnhancedCivicAnswers parameter is not supported in Vertex AI.");return r}(o))}(s,n),n}(this.apiClient,e);return o=tg("{model}:countTokens",n._url),s=n._query,delete n._url,delete n._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["totalTokens"]))&&ty(t,["totalTokens"],n),t),o=new tk;return Object.assign(o,i),o})}{let t=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t9(o);Array.isArray(e)&&(e=e.map(e=>rD(e))),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&function(e,t){if(void 0!==t_(e,["systemInstruction"]))throw Error("systemInstruction parameter is not supported in Gemini API.");if(void 0!==t_(e,["tools"]))throw Error("tools parameter is not supported in Gemini API.");if(void 0!==t_(e,["generationConfig"]))throw Error("generationConfig parameter is not supported in Gemini API.")}(s),n}(this.apiClient,e);return o=tg("{model}:countTokens",t._url),s=t._query,delete t._url,delete t._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["totalTokens"]))&&ty(t,["totalTokens"],n),null!=(i=t_(e,["cachedContentTokenCount"]))&&ty(t,["cachedContentTokenCount"],i),t),s=new tk;return Object.assign(s,o),s})}}async computeTokens(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t9(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(n,["contents"],e)}return n}(this.apiClient,e);return n=tg("{model}:computeTokens",o._url),i=o._query,delete o._url,delete o._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(o),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["tokensInfo"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["tokensInfo"],e)}return r}(e),r=new tP;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async generateVideosInternal(e){var t,r,n,i,o,s,a,l,u,c;let d="",p={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,h,f,m,g,y,_=(o=this.apiClient,u={},null!=(c=t_(e,["model"]))&&ty(u,["_url","model"],tz(o,c)),null!=(h=t_(e,["prompt"]))&&ty(u,["instances[0]","prompt"],h),null!=(f=t_(e,["image"]))&&ty(u,["instances[0]","image"],rB(f)),null!=(m=t_(e,["video"]))&&ty(u,["instances[0]","video"],rz(m)),null!=(g=t_(e,["source"]))&&(a=g,l=u,n=t_(a,["prompt"]),void 0!==l&&null!=n&&ty(l,["instances[0]","prompt"],n),i=t_(a,["image"]),void 0!==l&&null!=i&&ty(l,["instances[0]","image"],rB(i)),s=t_(a,["video"]),void 0!==l&&null!=s&&ty(l,["instances[0]","video"],rz(s))),null!=(y=t_(e,["config"]))&&function(e,t,r){var n;let i,o,s,a=t_(e,["numberOfVideos"]);void 0!==t&&null!=a&&ty(t,["parameters","sampleCount"],a);let l=t_(e,["outputGcsUri"]);void 0!==t&&null!=l&&ty(t,["parameters","storageUri"],l);let u=t_(e,["fps"]);void 0!==t&&null!=u&&ty(t,["parameters","fps"],u);let c=t_(e,["durationSeconds"]);void 0!==t&&null!=c&&ty(t,["parameters","durationSeconds"],c);let d=t_(e,["seed"]);void 0!==t&&null!=d&&ty(t,["parameters","seed"],d);let p=t_(e,["aspectRatio"]);void 0!==t&&null!=p&&ty(t,["parameters","aspectRatio"],p);let h=t_(e,["resolution"]);void 0!==t&&null!=h&&ty(t,["parameters","resolution"],h);let f=t_(e,["personGeneration"]);void 0!==t&&null!=f&&ty(t,["parameters","personGeneration"],f);let m=t_(e,["pubsubTopic"]);void 0!==t&&null!=m&&ty(t,["parameters","pubsubTopic"],m);let g=t_(e,["negativePrompt"]);void 0!==t&&null!=g&&ty(t,["parameters","negativePrompt"],g);let y=t_(e,["enhancePrompt"]);void 0!==t&&null!=y&&ty(t,["parameters","enhancePrompt"],y);let _=t_(e,["generateAudio"]);void 0!==t&&null!=_&&ty(t,["parameters","generateAudio"],_);let E=t_(e,["lastFrame"]);void 0!==t&&null!=E&&ty(t,["instances[0]","lastFrame"],rB(E));let v=t_(e,["referenceImages"]);if(void 0!==t&&null!=v){let e=v;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i;return r={},null!=(n=t_(t=e,["image"]))&&ty(r,["image"],rB(n)),null!=(i=t_(t,["referenceType"]))&&ty(r,["referenceType"],i),r})),ty(t,["instances[0]","referenceImages"],e)}let T=t_(e,["mask"]);void 0!==t&&null!=T&&ty(t,["instances[0]","mask"],(i={},null!=(o=t_(n=T,["image"]))&&ty(i,["_self"],rB(o)),null!=(s=t_(n,["maskMode"]))&&ty(i,["maskMode"],s),i));let A=t_(e,["compressionQuality"]);void 0!==t&&null!=A&&ty(t,["parameters","compressionQuality"],A)}(y,u),u);return d=tg("{model}:predictLongRunning",_._url),p=_._query,delete _._url,delete _._query,this.apiClient.request({path:d,queryParams:p,body:JSON.stringify(_),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n,i,o,s,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["name"],r),null!=(n=t_(e,["metadata"]))&&ty(t,["metadata"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),null!=(s=t_(e,["response"]))&&ty(t,["response"],function(e,t){let r={},n=t_(e,["videos"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["_self"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["gcsUri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["bytesBase64Encoded"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["mimeType"]))&&ty(i,["mimeType"],a),i)),r})),ty(r,["generatedVideos"],e)}let i=t_(e,["raiMediaFilteredCount"]);null!=i&&ty(r,["raiMediaFilteredCount"],i);let o=t_(e,["raiMediaFilteredReasons"]);return null!=o&&ty(r,["raiMediaFilteredReasons"],o),r}(s)),t),l=new tx;return Object.assign(l,a),l})}{let t,r,o,a,l,h,f,m,g,y,_=(s=this.apiClient,a={},null!=(l=t_(e,["model"]))&&ty(a,["_url","model"],tz(s,l)),null!=(h=t_(e,["prompt"]))&&ty(a,["instances[0]","prompt"],h),null!=(f=t_(e,["image"]))&&ty(a,["instances[0]","image"],rH(f)),null!=(m=t_(e,["video"]))&&ty(a,["instances[0]","video"],rY(m)),null!=(g=t_(e,["source"]))&&(u=g,c=a,t=t_(u,["prompt"]),void 0!==c&&null!=t&&ty(c,["instances[0]","prompt"],t),r=t_(u,["image"]),void 0!==c&&null!=r&&ty(c,["instances[0]","image"],rH(r)),o=t_(u,["video"]),void 0!==c&&null!=o&&ty(c,["instances[0]","video"],rY(o))),null!=(y=t_(e,["config"]))&&function(e,t,r){let n=t_(e,["numberOfVideos"]);if(void 0!==t&&null!=n&&ty(t,["parameters","sampleCount"],n),void 0!==t_(e,["outputGcsUri"]))throw Error("outputGcsUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["fps"]))throw Error("fps parameter is not supported in Gemini API.");let i=t_(e,["durationSeconds"]);if(void 0!==t&&null!=i&&ty(t,["parameters","durationSeconds"],i),void 0!==t_(e,["seed"]))throw Error("seed parameter is not supported in Gemini API.");let o=t_(e,["aspectRatio"]);void 0!==t&&null!=o&&ty(t,["parameters","aspectRatio"],o);let s=t_(e,["resolution"]);void 0!==t&&null!=s&&ty(t,["parameters","resolution"],s);let a=t_(e,["personGeneration"]);if(void 0!==t&&null!=a&&ty(t,["parameters","personGeneration"],a),void 0!==t_(e,["pubsubTopic"]))throw Error("pubsubTopic parameter is not supported in Gemini API.");let l=t_(e,["negativePrompt"]);void 0!==t&&null!=l&&ty(t,["parameters","negativePrompt"],l);let u=t_(e,["enhancePrompt"]);if(void 0!==t&&null!=u&&ty(t,["parameters","enhancePrompt"],u),void 0!==t_(e,["generateAudio"]))throw Error("generateAudio parameter is not supported in Gemini API.");let c=t_(e,["lastFrame"]);void 0!==t&&null!=c&&ty(t,["instances[0]","lastFrame"],rH(c));let d=t_(e,["referenceImages"]);if(void 0!==t&&null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i;return r={},null!=(n=t_(t=e,["image"]))&&ty(r,["image"],rH(n)),null!=(i=t_(t,["referenceType"]))&&ty(r,["referenceType"],i),r})),ty(t,["instances[0]","referenceImages"],e)}if(void 0!==t_(e,["mask"]))throw Error("mask parameter is not supported in Gemini API.");if(void 0!==t_(e,["compressionQuality"]))throw Error("compressionQuality parameter is not supported in Gemini API.")}(y,a),a);return d=tg("{model}:predictLongRunning",_._url),p=_._query,delete _._url,delete _._query,this.apiClient.request({path:d,queryParams:p,body:JSON.stringify(_),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n,i,o,s,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["name"],r),null!=(n=t_(e,["metadata"]))&&ty(t,["metadata"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),null!=(s=t_(e,["response","generateVideoResponse"]))&&ty(t,["response"],function(e,t){let r={},n=t_(e,["generatedSamples"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["video"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["uri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["encodedVideo"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["encoding"]))&&ty(i,["mimeType"],a),i)),r})),ty(r,["generatedVideos"],e)}let i=t_(e,["raiMediaFilteredCount"]);null!=i&&ty(r,["raiMediaFilteredCount"],i);let o=t_(e,["raiMediaFilteredReasons"]);return null!=o&&ty(r,["raiMediaFilteredReasons"],o),r}(s)),t),l=new tx;return Object.assign(l,a),l})}}}class na extends tm{constructor(e){super(),this.apiClient=e}async getVideosOperation(e){let t=e.operation,r=e.config;if(void 0===t.name||""===t.name)throw Error("Operation name is required.");if(this.apiClient.isVertexAI()){let e,n=t.name.split("/operations/")[0];r&&"httpOptions"in r&&(e=r.httpOptions);let i=await this.fetchPredictVideosOperationInternal({operationName:t.name,resourceName:n,config:{httpOptions:e}});return t._fromAPIResponse({apiResponse:i,_isVertexAI:!0})}{let e=await this.getVideosOperationInternal({operationName:t.name,config:r});return t._fromAPIResponse({apiResponse:e,_isVertexAI:!1})}}async get(e){let t=e.operation,r=e.config;if(void 0===t.name||""===t.name)throw Error("Operation name is required.");if(this.apiClient.isVertexAI()){let e,n=t.name.split("/operations/")[0];r&&"httpOptions"in r&&(e=r.httpOptions);let i=await this.fetchPredictVideosOperationInternal({operationName:t.name,resourceName:n,config:{httpOptions:e}});return t._fromAPIResponse({apiResponse:i,_isVertexAI:!0})}{let e=await this.getVideosOperationInternal({operationName:t.name,config:r});return t._fromAPIResponse({apiResponse:e,_isVertexAI:!1})}}async getVideosOperationInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a=(n={},null!=(i=t_(e,["operationName"]))&&ty(n,["_url","operationName"],i),n);return o=tg("{operationName}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json())}{let t,r,a=(t={},null!=(r=t_(e,["operationName"]))&&ty(t,["_url","operationName"],r),t);return o=tg("{operationName}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json())}}async fetchPredictVideosOperationInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o,s,a,l=(o={},null!=(s=t_(e,["operationName"]))&&ty(o,["operationName"],s),null!=(a=t_(e,["resourceName"]))&&ty(o,["_url","resourceName"],a),o);return n=tg("{resourceName}:fetchPredictOperation",l._url),i=l._query,delete l._url,delete l._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(l),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json())}throw Error("This method is only supported by the Vertex AI.")}}class nl extends tm{constructor(e){super(),this.apiClient=e}async create(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI())throw Error("The client.tokens.create method is only supported by the Gemini Developer API.");{let l,u,c,d,p,h,f,m,g,y,_=(n=this.apiClient,d={},null!=(p=t_(e,["config"]))&&ty(d,["config"],(h=t_(p,["expireTime"]),void 0!==d&&null!=h&&ty(d,["expireTime"],h),f=t_(p,["newSessionExpireTime"]),void 0!==d&&null!=f&&ty(d,["newSessionExpireTime"],f),m=t_(p,["uses"]),void 0!==d&&null!=m&&ty(d,["uses"],m),g=t_(p,["liveConnectConstraints"]),void 0!==d&&null!=g&&ty(d,["bidiGenerateContentSetup"],(i=n,l={},null!=(u=t_(o=g,["model"]))&&ty(l,["setup","model"],tz(i,u)),null!=(c=t_(o,["config"]))&&ty(l,["config"],function(e,t){let r=t_(e,["generationConfig"]);void 0!==t&&null!=r&&ty(t,["setup","generationConfig"],r);let n=t_(e,["responseModalities"]);void 0!==t&&null!=n&&ty(t,["setup","generationConfig","responseModalities"],n);let i=t_(e,["temperature"]);void 0!==t&&null!=i&&ty(t,["setup","generationConfig","temperature"],i);let o=t_(e,["topP"]);void 0!==t&&null!=o&&ty(t,["setup","generationConfig","topP"],o);let s=t_(e,["topK"]);void 0!==t&&null!=s&&ty(t,["setup","generationConfig","topK"],s);let a=t_(e,["maxOutputTokens"]);void 0!==t&&null!=a&&ty(t,["setup","generationConfig","maxOutputTokens"],a);let l=t_(e,["mediaResolution"]);void 0!==t&&null!=l&&ty(t,["setup","generationConfig","mediaResolution"],l);let u=t_(e,["seed"]);void 0!==t&&null!=u&&ty(t,["setup","generationConfig","seed"],u);let c=t_(e,["speechConfig"]);void 0!==t&&null!=c&&ty(t,["setup","generationConfig","speechConfig"],rr(c));let d=t_(e,["thinkingConfig"]);void 0!==t&&null!=d&&ty(t,["setup","generationConfig","thinkingConfig"],d);let p=t_(e,["enableAffectiveDialog"]);void 0!==t&&null!=p&&ty(t,["setup","generationConfig","enableAffectiveDialog"],p);let h=t_(e,["systemInstruction"]);void 0!==t&&null!=h&&ty(t,["setup","systemInstruction"],function(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}(t3(h)));let f=t_(e,["tools"]);if(void 0!==t&&null!=f){let e=ri(f);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(rn(e)))),ty(t,["setup","tools"],e)}let m=t_(e,["sessionResumption"]);void 0!==t&&null!=m&&ty(t,["setup","sessionResumption"],function(e){let t={},r=t_(e,["handle"]);if(null!=r&&ty(t,["handle"],r),void 0!==t_(e,["transparent"]))throw Error("transparent parameter is not supported in Gemini API.");return t}(m));let g=t_(e,["inputAudioTranscription"]);void 0!==t&&null!=g&&ty(t,["setup","inputAudioTranscription"],g);let y=t_(e,["outputAudioTranscription"]);void 0!==t&&null!=y&&ty(t,["setup","outputAudioTranscription"],y);let _=t_(e,["realtimeInputConfig"]);void 0!==t&&null!=_&&ty(t,["setup","realtimeInputConfig"],_);let E=t_(e,["contextWindowCompression"]);void 0!==t&&null!=E&&ty(t,["setup","contextWindowCompression"],E);let v=t_(e,["proactivity"]);if(void 0!==t&&null!=v&&ty(t,["setup","proactivity"],v),void 0!==t_(e,["explicitVadSignal"]))throw Error("explicitVadSignal parameter is not supported in Gemini API.");return{}}(c,l)),l)),y=t_(p,["lockAdditionalFields"]),void 0!==d&&null!=y&&ty(d,["fieldMask"],y),{})),d);s=tg("auth_tokens",_._url),a=_._query,delete _.config,delete _._url,delete _._query;let E=function(e,t){let r=null,n=e.bidiGenerateContentSetup;if("object"==typeof n&&null!==n&&"setup"in n){let t=n.setup;"object"==typeof t&&null!==t?(e.bidiGenerateContentSetup=t,r=t):delete e.bidiGenerateContentSetup}else void 0!==n&&delete e.bidiGenerateContentSetup;let i=e.fieldMask;if(r){let n=function(e){let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let n=e[r];if("object"==typeof n&&null!=n&&Object.keys(n).length>0){let e=Object.keys(n).map(e=>`${r}.${e}`);t.push(...e)}else t.push(r)}return t.join(",")}(r);if(Array.isArray(null==t?void 0:t.lockAdditionalFields)&&(null==t?void 0:t.lockAdditionalFields.length)===0)n?e.fieldMask=n:delete e.fieldMask;else if((null==t?void 0:t.lockAdditionalFields)&&t.lockAdditionalFields.length>0&&null!==i&&Array.isArray(i)&&i.length>0){let t=["temperature","topK","topP","maxOutputTokens","responseModalities","seed","speechConfig"],r=[];i.length>0&&(r=i.map(e=>t.includes(e)?`generationConfig.${e}`:e));let o=[];n&&o.push(n),r.length>0&&o.push(...r),o.length>0?e.fieldMask=o.join(","):delete e.fieldMask}else delete e.fieldMask}else null!==i&&Array.isArray(i)&&i.length>0?e.fieldMask=i.join(","):delete e.fieldMask;return e}(_,e.config);return this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(E),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}}class nu extends tm{constructor(e){super(),this.apiClient=e,this.list=async e=>new rv(ts.PAGED_ITEM_DOCUMENTS,t=>this.listInternal({parent:e.parent,config:t.config}),await this.listInternal(e),e)}async get(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),o);return n=tg("{name}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),null!=(a=t_(e,["config"]))&&(l=t_(a,["force"]),void 0!==o&&null!=l&&ty(o,["_query","force"],l)),o);n=tg("{name}",u._url),i=u._query,delete u._url,delete u._query,await this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal})}}async listInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u,c=(o={},null!=(s=t_(e,["parent"]))&&ty(o,["_url","parent"],s),null!=(a=t_(e,["config"]))&&(l=t_(a,["pageSize"]),void 0!==o&&null!=l&&ty(o,["_query","pageSize"],l),u=t_(a,["pageToken"]),void 0!==o&&null!=u&&ty(o,["_query","pageToken"],u)),o);return n=tg("{parent}/documents",c._url),i=c._query,delete c._url,delete c._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["documents"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["documents"],e)}return t}(e),r=new tj;return Object.assign(r,t),r})}}}class nc extends tm{constructor(e,t=new nu(e)){super(),this.apiClient=e,this.documents=t,this.list=async(e={})=>new rv(ts.PAGED_ITEM_FILE_SEARCH_STORES,e=>this.listInternal(e),await this.listInternal(e),e)}async uploadToFileSearchStore(e){if(this.apiClient.isVertexAI())throw Error("Vertex AI does not support uploading files to a file search store.");return this.apiClient.uploadFileToFileSearchStore(e.fileSearchStoreName,e.file,e.config)}async create(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l=(o={},null!=(s=t_(e,["config"]))&&(a=t_(s,["displayName"]),void 0!==o&&null!=a&&ty(o,["displayName"],a)),o);return n=tg("fileSearchStores",l._url),i=l._query,delete l._url,delete l._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(l),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async get(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),o);return n=tg("{name}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),null!=(a=t_(e,["config"]))&&(l=t_(a,["force"]),void 0!==o&&null!=l&&ty(o,["_query","force"],l)),o);n=tg("{name}",u._url),i=u._query,delete u._url,delete u._query,await this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal})}}async listInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["config"]))&&(a=t_(s,["pageSize"]),void 0!==o&&null!=a&&ty(o,["_query","pageSize"],a),l=t_(s,["pageToken"]),void 0!==o&&null!=l&&ty(o,["_query","pageToken"],l)),o);return n=tg("fileSearchStores",u._url),i=u._query,delete u._url,delete u._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["fileSearchStores"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["fileSearchStores"],e)}return t}(e),r=new tG;return Object.assign(r,t),r})}}async uploadToFileSearchStoreInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l=(o={},null!=(s=t_(e,["fileSearchStoreName"]))&&ty(o,["_url","file_search_store_name"],s),null!=(a=t_(e,["config"]))&&rX(a,o),o);return n=tg("upload/v1beta/{file_search_store_name}:uploadToFileSearchStore",l._url),i=l._query,delete l._url,delete l._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(l),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tF;return Object.assign(i,n),i})}}async importFile(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["fileSearchStoreName"]))&&ty(o,["_url","file_search_store_name"],s),null!=(a=t_(e,["fileName"]))&&ty(o,["fileName"],a),null!=(l=t_(e,["config"]))&&function(e,t){let r=t_(e,["customMetadata"]);if(void 0!==t&&null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["customMetadata"],e)}let n=t_(e,["chunkingConfig"]);void 0!==t&&null!=n&&ty(t,["chunkingConfig"],n)}(l,o),o);return n=tg("{file_search_store_name}:importFile",u._url),i=u._query,delete u._url,delete u._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p=(s={},null!=(a=t_(e,["name"]))&&ty(s,["name"],a),null!=(l=t_(e,["metadata"]))&&ty(s,["metadata"],l),null!=(u=t_(e,["done"]))&&ty(s,["done"],u),null!=(c=t_(e,["error"]))&&ty(s,["error"],c),null!=(d=t_(e,["response"]))&&ty(s,["response"],(r={},null!=(n=t_(t=d,["sdkHttpResponse"]))&&ty(r,["sdkHttpResponse"],n),null!=(i=t_(t,["parent"]))&&ty(r,["parent"],i),null!=(o=t_(t,["documentName"]))&&ty(r,["documentName"],o),r)),s),h=new tq;return Object.assign(h,p),h})}}}let nd=function(){let{crypto:e}=globalThis;if(null==e?void 0:e.randomUUID)return nd=e.randomUUID.bind(e),e.randomUUID();let t=new Uint8Array(1),r=e?()=>e.getRandomValues(t)[0]:()=>255*Math.random()&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^r()&15>>e/4).toString(16))};function np(e){return"object"==typeof e&&null!==e&&("name"in e&&"AbortError"===e.name||"message"in e&&String(e.message).includes("FetchRequestCanceledException"))}let nh=e=>{if(e instanceof Error)return e;if("object"==typeof e&&null!==e){try{if("[object Error]"===Object.prototype.toString.call(e)){let t=Error(e.message,e.cause?{cause:e.cause}:{});return e.stack&&(t.stack=e.stack),e.cause&&!t.cause&&(t.cause=e.cause),e.name&&(t.name=e.name),t}}catch(e){}try{return Error(JSON.stringify(e))}catch(e){}}return Error(e)};class nf extends Error{}class nm extends nf{constructor(e,t,r,n){super(`${nm.makeMessage(e,t,r)}`),this.status=e,this.headers=n,this.error=t}static makeMessage(e,t,r){let n=(null==t?void 0:t.message)?"string"==typeof t.message?t.message:JSON.stringify(t.message):t?JSON.stringify(t):r;return e&&n?`${e} ${n}`:e?`${e} status code (no body)`:n||"(no status code or body)"}static generate(e,t,r,n){return e&&n?400===e?new nE(e,t,r,n):401===e?new nv(e,t,r,n):403===e?new nT(e,t,r,n):404===e?new nA(e,t,r,n):409===e?new nS(e,t,r,n):422===e?new nb(e,t,r,n):429===e?new nC(e,t,r,n):e>=500?new nO(e,t,r,n):new nm(e,t,r,n):new ny({message:r,cause:nh(t)})}}class ng extends nm{constructor({message:e}={}){super(void 0,void 0,e||"Request was aborted.",void 0)}}class ny extends nm{constructor({message:e,cause:t}){super(void 0,void 0,e||"Connection error.",void 0),t&&(this.cause=t)}}class n_ extends ny{constructor({message:e}={}){super({message:null!=e?e:"Request timed out."})}}class nE extends nm{}class nv extends nm{}class nT extends nm{}class nA extends nm{}class nS extends nm{}class nb extends nm{}class nC extends nm{}class nO extends nm{}let nI=/^[a-z][a-z0-9+.-]*:/i,nw=e=>(nw=Array.isArray)(e),nR=nw,nN="0.0.1",nk=e=>"x32"===e?"x32":"x86_64"===e||"x64"===e?"x64":"arm"===e?"arm":"aarch64"===e||"arm64"===e?"arm64":e?`other:${e}`:"unknown",nP=e=>(e=e.toLowerCase()).includes("ios")?"iOS":"android"===e?"Android":"darwin"===e?"MacOS":"win32"===e?"Windows":"freebsd"===e?"FreeBSD":"openbsd"===e?"OpenBSD":"linux"===e?"Linux":e?`Other:${e}`:"Unknown";function nx(...e){let t=globalThis.ReadableStream;if(void 0===t)throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new t(...e)}function nU(e){if(e[Symbol.asyncIterator])return e;let t=e.getReader();return{async next(){try{let e=await t.read();return(null==e?void 0:e.done)&&t.releaseLock(),e}catch(e){throw t.releaseLock(),e}},async return(){let e=t.cancel();return t.releaseLock(),await e,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function nD(e){var t,r;if(null===e||"object"!=typeof e)return;if(e[Symbol.asyncIterator])return void await (null==(r=(t=e[Symbol.asyncIterator]()).return)?void 0:r.call(t));let n=e.getReader(),i=n.cancel();n.releaseLock(),await i}let nM=({headers:e,body:t})=>({bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(t)}),nL=()=>{var e;if("u"parseInt(t.versions.node.split("."))?" Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`.":""))}};function nj(e,t,r){return nL(),new File(e,null!=t?t:"unknown_file",r)}let nG=e=>null!=e&&"object"==typeof e&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.text&&"function"==typeof e.slice&&"function"==typeof e.arrayBuffer;async function nF(e,t,r){var n;let i,o;if(nL(),null!=(i=e=await e)&&"object"==typeof i&&"string"==typeof i.name&&"number"==typeof i.lastModified&&nG(i))return e instanceof File?e:nj([await e.arrayBuffer()],e.name);if(null!=(o=e)&&"object"==typeof o&&"string"==typeof o.url&&"function"==typeof o.blob){let n=await e.blob();return t||(t=new URL(e.url).pathname.split(/[\\/]/).pop()),nj(await nq(n),t,r)}let s=await nq(e);if(t||(t=("object"==typeof(n=e)&&null!==n&&("name"in n&&n.name&&String(n.name)||"url"in n&&n.url&&String(n.url)||"filename"in n&&n.filename&&String(n.filename)||"path"in n&&n.path&&String(n.path))||"").split(/[\\/]/).pop()||void 0),!(null==r?void 0:r.type)){let e=s.find(e=>"object"==typeof e&&"type"in e&&e.type);"string"==typeof e&&(r=Object.assign(Object.assign({},r),{type:e}))}return nj(s,t,r)}async function nq(e){let t=[];if("string"==typeof e||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)t.push(e);else if(nG(e))t.push(e instanceof Blob?e:await e.arrayBuffer());else if(null!=e&&"object"==typeof e&&"function"==typeof e[Symbol.asyncIterator])try{for(var r,n,i,o,s,a,l=!0,u=rI(e);!(r=(a=await u.next()).done);l=!0)o=a.value,l=!1,t.push(...await nq(o))}catch(e){n={error:e}}finally{try{!l&&!r&&(i=u.return)&&await i.call(u)}finally{if(n)throw n.error}}else{let t=null==(s=null==e?void 0:e.constructor)?void 0:s.name;throw Error(`Unexpected data type: ${typeof e}${t?`; constructor: ${t}`:""}${function(e){if("object"!=typeof e||null===e)return"";let t=Object.getOwnPropertyNames(e);return`; props: [${t.map(e=>`"${e}"`).join(", ")}]`}(e)}`)}return t}class nH{constructor(e){this._client=e}}function nB(e){return e.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g,encodeURIComponent)}nH._key=[];let nV=Object.freeze(Object.create(null)),n$=((e=nB)=>function(t,...r){let n;if(1===t.length)return t[0];let i=!1,o=[],s=t.reduce((t,n,s)=>{var a,l,u;/[?#]/.test(n)&&(i=!0);let c=r[s],d=(i?encodeURIComponent:e)(""+c);return s!==r.length&&(null==c||"object"==typeof c&&c.toString===(null==(u=Object.getPrototypeOf(null!=(l=Object.getPrototypeOf(null!=(a=c.hasOwnProperty)?a:nV))?l:nV))?void 0:u.toString))&&(d=c+"",o.push({start:t.length+n.length,length:d.length,error:`Value of type ${Object.prototype.toString.call(c).slice(8,-1)} is not a valid path parameter`})),t+n+(s===r.length?"":d)},""),a=s.split(/[?#]/,1)[0],l=/(^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi;for(;null!==(n=l.exec(a));){let e=n[0].startsWith("/"),t=+!!e,r=e?n[0].slice(1):n[0];o.push({start:n.index+t,length:r.length,error:`Value "${r}" can't be safely passed as a path parameter`})}if(o.sort((e,t)=>e.start-t.start),o.length>0){let e=0,t=o.reduce((t,r)=>{let n=" ".repeat(r.start-e),i="^".repeat(r.length);return e=r.start+r.length,t+n+i},"");throw new nf(`Path parameters result in path with invalid segments: +`+await e.crypto.sha256DigestHex(y),v=await a(e.crypto,e.securityCredentials.secretAccessKey,d,e.region,l),T=await s(e.crypto,v,E),A=`${o} Credential=${e.securityCredentials.accessKeyId}/${_}, SignedHeaders=${m}, Signature=${(0,i.fromArrayBufferToHex)(T)}`;return{amzDate:t.has("date")?void 0:c,authorizationHeader:A,canonicalQuerystring:e.canonicalQuerystring}}r.AwsRequestSigner=class{getCredentials;region;crypto;constructor(e,t){this.getCredentials=e,this.region=t,this.crypto=(0,i.createCrypto)()}async getRequestOptions(e){if(!e.url)throw RangeError('"url" is required in "amzOptions"');let t="object"==typeof e.data?JSON.stringify(e.data):e.data,r=e.url,i=e.method||"GET",o=e.body||t,s=e.headers,a=await this.getCredentials(),u=new URL(r);if("string"!=typeof o&&void 0!==o)throw TypeError(`'requestPayload' is expected to be a string if provided. Got: ${o}`);let c=await l({crypto:this.crypto,host:u.host,canonicalUri:u.pathname,canonicalQuerystring:u.search.slice(1),method:i,region:this.region,securityCredentials:a,requestPayload:o,additionalAmzHeaders:s}),d=n.Gaxios.mergeHeaders(c.amzDate?{"x-amz-date":c.amzDate}:{},{authorization:c.authorizationHeader,host:u.host},s||{});a.token&&n.Gaxios.mergeHeaders(d,{"x-amz-security-token":a.token});let p={url:r,method:i,headers:d};return void 0!==o&&(p.body=o),p}}},8775,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DefaultAwsSecurityCredentialsSupplier=void 0;let n=e.r(5567);r.DefaultAwsSecurityCredentialsSupplier=class{regionUrl;securityCredentialsUrl;imdsV2SessionTokenUrl;additionalGaxiosOptions;constructor(e){this.regionUrl=e.regionUrl,this.securityCredentialsUrl=e.securityCredentialsUrl,this.imdsV2SessionTokenUrl=e.imdsV2SessionTokenUrl,this.additionalGaxiosOptions=e.additionalGaxiosOptions}async getAwsRegion(e){if(this.#T)return this.#T;let t=new Headers;if(!this.#T&&this.imdsV2SessionTokenUrl&&t.set("x-aws-ec2-metadata-token",await this.#A(e.transporter)),!this.regionUrl)throw RangeError('Unable to determine AWS region due to missing "options.credential_source.region_url"');let r={...this.additionalGaxiosOptions,url:this.regionUrl,method:"GET",responseType:"text",headers:t};n.AuthClient.setMethodName(r,"getAwsRegion");let i=await e.transporter.request(r);return i.data.substr(0,i.data.length-1)}async getAwsSecurityCredentials(e){if(this.#S)return this.#S;let t=new Headers;this.imdsV2SessionTokenUrl&&t.set("x-aws-ec2-metadata-token",await this.#A(e.transporter));let r=await this.#b(t,e.transporter),n=await this.#C(r,t,e.transporter);return{accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,token:n.Token}}async #A(e){let t={...this.additionalGaxiosOptions,url:this.imdsV2SessionTokenUrl,method:"PUT",responseType:"text",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"300"}};return n.AuthClient.setMethodName(t,"#getImdsV2SessionToken"),(await e.request(t)).data}async #b(e,t){if(!this.securityCredentialsUrl)throw Error('Unable to determine AWS role name due to missing "options.credential_source.url"');let r={...this.additionalGaxiosOptions,url:this.securityCredentialsUrl,method:"GET",responseType:"text",headers:e};return n.AuthClient.setMethodName(r,"#getAwsRoleName"),(await t.request(r)).data}async #C(e,t,r){let i={...this.additionalGaxiosOptions,url:`${this.securityCredentialsUrl}/${e}`,headers:t,responseType:"json"};return n.AuthClient.setMethodName(i,"#retrieveAwsSecurityCredentials"),(await r.request(i)).data}get #T(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||null}get #S(){return process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY?{accessKeyId:process.env.AWS_ACCESS_KEY_ID,secretAccessKey:process.env.AWS_SECRET_ACCESS_KEY,token:process.env.AWS_SESSION_TOKEN}:null}}},85338,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AwsClient=void 0;let n=e.r(3168),i=e.r(1668),o=e.r(8775),s=e.r(71850),a=e.r(65065);class l extends i.BaseExternalAccountClient{environmentId;awsSecurityCredentialsSupplier;regionalCredVerificationUrl;awsRequestSigner;region;static #O="https://sts.{region}.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15";static AWS_EC2_METADATA_IPV4_ADDRESS="169.254.169.254";static AWS_EC2_METADATA_IPV6_ADDRESS="fd00:ec2::254";constructor(e){super(e);const t=(0,s.originalOrCamelOptions)(e),r=t.get("credential_source"),n=t.get("aws_security_credentials_supplier");if(!r&&!n)throw Error("A credential source or AWS security credentials supplier must be specified.");if(r&&n)throw Error("Only one of credential source or AWS security credentials supplier can be specified.");if(n)this.awsSecurityCredentialsSupplier=n,this.regionalCredVerificationUrl=l.#O,this.credentialSourceType="programmatic";else{const e=(0,s.originalOrCamelOptions)(r);this.environmentId=e.get("environment_id");const t=e.get("region_url"),n=e.get("url"),i=e.get("imdsv2_session_token_url");this.awsSecurityCredentialsSupplier=new o.DefaultAwsSecurityCredentialsSupplier({regionUrl:t,securityCredentialsUrl:n,imdsV2SessionTokenUrl:i}),this.regionalCredVerificationUrl=e.get("regional_cred_verification_url"),this.credentialSourceType="aws",this.validateEnvironmentId()}this.awsRequestSigner=null,this.region=""}validateEnvironmentId(){let e=this.environmentId?.match(/^(aws)(\d+)$/);if(e&&this.regionalCredVerificationUrl){if(1!==parseInt(e[2],10))throw Error(`aws version "${e[2]}" is not supported in the current build.`)}else throw Error('No valid AWS "credential_source" provided')}async retrieveSubjectToken(){this.awsRequestSigner||(this.region=await this.awsSecurityCredentialsSupplier.getAwsRegion(this.supplierContext),this.awsRequestSigner=new n.AwsRequestSigner(async()=>this.awsSecurityCredentialsSupplier.getAwsSecurityCredentials(this.supplierContext),this.region));let e=await this.awsRequestSigner.getRequestOptions({...l.RETRY_CONFIG,url:this.regionalCredVerificationUrl.replace("{region}",this.region),method:"POST"}),t=[];return a.Gaxios.mergeHeaders({"x-goog-cloud-target-resource":this.audience},e.headers).forEach((e,r)=>t.push({key:r,value:e})),encodeURIComponent(JSON.stringify({url:e.url,method:e.method,headers:t}))}}r.AwsClient=l},21475,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.InvalidSubjectTokenError=r.InvalidMessageFieldError=r.InvalidCodeFieldError=r.InvalidTokenTypeFieldError=r.InvalidExpirationTimeFieldError=r.InvalidSuccessFieldError=r.InvalidVersionFieldError=r.ExecutableResponseError=r.ExecutableResponse=void 0;let n="urn:ietf:params:oauth:token-type:saml2",i="urn:ietf:params:oauth:token-type:id_token",o="urn:ietf:params:oauth:token-type:jwt";r.ExecutableResponse=class{version;success;expirationTime;tokenType;errorCode;errorMessage;subjectToken;constructor(e){if(!e.version)throw new a("Executable response must contain a 'version' field.");if(void 0===e.success)throw new l("Executable response must contain a 'success' field.");if(this.version=e.version,this.success=e.success,this.success){if(this.expirationTime=e.expiration_time,this.tokenType=e.token_type,this.tokenType!==n&&this.tokenType!==i&&this.tokenType!==o)throw new u(`Executable response must contain a 'token_type' field when successful and it must be one of ${i}, ${o}, or ${n}.`);if(this.tokenType===n){if(!e.saml_response)throw new p(`Executable response must contain a 'saml_response' field when token_type=${n}.`);this.subjectToken=e.saml_response}else{if(!e.id_token)throw new p(`Executable response must contain a 'id_token' field when token_type=${i} or ${o}.`);this.subjectToken=e.id_token}}else{if(!e.code)throw new c("Executable response must contain a 'code' field when unsuccessful.");if(!e.message)throw new d("Executable response must contain a 'message' field when unsuccessful.");this.errorCode=e.code,this.errorMessage=e.message}}isValid(){return!this.isExpired()&&this.success}isExpired(){return void 0!==this.expirationTime&&this.expirationTime{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PluggableAuthHandler=r.ExecutableError=void 0;let n=e.r(21475),i=e.r(33405),o=e.r(22734);class s extends Error{code;constructor(e,t){super(`The executable failed with exit code: ${t} and error message: ${e}.`),this.code=t,Object.setPrototypeOf(this,new.target.prototype)}}r.ExecutableError=s;class a{commandComponents;timeoutMillis;outputFile;constructor(e){if(!e.command)throw Error("No command provided.");if(this.commandComponents=a.parseCommand(e.command),this.timeoutMillis=e.timeoutMillis,!this.timeoutMillis)throw Error("No timeoutMillis provided.");this.outputFile=e.outputFile}retrieveResponseFromExecutable(e){return new Promise((t,r)=>{let o=i.spawn(this.commandComponents[0],this.commandComponents.slice(1),{env:{...process.env,...Object.fromEntries(e)}}),a="";o.stdout.on("data",e=>{a+=e}),o.stderr.on("data",e=>{a+=e});let l=setTimeout(()=>(o.removeAllListeners(),o.kill(),r(Error("The executable failed to finish within the timeout specified."))),this.timeoutMillis);o.on("close",e=>{if(clearTimeout(l),0!==e)return r(new s(a,e.toString()));try{let e=JSON.parse(a),r=new n.ExecutableResponse(e);return t(r)}catch(e){if(e instanceof n.ExecutableResponseError)return r(e);return r(new n.ExecutableResponseError(`The executable returned an invalid response: ${a}`))}})})}async retrieveCachedResponse(){let e;if(!this.outputFile||0===this.outputFile.length)return;try{e=await o.promises.realpath(this.outputFile)}catch{return}if(!(await o.promises.lstat(e)).isFile())return;let t=await o.promises.readFile(e,{encoding:"utf8"});if(""!==t)try{let e=JSON.parse(t);if(new n.ExecutableResponse(e).isValid())return new n.ExecutableResponse(e);return}catch(e){if(e instanceof n.ExecutableResponseError)throw e;throw new n.ExecutableResponseError(`The output file contained an invalid response: ${t}`)}}static parseCommand(e){let t=e.match(/(?:[^\s"]+|"[^"]*")+/g);if(!t)throw Error(`Provided command: "${e}" could not be parsed.`);for(let e=0;e{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PluggableAuthClient=r.ExecutableError=void 0;let n=e.r(1668),i=e.r(21475),o=e.r(33946);var s=e.r(33946);Object.defineProperty(r,"ExecutableError",{enumerable:!0,get:function(){return s.ExecutableError}});class a extends n.BaseExternalAccountClient{command;timeoutMillis;outputFile;handler;constructor(e){if(super(e),!e.credential_source.executable||(this.command=e.credential_source.executable.command,!this.command))throw Error('No valid Pluggable Auth "credential_source" provided.');if(void 0===e.credential_source.executable.timeout_millis)this.timeoutMillis=3e4;else if(this.timeoutMillis=e.credential_source.executable.timeout_millis,this.timeoutMillis<5e3||this.timeoutMillis>12e4)throw Error("Timeout must be between 5000120000 milliseconds.");this.outputFile=e.credential_source.executable.output_file,this.handler=new o.PluggableAuthHandler({command:this.command,timeoutMillis:this.timeoutMillis,outputFile:this.outputFile}),this.credentialSourceType="executable"}async retrieveSubjectToken(){let e;if("1"!==process.env.GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES)throw Error("Pluggable Auth executables need to be explicitly allowed to run by setting the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment Variable to 1.");if(this.outputFile&&(e=await this.handler.retrieveCachedResponse()),!e){let t=new Map;t.set("GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE",this.audience),t.set("GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE",this.subjectTokenType),t.set("GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE","0"),this.outputFile&&t.set("GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE",this.outputFile);let r=this.getServiceAccountEmail();r&&t.set("GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL",r),e=await this.handler.retrieveResponseFromExecutable(t)}if(e.version>1)throw Error("Version of executable is not currently supported, maximum supported version is 1.");if(!e.success)throw new o.ExecutableError(e.errorMessage,e.errorCode);if(this.outputFile&&!e.expirationTime)throw new i.InvalidExpirationTimeFieldError("The executable response must contain the `expiration_time` field for successful responses when an output_file has been specified in the configuration.");if(e.isExpired())throw Error("Executable response is expired.");return e.subjectToken}}r.PluggableAuthClient=a},87092,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExternalAccountClient=void 0;let n=e.r(1668),i=e.r(984),o=e.r(85338),s=e.r(65006);r.ExternalAccountClient=class{constructor(){throw Error("ExternalAccountClients should be initialized via: ExternalAccountClient.fromJSON(), directly via explicit constructors, eg. new AwsClient(options), new IdentityPoolClient(options), newPluggableAuthClientOptions, or via new GoogleAuth(options).getClient()")}static fromJSON(e){return e&&e.type===n.EXTERNAL_ACCOUNT_TYPE?e.credential_source?.environment_id?new o.AwsClient(e):e.credential_source?.executable?new s.PluggableAuthClient(e):new i.IdentityPoolClient(e):null}}},52589,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExternalAccountAuthorizedUserClient=r.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE=void 0;let n=e.r(5567),i=e.r(15774),o=e.r(65065),s=e.r(88947),a=e.r(1668);r.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE="external_account_authorized_user";class l extends i.OAuthClientAuthHandler{#I;constructor(e){super(e),this.#I=e.tokenRefreshEndpoint}async refreshToken(e,t){let r={...l.RETRY_CONFIG,url:this.#I,method:"POST",headers:t,data:new URLSearchParams({grant_type:"refresh_token",refresh_token:e}),responseType:"json"};n.AuthClient.setMethodName(r,"refreshToken"),this.applyClientAuthenticationOptions(r);try{let e=await this.transporter.request(r),t=e.data;return t.res=e,t}catch(e){if(e instanceof o.GaxiosError&&e.response)throw(0,i.getErrorFromOAuthErrorResponse)(e.response.data,e);throw e}}}class u extends n.AuthClient{cachedAccessToken;externalAccountAuthorizedUserHandler;refreshToken;constructor(e){super(e),e.universe_domain&&(this.universeDomain=e.universe_domain),this.refreshToken=e.refresh_token;const t={confidentialClientType:"basic",clientId:e.client_id,clientSecret:e.client_secret};this.externalAccountAuthorizedUserHandler=new l({tokenRefreshEndpoint:e.token_url??"https://sts.{universeDomain}/v1/oauthtoken".replace("{universeDomain}",this.universeDomain),transporter:this.transporter,clientAuthentication:t}),this.cachedAccessToken=null,this.quotaProjectId=e.quota_project_id,"number"!=typeof e?.eagerRefreshThresholdMillis?this.eagerRefreshThresholdMillis=a.EXPIRATION_TIME_OFFSET:this.eagerRefreshThresholdMillis=e.eagerRefreshThresholdMillis,this.forceRefreshOnFailure=!!e?.forceRefreshOnFailure}async getAccessToken(){return(!this.cachedAccessToken||this.isExpired(this.cachedAccessToken))&&await this.refreshAccessTokenAsync(),{token:this.cachedAccessToken.access_token,res:this.cachedAccessToken.res}}async getRequestHeaders(){let e=await this.getAccessToken(),t=new Headers({authorization:`Bearer ${e.token}`});return this.addSharedMetadataHeaders(t)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then(e=>t(null,e),e=>t(e,e.response))}async requestAsync(e,t=!1){let r;try{let t=await this.getRequestHeaders();e.headers=o.Gaxios.mergeHeaders(e.headers),this.addUserProjectAndAuthHeaders(e.headers,t),r=await this.transporter.request(e)}catch(n){let r=n.response;if(r){let n=r.status,i=r.config.data instanceof s.Readable;if(!t&&(401===n||403===n)&&!i&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return r}async refreshAccessTokenAsync(){let e=await this.externalAccountAuthorizedUserHandler.refreshToken(this.refreshToken);return this.cachedAccessToken={access_token:e.access_token,expiry_date:new Date().getTime()+1e3*e.expires_in,res:e.res},void 0!==e.refresh_token&&(this.refreshToken=e.refresh_token),this.cachedAccessToken}isExpired(e){let t=new Date().getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}}r.ExternalAccountAuthorizedUserClient=u},5670,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAuth=r.GoogleAuthExceptionMessages=void 0;let n=e.r(33405),i=e.r(22734),o=e.r(65065),s=e.r(37876),a=e.r(46786),l=e.r(14747),u=e.r(24715),c=e.r(72020),d=e.r(19820),p=e.r(68791),h=e.r(25922),f=e.r(87155),m=e.r(7534),g=e.r(87092),y=e.r(1668),_=e.r(5567),E=e.r(52589),v=e.r(71850);r.GoogleAuthExceptionMessages={API_KEY_WITH_CREDENTIALS:"API Keys and Credentials are mutually exclusive authentication methods and cannot be used together.",NO_PROJECT_ID_FOUND:"Unable to detect a Project Id in the current environment. \nTo learn more about authentication and Google APIs, visit: \nhttps://cloud.google.com/docs/authentication/getting-started",NO_CREDENTIALS_FOUND:"Unable to find credentials in current environment. \nTo learn more about authentication and Google APIs, visit: \nhttps://cloud.google.com/docs/authentication/getting-started",NO_ADC_FOUND:"Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.",NO_UNIVERSE_DOMAIN_FOUND:"Unable to detect a Universe Domain in the current environment.\nTo learn more about Universe Domain retrieval, visit: \nhttps://cloud.google.com/compute/docs/metadata/predefined-metadata-keys"},r.GoogleAuth=class{checkIsGCE=void 0;useJWTAccessWithScope;defaultServicePath;get isGCE(){return this.checkIsGCE}_findProjectIdPromise;_cachedProjectId;jsonContent=null;apiKey;cachedCredential=null;#w=null;defaultScopes;keyFilename;scopes;clientOptions={};constructor(e={}){if(this._cachedProjectId=e.projectId||null,this.cachedCredential=e.authClient||null,this.keyFilename=e.keyFilename||e.keyFile,this.scopes=e.scopes,this.clientOptions=e.clientOptions||{},this.jsonContent=e.credentials||null,this.apiKey=e.apiKey||this.clientOptions.apiKey||null,this.apiKey&&(this.jsonContent||this.clientOptions.credentials))throw RangeError(r.GoogleAuthExceptionMessages.API_KEY_WITH_CREDENTIALS);e.universeDomain&&(this.clientOptions.universeDomain=e.universeDomain)}setGapicJWTValues(e){e.defaultServicePath=this.defaultServicePath,e.useJWTAccessWithScope=this.useJWTAccessWithScope,e.defaultScopes=this.defaultScopes}getProjectId(e){if(!e)return this.getProjectIdAsync();this.getProjectIdAsync().then(t=>e(null,t),e)}async getProjectIdOptional(){try{return await this.getProjectId()}catch(e){if(e instanceof Error&&e.message===r.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)return null;throw e}}async findAndCacheProjectId(){let e=null;if(e||=await this.getProductionProjectId(),e||=await this.getFileProjectId(),e||=await this.getDefaultServiceProjectId(),e||=await this.getGCEProjectId(),e||=await this.getExternalAccountClientProjectId())return this._cachedProjectId=e,e;throw Error(r.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)}async getProjectIdAsync(){return this._cachedProjectId?this._cachedProjectId:(this._findProjectIdPromise||(this._findProjectIdPromise=this.findAndCacheProjectId()),this._findProjectIdPromise)}async getUniverseDomainFromMetadataServer(){let e;try{e=await s.universe("universe-domain"),e||=_.DEFAULT_UNIVERSE}catch(t){if(t&&t?.response?.status===404)e=_.DEFAULT_UNIVERSE;else throw t}return e}async getUniverseDomain(){let e=(0,v.originalOrCamelOptions)(this.clientOptions).get("universe_domain");try{e??=(await this.getClient()).universeDomain}catch{e??=_.DEFAULT_UNIVERSE}return e}getAnyScopes(){return this.scopes||this.defaultScopes}getApplicationDefault(e={},t){let r;if("function"==typeof e?t=e:r=e,!t)return this.getApplicationDefaultAsync(r);this.getApplicationDefaultAsync(r).then(e=>t(null,e.credential,e.projectId),t)}async getApplicationDefaultAsync(e={}){let t;if(this.cachedCredential)return await this.#R(this.cachedCredential,null);if((t=await this._tryGetApplicationCredentialsFromEnvironmentVariable(e))||(t=await this._tryGetApplicationCredentialsFromWellKnownFile(e)))return t instanceof h.JWT?t.scopes=this.scopes:t instanceof y.BaseExternalAccountClient&&(t.scopes=this.getAnyScopes()),await this.#R(t);if(await this._checkIsGCE())return e.scopes=this.getAnyScopes(),await this.#R(new c.Compute(e));throw Error(r.GoogleAuthExceptionMessages.NO_ADC_FOUND)}async #R(e,t=process.env.GOOGLE_CLOUD_QUOTA_PROJECT||null){let r=await this.getProjectIdOptional();return t&&(e.quotaProjectId=t),this.cachedCredential=e,{credential:e,projectId:r}}async _checkIsGCE(){return void 0===this.checkIsGCE&&(this.checkIsGCE=s.getGCPResidency()||await s.isAvailable()),this.checkIsGCE}async _tryGetApplicationCredentialsFromEnvironmentVariable(e){let t=process.env.GOOGLE_APPLICATION_CREDENTIALS||process.env.google_application_credentials;if(!t||0===t.length)return null;try{return this._getApplicationCredentialsFromFilePath(t,e)}catch(e){throw e instanceof Error&&(e.message=`Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${e.message}`),e}}async _tryGetApplicationCredentialsFromWellKnownFile(e){let t=null;if(this._isWindows())t=process.env.APPDATA;else{let e=process.env.HOME;e&&(t=l.join(e,".config"))}return(t&&(t=l.join(t,"gcloud","application_default_credentials.json"),i.existsSync(t)||(t=null)),t)?await this._getApplicationCredentialsFromFilePath(t,e):null}async _getApplicationCredentialsFromFilePath(e,t={}){if(!e||0===e.length)throw Error("The file path is invalid.");try{if(e=i.realpathSync(e),!i.lstatSync(e).isFile())throw Error()}catch(t){throw t instanceof Error&&(t.message=`The file at ${e} does not exist, or it is not a file. ${t.message}`),t}let r=i.createReadStream(e);return this.fromStream(r,t)}fromImpersonatedJSON(e){if(!e)throw Error("Must pass in a JSON object containing an impersonated refresh token");if(e.type!==m.IMPERSONATED_ACCOUNT_TYPE)throw Error(`The incoming JSON object does not have the "${m.IMPERSONATED_ACCOUNT_TYPE}" type`);if(!e.source_credentials)throw Error("The incoming JSON object does not contain a source_credentials field");if(!e.service_account_impersonation_url)throw Error("The incoming JSON object does not contain a service_account_impersonation_url field");let t=this.fromJSON(e.source_credentials);if(e.service_account_impersonation_url?.length>256)throw RangeError(`Target principal is too long: ${e.service_account_impersonation_url}`);let r=/(?[^/]+):(generateAccessToken|generateIdToken)$/.exec(e.service_account_impersonation_url)?.groups?.target;if(!r)throw RangeError(`Cannot extract target principal from ${e.service_account_impersonation_url}`);let n=(this.scopes||e.scopes||this.defaultScopes)??[];return new m.Impersonated({...e,sourceClient:t,targetPrincipal:r,targetScopes:Array.isArray(n)?n:[n]})}fromJSON(e,t={}){let r,n=(0,v.originalOrCamelOptions)(t).get("universe_domain");return e.type===f.USER_REFRESH_ACCOUNT_TYPE?(r=new f.UserRefreshClient(t)).fromJSON(e):e.type===m.IMPERSONATED_ACCOUNT_TYPE?r=this.fromImpersonatedJSON(e):e.type===y.EXTERNAL_ACCOUNT_TYPE?(r=g.ExternalAccountClient.fromJSON({...e,...t})).scopes=this.getAnyScopes():e.type===E.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE?r=new E.ExternalAccountAuthorizedUserClient({...e,...t}):(t.scopes=this.scopes,r=new h.JWT(t),this.setGapicJWTValues(r),r.fromJSON(e)),n&&(r.universeDomain=n),r}_cacheClientFromJSON(e,t){let r=this.fromJSON(e,t);return this.jsonContent=e,this.cachedCredential=r,r}fromStream(e,t={},r){let n={};if("function"==typeof t?r=t:n=t,!r)return this.fromStreamAsync(e,n);this.fromStreamAsync(e,n).then(e=>r(null,e),r)}fromStreamAsync(e,t){return new Promise((r,n)=>{if(!e)throw Error("Must pass in a stream containing the Google auth settings.");let i=[];e.setEncoding("utf8").on("error",n).on("data",e=>i.push(e)).on("end",()=>{try{try{let e=JSON.parse(i.join("")),n=this._cacheClientFromJSON(e,t);return r(n)}catch(t){if(!this.keyFilename)throw t;let e=new h.JWT({...this.clientOptions,keyFile:this.keyFilename});return this.cachedCredential=e,this.setGapicJWTValues(e),r(e)}}catch(e){return n(e)}})})}fromAPIKey(e,t={}){return new h.JWT({...t,apiKey:e})}_isWindows(){let e=a.platform();return!!e&&!!(e.length>=3)&&"win"===e.substring(0,3).toLowerCase()}async getDefaultServiceProjectId(){return new Promise(e=>{(0,n.exec)("gcloud config config-helper --format json",(t,r)=>{if(!t&&r)try{let t=JSON.parse(r).configuration.properties.core.project;e(t);return}catch(e){}e(null)})})}getProductionProjectId(){return process.env.GCLOUD_PROJECT||process.env.GOOGLE_CLOUD_PROJECT||process.env.gcloud_project||process.env.google_cloud_project}async getFileProjectId(){if(this.cachedCredential)return this.cachedCredential.projectId;if(this.keyFilename){let e=await this.getClient();if(e&&e.projectId)return e.projectId}let e=await this._tryGetApplicationCredentialsFromEnvironmentVariable();return e?e.projectId:null}async getExternalAccountClientProjectId(){if(!this.jsonContent||this.jsonContent.type!==y.EXTERNAL_ACCOUNT_TYPE)return null;let e=await this.getClient();return await e.getProjectId()}async getGCEProjectId(){try{return await s.project("project-id")}catch(e){return null}}getCredentials(e){if(!e)return this.getCredentialsAsync();this.getCredentialsAsync().then(t=>e(null,t),e)}async getCredentialsAsync(){let e=await this.getClient();if(e instanceof m.Impersonated)return{client_email:e.getTargetPrincipal()};if(e instanceof y.BaseExternalAccountClient){let t=e.getServiceAccountEmail();if(t)return{client_email:t,universe_domain:e.universeDomain}}if(this.jsonContent)return{client_email:this.jsonContent.client_email,private_key:this.jsonContent.private_key,universe_domain:this.jsonContent.universe_domain};if(await this._checkIsGCE()){let[e,t]=await Promise.all([s.instance("service-accounts/default/email"),this.getUniverseDomain()]);return{client_email:e,universe_domain:t}}throw Error(r.GoogleAuthExceptionMessages.NO_CREDENTIALS_FOUND)}async getClient(){if(this.cachedCredential)return this.cachedCredential;this.#w=this.#w||this.#N();try{return await this.#w}finally{this.#w=null}}async #N(){if(this.jsonContent)return this._cacheClientFromJSON(this.jsonContent,this.clientOptions);if(this.keyFilename){let e=l.resolve(this.keyFilename),t=i.createReadStream(e);return await this.fromStreamAsync(t,this.clientOptions)}if(this.apiKey){let e=await this.fromAPIKey(this.apiKey,this.clientOptions);e.scopes=this.scopes;let{credential:t}=await this.#R(e);return t}{let{credential:e}=await this.getApplicationDefaultAsync(this.clientOptions);return e}}async getIdTokenClient(e){let t=await this.getClient();if(!("fetchIdToken"in t))throw Error("Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.");return new d.IdTokenClient({targetAudience:e,idTokenProvider:t})}async getAccessToken(){let e=await this.getClient();return(await e.getAccessToken()).token}async getRequestHeaders(e){return(await this.getClient()).getRequestHeaders(e)}async authorizeRequest(e={}){let t=e.url,r=await this.getClient(),n=await r.getRequestHeaders(t);return e.headers=o.Gaxios.mergeHeaders(e.headers,n),e}async fetch(...e){return(await this.getClient()).fetch(...e)}async request(e){return(await this.getClient()).request(e)}getEnv(){return(0,p.getEnv)()}async sign(e,t){let r=await this.getClient(),n=await this.getUniverseDomain();if(t=t||`https://iamcredentials.${n}/v1/projects/-/serviceAccounts/`,r instanceof m.Impersonated)return(await r.sign(e)).signedBlob;let i=(0,u.createCrypto)();if(r instanceof h.JWT&&r.key)return await i.sign(r.key,e);let o=await this.getCredentials();if(!o.client_email)throw Error("Cannot sign data without `client_email`.");return this.signBlob(i,o.client_email,e,t)}async signBlob(e,t,r,n){let i=new URL(n+`${t}:signBlob`);return(await this.request({method:"POST",url:i.href,data:{payload:e.encodeBase64StringUtf8(r)},retry:!0,retryConfig:{httpMethodsToRetry:["POST"]}})).data.signedBlob}}},88850,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.IAMAuth=void 0,r.IAMAuth=class{selector;token;constructor(e,t){this.selector=e,this.token=t,this.selector=e,this.token=t}getRequestHeaders(){return{"x-goog-iam-authority-selector":this.selector,"x-goog-iam-authorization-token":this.token}}}},35244,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DownscopedClient=r.EXPIRATION_TIME_OFFSET=r.MAX_ACCESS_BOUNDARY_RULES_COUNT=void 0;let n=e.r(65065),i=e.r(88947),o=e.r(5567),s=e.r(91007);r.MAX_ACCESS_BOUNDARY_RULES_COUNT=10,r.EXPIRATION_TIME_OFFSET=3e5;class a extends o.AuthClient{authClient;credentialAccessBoundary;cachedDownscopedAccessToken;stsCredential;constructor(e,t={accessBoundary:{accessBoundaryRules:[]}}){if(super(e instanceof o.AuthClient?{}:e),e instanceof o.AuthClient?(this.authClient=e,this.credentialAccessBoundary=t):(this.authClient=e.authClient,this.credentialAccessBoundary=e.credentialAccessBoundary),0===this.credentialAccessBoundary.accessBoundary.accessBoundaryRules.length)throw Error("At least one access boundary rule needs to be defined.");if(this.credentialAccessBoundary.accessBoundary.accessBoundaryRules.length>r.MAX_ACCESS_BOUNDARY_RULES_COUNT)throw Error(`The provided access boundary has more than ${r.MAX_ACCESS_BOUNDARY_RULES_COUNT} access boundary rules.`);for(const e of this.credentialAccessBoundary.accessBoundary.accessBoundaryRules)if(0===e.availablePermissions.length)throw Error("At least one permission should be defined in access boundary rules.");this.stsCredential=new s.StsCredentials({tokenExchangeEndpoint:`https://sts.${this.universeDomain}/v1/token`}),this.cachedDownscopedAccessToken=null}setCredentials(e){if(!e.expiry_date)throw Error("The access token expiry_date field is missing in the provided credentials.");super.setCredentials(e),this.cachedDownscopedAccessToken=e}async getAccessToken(){return(!this.cachedDownscopedAccessToken||this.isExpired(this.cachedDownscopedAccessToken))&&await this.refreshAccessTokenAsync(),{token:this.cachedDownscopedAccessToken.access_token,expirationTime:this.cachedDownscopedAccessToken.expiry_date,res:this.cachedDownscopedAccessToken.res}}async getRequestHeaders(){let e=await this.getAccessToken(),t=new Headers({authorization:`Bearer ${e.token}`});return this.addSharedMetadataHeaders(t)}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then(e=>t(null,e),e=>t(e,e.response))}async requestAsync(e,t=!1){let r;try{let t=await this.getRequestHeaders();e.headers=n.Gaxios.mergeHeaders(e.headers),this.addUserProjectAndAuthHeaders(e.headers,t),r=await this.transporter.request(e)}catch(n){let r=n.response;if(r){let n=r.status,o=r.config.data instanceof i.Readable;if(!t&&(401===n||403===n)&&!o&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(e,!0)}throw n}return r}async refreshAccessTokenAsync(){let e=(await this.authClient.getAccessToken()).token,t=await this.stsCredential.exchangeToken({grantType:"urn:ietf:params:oauth:grant-type:token-exchange",requestedTokenType:"urn:ietf:params:oauth:token-type:access_token",subjectToken:e,subjectTokenType:"urn:ietf:params:oauth:token-type:access_token"},void 0,this.credentialAccessBoundary),r=this.authClient.credentials?.expiry_date||null,n=t.expires_in?new Date().getTime()+1e3*t.expires_in:r;return this.cachedDownscopedAccessToken={access_token:t.access_token,expiry_date:n,res:t.res},this.credentials={},Object.assign(this.credentials,this.cachedDownscopedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedDownscopedAccessToken.expiry_date,access_token:this.cachedDownscopedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedDownscopedAccessToken}isExpired(e){let t=new Date().getTime();return!!e.expiry_date&&t>=e.expiry_date-this.eagerRefreshThresholdMillis}}r.DownscopedClient=a},1798,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PassThroughClient=void 0;let n=e.r(5567);class i extends n.AuthClient{async request(e){return this.transporter.request(e)}async getAccessToken(){return{}}async getRequestHeaders(){return new Headers}}r.PassThroughClient=i},40259,(e,t,r)=>{"use strict";var n=e.e&&e.e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=e.e&&e.e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAuth=r.auth=r.PassThroughClient=r.ExternalAccountAuthorizedUserClient=r.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE=r.ExecutableError=r.PluggableAuthClient=r.DownscopedClient=r.BaseExternalAccountClient=r.ExternalAccountClient=r.IdentityPoolClient=r.AwsRequestSigner=r.AwsClient=r.UserRefreshClient=r.LoginTicket=r.ClientAuthentication=r.OAuth2Client=r.CodeChallengeMethod=r.Impersonated=r.JWT=r.JWTAccess=r.IdTokenClient=r.IAMAuth=r.GCPEnv=r.Compute=r.DEFAULT_UNIVERSE=r.AuthClient=r.gaxios=r.gcpMetadata=void 0;let o=e.r(5670);Object.defineProperty(r,"GoogleAuth",{enumerable:!0,get:function(){return o.GoogleAuth}}),r.gcpMetadata=e.r(37876),r.gaxios=e.r(65065);var s=e.r(5567);Object.defineProperty(r,"AuthClient",{enumerable:!0,get:function(){return s.AuthClient}}),Object.defineProperty(r,"DEFAULT_UNIVERSE",{enumerable:!0,get:function(){return s.DEFAULT_UNIVERSE}});var a=e.r(72020);Object.defineProperty(r,"Compute",{enumerable:!0,get:function(){return a.Compute}});var l=e.r(68791);Object.defineProperty(r,"GCPEnv",{enumerable:!0,get:function(){return l.GCPEnv}});var u=e.r(88850);Object.defineProperty(r,"IAMAuth",{enumerable:!0,get:function(){return u.IAMAuth}});var c=e.r(19820);Object.defineProperty(r,"IdTokenClient",{enumerable:!0,get:function(){return c.IdTokenClient}});var d=e.r(95479);Object.defineProperty(r,"JWTAccess",{enumerable:!0,get:function(){return d.JWTAccess}});var p=e.r(25922);Object.defineProperty(r,"JWT",{enumerable:!0,get:function(){return p.JWT}});var h=e.r(7534);Object.defineProperty(r,"Impersonated",{enumerable:!0,get:function(){return h.Impersonated}});var f=e.r(43812);Object.defineProperty(r,"CodeChallengeMethod",{enumerable:!0,get:function(){return f.CodeChallengeMethod}}),Object.defineProperty(r,"OAuth2Client",{enumerable:!0,get:function(){return f.OAuth2Client}}),Object.defineProperty(r,"ClientAuthentication",{enumerable:!0,get:function(){return f.ClientAuthentication}});var m=e.r(45219);Object.defineProperty(r,"LoginTicket",{enumerable:!0,get:function(){return m.LoginTicket}});var g=e.r(87155);Object.defineProperty(r,"UserRefreshClient",{enumerable:!0,get:function(){return g.UserRefreshClient}});var y=e.r(85338);Object.defineProperty(r,"AwsClient",{enumerable:!0,get:function(){return y.AwsClient}});var _=e.r(3168);Object.defineProperty(r,"AwsRequestSigner",{enumerable:!0,get:function(){return _.AwsRequestSigner}});var E=e.r(984);Object.defineProperty(r,"IdentityPoolClient",{enumerable:!0,get:function(){return E.IdentityPoolClient}});var v=e.r(87092);Object.defineProperty(r,"ExternalAccountClient",{enumerable:!0,get:function(){return v.ExternalAccountClient}});var T=e.r(1668);Object.defineProperty(r,"BaseExternalAccountClient",{enumerable:!0,get:function(){return T.BaseExternalAccountClient}});var A=e.r(35244);Object.defineProperty(r,"DownscopedClient",{enumerable:!0,get:function(){return A.DownscopedClient}});var S=e.r(65006);Object.defineProperty(r,"PluggableAuthClient",{enumerable:!0,get:function(){return S.PluggableAuthClient}}),Object.defineProperty(r,"ExecutableError",{enumerable:!0,get:function(){return S.ExecutableError}});var b=e.r(52589);Object.defineProperty(r,"EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE",{enumerable:!0,get:function(){return b.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE}}),Object.defineProperty(r,"ExternalAccountAuthorizedUserClient",{enumerable:!0,get:function(){return b.ExternalAccountAuthorizedUserClient}});var C=e.r(1798);Object.defineProperty(r,"PassThroughClient",{enumerable:!0,get:function(){return C.PassThroughClient}}),i(e.r(12408),r),r.auth=new o.GoogleAuth},24868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},88646,(e,t,r)=>{t.exports=e.x("node:stream/promises",()=>require("node:stream/promises"))},6461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},2198,(e,t,r)=>{"use strict";let n=["nodebuffer","arraybuffer","fragments"],i="u">typeof Blob;i&&n.push("blob"),t.exports={BINARY_TYPES:n,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:i,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},54875,(e,t,r)=>{"use strict";let{EMPTY_BUFFER:n}=e.r(2198),i=Buffer[Symbol.species];function o(e,t,r,n,i){for(let o=0;o{let e=Error("Cannot find module 'bufferutil'");throw e.code="MODULE_NOT_FOUND",e})();t.exports.mask=function(t,r,n,i,s){s<48?o(t,r,n,i,s):e.mask(t,r,n,i,s)},t.exports.unmask=function(t,r){t.length<32?s(t,r):e.unmask(t,r)}}catch(e){}},71630,(e,t,r)=>{"use strict";let n=Symbol("kDone"),i=Symbol("kRun");t.exports=class{constructor(e){this[n]=()=>{this.pending--,this[i]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[i]()}[i](){if(this.pending!==this.concurrency&&this.jobs.length){let e=this.jobs.shift();this.pending++,e(this[n])}}}},18768,(e,t,r)=>{"use strict";let n,i=e.r(6461),o=e.r(54875),s=e.r(71630),{kStatusCode:a}=e.r(2198),l=Buffer[Symbol.species],u=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),d=Symbol("total-length"),p=Symbol("callback"),h=Symbol("buffers"),f=Symbol("error");function m(e){this[h].push(e),this[d]+=e.length}function g(e){(this[d]+=e.length,this[c]._maxPayload<1||this[d]<=this[c]._maxPayload)?this[h].push(e):(this[f]=RangeError("Max payload size exceeded"),this[f].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[f][a]=1009,this.removeListener("data",g),this.reset())}function y(e){(this[c]._inflate=null,this[f])?this[p](this[f]):(e[a]=1007,this[p](e))}t.exports=class{constructor(e,t,r){this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,n||(n=new s(void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10))}static get extensionName(){return"permessage-deflate"}offer(){let e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let e=this._deflate[p];this._deflate.close(),this._deflate=null,e&&e(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){let t=this._options,r=e.find(e=>(!1!==t.serverNoContextTakeover||!e.server_no_context_takeover)&&(!e.server_max_window_bits||!1!==t.serverMaxWindowBits&&("number"!=typeof t.serverMaxWindowBits||!(t.serverMaxWindowBits>e.server_max_window_bits)))&&("number"!=typeof t.clientMaxWindowBits||!!e.client_max_window_bits));if(!r)throw Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:(!0===r.client_max_window_bits||!1===t.clientMaxWindowBits)&&delete r.client_max_window_bits,r}acceptAsClient(e){let t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach(e=>{Object.keys(e).forEach(t=>{let r=e[t];if(r.length>1)throw Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){let e=+r;if(!Number.isInteger(e)||e<8||e>15)throw TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if("client_no_context_takeover"===t||"server_no_context_takeover"===t){if(!0!==r)throw TypeError(`Invalid value for parameter "${t}": ${r}`)}else throw Error(`Unknown parameter "${t}"`);e[t]=r})}),e}decompress(e,t,r){n.add(n=>{this._decompress(e,t,(e,t)=>{n(),r(e,t)})})}compress(e,t,r){n.add(n=>{this._compress(e,t,(e,t)=>{n(),r(e,t)})})}_decompress(e,t,r){let n=this._isServer?"client":"server";if(!this._inflate){let e=`${n}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=i.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[d]=0,this._inflate[h]=[],this._inflate.on("error",y),this._inflate.on("data",g)}this._inflate[p]=r,this._inflate.write(e),t&&this._inflate.write(u),this._inflate.flush(()=>{let e=this._inflate[f];if(e){this._inflate.close(),this._inflate=null,r(e);return}let i=o.concat(this._inflate[h],this._inflate[d]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[d]=0,this._inflate[h]=[],t&&this.params[`${n}_no_context_takeover`]&&this._inflate.reset()),r(null,i)})}_compress(e,t,r){let n=this._isServer?"server":"client";if(!this._deflate){let e=`${n}_max_window_bits`,t="number"!=typeof this.params[e]?i.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=i.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[d]=0,this._deflate[h]=[],this._deflate.on("data",m)}this._deflate[p]=r,this._deflate.write(e),this._deflate.flush(i.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let e=o.concat(this._deflate[h],this._deflate[d]);t&&(e=new l(e.buffer,e.byteOffset,e.length-4)),this._deflate[p]=null,this._deflate[d]=0,this._deflate[h]=[],t&&this.params[`${n}_no_context_takeover`]&&this._deflate.reset(),r(null,e)})}}},69650,(e,t,r)=>{"use strict";let{isUtf8:n}=e.r(874),{hasBlob:i}=e.r(2198);function o(e){let t=e.length,r=0;for(;r=t||(192&e[r+1])!=128||(192&e[r+2])!=128||224===e[r]&&(224&e[r+1])==128||237===e[r]&&(224&e[r+1])==160)return!1;r+=3}else{if((248&e[r])!=240||r+3>=t||(192&e[r+1])!=128||(192&e[r+2])!=128||(192&e[r+3])!=128||240===e[r]&&(240&e[r+1])==128||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}if(t.exports={isBlob:function(e){return i&&"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&("Blob"===e[Symbol.toStringTag]||"File"===e[Symbol.toStringTag])},isValidStatusCode:function(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},isValidUTF8:o,tokenChars:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0]},n)t.exports.isValidUTF8=function(e){return e.length<24?o(e):n(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=(()=>{let e=Error("Cannot find module 'utf-8-validate'");throw e.code="MODULE_NOT_FOUND",e})();t.exports.isValidUTF8=function(t){return t.length<32?o(t):e(t)}}catch(e){}},95371,(e,t,r)=>{"use strict";let{Writable:n}=e.r(88947),i=e.r(18768),{BINARY_TYPES:o,EMPTY_BUFFER:s,kStatusCode:a,kWebSocket:l}=e.r(2198),{concat:u,toArrayBuffer:c,unmask:d}=e.r(54875),{isValidStatusCode:p,isValidUTF8:h}=e.r(69650),f=Buffer[Symbol.species];t.exports=class extends n{constructor(e={}){super(),this._allowSynchronousEvents=void 0===e.allowSynchronousEvents||e.allowSynchronousEvents,this._binaryType=e.binaryType||o[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[l]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e=r.length?t.set(this._buffers.shift(),n):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),n),this._buffers[0]=new f(r.buffer,r.byteOffset+e,r.length-e)),e-=r.length}while(e>0)return t}startLoop(e){this._loop=!0;do switch(this._state){case 0:this.getInfo(e);break;case 1:this.getPayloadLength16(e);break;case 2:this.getPayloadLength64(e);break;case 3:this.getMask();break;case 4:this.getData(e);break;case 5:case 6:this._loop=!1;return}while(this._loop)this._errored||e()}getInfo(e){if(this._bufferedBytes<2){this._loop=!1;return}let t=this.consume(2);if((48&t[0])!=0)return void e(this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3"));let r=(64&t[0])==64;if(r&&!this._extensions[i.extensionName])return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(this._fin=(128&t[0])==128,this._opcode=15&t[0],this._payloadLength=127&t[1],0===this._opcode){if(r)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(!this._fragmented)return void e(this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE"));this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));this._compressed=r}else{if(!(this._opcode>7)||!(this._opcode<11))return void e(this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE"));if(!this._fin)return void e(this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN"));if(r)return void e(this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1"));if(this._payloadLength>125||8===this._opcode&&1===this._payloadLength)return void e(this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH"))}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=(128&t[1])==128,this._isServer){if(!this._masked)return void e(this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK"))}else if(this._masked)return void e(this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK"));126===this._payloadLength?this._state=1:127===this._payloadLength?this._state=2:this.haveLength(e)}getPayloadLength16(e){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(e)}getPayloadLength64(e){if(this._bufferedBytes<8){this._loop=!1;return}let t=this.consume(8),r=t.readUInt32BE(0);r>2097151?e(this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=0x100000000*r+t.readUInt32BE(4),this.haveLength(e))}haveLength(e){this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)?e(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH")):this._masked?this._state=3:this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(e){let t=s;if(this._payloadLength){if(this._bufferedBytes7)return void this.controlMessage(t,e);if(this._compressed){this._state=5,this.decompress(t,e);return}t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage(e)}decompress(e,t){this._extensions[i.extensionName].decompress(e,this._fin,(e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return void t(this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(r)}this.dataMessage(t),0===this._state&&this.startLoop(t)})}dataMessage(e){if(!this._fin){this._state=0;return}let t=this._messageLength,r=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let n;n="nodebuffer"===this._binaryType?u(r,t):"arraybuffer"===this._binaryType?c(u(r,t)):"blob"===this._binaryType?new Blob(r):r,this._allowSynchronousEvents?(this.emit("message",n,!0),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",n,!0),this._state=0,this.startLoop(e)}))}else{let n=u(r,t);if(!this._skipUTF8Validation&&!h(n))return void e(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));5===this._state||this._allowSynchronousEvents?(this.emit("message",n,!1),this._state=0):(this._state=6,setImmediate(()=>{this.emit("message",n,!1),this._state=0,this.startLoop(e)}))}}controlMessage(e,t){if(8===this._opcode){if(0===e.length)this._loop=!1,this.emit("conclude",1005,s),this.end();else{let r=e.readUInt16BE(0);if(!p(r))return void t(this.createError(RangeError,`invalid status code ${r}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE"));let n=new f(e.buffer,e.byteOffset+2,e.length-2);if(!this._skipUTF8Validation&&!h(n))return void t(this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8"));this._loop=!1,this.emit("conclude",r,n),this.end()}this._state=0;return}this._allowSynchronousEvents?(this.emit(9===this._opcode?"ping":"pong",e),this._state=0):(this._state=6,setImmediate(()=>{this.emit(9===this._opcode?"ping":"pong",e),this._state=0,this.startLoop(t)}))}createError(e,t,r,n,i){this._loop=!1,this._errored=!0;let o=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(o,this.createError),o.code=i,o[a]=n,o}}},53862,(e,t,r)=>{"use strict";let n,{Duplex:i}=e.r(88947),{randomFillSync:o}=e.r(54799),s=e.r(18768),{EMPTY_BUFFER:a,kWebSocket:l,NOOP:u}=e.r(2198),{isBlob:c,isValidStatusCode:d}=e.r(69650),{mask:p,toBuffer:h}=e.r(54875),f=Symbol("kByteLength"),m=Buffer.alloc(4),g=8192;class y{constructor(e,t,r){this._extensions=t||{},r&&(this._generateMask=r,this._maskBuffer=Buffer.alloc(4)),this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=0,this.onerror=u,this[l]=void 0}static frame(e,t){let r,i,s=!1,a=2,l=!1;t.mask&&(r=t.maskBuffer||m,t.generateMask?t.generateMask(r):(8192===g&&(void 0===n&&(n=Buffer.alloc(8192)),o(n,0,8192),g=0),r[0]=n[g++],r[1]=n[g++],r[2]=n[g++],r[3]=n[g++]),l=(r[0]|r[1]|r[2]|r[3])==0,a=6),"string"==typeof e?i=(!t.mask||l)&&void 0!==t[f]?t[f]:(e=Buffer.from(e)).length:(i=e.length,s=t.mask&&t.readOnly&&!l);let u=i;i>=65536?(a+=8,u=127):i>125&&(a+=2,u=126);let c=Buffer.allocUnsafe(s?i+a:a);return(c[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(c[0]|=64),c[1]=u,126===u?c.writeUInt16BE(i,2):127===u&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),t.mask)?(c[1]|=128,c[a-4]=r[0],c[a-3]=r[1],c[a-2]=r[2],c[a-1]=r[3],l)?[c,e]:s?(p(e,r,c,a,i),[c]):(p(e,r,e,0,i),[c,e]):[c,e]}close(e,t,r,n){let i;if(void 0===e)i=a;else if("number"==typeof e&&d(e))if(void 0!==t&&t.length){let r=Buffer.byteLength(t);if(r>123)throw RangeError("The message must not be greater than 123 bytes");(i=Buffer.allocUnsafe(2+r)).writeUInt16BE(e,0),"string"==typeof t?i.write(t,2):i.set(t,2)}else(i=Buffer.allocUnsafe(2)).writeUInt16BE(e,0);else throw TypeError("First argument must be a valid error code number");let o={[f]:i.length,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};0!==this._state?this.enqueue([this.dispatch,i,!1,o,n]):this.sendFrame(y.frame(i,o),n)}ping(e,t,r){let n,i;if("string"==typeof e?(n=Buffer.byteLength(e),i=!1):c(e)?(n=e.size,i=!1):(n=(e=h(e)).length,i=h.readOnly),n>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[f]:n,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:9,readOnly:i,rsv1:!1};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,r]):this.getBlobData(e,!1,o,r):0!==this._state?this.enqueue([this.dispatch,e,!1,o,r]):this.sendFrame(y.frame(e,o),r)}pong(e,t,r){let n,i;if("string"==typeof e?(n=Buffer.byteLength(e),i=!1):c(e)?(n=e.size,i=!1):(n=(e=h(e)).length,i=h.readOnly),n>125)throw RangeError("The data size must not be greater than 125 bytes");let o={[f]:n,fin:!0,generateMask:this._generateMask,mask:t,maskBuffer:this._maskBuffer,opcode:10,readOnly:i,rsv1:!1};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,!1,o,r]):this.getBlobData(e,!1,o,r):0!==this._state?this.enqueue([this.dispatch,e,!1,o,r]):this.sendFrame(y.frame(e,o),r)}send(e,t,r){let n,i,o=this._extensions[s.extensionName],a=t.binary?2:1,l=t.compress;"string"==typeof e?(n=Buffer.byteLength(e),i=!1):c(e)?(n=e.size,i=!1):(n=(e=h(e)).length,i=h.readOnly),this._firstFragment?(this._firstFragment=!1,l&&o&&o.params[o._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(l=n>=o._threshold),this._compress=l):(l=!1,a=0),t.fin&&(this._firstFragment=!0);let u={[f]:n,fin:t.fin,generateMask:this._generateMask,mask:t.mask,maskBuffer:this._maskBuffer,opcode:a,readOnly:i,rsv1:l};c(e)?0!==this._state?this.enqueue([this.getBlobData,e,this._compress,u,r]):this.getBlobData(e,this._compress,u,r):0!==this._state?this.enqueue([this.dispatch,e,this._compress,u,r]):this.dispatch(e,this._compress,u,r)}getBlobData(e,t,r,n){this._bufferedBytes+=r[f],this._state=2,e.arrayBuffer().then(e=>{if(this._socket.destroyed){let e=Error("The socket was closed while the blob was being read");process.nextTick(_,this,e,n);return}this._bufferedBytes-=r[f];let i=h(e);t?this.dispatch(i,t,r,n):(this._state=0,this.sendFrame(y.frame(i,r),n),this.dequeue())}).catch(e=>{process.nextTick(E,this,e,n)})}dispatch(e,t,r,n){if(!t)return void this.sendFrame(y.frame(e,r),n);let i=this._extensions[s.extensionName];this._bufferedBytes+=r[f],this._state=1,i.compress(e,r.fin,(e,t)=>{this._socket.destroyed?_(this,Error("The socket was closed while data was being compressed"),n):(this._bufferedBytes-=r[f],this._state=0,r.readOnly=!1,this.sendFrame(y.frame(t,r),n),this.dequeue())})}dequeue(){for(;0===this._state&&this._queue.length;){let e=this._queue.shift();this._bufferedBytes-=e[3][f],Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[3][f],this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}function _(e,t,r){"function"==typeof r&&r(t);for(let r=0;r{"use strict";let{kForOnEventAttribute:n,kListener:i}=e.r(2198),o=Symbol("kCode"),s=Symbol("kData"),a=Symbol("kError"),l=Symbol("kMessage"),u=Symbol("kReason"),c=Symbol("kTarget"),d=Symbol("kType"),p=Symbol("kWasClean");class h{constructor(e){this[c]=null,this[d]=e}get target(){return this[c]}get type(){return this[d]}}Object.defineProperty(h.prototype,"target",{enumerable:!0}),Object.defineProperty(h.prototype,"type",{enumerable:!0});class f extends h{constructor(e,t={}){super(e),this[o]=void 0===t.code?0:t.code,this[u]=void 0===t.reason?"":t.reason,this[p]=void 0!==t.wasClean&&t.wasClean}get code(){return this[o]}get reason(){return this[u]}get wasClean(){return this[p]}}Object.defineProperty(f.prototype,"code",{enumerable:!0}),Object.defineProperty(f.prototype,"reason",{enumerable:!0}),Object.defineProperty(f.prototype,"wasClean",{enumerable:!0});class m extends h{constructor(e,t={}){super(e),this[a]=void 0===t.error?null:t.error,this[l]=void 0===t.message?"":t.message}get error(){return this[a]}get message(){return this[l]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class g extends h{constructor(e,t={}){super(e),this[s]=void 0===t.data?null:t.data}get data(){return this[s]}}function y(e,t,r){"object"==typeof e&&e.handleEvent?e.handleEvent.call(e,r):e.call(t,r)}Object.defineProperty(g.prototype,"data",{enumerable:!0}),t.exports={CloseEvent:f,ErrorEvent:m,Event:h,EventTarget:{addEventListener(e,t,r={}){let o;for(let o of this.listeners(e))if(!r[n]&&o[i]===t&&!o[n])return;if("message"===e)o=function(e,r){let n=new g("message",{data:r?e:e.toString()});n[c]=this,y(t,this,n)};else if("close"===e)o=function(e,r){let n=new f("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});n[c]=this,y(t,this,n)};else if("error"===e)o=function(e){let r=new m("error",{error:e,message:e.message});r[c]=this,y(t,this,r)};else{if("open"!==e)return;o=function(){let e=new h("open");e[c]=this,y(t,this,e)}}o[n]=!!r[n],o[i]=t,r.once?this.once(e,o):this.on(e,o)},removeEventListener(e,t){for(let r of this.listeners(e))if(r[i]===t&&!r[n]){this.removeListener(e,r);break}}},MessageEvent:g}},38877,(e,t,r)=>{"use strict";let{tokenChars:n}=e.r(69650);function i(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}t.exports={format:function(e){return Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>[t].concat(Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(e=>!0===e?t:`${t}=${e}`).join("; ")})).join("; ")).join(", ")}).join(", ")},parse:function(e){let t,r,o=Object.create(null),s=Object.create(null),a=!1,l=!1,u=!1,c=-1,d=-1,p=-1,h=0;for(;h{"use strict";let n=e.r(27699),i=e.r(24836),o=e.r(21517),s=e.r(4446),a=e.r(55004),{randomBytes:l,createHash:u}=e.r(54799),{Duplex:c,Readable:d}=e.r(88947),{URL:p}=e.r(92509),h=e.r(18768),f=e.r(95371),m=e.r(53862),{isBlob:g}=e.r(69650),{BINARY_TYPES:y,CLOSE_TIMEOUT:_,EMPTY_BUFFER:E,GUID:v,kForOnEventAttribute:T,kListener:A,kStatusCode:S,kWebSocket:b,NOOP:C}=e.r(2198),{EventTarget:{addEventListener:O,removeEventListener:I}}=e.r(63812),{format:w,parse:R}=e.r(38877),{toBuffer:N}=e.r(54875),k=Symbol("kAborted"),P=[8,13],x=["CONNECTING","OPEN","CLOSING","CLOSED"],U=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class D extends n{constructor(e,t,r){super(),this._binaryType=y[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=E,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=D.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(r=t,t=[]):t=[t]),function e(t,r,n,s){let a,c,d,f,m={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:_,protocolVersion:P[1],maxPayload:0x6400000,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(t._autoPong=m.autoPong,t._closeTimeout=m.closeTimeout,!P.includes(m.protocolVersion))throw RangeError(`Unsupported protocol version: ${m.protocolVersion} (supported versions: ${P.join(", ")})`);if(r instanceof p)a=r;else try{a=new p(r)}catch(e){throw SyntaxError(`Invalid URL: ${r}`)}"http:"===a.protocol?a.protocol="ws:":"https:"===a.protocol&&(a.protocol="wss:"),t._url=a.href;let g="wss:"===a.protocol,y="ws+unix:"===a.protocol;if("ws:"===a.protocol||g||y?y&&!a.pathname?c="The URL's pathname is empty":a.hash&&(c="The URL contains a fragment identifier"):c='The URL\'s protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"',c){let e=SyntaxError(c);if(0!==t._redirects)return void M(t,e);throw e}let E=g?443:80,T=l(16).toString("base64"),A=g?i.request:o.request,S=new Set;if(m.createConnection=m.createConnection||(g?j:L),m.defaultPort=m.defaultPort||E,m.port=a.port||E,m.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,m.headers={...m.headers,"Sec-WebSocket-Version":m.protocolVersion,"Sec-WebSocket-Key":T,Connection:"Upgrade",Upgrade:"websocket"},m.path=a.pathname+a.search,m.timeout=m.handshakeTimeout,m.perMessageDeflate&&(d=new h(!0!==m.perMessageDeflate?m.perMessageDeflate:{},!1,m.maxPayload),m.headers["Sec-WebSocket-Extensions"]=w({[h.extensionName]:d.offer()})),n.length){for(let e of n){if("string"!=typeof e||!U.test(e)||S.has(e))throw SyntaxError("An invalid or duplicated subprotocol was specified");S.add(e)}m.headers["Sec-WebSocket-Protocol"]=n.join(",")}if(m.origin&&(m.protocolVersion<13?m.headers["Sec-WebSocket-Origin"]=m.origin:m.headers.Origin=m.origin),(a.username||a.password)&&(m.auth=`${a.username}:${a.password}`),y){let e=m.path.split(":");m.socketPath=e[0],m.path=e[1]}if(m.followRedirects){if(0===t._redirects){t._originalIpc=y,t._originalSecure=g,t._originalHostOrSocketPath=y?m.socketPath:a.host;let e=s&&s.headers;if(s={...s,headers:{}},e)for(let[t,r]of Object.entries(e))s.headers[t.toLowerCase()]=r}else if(0===t.listenerCount("redirect")){let e=y?!!t._originalIpc&&m.socketPath===t._originalHostOrSocketPath:!t._originalIpc&&a.host===t._originalHostOrSocketPath;e&&(!t._originalSecure||g)||(delete m.headers.authorization,delete m.headers.cookie,e||delete m.headers.host,m.auth=void 0)}m.auth&&!s.headers.authorization&&(s.headers.authorization="Basic "+Buffer.from(m.auth).toString("base64")),f=t._req=A(m),t._redirects&&t.emit("redirect",t.url,f)}else f=t._req=A(m);m.timeout&&f.on("timeout",()=>{G(t,f,"Opening handshake has timed out")}),f.on("error",e=>{null===f||f[k]||(f=t._req=null,M(t,e))}),f.on("response",i=>{let o=i.headers.location,a=i.statusCode;if(o&&m.followRedirects&&a>=300&&a<400){let i;if(++t._redirects>m.maxRedirects)return void G(t,f,"Maximum redirects exceeded");f.abort();try{i=new p(o,r)}catch(e){M(t,SyntaxError(`Invalid URL: ${o}`));return}e(t,i,n,s)}else t.emit("unexpected-response",f,i)||G(t,f,`Unexpected server response: ${i.statusCode}`)}),f.on("upgrade",(e,r,n)=>{let i;if(t.emit("upgrade",e),t.readyState!==D.CONNECTING)return;f=t._req=null;let o=e.headers.upgrade;if(void 0===o||"websocket"!==o.toLowerCase())return void G(t,r,"Invalid Upgrade header");let s=u("sha1").update(T+v).digest("base64");if(e.headers["sec-websocket-accept"]!==s)return void G(t,r,"Invalid Sec-WebSocket-Accept header");let a=e.headers["sec-websocket-protocol"];if(void 0!==a?S.size?S.has(a)||(i="Server sent an invalid subprotocol"):i="Server sent a subprotocol but none was requested":S.size&&(i="Server sent no subprotocol"),i)return void G(t,r,i);a&&(t._protocol=a);let l=e.headers["sec-websocket-extensions"];if(void 0!==l){let e;if(!d)return void G(t,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");try{e=R(l)}catch(e){G(t,r,"Invalid Sec-WebSocket-Extensions header");return}let n=Object.keys(e);if(1!==n.length||n[0]!==h.extensionName)return void G(t,r,"Server indicated an extension that was not requested");try{d.accept(e[h.extensionName])}catch(e){G(t,r,"Invalid Sec-WebSocket-Extensions header");return}t._extensions[h.extensionName]=d}t.setSocket(r,n,{allowSynchronousEvents:m.allowSynchronousEvents,generateMask:m.generateMask,maxPayload:m.maxPayload,skipUTF8Validation:m.skipUTF8Validation})}),m.finishRequest?m.finishRequest(f,t):f.end()}(this,e,t,r)):(this._autoPong=r.autoPong,this._closeTimeout=r.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(e){y.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){let n=new f({allowSynchronousEvents:r.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation}),i=new m(e,this._extensions,r.generateMask);this._receiver=n,this._sender=i,this._socket=e,n[b]=this,i[b]=this,e[b]=this,n.on("conclude",q),n.on("drain",H),n.on("error",B),n.on("message",$),n.on("ping",J),n.on("pong",W),i.onerror=Y,e.setTimeout&&e.setTimeout(0),e.setNoDelay&&e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",X),e.on("data",Q),e.on("end",Z),e.on("error",ee),this._readyState=D.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=D.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[h.extensionName]&&this._extensions[h.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=D.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING)return void G(this,this._req,"WebSocket was closed before the connection was established");if(this.readyState===D.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=D.CLOSING,this._sender.close(e,t,!this._isServer,e=>{!e&&(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),z(this)}}pause(){this.readyState!==D.CONNECTING&&this.readyState!==D.CLOSED&&(this._paused=!0,this._socket.pause())}ping(e,t,r){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)?F(this,e,r):(void 0===t&&(t=!this._isServer),this._sender.ping(e||E,t,r))}pong(e,t,r){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");("function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)?F(this,e,r):(void 0===t&&(t=!this._isServer),this._sender.pong(e||E,t,r))}resume(){this.readyState!==D.CONNECTING&&this.readyState!==D.CLOSED&&(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(e,t,r){if(this.readyState===D.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==D.OPEN)return void F(this,e,r);let n={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[h.extensionName]||(n.compress=!1),this._sender.send(e||E,n,r)}terminate(){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING)return void G(this,this._req,"WebSocket was closed before the connection was established");this._socket&&(this._readyState=D.CLOSING,this._socket.destroy())}}}function M(e,t){e._readyState=D.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function L(e){return e.path=e.socketPath,s.connect(e)}function j(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=s.isIP(e.host)?"":e.host),a.connect(e)}function G(e,t,r){e._readyState=D.CLOSING;let n=Error(r);Error.captureStackTrace(n,G),t.setHeader?(t[k]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(M,e,n)):(t.destroy(n),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function F(e,t,r){if(t){let r=g(t)?t.size:N(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}if(r){let t=Error(`WebSocket is not open: readyState ${e.readyState} (${x[e.readyState]})`);process.nextTick(r,t)}}function q(e,t){let r=this[b];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[b]&&(r._socket.removeListener("data",Q),process.nextTick(K,r._socket),1005===e?r.close():r.close(e,t))}function H(){let e=this[b];e.isPaused||e._socket.resume()}function B(e){let t=this[b];void 0!==t._socket[b]&&(t._socket.removeListener("data",Q),process.nextTick(K,t._socket),t.close(e[S])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function V(){this[b].emitClose()}function $(e,t){this[b].emit("message",e,t)}function J(e){let t=this[b];t._autoPong&&t.pong(e,!this._isServer,C),t.emit("ping",e)}function W(e){this[b].emit("pong",e)}function K(e){e.resume()}function Y(e){let t=this[b];t.readyState!==D.CLOSED&&(t.readyState===D.OPEN&&(t._readyState=D.CLOSING,z(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function z(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function X(){let e=this[b];if(this.removeListener("close",X),this.removeListener("data",Q),this.removeListener("end",Z),e._readyState=D.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&0!==this._readableState.length){let t=this.read(this._readableState.length);e._receiver.write(t)}e._receiver.end(),this[b]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",V),e._receiver.on("finish",V))}function Q(e){this[b]._receiver.write(e)||this.pause()}function Z(){let e=this[b];e._readyState=D.CLOSING,e._receiver.end(),this.end()}function ee(){let e=this[b];this.removeListener("error",ee),this.on("error",C),e&&(e._readyState=D.CLOSING,this.destroy())}Object.defineProperty(D,"CONNECTING",{enumerable:!0,value:x.indexOf("CONNECTING")}),Object.defineProperty(D.prototype,"CONNECTING",{enumerable:!0,value:x.indexOf("CONNECTING")}),Object.defineProperty(D,"OPEN",{enumerable:!0,value:x.indexOf("OPEN")}),Object.defineProperty(D.prototype,"OPEN",{enumerable:!0,value:x.indexOf("OPEN")}),Object.defineProperty(D,"CLOSING",{enumerable:!0,value:x.indexOf("CLOSING")}),Object.defineProperty(D.prototype,"CLOSING",{enumerable:!0,value:x.indexOf("CLOSING")}),Object.defineProperty(D,"CLOSED",{enumerable:!0,value:x.indexOf("CLOSED")}),Object.defineProperty(D.prototype,"CLOSED",{enumerable:!0,value:x.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(D.prototype,e,{enumerable:!0})}),["open","error","close","message"].forEach(e=>{Object.defineProperty(D.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[T])return t[A];return null},set(t){for(let t of this.listeners(e))if(t[T]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[T]:!0})}})}),D.prototype.addEventListener=O,D.prototype.removeEventListener=I,t.exports=D},51710,(e,t,r)=>{"use strict";e.r(33719);let{Duplex:n}=e.r(88947);function i(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function s(e){this.removeListener("error",s),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}t.exports=function(e,t){let r=!0,a=new n({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(t,r){let n=!r&&a._readableState.objectMode?t.toString():t;a.push(n)||e.pause()}),e.once("error",function(e){a.destroyed||(r=!1,a.destroy(e))}),e.once("close",function(){a.destroyed||a.push(null)}),a._destroy=function(t,n){if(e.readyState===e.CLOSED){n(t),process.nextTick(i,a);return}let o=!1;e.once("error",function(e){o=!0,n(e)}),e.once("close",function(){o||n(t),process.nextTick(i,a)}),r&&e.terminate()},a._final=function(t){e.readyState===e.CONNECTING?e.once("open",function(){a._final(t)}):null!==e._socket&&(e._socket._writableState.finished?(t(),a._readableState.endEmitted&&a.destroy()):(e._socket.once("finish",function(){t()}),e.close()))},a._read=function(){e.isPaused&&e.resume()},a._write=function(t,r,n){e.readyState===e.CONNECTING?e.once("open",function(){a._write(t,r,n)}):e.send(t,n)},a.on("end",o),a.on("error",s),a}},99595,(e,t,r)=>{"use strict";let{tokenChars:n}=e.r(69650);t.exports={parse:function(e){let t=new Set,r=-1,i=-1,o=0;for(;o{"use strict";let n=e.r(27699),i=e.r(21517),{Duplex:o}=e.r(88947),{createHash:s}=e.r(54799),a=e.r(38877),l=e.r(18768),u=e.r(99595),c=e.r(33719),{CLOSE_TIMEOUT:d,GUID:p,kWebSocket:h}=e.r(2198),f=/^[+/0-9A-Za-z]{22}==$/;function m(e){e._state=2,e.emit("close")}function g(){this.destroy()}function y(e,t,r,n){r=r||i.STATUS_CODES[t],n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...n},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${i.STATUS_CODES[t]}\r +`+Object.keys(n).map(e=>`${e}: ${n[e]}`).join("\r\n")+"\r\n\r\n"+r)}function _(e,t,r,n,i,o){if(e.listenerCount("wsClientError")){let n=Error(i);Error.captureStackTrace(n,_),e.emit("wsClientError",n,r,t)}else y(r,n,i,o)}t.exports=class extends n{constructor(e,t){if(super(),null==(e={allowSynchronousEvents:!0,autoPong:!0,maxPayload:0x6400000,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:d,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:c,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=i.createServer((e,t)=>{let r=i.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)}),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(let r of Object.keys(t))e.on(r,t[r]);return function(){for(let r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,n)=>{this.handleUpgrade(t,r,n,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state){e&&this.once("close",()=>{e(Error("The server is not running"))}),process.nextTick(m,this);return}if(e&&this.once("close",e),1!==this._state)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(m,this);else{let e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close(()=>{m(this)})}}shouldHandle(e){if(this.options.path){let t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,n){t.on("error",g);let i=e.headers["sec-websocket-key"],o=e.headers.upgrade,s=+e.headers["sec-websocket-version"];if("GET"!==e.method)return void _(this,e,t,405,"Invalid HTTP method");if(void 0===o||"websocket"!==o.toLowerCase())return void _(this,e,t,400,"Invalid Upgrade header");if(void 0===i||!f.test(i))return void _(this,e,t,400,"Missing or invalid Sec-WebSocket-Key header");if(13!==s&&8!==s)return void _(this,e,t,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});if(!this.shouldHandle(e))return void y(t,400);let c=e.headers["sec-websocket-protocol"],d=new Set;if(void 0!==c)try{d=u.parse(c)}catch(r){_(this,e,t,400,"Invalid Sec-WebSocket-Protocol header");return}let p=e.headers["sec-websocket-extensions"],h={};if(this.options.perMessageDeflate&&void 0!==p){let r=new l(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let e=a.parse(p);e[l.extensionName]&&(r.accept(e[l.extensionName]),h[l.extensionName]=r)}catch(r){_(this,e,t,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let o={origin:e.headers[`${8===s?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(o,(o,s,a,l)=>{if(!o)return y(t,s||401,a,l);this.completeUpgrade(h,i,d,e,t,r,n)});if(!this.options.verifyClient(o))return y(t,401)}this.completeUpgrade(h,i,d,e,t,r,n)}completeUpgrade(e,t,r,n,i,o,u){if(!i.readable||!i.writable)return i.destroy();if(i[h])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return y(i,503);let c=s("sha1").update(t+p).digest("base64"),d=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${c}`],f=new this.options.WebSocket(null,void 0,this.options);if(r.size){let e=this.options.handleProtocols?this.options.handleProtocols(r,n):r.values().next().value;e&&(d.push(`Sec-WebSocket-Protocol: ${e}`),f._protocol=e)}if(e[l.extensionName]){let t=e[l.extensionName].params,r=a.format({[l.extensionName]:[t]});d.push(`Sec-WebSocket-Extensions: ${r}`),f._extensions=e}this.emit("headers",d,n),i.write(d.concat("\r\n").join("\r\n")),i.removeListener("error",g),f.setSocket(i,o,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(f),f.on("close",()=>{this.clients.delete(f),this._shouldEmitClose&&!this.clients.size&&process.nextTick(m,this)})),u(f,n)}}},94666,e=>{"use strict";let t,r,n,i,o;var s,a,l,u,c,d,p,h,f,m,g,y,_,E,v,T,A,S,b,C,O,I,w,R,N,k,P,x,U,D,M,L,j,G,F,q,H,B,V,$,J,W,K,Y,z,X,Q,Z,ee,et,er,en,ei,eo,es,ea,el,eu,ec,ed,ep,eh,ef,em,eg,ey,e_,eE,ev,eT,eA,eS,eb,eC,eO,eI,ew,eR,eN,ek,eP,ex,eU,eD,eM,eL,ej,eG,eF,eq,eH,eB,eV,e$,eJ,eW,eK,eY,ez,eX,eQ,eZ,e0,e1,e2,e4,e6,e8,e5,e3,e9,e7,te,tt,tr,tn,ti,to,ts,ta=e.i(53577),tl=e.i(40259),tu=e.i(22734),tc=e.i(24868),td=e.i(81111),tp=e.i(88646);e.i(51710),e.i(95371),e.i(53862);var th=e.i(33719);e.i(88430),th.default;var tf=e.i(14747);class tm{}function tg(e,t){return e.replace(/\{([^}]+)\}/g,(e,r)=>{if(Object.prototype.hasOwnProperty.call(t,r)){let e=t[r];return null!=e?String(e):""}throw Error(`Key '${r}' not found in valueMap.`)})}function ty(e,t,r){for(let n=0;n({}));else throw Error(`Value must be a list given an array path ${i}`);if(Array.isArray(e[o])){let i=e[o];if(Array.isArray(r))for(let e=0;et_(e,t.slice(n+1),r))}}e=e[i]}return e}catch(e){if(e instanceof TypeError)return r;throw e}}function tE(e){if("string"!=typeof e)throw Error("fromImageBytes must be a string");return e}function tv(e){var t;let r,n,i,o,s={},a=t_(e,["name"]);null!=a&&ty(s,["name"],a);let l=t_(e,["metadata"]);null!=l&&ty(s,["metadata"],l);let u=t_(e,["done"]);null!=u&&ty(s,["done"],u);let c=t_(e,["error"]);null!=c&&ty(s,["error"],c);let d=t_(e,["response"]);return null!=d&&ty(s,["response"],(r={},null!=(n=t_(t=d,["sdkHttpResponse"]))&&ty(r,["sdkHttpResponse"],n),null!=(i=t_(t,["parent"]))&&ty(r,["parent"],i),null!=(o=t_(t,["documentName"]))&&ty(r,["documentName"],o),r)),s}(s=ed||(ed={})).OUTCOME_UNSPECIFIED="OUTCOME_UNSPECIFIED",s.OUTCOME_OK="OUTCOME_OK",s.OUTCOME_FAILED="OUTCOME_FAILED",s.OUTCOME_DEADLINE_EXCEEDED="OUTCOME_DEADLINE_EXCEEDED",(a=ep||(ep={})).LANGUAGE_UNSPECIFIED="LANGUAGE_UNSPECIFIED",a.PYTHON="PYTHON",(l=eh||(eh={})).SCHEDULING_UNSPECIFIED="SCHEDULING_UNSPECIFIED",l.SILENT="SILENT",l.WHEN_IDLE="WHEN_IDLE",l.INTERRUPT="INTERRUPT",(u=ef||(ef={})).TYPE_UNSPECIFIED="TYPE_UNSPECIFIED",u.STRING="STRING",u.NUMBER="NUMBER",u.INTEGER="INTEGER",u.BOOLEAN="BOOLEAN",u.ARRAY="ARRAY",u.OBJECT="OBJECT",u.NULL="NULL",(c=em||(em={})).PHISH_BLOCK_THRESHOLD_UNSPECIFIED="PHISH_BLOCK_THRESHOLD_UNSPECIFIED",c.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",c.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",c.BLOCK_HIGH_AND_ABOVE="BLOCK_HIGH_AND_ABOVE",c.BLOCK_HIGHER_AND_ABOVE="BLOCK_HIGHER_AND_ABOVE",c.BLOCK_VERY_HIGH_AND_ABOVE="BLOCK_VERY_HIGH_AND_ABOVE",c.BLOCK_ONLY_EXTREMELY_HIGH="BLOCK_ONLY_EXTREMELY_HIGH",(d=eg||(eg={})).API_SPEC_UNSPECIFIED="API_SPEC_UNSPECIFIED",d.SIMPLE_SEARCH="SIMPLE_SEARCH",d.ELASTIC_SEARCH="ELASTIC_SEARCH",(p=ey||(ey={})).AUTH_TYPE_UNSPECIFIED="AUTH_TYPE_UNSPECIFIED",p.NO_AUTH="NO_AUTH",p.API_KEY_AUTH="API_KEY_AUTH",p.HTTP_BASIC_AUTH="HTTP_BASIC_AUTH",p.GOOGLE_SERVICE_ACCOUNT_AUTH="GOOGLE_SERVICE_ACCOUNT_AUTH",p.OAUTH="OAUTH",p.OIDC_AUTH="OIDC_AUTH",(h=e_||(e_={})).HTTP_IN_UNSPECIFIED="HTTP_IN_UNSPECIFIED",h.HTTP_IN_QUERY="HTTP_IN_QUERY",h.HTTP_IN_HEADER="HTTP_IN_HEADER",h.HTTP_IN_PATH="HTTP_IN_PATH",h.HTTP_IN_BODY="HTTP_IN_BODY",h.HTTP_IN_COOKIE="HTTP_IN_COOKIE",(f=eE||(eE={})).UNSPECIFIED="UNSPECIFIED",f.BLOCKING="BLOCKING",f.NON_BLOCKING="NON_BLOCKING",(m=ev||(ev={})).MODE_UNSPECIFIED="MODE_UNSPECIFIED",m.MODE_DYNAMIC="MODE_DYNAMIC",(g=eT||(eT={})).MODE_UNSPECIFIED="MODE_UNSPECIFIED",g.AUTO="AUTO",g.ANY="ANY",g.NONE="NONE",g.VALIDATED="VALIDATED",(y=eA||(eA={})).THINKING_LEVEL_UNSPECIFIED="THINKING_LEVEL_UNSPECIFIED",y.LOW="LOW",y.MEDIUM="MEDIUM",y.HIGH="HIGH",y.MINIMAL="MINIMAL",(_=eS||(eS={})).HARM_CATEGORY_UNSPECIFIED="HARM_CATEGORY_UNSPECIFIED",_.HARM_CATEGORY_HARASSMENT="HARM_CATEGORY_HARASSMENT",_.HARM_CATEGORY_HATE_SPEECH="HARM_CATEGORY_HATE_SPEECH",_.HARM_CATEGORY_SEXUALLY_EXPLICIT="HARM_CATEGORY_SEXUALLY_EXPLICIT",_.HARM_CATEGORY_DANGEROUS_CONTENT="HARM_CATEGORY_DANGEROUS_CONTENT",_.HARM_CATEGORY_CIVIC_INTEGRITY="HARM_CATEGORY_CIVIC_INTEGRITY",_.HARM_CATEGORY_IMAGE_HATE="HARM_CATEGORY_IMAGE_HATE",_.HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT="HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT",_.HARM_CATEGORY_IMAGE_HARASSMENT="HARM_CATEGORY_IMAGE_HARASSMENT",_.HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT="HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT",_.HARM_CATEGORY_JAILBREAK="HARM_CATEGORY_JAILBREAK",(E=eb||(eb={})).HARM_BLOCK_METHOD_UNSPECIFIED="HARM_BLOCK_METHOD_UNSPECIFIED",E.SEVERITY="SEVERITY",E.PROBABILITY="PROBABILITY",(v=eC||(eC={})).HARM_BLOCK_THRESHOLD_UNSPECIFIED="HARM_BLOCK_THRESHOLD_UNSPECIFIED",v.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",v.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",v.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",v.BLOCK_NONE="BLOCK_NONE",v.OFF="OFF",(T=eO||(eO={})).FINISH_REASON_UNSPECIFIED="FINISH_REASON_UNSPECIFIED",T.STOP="STOP",T.MAX_TOKENS="MAX_TOKENS",T.SAFETY="SAFETY",T.RECITATION="RECITATION",T.LANGUAGE="LANGUAGE",T.OTHER="OTHER",T.BLOCKLIST="BLOCKLIST",T.PROHIBITED_CONTENT="PROHIBITED_CONTENT",T.SPII="SPII",T.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",T.IMAGE_SAFETY="IMAGE_SAFETY",T.UNEXPECTED_TOOL_CALL="UNEXPECTED_TOOL_CALL",T.IMAGE_PROHIBITED_CONTENT="IMAGE_PROHIBITED_CONTENT",T.NO_IMAGE="NO_IMAGE",T.IMAGE_RECITATION="IMAGE_RECITATION",T.IMAGE_OTHER="IMAGE_OTHER",(A=eI||(eI={})).HARM_PROBABILITY_UNSPECIFIED="HARM_PROBABILITY_UNSPECIFIED",A.NEGLIGIBLE="NEGLIGIBLE",A.LOW="LOW",A.MEDIUM="MEDIUM",A.HIGH="HIGH",(S=ew||(ew={})).HARM_SEVERITY_UNSPECIFIED="HARM_SEVERITY_UNSPECIFIED",S.HARM_SEVERITY_NEGLIGIBLE="HARM_SEVERITY_NEGLIGIBLE",S.HARM_SEVERITY_LOW="HARM_SEVERITY_LOW",S.HARM_SEVERITY_MEDIUM="HARM_SEVERITY_MEDIUM",S.HARM_SEVERITY_HIGH="HARM_SEVERITY_HIGH",(b=eR||(eR={})).URL_RETRIEVAL_STATUS_UNSPECIFIED="URL_RETRIEVAL_STATUS_UNSPECIFIED",b.URL_RETRIEVAL_STATUS_SUCCESS="URL_RETRIEVAL_STATUS_SUCCESS",b.URL_RETRIEVAL_STATUS_ERROR="URL_RETRIEVAL_STATUS_ERROR",b.URL_RETRIEVAL_STATUS_PAYWALL="URL_RETRIEVAL_STATUS_PAYWALL",b.URL_RETRIEVAL_STATUS_UNSAFE="URL_RETRIEVAL_STATUS_UNSAFE",(C=eN||(eN={})).BLOCKED_REASON_UNSPECIFIED="BLOCKED_REASON_UNSPECIFIED",C.SAFETY="SAFETY",C.OTHER="OTHER",C.BLOCKLIST="BLOCKLIST",C.PROHIBITED_CONTENT="PROHIBITED_CONTENT",C.IMAGE_SAFETY="IMAGE_SAFETY",C.MODEL_ARMOR="MODEL_ARMOR",C.JAILBREAK="JAILBREAK",(O=ek||(ek={})).TRAFFIC_TYPE_UNSPECIFIED="TRAFFIC_TYPE_UNSPECIFIED",O.ON_DEMAND="ON_DEMAND",O.PROVISIONED_THROUGHPUT="PROVISIONED_THROUGHPUT",(I=eP||(eP={})).MODALITY_UNSPECIFIED="MODALITY_UNSPECIFIED",I.TEXT="TEXT",I.IMAGE="IMAGE",I.AUDIO="AUDIO",(w=ex||(ex={})).MEDIA_RESOLUTION_UNSPECIFIED="MEDIA_RESOLUTION_UNSPECIFIED",w.MEDIA_RESOLUTION_LOW="MEDIA_RESOLUTION_LOW",w.MEDIA_RESOLUTION_MEDIUM="MEDIA_RESOLUTION_MEDIUM",w.MEDIA_RESOLUTION_HIGH="MEDIA_RESOLUTION_HIGH",(R=eU||(eU={})).TUNING_MODE_UNSPECIFIED="TUNING_MODE_UNSPECIFIED",R.TUNING_MODE_FULL="TUNING_MODE_FULL",R.TUNING_MODE_PEFT_ADAPTER="TUNING_MODE_PEFT_ADAPTER",(N=eD||(eD={})).ADAPTER_SIZE_UNSPECIFIED="ADAPTER_SIZE_UNSPECIFIED",N.ADAPTER_SIZE_ONE="ADAPTER_SIZE_ONE",N.ADAPTER_SIZE_TWO="ADAPTER_SIZE_TWO",N.ADAPTER_SIZE_FOUR="ADAPTER_SIZE_FOUR",N.ADAPTER_SIZE_EIGHT="ADAPTER_SIZE_EIGHT",N.ADAPTER_SIZE_SIXTEEN="ADAPTER_SIZE_SIXTEEN",N.ADAPTER_SIZE_THIRTY_TWO="ADAPTER_SIZE_THIRTY_TWO",(k=eM||(eM={})).JOB_STATE_UNSPECIFIED="JOB_STATE_UNSPECIFIED",k.JOB_STATE_QUEUED="JOB_STATE_QUEUED",k.JOB_STATE_PENDING="JOB_STATE_PENDING",k.JOB_STATE_RUNNING="JOB_STATE_RUNNING",k.JOB_STATE_SUCCEEDED="JOB_STATE_SUCCEEDED",k.JOB_STATE_FAILED="JOB_STATE_FAILED",k.JOB_STATE_CANCELLING="JOB_STATE_CANCELLING",k.JOB_STATE_CANCELLED="JOB_STATE_CANCELLED",k.JOB_STATE_PAUSED="JOB_STATE_PAUSED",k.JOB_STATE_EXPIRED="JOB_STATE_EXPIRED",k.JOB_STATE_UPDATING="JOB_STATE_UPDATING",k.JOB_STATE_PARTIALLY_SUCCEEDED="JOB_STATE_PARTIALLY_SUCCEEDED",(P=eL||(eL={})).TUNING_TASK_UNSPECIFIED="TUNING_TASK_UNSPECIFIED",P.TUNING_TASK_I2V="TUNING_TASK_I2V",P.TUNING_TASK_T2V="TUNING_TASK_T2V",P.TUNING_TASK_R2V="TUNING_TASK_R2V",(x=ej||(ej={})).MEDIA_RESOLUTION_UNSPECIFIED="MEDIA_RESOLUTION_UNSPECIFIED",x.MEDIA_RESOLUTION_LOW="MEDIA_RESOLUTION_LOW",x.MEDIA_RESOLUTION_MEDIUM="MEDIA_RESOLUTION_MEDIUM",x.MEDIA_RESOLUTION_HIGH="MEDIA_RESOLUTION_HIGH",x.MEDIA_RESOLUTION_ULTRA_HIGH="MEDIA_RESOLUTION_ULTRA_HIGH",(eG||(eG={})).COLLECTION="COLLECTION",(U=eF||(eF={})).FEATURE_SELECTION_PREFERENCE_UNSPECIFIED="FEATURE_SELECTION_PREFERENCE_UNSPECIFIED",U.PRIORITIZE_QUALITY="PRIORITIZE_QUALITY",U.BALANCED="BALANCED",U.PRIORITIZE_COST="PRIORITIZE_COST",(D=eq||(eq={})).ENVIRONMENT_UNSPECIFIED="ENVIRONMENT_UNSPECIFIED",D.ENVIRONMENT_BROWSER="ENVIRONMENT_BROWSER",(M=eH||(eH={})).PROMINENT_PEOPLE_UNSPECIFIED="PROMINENT_PEOPLE_UNSPECIFIED",M.ALLOW_PROMINENT_PEOPLE="ALLOW_PROMINENT_PEOPLE",M.BLOCK_PROMINENT_PEOPLE="BLOCK_PROMINENT_PEOPLE",(L=eB||(eB={})).PREDICT="PREDICT",L.EMBED_CONTENT="EMBED_CONTENT",(j=eV||(eV={})).BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",j.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",j.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",j.BLOCK_NONE="BLOCK_NONE",(G=e$||(e$={})).DONT_ALLOW="DONT_ALLOW",G.ALLOW_ADULT="ALLOW_ADULT",G.ALLOW_ALL="ALLOW_ALL",(F=eJ||(eJ={})).auto="auto",F.en="en",F.ja="ja",F.ko="ko",F.hi="hi",F.zh="zh",F.pt="pt",F.es="es",(q=eW||(eW={})).MASK_MODE_DEFAULT="MASK_MODE_DEFAULT",q.MASK_MODE_USER_PROVIDED="MASK_MODE_USER_PROVIDED",q.MASK_MODE_BACKGROUND="MASK_MODE_BACKGROUND",q.MASK_MODE_FOREGROUND="MASK_MODE_FOREGROUND",q.MASK_MODE_SEMANTIC="MASK_MODE_SEMANTIC",(H=eK||(eK={})).CONTROL_TYPE_DEFAULT="CONTROL_TYPE_DEFAULT",H.CONTROL_TYPE_CANNY="CONTROL_TYPE_CANNY",H.CONTROL_TYPE_SCRIBBLE="CONTROL_TYPE_SCRIBBLE",H.CONTROL_TYPE_FACE_MESH="CONTROL_TYPE_FACE_MESH",(B=eY||(eY={})).SUBJECT_TYPE_DEFAULT="SUBJECT_TYPE_DEFAULT",B.SUBJECT_TYPE_PERSON="SUBJECT_TYPE_PERSON",B.SUBJECT_TYPE_ANIMAL="SUBJECT_TYPE_ANIMAL",B.SUBJECT_TYPE_PRODUCT="SUBJECT_TYPE_PRODUCT",(V=ez||(ez={})).EDIT_MODE_DEFAULT="EDIT_MODE_DEFAULT",V.EDIT_MODE_INPAINT_REMOVAL="EDIT_MODE_INPAINT_REMOVAL",V.EDIT_MODE_INPAINT_INSERTION="EDIT_MODE_INPAINT_INSERTION",V.EDIT_MODE_OUTPAINT="EDIT_MODE_OUTPAINT",V.EDIT_MODE_CONTROLLED_EDITING="EDIT_MODE_CONTROLLED_EDITING",V.EDIT_MODE_STYLE="EDIT_MODE_STYLE",V.EDIT_MODE_BGSWAP="EDIT_MODE_BGSWAP",V.EDIT_MODE_PRODUCT_IMAGE="EDIT_MODE_PRODUCT_IMAGE",($=eX||(eX={})).FOREGROUND="FOREGROUND",$.BACKGROUND="BACKGROUND",$.PROMPT="PROMPT",$.SEMANTIC="SEMANTIC",$.INTERACTIVE="INTERACTIVE",(J=eQ||(eQ={})).ASSET="ASSET",J.STYLE="STYLE",(W=eZ||(eZ={})).INSERT="INSERT",W.REMOVE="REMOVE",W.REMOVE_STATIC="REMOVE_STATIC",W.OUTPAINT="OUTPAINT",(K=e0||(e0={})).OPTIMIZED="OPTIMIZED",K.LOSSLESS="LOSSLESS",(Y=e1||(e1={})).SUPERVISED_FINE_TUNING="SUPERVISED_FINE_TUNING",Y.PREFERENCE_TUNING="PREFERENCE_TUNING",Y.DISTILLATION="DISTILLATION",(z=e2||(e2={})).STATE_UNSPECIFIED="STATE_UNSPECIFIED",z.STATE_PENDING="STATE_PENDING",z.STATE_ACTIVE="STATE_ACTIVE",z.STATE_FAILED="STATE_FAILED",(X=e4||(e4={})).STATE_UNSPECIFIED="STATE_UNSPECIFIED",X.PROCESSING="PROCESSING",X.ACTIVE="ACTIVE",X.FAILED="FAILED",(Q=e6||(e6={})).SOURCE_UNSPECIFIED="SOURCE_UNSPECIFIED",Q.UPLOADED="UPLOADED",Q.GENERATED="GENERATED",Q.REGISTERED="REGISTERED",(Z=e8||(e8={})).TURN_COMPLETE_REASON_UNSPECIFIED="TURN_COMPLETE_REASON_UNSPECIFIED",Z.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",Z.RESPONSE_REJECTED="RESPONSE_REJECTED",Z.NEED_MORE_INPUT="NEED_MORE_INPUT",(ee=e5||(e5={})).MODALITY_UNSPECIFIED="MODALITY_UNSPECIFIED",ee.TEXT="TEXT",ee.IMAGE="IMAGE",ee.VIDEO="VIDEO",ee.AUDIO="AUDIO",ee.DOCUMENT="DOCUMENT",(et=e3||(e3={})).VAD_SIGNAL_TYPE_UNSPECIFIED="VAD_SIGNAL_TYPE_UNSPECIFIED",et.VAD_SIGNAL_TYPE_SOS="VAD_SIGNAL_TYPE_SOS",et.VAD_SIGNAL_TYPE_EOS="VAD_SIGNAL_TYPE_EOS",(er=e9||(e9={})).TYPE_UNSPECIFIED="TYPE_UNSPECIFIED",er.ACTIVITY_START="ACTIVITY_START",er.ACTIVITY_END="ACTIVITY_END",(en=e7||(e7={})).START_SENSITIVITY_UNSPECIFIED="START_SENSITIVITY_UNSPECIFIED",en.START_SENSITIVITY_HIGH="START_SENSITIVITY_HIGH",en.START_SENSITIVITY_LOW="START_SENSITIVITY_LOW",(ei=te||(te={})).END_SENSITIVITY_UNSPECIFIED="END_SENSITIVITY_UNSPECIFIED",ei.END_SENSITIVITY_HIGH="END_SENSITIVITY_HIGH",ei.END_SENSITIVITY_LOW="END_SENSITIVITY_LOW",(eo=tt||(tt={})).ACTIVITY_HANDLING_UNSPECIFIED="ACTIVITY_HANDLING_UNSPECIFIED",eo.START_OF_ACTIVITY_INTERRUPTS="START_OF_ACTIVITY_INTERRUPTS",eo.NO_INTERRUPTION="NO_INTERRUPTION",(es=tr||(tr={})).TURN_COVERAGE_UNSPECIFIED="TURN_COVERAGE_UNSPECIFIED",es.TURN_INCLUDES_ONLY_ACTIVITY="TURN_INCLUDES_ONLY_ACTIVITY",es.TURN_INCLUDES_ALL_INPUT="TURN_INCLUDES_ALL_INPUT",(ea=tn||(tn={})).SCALE_UNSPECIFIED="SCALE_UNSPECIFIED",ea.C_MAJOR_A_MINOR="C_MAJOR_A_MINOR",ea.D_FLAT_MAJOR_B_FLAT_MINOR="D_FLAT_MAJOR_B_FLAT_MINOR",ea.D_MAJOR_B_MINOR="D_MAJOR_B_MINOR",ea.E_FLAT_MAJOR_C_MINOR="E_FLAT_MAJOR_C_MINOR",ea.E_MAJOR_D_FLAT_MINOR="E_MAJOR_D_FLAT_MINOR",ea.F_MAJOR_D_MINOR="F_MAJOR_D_MINOR",ea.G_FLAT_MAJOR_E_FLAT_MINOR="G_FLAT_MAJOR_E_FLAT_MINOR",ea.G_MAJOR_E_MINOR="G_MAJOR_E_MINOR",ea.A_FLAT_MAJOR_F_MINOR="A_FLAT_MAJOR_F_MINOR",ea.A_MAJOR_G_FLAT_MINOR="A_MAJOR_G_FLAT_MINOR",ea.B_FLAT_MAJOR_G_MINOR="B_FLAT_MAJOR_G_MINOR",ea.B_MAJOR_A_FLAT_MINOR="B_MAJOR_A_FLAT_MINOR",(el=ti||(ti={})).MUSIC_GENERATION_MODE_UNSPECIFIED="MUSIC_GENERATION_MODE_UNSPECIFIED",el.QUALITY="QUALITY",el.DIVERSITY="DIVERSITY",el.VOCALIZATION="VOCALIZATION",(eu=to||(to={})).PLAYBACK_CONTROL_UNSPECIFIED="PLAYBACK_CONTROL_UNSPECIFIED",eu.PLAY="PLAY",eu.PAUSE="PAUSE",eu.STOP="STOP",eu.RESET_CONTEXT="RESET_CONTEXT";class tT{constructor(e){const t={};for(const r of e.headers.entries())t[r[0]]=r[1];this.headers=t,this.responseInternal=e}json(){return this.responseInternal.json()}}class tA{get text(){var e,t,r,n,i,o,s,a;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning text from the first one.");let l="",u=!1,c=[];for(let e of null!=(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?a:[]){for(let[t,r]of Object.entries(e))"text"!==t&&"thought"!==t&&"thoughtSignature"!==t&&(null!==r||void 0!==r)&&c.push(t);if("string"==typeof e.text){if("boolean"==typeof e.thought&&e.thought)continue;u=!0,l+=e.text}}return c.length>0&&console.warn(`there are non-text parts ${c} in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.`),u?l:void 0}get data(){var e,t,r,n,i,o,s,a;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning data from the first one.");let l="",u=[];for(let e of null!=(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?a:[]){for(let[t,r]of Object.entries(e))"inlineData"!==t&&(null!==r||void 0!==r)&&u.push(t);e.inlineData&&"string"==typeof e.inlineData.data&&(l+=atob(e.inlineData.data))}return u.length>0&&console.warn(`there are non-data parts ${u} in the response, returning concatenation of all data parts. Please refer to the non data parts for a full response from model.`),l.length>0?btoa(l):void 0}get functionCalls(){var e,t,r,n,i,o,s,a;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning function calls from the first one.");let l=null==(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?void 0:a.filter(e=>e.functionCall).map(e=>e.functionCall).filter(e=>void 0!==e);if((null==l?void 0:l.length)!==0)return l}get executableCode(){var e,t,r,n,i,o,s,a,l;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning executable code from the first one.");let u=null==(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?void 0:a.filter(e=>e.executableCode).map(e=>e.executableCode).filter(e=>void 0!==e);if((null==u?void 0:u.length)!==0)return null==(l=null==u?void 0:u[0])?void 0:l.code}get codeExecutionResult(){var e,t,r,n,i,o,s,a,l;if((null==(n=null==(r=null==(t=null==(e=this.candidates)?void 0:e[0])?void 0:t.content)?void 0:r.parts)?void 0:n.length)===0)return;this.candidates&&this.candidates.length>1&&console.warn("there are multiple candidates in the response, returning code execution result from the first one.");let u=null==(a=null==(s=null==(o=null==(i=this.candidates)?void 0:i[0])?void 0:o.content)?void 0:s.parts)?void 0:a.filter(e=>e.codeExecutionResult).map(e=>e.codeExecutionResult).filter(e=>void 0!==e);if((null==u?void 0:u.length)!==0)return null==(l=null==u?void 0:u[0])?void 0:l.output}}class tS{}class tb{}class tC{}class tO{}class tI{}class tw{}class tR{}class tN{}class tk{}class tP{}class tx{_fromAPIResponse({apiResponse:e,_isVertexAI:t}){let r,n=new tx;if(t){let t,n,i,o,s,a;t={},null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["metadata"]))&&ty(t,["metadata"],i),null!=(o=t_(e,["done"]))&&ty(t,["done"],o),null!=(s=t_(e,["error"]))&&ty(t,["error"],s),null!=(a=t_(e,["response"]))&&ty(t,["response"],function(e){let t={},r=t_(e,["videos"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["_self"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["gcsUri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["bytesBase64Encoded"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["mimeType"]))&&ty(i,["mimeType"],a),i)),r})),ty(t,["generatedVideos"],e)}let n=t_(e,["raiMediaFilteredCount"]);null!=n&&ty(t,["raiMediaFilteredCount"],n);let i=t_(e,["raiMediaFilteredReasons"]);return null!=i&&ty(t,["raiMediaFilteredReasons"],i),t}(a)),r=t}else{let t,n,i,o,s,a;t={},null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["metadata"]))&&ty(t,["metadata"],i),null!=(o=t_(e,["done"]))&&ty(t,["done"],o),null!=(s=t_(e,["error"]))&&ty(t,["error"],s),null!=(a=t_(e,["response","generateVideoResponse"]))&&ty(t,["response"],function(e){let t={},r=t_(e,["generatedSamples"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["video"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["uri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["encodedVideo"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["encoding"]))&&ty(i,["mimeType"],a),i)),r})),ty(t,["generatedVideos"],e)}let n=t_(e,["raiMediaFilteredCount"]);null!=n&&ty(t,["raiMediaFilteredCount"],n);let i=t_(e,["raiMediaFilteredReasons"]);return null!=i&&ty(t,["raiMediaFilteredReasons"],i),t}(a)),r=t}return Object.assign(n,r),n}}class tU{}class tD{}class tM{}class tL{}class tj{}class tG{}class tF{}class tq{_fromAPIResponse({apiResponse:e,_isVertexAI:t}){var r;let n,i,o,s,a,l,u,c,d,p,h=new tq;return Object.assign(h,(a={},null!=(l=t_(e,["name"]))&&ty(a,["name"],l),null!=(u=t_(e,["metadata"]))&&ty(a,["metadata"],u),null!=(c=t_(e,["done"]))&&ty(a,["done"],c),null!=(d=t_(e,["error"]))&&ty(a,["error"],d),null!=(p=t_(e,["response"]))&&ty(a,["response"],(n={},null!=(i=t_(r=p,["sdkHttpResponse"]))&&ty(n,["sdkHttpResponse"],i),null!=(o=t_(r,["parent"]))&&ty(n,["parent"],o),null!=(s=t_(r,["documentName"]))&&ty(n,["documentName"],s),n)),a)),h}}class tH{}class tB{}class tV{}class t${}class tJ{}class tW{get text(){var e,t,r;let n="",i=!1,o=[];for(let s of null!=(r=null==(t=null==(e=this.serverContent)?void 0:e.modelTurn)?void 0:t.parts)?r:[]){for(let[e,t]of Object.entries(s))"text"!==e&&"thought"!==e&&null!==t&&o.push(e);if("string"==typeof s.text){if("boolean"==typeof s.thought&&s.thought)continue;i=!0,n+=s.text}}return o.length>0&&console.warn(`there are non-text parts ${o} in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.`),i?n:void 0}get data(){var e,t,r;let n="",i=[];for(let o of null!=(r=null==(t=null==(e=this.serverContent)?void 0:e.modelTurn)?void 0:t.parts)?r:[]){for(let[e,t]of Object.entries(o))"inlineData"!==e&&null!==t&&i.push(e);o.inlineData&&"string"==typeof o.inlineData.data&&(n+=atob(o.inlineData.data))}return i.length>0&&console.warn(`there are non-data parts ${i} in the response, returning concatenation of all data parts. Please refer to the non data parts for a full response from model.`),n.length>0?btoa(n):void 0}}class tK{get audioChunk(){if(this.serverContent&&this.serverContent.audioChunks&&this.serverContent.audioChunks.length>0)return this.serverContent.audioChunks[0]}}class tY{_fromAPIResponse({apiResponse:e,_isVertexAI:t}){let r=new tY;return Object.assign(r,tv(e)),r}}function tz(e,t){if(!t||"string"!=typeof t)throw Error("model is required and must be a string");if(t.includes("..")||t.includes("?")||t.includes("&"))throw Error("invalid model parameter");if(e.isVertexAI())if(t.startsWith("publishers/")||t.startsWith("projects/")||t.startsWith("models/"))return t;else{if(!(t.indexOf("/")>=0))return`publishers/google/models/${t}`;let e=t.split("/",2);return`publishers/${e[0]}/models/${e[1]}`}return t.startsWith("models/")||t.startsWith("tunedModels/")?t:`models/${t}`}function tX(e,t){let r=tz(e,t);return r?r.startsWith("publishers/")&&e.isVertexAI()?`projects/${e.getProject()}/locations/${e.getLocation()}/${r}`:r.startsWith("models/")&&e.isVertexAI()?`projects/${e.getProject()}/locations/${e.getLocation()}/publishers/google/${r}`:r:""}function tQ(e){return Array.isArray(e)?e.map(e=>tZ(e)):[tZ(e)]}function tZ(e){if("object"==typeof e&&null!==e)return e;throw Error(`Could not parse input as Blob. Unsupported blob type: ${typeof e}`)}function t0(e){let t=tZ(e);if(t.mimeType&&t.mimeType.startsWith("image/"))return t;throw Error(`Unsupported mime type: ${t.mimeType}`)}function t1(e){let t=tZ(e);if(t.mimeType&&t.mimeType.startsWith("audio/"))return t;throw Error(`Unsupported mime type: ${t.mimeType}`)}function t2(e){if(null==e)throw Error("PartUnion is required");if("object"==typeof e)return e;if("string"==typeof e)return{text:e};throw Error(`Unsupported part type: ${typeof e}`)}function t4(e){if(null==e||Array.isArray(e)&&0===e.length)throw Error("PartListUnion is required");return Array.isArray(e)?e.map(e=>t2(e)):[t2(e)]}function t6(e){return null!=e&&"object"==typeof e&&"parts"in e&&Array.isArray(e.parts)}function t8(e){return null!=e&&"object"==typeof e&&"functionCall"in e}function t5(e){return null!=e&&"object"==typeof e&&"functionResponse"in e}function t3(e){if(null==e)throw Error("ContentUnion is required");return t6(e)?e:{role:"user",parts:t4(e)}}function t9(e,t){if(!t)return[];if(e.isVertexAI()&&Array.isArray(t))return t.flatMap(e=>{let t=t3(e);return t.parts&&t.parts.length>0&&void 0!==t.parts[0].text?[t.parts[0].text]:[]});if(e.isVertexAI()){let e=t3(t);return e.parts&&e.parts.length>0&&void 0!==e.parts[0].text?[e.parts[0].text]:[]}return Array.isArray(t)?t.map(e=>t3(e)):[t3(t)]}function t7(e){if(null==e||Array.isArray(e)&&0===e.length)throw Error("contents are required");if(!Array.isArray(e)){if(t8(e)||t5(e))throw Error("To specify functionCall or functionResponse parts, please wrap them in a Content object, specifying the role for them");return[t3(e)]}let t=[],r=[],n=t6(e[0]);for(let i of e){let e=t6(i);if(e!=n)throw Error("Mixing Content and Parts is not supported, please group the parts into a the appropriate Content objects and specify the roles for them");if(e)t.push(i);else if(t8(i)||t5(i))throw Error("To specify functionCall or functionResponse parts, please wrap them, and any other parts, in Content objects as appropriate, specifying the role for them");else r.push(i)}return n||t.push({role:"user",parts:t4(r)}),t}function re(e){let t={},r=["items"],n=["anyOf"],i=["properties"];if(e.type&&e.anyOf)throw Error("type and anyOf cannot be both populated.");let o=e.anyOf;for(let[s,a]of(null!=o&&2==o.length&&("null"===o[0].type?(t.nullable=!0,e=o[1]):"null"===o[1].type&&(t.nullable=!0,e=o[0])),e.type instanceof Array&&function(e,t){e.includes("null")&&(t.nullable=!0);let r=e.filter(e=>"null"!==e);if(1===r.length)t.type=Object.values(ef).includes(r[0].toUpperCase())?r[0].toUpperCase():ef.TYPE_UNSPECIFIED;else for(let e of(t.anyOf=[],r))t.anyOf.push({type:Object.values(ef).includes(e.toUpperCase())?e.toUpperCase():ef.TYPE_UNSPECIFIED})}(e.type,t),Object.entries(e)))if(null!=a)if("type"==s){if("null"===a)throw Error("type: null can not be the only possible type for the field.");if(a instanceof Array)continue;t.type=Object.values(ef).includes(a.toUpperCase())?a.toUpperCase():ef.TYPE_UNSPECIFIED}else if(r.includes(s))t[s]=re(a);else if(n.includes(s)){let e=[];for(let r of a){if("null"==r.type){t.nullable=!0;continue}e.push(re(r))}t[s]=e}else if(i.includes(s)){let e={};for(let[t,r]of Object.entries(a))e[t]=re(r);t[s]=e}else{if("additionalProperties"===s)continue;t[s]=a}return t}function rt(e){if("object"==typeof e)return e;if("string"==typeof e)return{voiceConfig:{prebuiltVoiceConfig:{voiceName:e}}};throw Error(`Unsupported speechConfig type: ${typeof e}`)}function rr(e){if("multiSpeakerVoiceConfig"in e)throw Error("multiSpeakerVoiceConfig is not supported in the live API.");return e}function rn(e){if(e.functionDeclarations)for(let t of e.functionDeclarations)t.parameters&&(Object.keys(t.parameters).includes("$schema")?t.parametersJsonSchema||(t.parametersJsonSchema=t.parameters,delete t.parameters):t.parameters=re(t.parameters)),t.response&&(Object.keys(t.response).includes("$schema")?t.responseJsonSchema||(t.responseJsonSchema=t.response,delete t.response):t.response=re(t.response));return e}function ri(e){if(null==e)throw Error("tools is required");if(!Array.isArray(e))throw Error("tools is required and must be an array of Tools");let t=[];for(let r of e)t.push(r);return t}function ro(e,t){if("string"!=typeof t)throw Error("name must be a string");return function(e,t,r,n=1){let i=!t.startsWith(`${r}/`)&&t.split("/").length===n;if(e.isVertexAI())if(t.startsWith("projects/"))return t;else if(t.startsWith("locations/"))return`projects/${e.getProject()}/${t}`;else if(t.startsWith(`${r}/`))return`projects/${e.getProject()}/locations/${e.getLocation()}/${t}`;else if(i)return`projects/${e.getProject()}/locations/${e.getLocation()}/${r}/${t}`;else return t;return i?`${r}/${t}`:t}(e,t,"cachedContents")}function rs(e){switch(e){case"STATE_UNSPECIFIED":return"JOB_STATE_UNSPECIFIED";case"CREATING":return"JOB_STATE_RUNNING";case"ACTIVE":return"JOB_STATE_SUCCEEDED";case"FAILED":return"JOB_STATE_FAILED";default:return e}}function ra(e){return null!=e&&"object"==typeof e&&"video"in e}function rl(e){return null!=e&&"object"==typeof e&&"uri"in e}function ru(e){var t;let r;if(null!=e&&"object"==typeof e&&"name"in e&&(r=e.name),!rl(e)||void 0!==(r=e.uri)){if(!ra(e)||void 0!==(r=null==(t=e.video)?void 0:t.uri)){if("string"==typeof e&&(r=e),void 0===r)throw Error("Could not extract file name from the provided input.");if(r.startsWith("https://")){let e=r.split("files/")[1].match(/[a-z0-9]+/);if(null===e)throw Error(`Could not extract file name from URI ${r}`);r=e[0]}else r.startsWith("files/")&&(r=r.split("files/")[1]);return r}}}function rc(e,t){return e.isVertexAI()?t?"publishers/google/models":"models":t?"models":"tunedModels"}function rd(e){for(let n of["models","tunedModels","publisherModels"]){var t,r;if(t=e,r=n,null!==t&&"object"==typeof t&&r in t)return e[n]}return[]}function rp(e,t){let r;if("string"==typeof t)if(e.isVertexAI())if(t.startsWith("gs://"))r={format:"jsonl",gcsUri:[t]};else if(t.startsWith("bq://"))r={format:"bigquery",bigqueryUri:t};else throw Error(`Unsupported string source for Vertex AI: ${t}`);else if(t.startsWith("files/"))r={fileName:t};else throw Error(`Unsupported string source for Gemini API: ${t}`);else if(Array.isArray(t)){if(e.isVertexAI())throw Error("InlinedRequest[] is not supported in Vertex AI.");r={inlinedRequests:t}}else r=t;let n=[r.gcsUri,r.bigqueryUri].filter(Boolean).length,i=[r.inlinedRequests,r.fileName].filter(Boolean).length;if(e.isVertexAI()){if(i>0||1!==n)throw Error("Exactly one of `gcsUri` or `bigqueryUri` must be set for Vertex AI.")}else if(n>0||1!==i)throw Error("Exactly one of `inlinedRequests`, `fileName`, must be set for Gemini API.");return r}function rh(e){if("object"!=typeof e||null===e)return{};let t=e.inlinedResponses;if("object"!=typeof t||null===t)return e;let r=t.inlinedResponses;if(!Array.isArray(r)||0===r.length)return e;let n=!1;for(let e of r){if("object"!=typeof e||null===e)continue;let t=e.response;if("object"==typeof t&&null!==t&&void 0!==t.embedding){n=!0;break}}return n&&(e.inlinedEmbedContentResponses=e.inlinedResponses,delete e.inlinedResponses),e}function rf(e,t){if(!e.isVertexAI()){if(/batches\/[^/]+$/.test(t))return t.split("/").pop();throw Error(`Invalid batch job name: ${t}.`)}if(/^projects\/[^/]+\/locations\/[^/]+\/batchPredictionJobs\/[^/]+$/.test(t))return t.split("/").pop();if(/^\d+$/.test(t))return t;throw Error(`Invalid batch job name: ${t}.`)}function rm(e){if("BATCH_STATE_UNSPECIFIED"===e)return"JOB_STATE_UNSPECIFIED";if("BATCH_STATE_PENDING"===e)return"JOB_STATE_PENDING";if("BATCH_STATE_RUNNING"===e)return"JOB_STATE_RUNNING";if("BATCH_STATE_SUCCEEDED"===e)return"JOB_STATE_SUCCEEDED";if("BATCH_STATE_FAILED"===e)return"JOB_STATE_FAILED";else if("BATCH_STATE_CANCELLED"===e)return"JOB_STATE_CANCELLED";else if("BATCH_STATE_EXPIRED"===e)return"JOB_STATE_EXPIRED";else return e}function rg(e){let t={},r=t_(e,["name"]);null!=r&&ty(t,["name"],r);let n=t_(e,["metadata","displayName"]);null!=n&&ty(t,["displayName"],n);let i=t_(e,["metadata","state"]);null!=i&&ty(t,["state"],rm(i));let o=t_(e,["metadata","createTime"]);null!=o&&ty(t,["createTime"],o);let s=t_(e,["metadata","endTime"]);null!=s&&ty(t,["endTime"],s);let a=t_(e,["metadata","updateTime"]);null!=a&&ty(t,["updateTime"],a);let l=t_(e,["metadata","model"]);null!=l&&ty(t,["model"],l);let u=t_(e,["metadata","output"]);return null!=u&&ty(t,["dest"],function(e){let t={},r=t_(e,["responsesFile"]);null!=r&&ty(t,["fileName"],r);let n=t_(e,["inlinedResponses","inlinedResponses"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o;return r={},null!=(n=t_(t=e,["response"]))&&ty(r,["response"],function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["candidates"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["content"]);null!=r&&ty(t,["content"],r);let n=t_(e,["citationMetadata"]);null!=n&&ty(t,["citationMetadata"],function(e){let t={},r=t_(e,["citationSources"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["citations"],e)}return t}(n));let i=t_(e,["tokenCount"]);null!=i&&ty(t,["tokenCount"],i);let o=t_(e,["finishReason"]);null!=o&&ty(t,["finishReason"],o);let s=t_(e,["groundingMetadata"]);null!=s&&ty(t,["groundingMetadata"],s);let a=t_(e,["avgLogprobs"]);null!=a&&ty(t,["avgLogprobs"],a);let l=t_(e,["index"]);null!=l&&ty(t,["index"],l);let u=t_(e,["logprobsResult"]);null!=u&&ty(t,["logprobsResult"],u);let c=t_(e,["safetyRatings"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["safetyRatings"],e)}let d=t_(e,["urlContextMetadata"]);return null!=d&&ty(t,["urlContextMetadata"],d),t})(e))),ty(t,["candidates"],e)}let i=t_(e,["modelVersion"]);null!=i&&ty(t,["modelVersion"],i);let o=t_(e,["promptFeedback"]);null!=o&&ty(t,["promptFeedback"],o);let s=t_(e,["responseId"]);null!=s&&ty(t,["responseId"],s);let a=t_(e,["usageMetadata"]);return null!=a&&ty(t,["usageMetadata"],a),t}(n)),null!=(i=t_(t,["metadata"]))&&ty(r,["metadata"],i),null!=(o=t_(t,["error"]))&&ty(r,["error"],o),r})),ty(t,["inlinedResponses"],e)}let i=t_(e,["inlinedEmbedContentResponses","inlinedResponses"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["inlinedEmbedContentResponses"],e)}return t}(rh(u))),t}function ry(e){var t,r;let n,i,o,s,a,l,u,c,d={},p=t_(e,["name"]);null!=p&&ty(d,["name"],p);let h=t_(e,["displayName"]);null!=h&&ty(d,["displayName"],h);let f=t_(e,["state"]);null!=f&&ty(d,["state"],rm(f));let m=t_(e,["error"]);null!=m&&ty(d,["error"],m);let g=t_(e,["createTime"]);null!=g&&ty(d,["createTime"],g);let y=t_(e,["startTime"]);null!=y&&ty(d,["startTime"],y);let _=t_(e,["endTime"]);null!=_&&ty(d,["endTime"],_);let E=t_(e,["updateTime"]);null!=E&&ty(d,["updateTime"],E);let v=t_(e,["model"]);null!=v&&ty(d,["model"],v);let T=t_(e,["inputConfig"]);null!=T&&ty(d,["src"],(n={},null!=(i=t_(r=T,["instancesFormat"]))&&ty(n,["format"],i),null!=(o=t_(r,["gcsSource","uris"]))&&ty(n,["gcsUri"],o),null!=(s=t_(r,["bigquerySource","inputUri"]))&&ty(n,["bigqueryUri"],s),n));let A=t_(e,["outputConfig"]);null!=A&&ty(d,["dest"],(t=rh(A),a={},null!=(l=t_(t,["predictionsFormat"]))&&ty(a,["format"],l),null!=(u=t_(t,["gcsDestination","outputUriPrefix"]))&&ty(a,["gcsUri"],u),null!=(c=t_(t,["bigqueryDestination","outputUri"]))&&ty(a,["bigqueryUri"],c),a));let S=t_(e,["completionStats"]);return null!=S&&ty(d,["completionStats"],S),d}function r_(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}function rE(e,t){let r={},n=t_(t,["model"]);null!=n&&ty(r,["_url","model"],tz(e,n));let i=t_(t,["src"]);null!=i&&ty(r,["batch","inputConfig"],function(e,t){let r={};if(void 0!==t_(t,["format"]))throw Error("format parameter is not supported in Gemini API.");if(void 0!==t_(t,["gcsUri"]))throw Error("gcsUri parameter is not supported in Gemini API.");if(void 0!==t_(t,["bigqueryUri"]))throw Error("bigqueryUri parameter is not supported in Gemini API.");let n=t_(t,["fileName"]);null!=n&&ty(r,["fileName"],n);let i=t_(t,["inlinedRequests"]);if(null!=i){let t=i;Array.isArray(t)&&(t=t.map(t=>(function(e,t){let r={},n=t_(t,["model"]);null!=n&&ty(r,["request","model"],tz(e,n));let i=t_(t,["contents"]);if(null!=i){let e=t7(i);Array.isArray(e)&&(e=e.map(e=>r_(e))),ty(r,["request","contents"],e)}let o=t_(t,["metadata"]);null!=o&&ty(r,["metadata"],o);let s=t_(t,["config"]);return null!=s&&ty(r,["request","generationConfig"],function(e,t,r){var n;let i,o,s,a={},l=t_(t,["systemInstruction"]);void 0!==r&&null!=l&&ty(r,["systemInstruction"],r_(t3(l)));let u=t_(t,["temperature"]);null!=u&&ty(a,["temperature"],u);let c=t_(t,["topP"]);null!=c&&ty(a,["topP"],c);let d=t_(t,["topK"]);null!=d&&ty(a,["topK"],d);let p=t_(t,["candidateCount"]);null!=p&&ty(a,["candidateCount"],p);let h=t_(t,["maxOutputTokens"]);null!=h&&ty(a,["maxOutputTokens"],h);let f=t_(t,["stopSequences"]);null!=f&&ty(a,["stopSequences"],f);let m=t_(t,["responseLogprobs"]);null!=m&&ty(a,["responseLogprobs"],m);let g=t_(t,["logprobs"]);null!=g&&ty(a,["logprobs"],g);let y=t_(t,["presencePenalty"]);null!=y&&ty(a,["presencePenalty"],y);let _=t_(t,["frequencyPenalty"]);null!=_&&ty(a,["frequencyPenalty"],_);let E=t_(t,["seed"]);null!=E&&ty(a,["seed"],E);let v=t_(t,["responseMimeType"]);null!=v&&ty(a,["responseMimeType"],v);let T=t_(t,["responseSchema"]);null!=T&&ty(a,["responseSchema"],re(T));let A=t_(t,["responseJsonSchema"]);if(null!=A&&ty(a,["responseJsonSchema"],A),void 0!==t_(t,["routingConfig"]))throw Error("routingConfig parameter is not supported in Gemini API.");if(void 0!==t_(t,["modelSelectionConfig"]))throw Error("modelSelectionConfig parameter is not supported in Gemini API.");let S=t_(t,["safetySettings"]);if(void 0!==r&&null!=S){let e=S;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["category"]);if(null!=r&&ty(t,["category"],r),void 0!==t_(e,["method"]))throw Error("method parameter is not supported in Gemini API.");let n=t_(e,["threshold"]);return null!=n&&ty(t,["threshold"],n),t})(e))),ty(r,["safetySettings"],e)}let b=t_(t,["tools"]);if(void 0!==r&&null!=b){let e=ri(b);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(rn(e)))),ty(r,["tools"],e)}let C=t_(t,["toolConfig"]);if(void 0!==r&&null!=C&&ty(r,["toolConfig"],(i={},null!=(o=t_(n=C,["retrievalConfig"]))&&ty(i,["retrievalConfig"],o),null!=(s=t_(n,["functionCallingConfig"]))&&ty(i,["functionCallingConfig"],function(e){let t={},r=t_(e,["allowedFunctionNames"]);null!=r&&ty(t,["allowedFunctionNames"],r);let n=t_(e,["mode"]);if(null!=n&&ty(t,["mode"],n),void 0!==t_(e,["streamFunctionCallArguments"]))throw Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return t}(s)),i)),void 0!==t_(t,["labels"]))throw Error("labels parameter is not supported in Gemini API.");let O=t_(t,["cachedContent"]);void 0!==r&&null!=O&&ty(r,["cachedContent"],ro(e,O));let I=t_(t,["responseModalities"]);null!=I&&ty(a,["responseModalities"],I);let w=t_(t,["mediaResolution"]);null!=w&&ty(a,["mediaResolution"],w);let R=t_(t,["speechConfig"]);if(null!=R&&ty(a,["speechConfig"],rt(R)),void 0!==t_(t,["audioTimestamp"]))throw Error("audioTimestamp parameter is not supported in Gemini API.");let N=t_(t,["thinkingConfig"]);null!=N&&ty(a,["thinkingConfig"],N);let k=t_(t,["imageConfig"]);null!=k&&ty(a,["imageConfig"],function(e){let t={},r=t_(e,["aspectRatio"]);null!=r&&ty(t,["aspectRatio"],r);let n=t_(e,["imageSize"]);if(null!=n&&ty(t,["imageSize"],n),void 0!==t_(e,["personGeneration"]))throw Error("personGeneration parameter is not supported in Gemini API.");if(void 0!==t_(e,["prominentPeople"]))throw Error("prominentPeople parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputMimeType"]))throw Error("outputMimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputCompressionQuality"]))throw Error("outputCompressionQuality parameter is not supported in Gemini API.");return t}(k));let P=t_(t,["enableEnhancedCivicAnswers"]);if(null!=P&&ty(a,["enableEnhancedCivicAnswers"],P),void 0!==t_(t,["modelArmorConfig"]))throw Error("modelArmorConfig parameter is not supported in Gemini API.");return a}(e,s,t_(r,["request"],{}))),r})(e,t))),ty(r,["requests","requests"],t)}return r}(e,rp(e,i)));let o=t_(t,["config"]);return null!=o&&function(e,t){let r=t_(e,["displayName"]);if(void 0!==t&&null!=r&&ty(t,["batch","displayName"],r),void 0!==t_(e,["dest"]))throw Error("dest parameter is not supported in Gemini API.")}(o,r),r}(ec=ts||(ts={})).PAGED_ITEM_BATCH_JOBS="batchJobs",ec.PAGED_ITEM_MODELS="models",ec.PAGED_ITEM_TUNING_JOBS="tuningJobs",ec.PAGED_ITEM_FILES="files",ec.PAGED_ITEM_CACHED_CONTENTS="cachedContents",ec.PAGED_ITEM_FILE_SEARCH_STORES="fileSearchStores",ec.PAGED_ITEM_DOCUMENTS="documents";class rv{constructor(e,t,r,n){this.pageInternal=[],this.paramsInternal={},this.requestInternal=t,this.init(e,r,n)}init(e,t,r){var n,i;this.nameInternal=e,this.pageInternal=t[this.nameInternal]||[],this.sdkHttpResponseInternal=null==t?void 0:t.sdkHttpResponse,this.idxInternal=0;let o={config:{}};(o=r&&0!==Object.keys(r).length?"object"==typeof r?Object.assign({},r):r:{config:{}}).config&&(o.config.pageToken=t.nextPageToken),this.paramsInternal=o,this.pageInternalSize=null!=(i=null==(n=o.config)?void 0:n.pageSize)?i:this.pageInternal.length}initNextPage(e){this.init(this.nameInternal,e,this.paramsInternal)}get page(){return this.pageInternal}get name(){return this.nameInternal}get pageSize(){return this.pageInternalSize}get sdkHttpResponse(){return this.sdkHttpResponseInternal}get params(){return this.paramsInternal}get pageLength(){return this.pageInternal.length}getItem(e){return this.pageInternal[e]}[Symbol.asyncIterator](){return{next:async()=>{if(this.idxInternal>=this.pageLength)if(!this.hasNextPage())return{value:void 0,done:!0};else await this.nextPage();let e=this.getItem(this.idxInternal);return this.idxInternal+=1,{value:e,done:!1}},return:async()=>({value:void 0,done:!0})}}async nextPage(){if(!this.hasNextPage())throw Error("No more pages to fetch.");let e=await this.requestInternal(this.params);return this.initNextPage(e),this.page}hasNextPage(){var e;return(null==(e=this.params.config)?void 0:e.pageToken)!==void 0}}class rT extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_BATCH_JOBS,e=>this.listInternal(e),await this.listInternal(e),e),this.create=async e=>(this.apiClient.isVertexAI()&&(e.config=this.formatDestination(e.src,e.config)),this.createInternal(e)),this.createEmbeddings=async e=>{if(console.warn("batches.createEmbeddings() is experimental and may change without notice."),this.apiClient.isVertexAI())throw Error("Vertex AI does not support batches.createEmbeddings.");return this.createEmbeddingsInternal(e)}}createInlinedGenerateContentRequest(e){let t=rE(this.apiClient,e),r=tg("{model}:batchGenerateContent",t._url),n=t.batch.inputConfig.requests,i=n.requests,o=[];for(let e of i){let t=Object.assign({},e);if(t.systemInstruction){let e=t.systemInstruction;delete t.systemInstruction;let r=t.request;r.systemInstruction=e,t.request=r}o.push(t)}return n.requests=o,delete t.config,delete t._url,delete t._query,{path:r,body:t}}getGcsUri(e){return"string"==typeof e?e.startsWith("gs://")?e:void 0:!Array.isArray(e)&&e.gcsUri&&e.gcsUri.length>0?e.gcsUri[0]:void 0}getBigqueryUri(e){return"string"==typeof e?e.startsWith("bq://")?e:void 0:Array.isArray(e)?void 0:e.bigqueryUri}formatDestination(e,t){let r=t?Object.assign({},t):{},n=Date.now().toString();if(r.displayName||(r.displayName=`genaiBatchJob_${n}`),void 0===r.dest){let t=this.getGcsUri(e),i=this.getBigqueryUri(e);if(t)t.endsWith(".jsonl")?r.dest=`${t.slice(0,-6)}/dest`:r.dest=`${t}_dest_${n}`;else if(i)r.dest=`${i}_dest_${n}`;else throw Error("Unsupported source for Vertex AI: No GCS or BigQuery URI found.")}return r}async createInternal(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI()){let n,i,l,u,c,d,p=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["model"],tz(o,i)),null!=(l=t_(e,["src"]))&&ty(n,["inputConfig"],function(e){let t={},r=t_(e,["format"]);null!=r&&ty(t,["instancesFormat"],r);let n=t_(e,["gcsUri"]);null!=n&&ty(t,["gcsSource","uris"],n);let i=t_(e,["bigqueryUri"]);if(null!=i&&ty(t,["bigquerySource","inputUri"],i),void 0!==t_(e,["fileName"]))throw Error("fileName parameter is not supported in Vertex AI.");if(void 0!==t_(e,["inlinedRequests"]))throw Error("inlinedRequests parameter is not supported in Vertex AI.");return t}(rp(o,l))),null!=(u=t_(e,["config"]))&&(c=t_(u,["displayName"]),void 0!==n&&null!=c&&ty(n,["displayName"],c),d=t_(u,["dest"]),void 0!==n&&null!=d&&ty(n,["outputConfig"],function(e){let t={},r=t_(e,["format"]);null!=r&&ty(t,["predictionsFormat"],r);let n=t_(e,["gcsUri"]);null!=n&&ty(t,["gcsDestination","outputUriPrefix"],n);let i=t_(e,["bigqueryUri"]);if(null!=i&&ty(t,["bigqueryDestination","outputUri"],i),void 0!==t_(e,["fileName"]))throw Error("fileName parameter is not supported in Vertex AI.");if(void 0!==t_(e,["inlinedResponses"]))throw Error("inlinedResponses parameter is not supported in Vertex AI.");if(void 0!==t_(e,["inlinedEmbedContentResponses"]))throw Error("inlinedEmbedContentResponses parameter is not supported in Vertex AI.");return t}(function(e){if("string"!=typeof e)return e;if(e.startsWith("gs://"))return{format:"jsonl",gcsUri:e};if(e.startsWith("bq://"))return{format:"bigquery",bigqueryUri:e};throw Error(`Unsupported destination: ${e}`)}(d)))),n);return s=tg("batchPredictionJobs",p._url),a=p._query,delete p._url,delete p._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(p),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>ry(e))}{let t=rE(this.apiClient,e);return s=tg("{model}:batchGenerateContent",t._url),a=t._query,delete t._url,delete t._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rg(e))}}async createEmbeddingsInternal(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let l,u,c,d,p,h,f,m,g=(n=this.apiClient,d={},null!=(p=t_(e,["model"]))&&ty(d,["_url","model"],tz(n,p)),null!=(h=t_(e,["src"]))&&ty(d,["batch","inputConfig"],(i=n,l={},null!=(u=t_(o=h,["fileName"]))&&ty(l,["file_name"],u),null!=(c=t_(o,["inlinedRequests"]))&&ty(l,["requests"],function(e,t){let r={},n=t_(t,["contents"]);if(null!=n){let t=t9(e,n);Array.isArray(t)&&(t=t.map(e=>e)),ty(r,["requests[]","request","content"],t)}let i=t_(t,["config"]);return null!=i&&(ty(r,["_self"],function(e,t){let r=t_(e,["taskType"]);void 0!==t&&null!=r&&ty(t,["requests[]","taskType"],r);let n=t_(e,["title"]);void 0!==t&&null!=n&&ty(t,["requests[]","title"],n);let i=t_(e,["outputDimensionality"]);if(void 0!==t&&null!=i&&ty(t,["requests[]","outputDimensionality"],i),void 0!==t_(e,["mimeType"]))throw Error("mimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["autoTruncate"]))throw Error("autoTruncate parameter is not supported in Gemini API.");return{}}(i,r)),!function(e,t){for(let[r,n]of Object.entries(t)){let t=r.split("."),i=n.split("."),o=new Set,s=-1;for(let e=0;es)for(let e=s;e=r.length||"object"!=typeof t||null===t)return;let s=r[i];if(s.endsWith("[]")){let a=s.slice(0,-2);if(a in t&&Array.isArray(t[a]))for(let s of t[a])e(s,r,n,i+1,o)}else if("*"===s){if("object"==typeof t&&null!==t&&!Array.isArray(t)){let e=Object.keys(t).filter(e=>!e.startsWith("_")&&!o.has(e)),r={};for(let n of e)r[n]=t[n];for(let[e,o]of Object.entries(r)){let r=[];for(let t of n.slice(i))"*"===t?r.push(e):r.push(t);ty(t,r,o)}for(let r of e)delete t[r]}}else s in t&&e(t[s],r,n,i+1,o)}(e,t,i,0,o)}}(r,{"requests[].*":"requests[].request.*"})),r}(i,c)),l)),null!=(f=t_(e,["config"]))&&(m=t_(f,["displayName"]),void 0!==d&&null!=m&&ty(d,["batch","displayName"],m)),d);return s=tg("{model}:asyncBatchEmbedContent",g._url),a=g._query,delete g._url,delete g._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(g),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>rg(e))}}async get(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],rf(o,i)),n);return a=tg("batchPredictionJobs/{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>ry(e))}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],rf(s,r)),t);return a=tg("batches/{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rg(e))}}async cancel(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],rf(o,i)),n);a=tg("batchPredictionJobs/{name}:cancel",s._url),l=s._query,delete s._url,delete s._query,await this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal})}else{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],rf(s,r)),t);a=tg("batches/{name}:cancel",o._url),l=o._query,delete o._url,delete o._query,await this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal})}}async listInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a,l,u,c=(n={},null!=(i=t_(e,["config"]))&&(a=t_(i,["pageSize"]),void 0!==n&&null!=a&&ty(n,["_query","pageSize"],a),l=t_(i,["pageToken"]),void 0!==n&&null!=l&&ty(n,["_query","pageToken"],l),u=t_(i,["filter"]),void 0!==n&&null!=u&&ty(n,["_query","filter"],u)),n);return o=tg("batchPredictionJobs",c._url),s=c._query,delete c._url,delete c._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["batchPredictionJobs"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>ry(e))),ty(t,["batchJobs"],e)}return t}(e),r=new tJ;return Object.assign(r,t),r})}{let t,r,a=(t={},null!=(r=t_(e,["config"]))&&function(e,t){let r=t_(e,["pageSize"]);void 0!==t&&null!=r&&ty(t,["_query","pageSize"],r);let n=t_(e,["pageToken"]);if(void 0!==t&&null!=n&&ty(t,["_query","pageToken"],n),void 0!==t_(e,["filter"]))throw Error("filter parameter is not supported in Gemini API.")}(r,t),t);return o=tg("batches",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["operations"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rg(e))),ty(t,["batchJobs"],e)}return t}(e),r=new tJ;return Object.assign(r,t),r})}}async delete(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],rf(o,i)),n);return a=tg("batchPredictionJobs/{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o;return t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),t})}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],rf(s,r)),t);return a=tg("batches/{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"DELETE",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o;return t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),t})}}}function rA(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}class rS extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_CACHED_CONTENTS,e=>this.listInternal(e),await this.listInternal(e),e)}async create(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["model"],tX(o,i)),null!=(s=t_(e,["config"]))&&function(e,t){let r=t_(e,["ttl"]);void 0!==t&&null!=r&&ty(t,["ttl"],r);let n=t_(e,["expireTime"]);void 0!==t&&null!=n&&ty(t,["expireTime"],n);let i=t_(e,["displayName"]);void 0!==t&&null!=i&&ty(t,["displayName"],i);let o=t_(e,["contents"]);if(void 0!==t&&null!=o){let e=t7(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["contents"],e)}let s=t_(e,["systemInstruction"]);void 0!==t&&null!=s&&ty(t,["systemInstruction"],t3(s));let a=t_(e,["tools"]);if(void 0!==t&&null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["retrieval"]);null!=r&&ty(t,["retrieval"],r);let n=t_(e,["computerUse"]);if(null!=n&&ty(t,["computerUse"],n),void 0!==t_(e,["fileSearch"]))throw Error("fileSearch parameter is not supported in Vertex AI.");let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],i);let o=t_(e,["codeExecution"]);null!=o&&ty(t,["codeExecution"],o);let s=t_(e,["enterpriseWebSearch"]);null!=s&&ty(t,["enterpriseWebSearch"],s);let a=t_(e,["functionDeclarations"]);if(null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["description"]);null!=r&&ty(t,["description"],r);let n=t_(e,["name"]);null!=n&&ty(t,["name"],n);let i=t_(e,["parameters"]);null!=i&&ty(t,["parameters"],i);let o=t_(e,["parametersJsonSchema"]);null!=o&&ty(t,["parametersJsonSchema"],o);let s=t_(e,["response"]);null!=s&&ty(t,["response"],s);let a=t_(e,["responseJsonSchema"]);if(null!=a&&ty(t,["responseJsonSchema"],a),void 0!==t_(e,["behavior"]))throw Error("behavior parameter is not supported in Vertex AI.");return t})(e))),ty(t,["functionDeclarations"],e)}let l=t_(e,["googleMaps"]);null!=l&&ty(t,["googleMaps"],l);let u=t_(e,["googleSearchRetrieval"]);null!=u&&ty(t,["googleSearchRetrieval"],u);let c=t_(e,["urlContext"]);if(null!=c&&ty(t,["urlContext"],c),void 0!==t_(e,["mcpServers"]))throw Error("mcpServers parameter is not supported in Vertex AI.");return t})(e))),ty(t,["tools"],e)}let l=t_(e,["toolConfig"]);void 0!==t&&null!=l&&ty(t,["toolConfig"],l);let u=t_(e,["kmsKeyName"]);void 0!==t&&null!=u&&ty(t,["encryption_spec","kmsKeyName"],u)}(s,n),n);return a=tg("cachedContents",u._url),l=u._query,delete u._url,delete u._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(u),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}{let t,r,o,u=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["model"],tX(s,r)),null!=(o=t_(e,["config"]))&&function(e,t){var r;let n,i,o,s=t_(e,["ttl"]);void 0!==t&&null!=s&&ty(t,["ttl"],s);let a=t_(e,["expireTime"]);void 0!==t&&null!=a&&ty(t,["expireTime"],a);let l=t_(e,["displayName"]);void 0!==t&&null!=l&&ty(t,["displayName"],l);let u=t_(e,["contents"]);if(void 0!==t&&null!=u){let e=t7(u);Array.isArray(e)&&(e=e.map(e=>rA(e))),ty(t,["contents"],e)}let c=t_(e,["systemInstruction"]);void 0!==t&&null!=c&&ty(t,["systemInstruction"],rA(t3(c)));let d=t_(e,["tools"]);if(void 0!==t&&null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(e))),ty(t,["tools"],e)}let p=t_(e,["toolConfig"]);if(void 0!==t&&null!=p&&ty(t,["toolConfig"],(n={},null!=(i=t_(r=p,["retrievalConfig"]))&&ty(n,["retrievalConfig"],i),null!=(o=t_(r,["functionCallingConfig"]))&&ty(n,["functionCallingConfig"],function(e){let t={},r=t_(e,["allowedFunctionNames"]);null!=r&&ty(t,["allowedFunctionNames"],r);let n=t_(e,["mode"]);if(null!=n&&ty(t,["mode"],n),void 0!==t_(e,["streamFunctionCallArguments"]))throw Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return t}(o)),n)),void 0!==t_(e,["kmsKeyName"]))throw Error("kmsKeyName parameter is not supported in Gemini API.")}(o,t),t);return a=tg("cachedContents",u._url),l=u._query,delete u._url,delete u._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(u),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>e)}}async get(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],ro(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],ro(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],ro(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tM;return Object.assign(i,n),i})}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],ro(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"DELETE",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tM;return Object.assign(i,n),i})}}async update(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d=(o=this.apiClient,n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],ro(o,i)),null!=(s=t_(e,["config"]))&&(u=t_(s,["ttl"]),void 0!==n&&null!=u&&ty(n,["ttl"],u),c=t_(s,["expireTime"]),void 0!==n&&null!=c&&ty(n,["expireTime"],c)),n);return a=tg("{name}",d._url),l=d._query,delete d._url,delete d._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(d),httpMethod:"PATCH",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}{let t,r,o,u,c,d=(s=this.apiClient,t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],ro(s,r)),null!=(o=t_(e,["config"]))&&(u=t_(o,["ttl"]),void 0!==t&&null!=u&&ty(t,["ttl"],u),c=t_(o,["expireTime"]),void 0!==t&&null!=c&&ty(t,["expireTime"],c)),t);return a=tg("{name}",d._url),l=d._query,delete d._url,delete d._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(d),httpMethod:"PATCH",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>e)}}async listInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a,l,u=(n={},null!=(i=t_(e,["config"]))&&(a=t_(i,["pageSize"]),void 0!==n&&null!=a&&ty(n,["_query","pageSize"],a),l=t_(i,["pageToken"]),void 0!==n&&null!=l&&ty(n,["_query","pageToken"],l)),n);return o=tg("cachedContents",u._url),s=u._query,delete u._url,delete u._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["cachedContents"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["cachedContents"],e)}return t}(e),r=new tL;return Object.assign(r,t),r})}{let t,r,a,l,u=(t={},null!=(r=t_(e,["config"]))&&(a=t_(r,["pageSize"]),void 0!==t&&null!=a&&ty(t,["_query","pageSize"],a),l=t_(r,["pageToken"]),void 0!==t&&null!=l&&ty(t,["_query","pageToken"],l)),t);return o=tg("cachedContents",u._url),s=u._query,delete u._url,delete u._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["cachedContents"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["cachedContents"],e)}return t}(e),r=new tL;return Object.assign(r,t),r})}}}function rb(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function rC(e){return this instanceof rC?(this.v=e,this):new rC(e)}function rO(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function s(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{var r;(r=i[e](t)).value instanceof rC?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function rI(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){var o,s,a;o=n,s=i,a=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:a})},s)})}}}function rw(e){if(void 0===e.parts||0===e.parts.length)return!1;for(let t of e.parts)if(void 0===t||0===Object.keys(t).length)return!1;return!0}function rR(e){if(void 0===e||0===e.length)return[];let t=[],r=e.length,n=0;for(;n{var e,t,i;let o=await n,s=null==(t=null==(e=o.candidates)?void 0:e[0])?void 0:t.content,a=o.automaticFunctionCallingHistory,l=this.getHistory(!0).length,u=[];null!=a&&(u=null!=(i=a.slice(l))?i:[]),this.recordHistory(r,s?[s]:[],u)})(),await this.sendPromise.catch(()=>{this.sendPromise=Promise.resolve()}),n}async sendMessageStream(e){var t;await this.sendPromise;let r=t3(e.message),n=this.modelsModule.generateContentStream({model:this.model,contents:this.getHistory(!0).concat(r),config:null!=(t=e.config)?t:this.config});this.sendPromise=n.then(()=>void 0).catch(()=>void 0);let i=await n;return this.processStreamResponse(i,r)}getHistory(e=!1){return structuredClone(e?rR(this.history):this.history)}processStreamResponse(e,t){return rO(this,arguments,function*(){let r=[];try{for(var n,i,o,s,a,l,u,c=!0,d=rI(e);!(n=(u=yield rC(d.next())).done);c=!0){if(s=u.value,c=!1,function(e){var t;if(void 0==e.candidates||0===e.candidates.length)return!1;let r=null==(t=e.candidates[0])?void 0:t.content;return void 0!==r&&rw(r)}(s)){let e=null==(l=null==(a=s.candidates)?void 0:a[0])?void 0:l.content;void 0!==e&&r.push(e)}yield yield rC(s)}}catch(e){i={error:e}}finally{try{!c&&!n&&(o=d.return)&&(yield rC(o.call(d)))}finally{if(i)throw i.error}}this.recordHistory(t,r)})}recordHistory(e,t,r){let n=[];t.length>0&&t.every(e=>void 0!==e.role)?n=t:n.push({role:"model",parts:[]}),r&&r.length>0?this.history.push(...rR(r)):this.history.push(e),this.history.push(...n)}}class rP extends Error{constructor(e){super(e.message),this.name="ApiError",this.status=e.status,Object.setPrototypeOf(this,rP.prototype)}}class rx extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_FILES,e=>this.listInternal(e),await this.listInternal(e),e)}async upload(e){if(this.apiClient.isVertexAI())throw Error("Vertex AI does not support uploading files. You can share files through a GCS bucket.");return this.apiClient.uploadFile(e.file,e.config).then(e=>e)}async download(e){await this.apiClient.downloadFile(e)}async registerFiles(e){throw Error("registerFiles is only supported in Node.js environments.")}async _registerFiles(e){return this.registerFilesInternal(e)}async listInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["config"]))&&(a=t_(s,["pageSize"]),void 0!==o&&null!=a&&ty(o,["_query","pageSize"],a),l=t_(s,["pageToken"]),void 0!==o&&null!=l&&ty(o,["_query","pageToken"],l)),o);return n=tg("files",u._url),i=u._query,delete u._url,delete u._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["files"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["files"],e)}return t}(e),r=new tH;return Object.assign(r,t),r})}}async createInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["file"]))&&ty(o,["file"],s),o);return n=tg("upload/v1beta/files",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tB;return Object.assign(i,n),i})}}async get(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","file"],ru(s)),o);return n=tg("files/{file}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","file"],ru(s)),o);return n=tg("files/{file}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tV;return Object.assign(i,n),i})}}async registerFilesInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["uris"]))&&ty(o,["uris"],s),o);return n=tg("files:register",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["files"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["files"],e)}return t}(e),r=new t$;return Object.assign(r,t),r})}}}function rU(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}function rD(e,t){let r={},n=t_(e,["parts"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e,t){let r={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["fileUri"]);null!=n&&ty(r,["fileUri"],n);let i=t_(e,["mimeType"]);return null!=i&&ty(r,["mimeType"],i),r}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e,t){let r={},n=t_(e,["id"]);null!=n&&ty(r,["id"],n);let i=t_(e,["args"]);null!=i&&ty(r,["args"],i);let o=t_(e,["name"]);if(null!=o&&ty(r,["name"],o),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return r}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e,t){let r={},n=t_(e,["data"]);if(null!=n&&ty(r,["data"],n),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let i=t_(e,["mimeType"]);return null!=i&&ty(r,["mimeType"],i),r}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(r,["parts"],e)}let i=t_(e,["role"]);return null!=i&&ty(r,["role"],i),r}function rM(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t7(o);Array.isArray(e)&&(e=e.map(e=>rD(e))),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&ty(n,["generationConfig"],function(e,t,r,n){var i;let o,s,a,l={},u=t_(t,["systemInstruction"]);void 0!==r&&null!=u&&ty(r,["systemInstruction"],rD(t3(u)));let c=t_(t,["temperature"]);null!=c&&ty(l,["temperature"],c);let d=t_(t,["topP"]);null!=d&&ty(l,["topP"],d);let p=t_(t,["topK"]);null!=p&&ty(l,["topK"],p);let h=t_(t,["candidateCount"]);null!=h&&ty(l,["candidateCount"],h);let f=t_(t,["maxOutputTokens"]);null!=f&&ty(l,["maxOutputTokens"],f);let m=t_(t,["stopSequences"]);null!=m&&ty(l,["stopSequences"],m);let g=t_(t,["responseLogprobs"]);null!=g&&ty(l,["responseLogprobs"],g);let y=t_(t,["logprobs"]);null!=y&&ty(l,["logprobs"],y);let _=t_(t,["presencePenalty"]);null!=_&&ty(l,["presencePenalty"],_);let E=t_(t,["frequencyPenalty"]);null!=E&&ty(l,["frequencyPenalty"],E);let v=t_(t,["seed"]);null!=v&&ty(l,["seed"],v);let T=t_(t,["responseMimeType"]);null!=T&&ty(l,["responseMimeType"],T);let A=t_(t,["responseSchema"]);null!=A&&ty(l,["responseSchema"],re(A));let S=t_(t,["responseJsonSchema"]);if(null!=S&&ty(l,["responseJsonSchema"],S),void 0!==t_(t,["routingConfig"]))throw Error("routingConfig parameter is not supported in Gemini API.");if(void 0!==t_(t,["modelSelectionConfig"]))throw Error("modelSelectionConfig parameter is not supported in Gemini API.");let b=t_(t,["safetySettings"]);if(void 0!==r&&null!=b){let e=b;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["category"]);if(null!=n&&ty(r,["category"],n),void 0!==t_(e,["method"]))throw Error("method parameter is not supported in Gemini API.");let i=t_(e,["threshold"]);return null!=i&&ty(r,["threshold"],i),r})(e))),ty(r,["safetySettings"],e)}let C=t_(t,["tools"]);if(void 0!==r&&null!=C){let e=ri(C);Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let n=t_(e,["computerUse"]);null!=n&&ty(r,["computerUse"],n);let i=t_(e,["fileSearch"]);null!=i&&ty(r,["fileSearch"],i);let o=t_(e,["googleSearch"]);null!=o&&ty(r,["googleSearch"],function(e,t){let r={},n=t_(e,["searchTypes"]);if(null!=n&&ty(r,["searchTypes"],n),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let i=t_(e,["timeRangeFilter"]);return null!=i&&ty(r,["timeRangeFilter"],i),r}(o));let s=t_(e,["codeExecution"]);if(null!=s&&ty(r,["codeExecution"],s),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let a=t_(e,["functionDeclarations"]);if(null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["functionDeclarations"],e)}let l=t_(e,["googleMaps"]);null!=l&&ty(r,["googleMaps"],function(e,t){let r={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let n=t_(e,["enableWidget"]);return null!=n&&ty(r,["enableWidget"],n),r}(l));let u=t_(e,["googleSearchRetrieval"]);null!=u&&ty(r,["googleSearchRetrieval"],u);let c=t_(e,["urlContext"]);null!=c&&ty(r,["urlContext"],c);let d=t_(e,["mcpServers"]);if(null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["mcpServers"],e)}return r})(rn(e)))),ty(r,["tools"],e)}let O=t_(t,["toolConfig"]);if(void 0!==r&&null!=O&&ty(r,["toolConfig"],(o={},null!=(s=t_(i=O,["retrievalConfig"]))&&ty(o,["retrievalConfig"],s),null!=(a=t_(i,["functionCallingConfig"]))&&ty(o,["functionCallingConfig"],function(e,t){let r={},n=t_(e,["allowedFunctionNames"]);null!=n&&ty(r,["allowedFunctionNames"],n);let i=t_(e,["mode"]);if(null!=i&&ty(r,["mode"],i),void 0!==t_(e,["streamFunctionCallArguments"]))throw Error("streamFunctionCallArguments parameter is not supported in Gemini API.");return r}(a)),o)),void 0!==t_(t,["labels"]))throw Error("labels parameter is not supported in Gemini API.");let I=t_(t,["cachedContent"]);void 0!==r&&null!=I&&ty(r,["cachedContent"],ro(e,I));let w=t_(t,["responseModalities"]);null!=w&&ty(l,["responseModalities"],w);let R=t_(t,["mediaResolution"]);null!=R&&ty(l,["mediaResolution"],R);let N=t_(t,["speechConfig"]);if(null!=N&&ty(l,["speechConfig"],rt(N)),void 0!==t_(t,["audioTimestamp"]))throw Error("audioTimestamp parameter is not supported in Gemini API.");let k=t_(t,["thinkingConfig"]);null!=k&&ty(l,["thinkingConfig"],k);let P=t_(t,["imageConfig"]);null!=P&&ty(l,["imageConfig"],function(e,t){let r={},n=t_(e,["aspectRatio"]);null!=n&&ty(r,["aspectRatio"],n);let i=t_(e,["imageSize"]);if(null!=i&&ty(r,["imageSize"],i),void 0!==t_(e,["personGeneration"]))throw Error("personGeneration parameter is not supported in Gemini API.");if(void 0!==t_(e,["prominentPeople"]))throw Error("prominentPeople parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputMimeType"]))throw Error("outputMimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputCompressionQuality"]))throw Error("outputCompressionQuality parameter is not supported in Gemini API.");return r}(P));let x=t_(t,["enableEnhancedCivicAnswers"]);if(null!=x&&ty(l,["enableEnhancedCivicAnswers"],x),void 0!==t_(t,["modelArmorConfig"]))throw Error("modelArmorConfig parameter is not supported in Gemini API.");return l}(e,s,n)),n}function rL(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t7(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&ty(n,["generationConfig"],function(e,t,r,n){var i;let o,s,a,l,u,c,d,p={},h=t_(t,["systemInstruction"]);void 0!==r&&null!=h&&ty(r,["systemInstruction"],t3(h));let f=t_(t,["temperature"]);null!=f&&ty(p,["temperature"],f);let m=t_(t,["topP"]);null!=m&&ty(p,["topP"],m);let g=t_(t,["topK"]);null!=g&&ty(p,["topK"],g);let y=t_(t,["candidateCount"]);null!=y&&ty(p,["candidateCount"],y);let _=t_(t,["maxOutputTokens"]);null!=_&&ty(p,["maxOutputTokens"],_);let E=t_(t,["stopSequences"]);null!=E&&ty(p,["stopSequences"],E);let v=t_(t,["responseLogprobs"]);null!=v&&ty(p,["responseLogprobs"],v);let T=t_(t,["logprobs"]);null!=T&&ty(p,["logprobs"],T);let A=t_(t,["presencePenalty"]);null!=A&&ty(p,["presencePenalty"],A);let S=t_(t,["frequencyPenalty"]);null!=S&&ty(p,["frequencyPenalty"],S);let b=t_(t,["seed"]);null!=b&&ty(p,["seed"],b);let C=t_(t,["responseMimeType"]);null!=C&&ty(p,["responseMimeType"],C);let O=t_(t,["responseSchema"]);null!=O&&ty(p,["responseSchema"],re(O));let I=t_(t,["responseJsonSchema"]);null!=I&&ty(p,["responseJsonSchema"],I);let w=t_(t,["routingConfig"]);null!=w&&ty(p,["routingConfig"],w);let R=t_(t,["modelSelectionConfig"]);null!=R&&ty(p,["modelConfig"],R);let N=t_(t,["safetySettings"]);if(void 0!==r&&null!=N){let e=N;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["safetySettings"],e)}let k=t_(t,["tools"]);if(void 0!==r&&null!=k){let e=ri(k);Array.isArray(e)&&(e=e.map(e=>rK(rn(e)))),ty(r,["tools"],e)}let P=t_(t,["toolConfig"]);void 0!==r&&null!=P&&ty(r,["toolConfig"],P);let x=t_(t,["labels"]);void 0!==r&&null!=x&&ty(r,["labels"],x);let U=t_(t,["cachedContent"]);void 0!==r&&null!=U&&ty(r,["cachedContent"],ro(e,U));let D=t_(t,["responseModalities"]);null!=D&&ty(p,["responseModalities"],D);let M=t_(t,["mediaResolution"]);null!=M&&ty(p,["mediaResolution"],M);let L=t_(t,["speechConfig"]);null!=L&&ty(p,["speechConfig"],rt(L));let j=t_(t,["audioTimestamp"]);null!=j&&ty(p,["audioTimestamp"],j);let G=t_(t,["thinkingConfig"]);null!=G&&ty(p,["thinkingConfig"],G);let F=t_(t,["imageConfig"]);if(null!=F&&ty(p,["imageConfig"],(o={},null!=(s=t_(i=F,["aspectRatio"]))&&ty(o,["aspectRatio"],s),null!=(a=t_(i,["imageSize"]))&&ty(o,["imageSize"],a),null!=(l=t_(i,["personGeneration"]))&&ty(o,["personGeneration"],l),null!=(u=t_(i,["prominentPeople"]))&&ty(o,["prominentPeople"],u),null!=(c=t_(i,["outputMimeType"]))&&ty(o,["imageOutputOptions","mimeType"],c),null!=(d=t_(i,["outputCompressionQuality"]))&&ty(o,["imageOutputOptions","compressionQuality"],d),o)),void 0!==t_(t,["enableEnhancedCivicAnswers"]))throw Error("enableEnhancedCivicAnswers parameter is not supported in Vertex AI.");let q=t_(t,["modelArmorConfig"]);return void 0!==r&&null!=q&&ty(r,["modelArmorConfig"],q),p}(e,s,n)),n}function rj(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["candidates"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["content"]);null!=n&&ty(r,["content"],n);let i=t_(e,["citationMetadata"]);null!=i&&ty(r,["citationMetadata"],function(e,t){let r={},n=t_(e,["citationSources"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["citations"],e)}return r}(i));let o=t_(e,["tokenCount"]);null!=o&&ty(r,["tokenCount"],o);let s=t_(e,["finishReason"]);null!=s&&ty(r,["finishReason"],s);let a=t_(e,["groundingMetadata"]);null!=a&&ty(r,["groundingMetadata"],a);let l=t_(e,["avgLogprobs"]);null!=l&&ty(r,["avgLogprobs"],l);let u=t_(e,["index"]);null!=u&&ty(r,["index"],u);let c=t_(e,["logprobsResult"]);null!=c&&ty(r,["logprobsResult"],c);let d=t_(e,["safetyRatings"]);if(null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["safetyRatings"],e)}let p=t_(e,["urlContextMetadata"]);return null!=p&&ty(r,["urlContextMetadata"],p),r})(e))),ty(r,["candidates"],e)}let o=t_(e,["modelVersion"]);null!=o&&ty(r,["modelVersion"],o);let s=t_(e,["promptFeedback"]);null!=s&&ty(r,["promptFeedback"],s);let a=t_(e,["responseId"]);null!=a&&ty(r,["responseId"],a);let l=t_(e,["usageMetadata"]);return null!=l&&ty(r,["usageMetadata"],l),r}function rG(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["candidates"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["candidates"],e)}let o=t_(e,["createTime"]);null!=o&&ty(r,["createTime"],o);let s=t_(e,["modelVersion"]);null!=s&&ty(r,["modelVersion"],s);let a=t_(e,["promptFeedback"]);null!=a&&ty(r,["promptFeedback"],a);let l=t_(e,["responseId"]);null!=l&&ty(r,["responseId"],l);let u=t_(e,["usageMetadata"]);return null!=u&&ty(r,["usageMetadata"],u),r}function rF(e,t){let r={},n=t_(e,["_self"]);null!=n&&ty(r,["image"],rq(n));let i=t_(e,["raiFilteredReason"]);null!=i&&ty(r,["raiFilteredReason"],i);let o=t_(e,["_self"]);null!=o&&ty(r,["safetyAttributes"],rW(o));let s=t_(e,["prompt"]);return null!=s&&ty(r,["enhancedPrompt"],s),r}function rq(e,t){let r={},n=t_(e,["gcsUri"]);null!=n&&ty(r,["gcsUri"],n);let i=t_(e,["bytesBase64Encoded"]);null!=i&&ty(r,["imageBytes"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["mimeType"],o),r}function rH(e,t){let r={};if(void 0!==t_(e,["gcsUri"]))throw Error("gcsUri parameter is not supported in Gemini API.");let n=t_(e,["imageBytes"]);null!=n&&ty(r,["bytesBase64Encoded"],tE(n));let i=t_(e,["mimeType"]);return null!=i&&ty(r,["mimeType"],i),r}function rB(e,t){let r={},n=t_(e,["gcsUri"]);null!=n&&ty(r,["gcsUri"],n);let i=t_(e,["imageBytes"]);null!=i&&ty(r,["bytesBase64Encoded"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["mimeType"],o),r}function rV(e,t){var r;let n,i,o,s,a={},l=t_(e,["name"]);null!=l&&ty(a,["name"],l);let u=t_(e,["displayName"]);null!=u&&ty(a,["displayName"],u);let c=t_(e,["description"]);null!=c&&ty(a,["description"],c);let d=t_(e,["version"]);null!=d&&ty(a,["version"],d);let p=t_(e,["_self"]);null!=p&&ty(a,["tunedModelInfo"],(n={},null!=(i=t_(r=p,["baseModel"]))&&ty(n,["baseModel"],i),null!=(o=t_(r,["createTime"]))&&ty(n,["createTime"],o),null!=(s=t_(r,["updateTime"]))&&ty(n,["updateTime"],s),n));let h=t_(e,["inputTokenLimit"]);null!=h&&ty(a,["inputTokenLimit"],h);let f=t_(e,["outputTokenLimit"]);null!=f&&ty(a,["outputTokenLimit"],f);let m=t_(e,["supportedGenerationMethods"]);null!=m&&ty(a,["supportedActions"],m);let g=t_(e,["temperature"]);null!=g&&ty(a,["temperature"],g);let y=t_(e,["maxTemperature"]);null!=y&&ty(a,["maxTemperature"],y);let _=t_(e,["topP"]);null!=_&&ty(a,["topP"],_);let E=t_(e,["topK"]);null!=E&&ty(a,["topK"],E);let v=t_(e,["thinking"]);return null!=v&&ty(a,["thinking"],v),a}function r$(e,t){var r;let n,i,o,s,a={},l=t_(e,["name"]);null!=l&&ty(a,["name"],l);let u=t_(e,["displayName"]);null!=u&&ty(a,["displayName"],u);let c=t_(e,["description"]);null!=c&&ty(a,["description"],c);let d=t_(e,["versionId"]);null!=d&&ty(a,["version"],d);let p=t_(e,["deployedModels"]);if(null!=p){let e=p;Array.isArray(e)&&(e=e.map(e=>{let t,r,n;return t={},null!=(r=t_(e,["endpoint"]))&&ty(t,["name"],r),null!=(n=t_(e,["deployedModelId"]))&&ty(t,["deployedModelId"],n),t})),ty(a,["endpoints"],e)}let h=t_(e,["labels"]);null!=h&&ty(a,["labels"],h);let f=t_(e,["_self"]);null!=f&&ty(a,["tunedModelInfo"],(n={},null!=(i=t_(r=f,["labels","google-vertex-llm-tuning-base-model-id"]))&&ty(n,["baseModel"],i),null!=(o=t_(r,["createTime"]))&&ty(n,["createTime"],o),null!=(s=t_(r,["updateTime"]))&&ty(n,["updateTime"],s),n));let m=t_(e,["defaultCheckpointId"]);null!=m&&ty(a,["defaultCheckpointId"],m);let g=t_(e,["checkpoints"]);if(null!=g){let e=g;Array.isArray(e)&&(e=e.map(e=>e)),ty(a,["checkpoints"],e)}return a}function rJ(e,t){let r={},n=t_(e,["safetyAttributes","categories"]);null!=n&&ty(r,["categories"],n);let i=t_(e,["safetyAttributes","scores"]);null!=i&&ty(r,["scores"],i);let o=t_(e,["contentType"]);return null!=o&&ty(r,["contentType"],o),r}function rW(e,t){let r={},n=t_(e,["safetyAttributes","categories"]);null!=n&&ty(r,["categories"],n);let i=t_(e,["safetyAttributes","scores"]);null!=i&&ty(r,["scores"],i);let o=t_(e,["contentType"]);return null!=o&&ty(r,["contentType"],o),r}function rK(e,t){let r={},n=t_(e,["retrieval"]);null!=n&&ty(r,["retrieval"],n);let i=t_(e,["computerUse"]);if(null!=i&&ty(r,["computerUse"],i),void 0!==t_(e,["fileSearch"]))throw Error("fileSearch parameter is not supported in Vertex AI.");let o=t_(e,["googleSearch"]);null!=o&&ty(r,["googleSearch"],o);let s=t_(e,["codeExecution"]);null!=s&&ty(r,["codeExecution"],s);let a=t_(e,["enterpriseWebSearch"]);null!=a&&ty(r,["enterpriseWebSearch"],a);let l=t_(e,["functionDeclarations"]);if(null!=l){let e=l;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["description"]);null!=n&&ty(r,["description"],n);let i=t_(e,["name"]);null!=i&&ty(r,["name"],i);let o=t_(e,["parameters"]);null!=o&&ty(r,["parameters"],o);let s=t_(e,["parametersJsonSchema"]);null!=s&&ty(r,["parametersJsonSchema"],s);let a=t_(e,["response"]);null!=a&&ty(r,["response"],a);let l=t_(e,["responseJsonSchema"]);if(null!=l&&ty(r,["responseJsonSchema"],l),void 0!==t_(e,["behavior"]))throw Error("behavior parameter is not supported in Vertex AI.");return r})(e))),ty(r,["functionDeclarations"],e)}let u=t_(e,["googleMaps"]);null!=u&&ty(r,["googleMaps"],u);let c=t_(e,["googleSearchRetrieval"]);null!=c&&ty(r,["googleSearchRetrieval"],c);let d=t_(e,["urlContext"]);if(null!=d&&ty(r,["urlContext"],d),void 0!==t_(e,["mcpServers"]))throw Error("mcpServers parameter is not supported in Vertex AI.");return r}function rY(e,t){let r={},n=t_(e,["uri"]);null!=n&&ty(r,["uri"],n);let i=t_(e,["videoBytes"]);null!=i&&ty(r,["encodedVideo"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["encoding"],o),r}function rz(e,t){let r={},n=t_(e,["uri"]);null!=n&&ty(r,["gcsUri"],n);let i=t_(e,["videoBytes"]);null!=i&&ty(r,["bytesBase64Encoded"],tE(i));let o=t_(e,["mimeType"]);return null!=o&&ty(r,["mimeType"],o),r}function rX(e,t){let r=t_(e,["mimeType"]);void 0!==t&&null!=r&&ty(t,["mimeType"],r);let n=t_(e,["displayName"]);void 0!==t&&null!=n&&ty(t,["displayName"],n);let i=t_(e,["customMetadata"]);if(void 0!==t&&null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["customMetadata"],e)}let o=t_(e,["chunkingConfig"]);return void 0!==t&&null!=o&&ty(t,["chunkingConfig"],o),{}}let rQ="x-goog-api-client",rZ=[408,429,500,502,503,504];class r0{constructor(e){var t,r,n;this.clientOptions=Object.assign({},e),this.customBaseUrl=null==(t=e.httpOptions)?void 0:t.baseUrl,this.clientOptions.vertexai&&(this.clientOptions.project&&this.clientOptions.location?this.clientOptions.apiKey=void 0:this.clientOptions.apiKey&&(this.clientOptions.project=void 0,this.clientOptions.location=void 0));const i={};if(this.clientOptions.vertexai){if(this.clientOptions.location||this.clientOptions.apiKey||this.customBaseUrl||(this.clientOptions.location="global"),!(this.clientOptions.project&&this.clientOptions.location||this.clientOptions.apiKey)&&!this.customBaseUrl)throw Error("Authentication is not set up. Please provide either a project and location, or an API key, or a custom base URL.");const t=e.project&&e.location||!!e.apiKey;this.customBaseUrl&&!t?(i.baseUrl=this.customBaseUrl,this.clientOptions.project=void 0,this.clientOptions.location=void 0):this.clientOptions.apiKey||"global"===this.clientOptions.location?i.baseUrl="https://aiplatform.googleapis.com/":this.clientOptions.project&&this.clientOptions.location&&(i.baseUrl=`https://${this.clientOptions.location}-aiplatform.googleapis.com/`),i.apiVersion=null!=(r=this.clientOptions.apiVersion)?r:"v1beta1"}else{if(!this.clientOptions.apiKey)throw new rP({message:"API key must be set when using the Gemini API.",status:403});i.apiVersion=null!=(n=this.clientOptions.apiVersion)?n:"v1beta",i.baseUrl="https://generativelanguage.googleapis.com/"}i.headers=this.getDefaultHeaders(),this.clientOptions.httpOptions=i,e.httpOptions&&(this.clientOptions.httpOptions=this.patchHttpOptions(i,e.httpOptions))}isVertexAI(){var e;return null!=(e=this.clientOptions.vertexai)&&e}getProject(){return this.clientOptions.project}getLocation(){return this.clientOptions.location}getCustomBaseUrl(){return this.customBaseUrl}async getAuthHeaders(){let e=new Headers;return await this.clientOptions.auth.addAuthHeaders(e),e}getApiVersion(){if(this.clientOptions.httpOptions&&void 0!==this.clientOptions.httpOptions.apiVersion)return this.clientOptions.httpOptions.apiVersion;throw Error("API version is not set.")}getBaseUrl(){if(this.clientOptions.httpOptions&&void 0!==this.clientOptions.httpOptions.baseUrl)return this.clientOptions.httpOptions.baseUrl;throw Error("Base URL is not set.")}getRequestUrl(){return this.getRequestUrlInternal(this.clientOptions.httpOptions)}getHeaders(){if(this.clientOptions.httpOptions&&void 0!==this.clientOptions.httpOptions.headers)return this.clientOptions.httpOptions.headers;throw Error("Headers are not set.")}getRequestUrlInternal(e){if(!e||void 0===e.baseUrl||void 0===e.apiVersion)throw Error("HTTP options are not correctly set.");let t=[e.baseUrl.endsWith("/")?e.baseUrl.slice(0,-1):e.baseUrl];return e.apiVersion&&""!==e.apiVersion&&t.push(e.apiVersion),t.join("/")}getBaseResourcePath(){return`projects/${this.clientOptions.project}/locations/${this.clientOptions.location}`}getApiKey(){return this.clientOptions.apiKey}getWebsocketBaseUrl(){let e=new URL(this.getBaseUrl());return e.protocol="http:"==e.protocol?"ws":"wss",e.toString()}setBaseUrl(e){if(this.clientOptions.httpOptions)this.clientOptions.httpOptions.baseUrl=e;else throw Error("HTTP options are not correctly set.")}constructUrl(e,t,r){let n=[this.getRequestUrlInternal(t)];return r&&n.push(this.getBaseResourcePath()),""!==e&&n.push(e),new URL(`${n.join("/")}`)}shouldPrependVertexProjectPath(e,t){return!(t.baseUrl&&t.baseUrlResourceScope===eG.COLLECTION||this.clientOptions.apiKey||!this.clientOptions.vertexai||e.path.startsWith("projects/")||"GET"===e.httpMethod&&e.path.startsWith("publishers/google/models"))}async request(e){let t=this.clientOptions.httpOptions;e.httpOptions&&(t=this.patchHttpOptions(this.clientOptions.httpOptions,e.httpOptions));let r=this.shouldPrependVertexProjectPath(e,t),n=this.constructUrl(e.path,t,r);if(e.queryParams)for(let[t,r]of Object.entries(e.queryParams))n.searchParams.append(t,String(r));let i={};if("GET"===e.httpMethod){if(e.body&&"{}"!==e.body)throw Error("Request body should be empty for GET request, but got non empty request body")}else i.body=e.body;return i=await this.includeExtraHttpOptionsToRequestInit(i,t,n.toString(),e.abortSignal),this.unaryApiCall(n,i,e.httpMethod)}patchHttpOptions(e,t){let r=JSON.parse(JSON.stringify(e));for(let[e,n]of Object.entries(t))"object"==typeof n?r[e]=Object.assign(Object.assign({},r[e]),n):void 0!==n&&(r[e]=n);return r}async requestStream(e){let t=this.clientOptions.httpOptions;e.httpOptions&&(t=this.patchHttpOptions(this.clientOptions.httpOptions,e.httpOptions));let r=this.shouldPrependVertexProjectPath(e,t),n=this.constructUrl(e.path,t,r);n.searchParams.has("alt")&&"sse"===n.searchParams.get("alt")||n.searchParams.set("alt","sse");let i={};return i.body=e.body,i=await this.includeExtraHttpOptionsToRequestInit(i,t,n.toString(),e.abortSignal),this.streamApiCall(n,i,e.httpMethod)}async includeExtraHttpOptionsToRequestInit(e,t,r,n){if(t&&t.timeout||n){let r=new AbortController,i=r.signal;if(t.timeout&&(null==t?void 0:t.timeout)>0){let e=setTimeout(()=>r.abort(),t.timeout);e&&"function"==typeof e.unref&&e.unref()}n&&n.addEventListener("abort",()=>{r.abort()}),e.signal=i}return t&&null!==t.extraBody&&function(e,t){if(!t||0===Object.keys(t).length)return;if(e.body instanceof Blob)return console.warn("includeExtraBodyToRequestInit: extraBody provided but current request body is a Blob. extraBody will be ignored as merging is not supported for Blob bodies.");let r={};if("string"==typeof e.body&&e.body.length>0)try{let t=JSON.parse(e.body);if("object"!=typeof t||null===t||Array.isArray(t))return void console.warn("includeExtraBodyToRequestInit: Original request body is valid JSON but not a non-array object. Skip applying extraBody to the request body.");r=t}catch(e){console.warn("includeExtraBodyToRequestInit: Original request body is not valid JSON. Skip applying extraBody to the request body.");return}e.body=JSON.stringify(function e(t,r){let n=Object.assign({},t);for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)){let i=r[t],o=n[t];i&&"object"==typeof i&&!Array.isArray(i)&&o&&"object"==typeof o&&!Array.isArray(o)?n[t]=e(o,i):(o&&i&&typeof o!=typeof i&&console.warn(`includeExtraBodyToRequestInit:deepMerge: Type mismatch for key "${t}". Original type: ${typeof o}, New type: ${typeof i}. Overwriting.`),n[t]=i)}return n}(r,t))}(e,t.extraBody),e.headers=await this.getHeadersInternal(t,r),e}async unaryApiCall(e,t,r){return this.apiCall(e.toString(),Object.assign(Object.assign({},t),{method:r})).then(async e=>(await r1(e),new tT(e))).catch(e=>{if(e instanceof Error)throw e;throw Error(JSON.stringify(e))})}async streamApiCall(e,t,r){return this.apiCall(e.toString(),Object.assign(Object.assign({},t),{method:r})).then(async e=>(await r1(e),this.processStreamResponse(e))).catch(e=>{if(e instanceof Error)throw e;throw Error(JSON.stringify(e))})}processStreamResponse(e){return rO(this,arguments,function*(){var t;let r=null==(t=null==e?void 0:e.body)?void 0:t.getReader(),n=new TextDecoder("utf-8");if(!r)throw Error("Response body is empty");try{let t="",i="data:",o=["\n\n","\r\r","\r\n\r\n"];for(;;){let{done:s,value:a}=yield rC(r.read());if(s){if(t.trim().length>0)throw Error("Incomplete JSON segment at the end");break}let l=n.decode(a,{stream:!0});try{let e=JSON.parse(l);if("error"in e){let t=JSON.parse(JSON.stringify(e.error)),r=t.status,n=t.code,i=`got status: ${r}. ${JSON.stringify(e)}`;if(n>=400&&n<600)throw new rP({message:i,status:n})}}catch(e){if("ApiError"===e.name)throw e}t+=l;let u=-1,c=0;for(;;){for(let e of(u=-1,c=0,o)){let r=t.indexOf(e);-1!==r&&(-1===u||r{let r=await fetch(e,t);if(r.ok)return r;if(rZ.includes(r.status))throw Error(`Retryable HTTP Error: ${r.statusText}`);throw new ta.AbortError(`Non-retryable exception ${r.statusText} sending request`)};return(0,ta.default)(i,{retries:(null!=(r=n.attempts)?r:5)-1})}getDefaultHeaders(){let e={},t="google-genai-sdk/1.43.0 "+this.clientOptions.userAgentExtra;return e["User-Agent"]=t,e[rQ]=t,e["Content-Type"]="application/json",e}async getHeadersInternal(e,t){let r=new Headers;if(e&&e.headers){for(let[t,n]of Object.entries(e.headers))r.append(t,n);e.timeout&&e.timeout>0&&r.append("X-Server-Timeout",String(Math.ceil(e.timeout/1e3)))}return await this.clientOptions.auth.addAuthHeaders(r,t),r}getFileName(e){var t;let r="";return"string"==typeof e&&(r=null!=(t=(r=e.replace(/[/\\]+$/,"")).split(/[/\\]/).pop())?t:""),r}async uploadFile(e,t){var r;let n={};null!=t&&(n.mimeType=t.mimeType,n.name=t.name,n.displayName=t.displayName),n.name&&!n.name.startsWith("files/")&&(n.name=`files/${n.name}`);let i=this.clientOptions.uploader,o=await i.stat(e);n.sizeBytes=String(o.size);let s=null!=(r=null==t?void 0:t.mimeType)?r:o.type;if(void 0===s||""===s)throw Error("Can not determine mimeType. Please provide mimeType in the config.");n.mimeType=s;let a={file:n},l=this.getFileName(e),u=tg("upload/v1beta/files",a._url),c=await this.fetchUploadUrl(u,n.sizeBytes,n.mimeType,l,a,null==t?void 0:t.httpOptions);return i.upload(e,c,this)}async uploadFileToFileSearchStore(e,t,r){var n;let i=this.clientOptions.uploader,o=await i.stat(t),s=String(o.size),a=null!=(n=null==r?void 0:r.mimeType)?n:o.type;if(void 0===a||""===a)throw Error("Can not determine mimeType. Please provide mimeType in the config.");let l=`upload/v1beta/${e}:uploadToFileSearchStore`,u=this.getFileName(t),c={};null!=r&&rX(r,c);let d=await this.fetchUploadUrl(l,s,a,u,c,null==r?void 0:r.httpOptions);return i.uploadToFileSearchStore(t,d,this)}async downloadFile(e){let t=this.clientOptions.downloader;await t.download(e,this)}async fetchUploadUrl(e,t,r,n,i,o){var s;let a={};a=o||{apiVersion:"",headers:Object.assign({"Content-Type":"application/json","X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":`${t}`,"X-Goog-Upload-Header-Content-Type":`${r}`},n?{"X-Goog-Upload-File-Name":n}:{})};let l=await this.request({path:e,body:JSON.stringify(i),httpMethod:"POST",httpOptions:a});if(!l||!(null==l?void 0:l.headers))throw Error("Server did not return an HttpResponse or the returned HttpResponse did not have headers.");let u=null==(s=null==l?void 0:l.headers)?void 0:s["x-goog-upload-url"];if(void 0===u)throw Error("Failed to get upload url. Server did not return the x-google-upload-url in the headers");return u}}async function r1(e){var t;if(void 0===e)throw Error("response is undefined");if(!e.ok){let r=e.status,n=JSON.stringify((null==(t=e.headers.get("content-type"))?void 0:t.includes("application/json"))?await e.json():{error:{message:await e.text(),code:e.status,status:e.statusText}});if(r>=400&&r<600)throw new rP({message:n,status:r});throw Error(n)}}function r2(e){for(let r of e){var t;if(null!==(t=r)&&"object"==typeof t&&t instanceof r6||"object"==typeof r&&"inputSchema"in r)return!0}return!1}function r4(e){var t;let r=null!=(t=e[rQ])?t:"";e[rQ]=(r+" mcp_used/unknown").trimStart()}class r6{constructor(e=[],t){this.mcpTools=[],this.functionNameToMcpClient={},this.mcpClients=e,this.config=t}static create(e,t){return new r6(e,t)}async initialize(){var e,t,r,n;if(this.mcpTools.length>0)return;let i={},o=[];for(let u of this.mcpClients)try{for(var s,a=!0,l=(t=void 0,rI(function(e){return rO(this,arguments,function*(e,t=100){let r,n=0;for(;n{},c=new Promise(e=>{u=e}),d=e.callbacks,p=this.apiClient,h={onopen:function(){u({})},onmessage:e=>{r8(p,d.onmessage,e)},onerror:null!=(t=null==d?void 0:d.onerror)?t:function(e){},onclose:null!=(r=null==d?void 0:d.onclose)?r:function(e){}},f=this.webSocketFactory.create(l,(n={},s.forEach((e,t)=>{n[t]=e}),n),h);f.connect(),await c;let m=tz(this.apiClient,e.model);return f.send(JSON.stringify({setup:{model:m}})),new r3(f,this.apiClient)}}class r3{constructor(e,t){this.conn=e,this.apiClient=t}async setWeightedPrompts(e){if(!e.weightedPrompts||0===Object.keys(e.weightedPrompts).length)throw Error("Weighted prompts must be set and contain at least one entry.");let t=function(e){let t={},r=t_(e,["weightedPrompts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["weightedPrompts"],e)}return t}(e);this.conn.send(JSON.stringify({clientContent:t}))}async setMusicGenerationConfig(e){let t,r;e.musicGenerationConfig||(e.musicGenerationConfig={});let n=(t={},null!=(r=t_(e,["musicGenerationConfig"]))&&ty(t,["musicGenerationConfig"],r),t);this.conn.send(JSON.stringify(n))}sendPlaybackControl(e){this.conn.send(JSON.stringify({playbackControl:e}))}play(){this.sendPlaybackControl(to.PLAY)}pause(){this.sendPlaybackControl(to.PAUSE)}stop(){this.sendPlaybackControl(to.STOP)}resetContext(){this.sendPlaybackControl(to.RESET_CONTEXT)}close(){this.conn.close()}}async function r9(e,t,r){let n=new tW,i=JSON.parse(r.data instanceof Blob?await r.data.text():r.data instanceof ArrayBuffer?new TextDecoder().decode(r.data):r.data);if(e.isVertexAI()){let e,t,r,o,s,a,l,u,c,d,p,h;Object.assign(n,(e={},null!=(t=t_(i,["setupComplete"]))&&ty(e,["setupComplete"],t),null!=(r=t_(i,["serverContent"]))&&ty(e,["serverContent"],r),null!=(o=t_(i,["toolCall"]))&&ty(e,["toolCall"],o),null!=(s=t_(i,["toolCallCancellation"]))&&ty(e,["toolCallCancellation"],s),null!=(a=t_(i,["usageMetadata"]))&&ty(e,["usageMetadata"],function(e){let t={},r=t_(e,["promptTokenCount"]);null!=r&&ty(t,["promptTokenCount"],r);let n=t_(e,["cachedContentTokenCount"]);null!=n&&ty(t,["cachedContentTokenCount"],n);let i=t_(e,["candidatesTokenCount"]);null!=i&&ty(t,["responseTokenCount"],i);let o=t_(e,["toolUsePromptTokenCount"]);null!=o&&ty(t,["toolUsePromptTokenCount"],o);let s=t_(e,["thoughtsTokenCount"]);null!=s&&ty(t,["thoughtsTokenCount"],s);let a=t_(e,["totalTokenCount"]);null!=a&&ty(t,["totalTokenCount"],a);let l=t_(e,["promptTokensDetails"]);if(null!=l){let e=l;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["promptTokensDetails"],e)}let u=t_(e,["cacheTokensDetails"]);if(null!=u){let e=u;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["cacheTokensDetails"],e)}let c=t_(e,["candidatesTokensDetails"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["responseTokensDetails"],e)}let d=t_(e,["toolUsePromptTokensDetails"]);if(null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["toolUsePromptTokensDetails"],e)}let p=t_(e,["trafficType"]);return null!=p&&ty(t,["trafficType"],p),t}(a)),null!=(l=t_(i,["goAway"]))&&ty(e,["goAway"],l),null!=(u=t_(i,["sessionResumptionUpdate"]))&&ty(e,["sessionResumptionUpdate"],u),null!=(c=t_(i,["voiceActivityDetectionSignal"]))&&ty(e,["voiceActivityDetectionSignal"],c),null!=(d=t_(i,["voiceActivity"]))&&ty(e,["voiceActivity"],(p={},null!=(h=t_(d,["type"]))&&ty(p,["voiceActivityType"],h),p)),e))}else Object.assign(n,i);t(n)}class r7{constructor(e,t,r){this.apiClient=e,this.auth=t,this.webSocketFactory=r,this.music=new r5(this.apiClient,this.auth,this.webSocketFactory)}async connect(e){var t,r,n,i,o,s,a,l;let u,c;if(e.config&&e.config.httpOptions)throw Error("The Live module does not support httpOptions at request-level in LiveConnectConfig yet. Please use the client-level httpOptions configuration instead.");let d=this.apiClient.getWebsocketBaseUrl(),p=this.apiClient.getApiVersion(),h=this.apiClient.getHeaders();e.config&&e.config.tools&&r2(e.config.tools)&&r4(h);let f=function(e){let t=new Headers;for(let[r,n]of Object.entries(e))t.append(r,n);return t}(h);if(this.apiClient.isVertexAI()){let e=this.apiClient.getProject(),t=this.apiClient.getLocation(),r=this.apiClient.getApiKey();this.apiClient.getCustomBaseUrl()&&!(e&&t||r)?u=d:(u=`${d}/ws/google.cloud.aiplatform.${p}.LlmBidiService/BidiGenerateContent`,await this.auth.addAuthHeaders(f,u))}else{let e=this.apiClient.getApiKey(),t="BidiGenerateContent",r="key";(null==e?void 0:e.startsWith("auth_tokens/"))&&(console.warn("Warning: Ephemeral token support is experimental and may change in future versions."),"v1alpha"!==p&&console.warn("Warning: The SDK's ephemeral token support is in v1alpha only. Please use const ai = new GoogleGenAI({apiKey: token.name, httpOptions: { apiVersion: 'v1alpha' }}); before session connection."),t="BidiGenerateContentConstrained",r="access_token"),u=`${d}/ws/google.ai.generativelanguage.${p}.GenerativeService.${t}?${r}=${e}`}let m=()=>{},g=new Promise(e=>{m=e}),y=e.callbacks,_=this.apiClient,E={onopen:function(){var e;null==(e=null==y?void 0:y.onopen)||e.call(y),m({})},onmessage:e=>{r9(_,y.onmessage,e)},onerror:null!=(t=null==y?void 0:y.onerror)?t:function(e){},onclose:null!=(r=null==y?void 0:y.onclose)?r:function(e){}},v=this.webSocketFactory.create(u,(c={},f.forEach((e,t)=>{c[t]=e}),c),E);v.connect(),await g;let T=tz(this.apiClient,e.model);if(this.apiClient.isVertexAI()&&T.startsWith("publishers/")){let e=this.apiClient.getProject(),t=this.apiClient.getLocation();e&&t&&(T=`projects/${e}/locations/${t}/`+T)}let A={};this.apiClient.isVertexAI()&&(null==(n=e.config)?void 0:n.responseModalities)===void 0&&(void 0===e.config?e.config={responseModalities:[eP.AUDIO]}:e.config.responseModalities=[eP.AUDIO]),(null==(i=e.config)?void 0:i.generationConfig)&&console.warn("Setting `LiveConnectConfig.generation_config` is deprecated, please set the fields on `LiveConnectConfig` directly. This will become an error in a future version (not before Q3 2025).");let S=null!=(s=null==(o=e.config)?void 0:o.tools)?s:[],b=[];for(let e of S)this.isCallableTool(e)?b.push(await e.tool()):b.push(e);b.length>0&&(e.config.tools=b);let C={model:T,config:e.config,callbacks:e.callbacks};if(this.apiClient.isVertexAI()){let e,t,r;a=this.apiClient,e={},null!=(t=t_(C,["model"]))&&ty(e,["setup","model"],tz(a,t)),null!=(r=t_(C,["config"]))&&ty(e,["config"],function(e,t){let r=t_(e,["generationConfig"]);void 0!==t&&null!=r&&ty(t,["setup","generationConfig"],function(e){let t={},r=t_(e,["modelSelectionConfig"]);null!=r&&ty(t,["modelConfig"],r);let n=t_(e,["responseJsonSchema"]);null!=n&&ty(t,["responseJsonSchema"],n);let i=t_(e,["audioTimestamp"]);null!=i&&ty(t,["audioTimestamp"],i);let o=t_(e,["candidateCount"]);null!=o&&ty(t,["candidateCount"],o);let s=t_(e,["enableAffectiveDialog"]);null!=s&&ty(t,["enableAffectiveDialog"],s);let a=t_(e,["frequencyPenalty"]);null!=a&&ty(t,["frequencyPenalty"],a);let l=t_(e,["logprobs"]);null!=l&&ty(t,["logprobs"],l);let u=t_(e,["maxOutputTokens"]);null!=u&&ty(t,["maxOutputTokens"],u);let c=t_(e,["mediaResolution"]);null!=c&&ty(t,["mediaResolution"],c);let d=t_(e,["presencePenalty"]);null!=d&&ty(t,["presencePenalty"],d);let p=t_(e,["responseLogprobs"]);null!=p&&ty(t,["responseLogprobs"],p);let h=t_(e,["responseMimeType"]);null!=h&&ty(t,["responseMimeType"],h);let f=t_(e,["responseModalities"]);null!=f&&ty(t,["responseModalities"],f);let m=t_(e,["responseSchema"]);null!=m&&ty(t,["responseSchema"],m);let g=t_(e,["routingConfig"]);null!=g&&ty(t,["routingConfig"],g);let y=t_(e,["seed"]);null!=y&&ty(t,["seed"],y);let _=t_(e,["speechConfig"]);null!=_&&ty(t,["speechConfig"],_);let E=t_(e,["stopSequences"]);null!=E&&ty(t,["stopSequences"],E);let v=t_(e,["temperature"]);null!=v&&ty(t,["temperature"],v);let T=t_(e,["thinkingConfig"]);null!=T&&ty(t,["thinkingConfig"],T);let A=t_(e,["topK"]);null!=A&&ty(t,["topK"],A);let S=t_(e,["topP"]);if(null!=S&&ty(t,["topP"],S),void 0!==t_(e,["enableEnhancedCivicAnswers"]))throw Error("enableEnhancedCivicAnswers parameter is not supported in Vertex AI.");return t}(r));let n=t_(e,["responseModalities"]);void 0!==t&&null!=n&&ty(t,["setup","generationConfig","responseModalities"],n);let i=t_(e,["temperature"]);void 0!==t&&null!=i&&ty(t,["setup","generationConfig","temperature"],i);let o=t_(e,["topP"]);void 0!==t&&null!=o&&ty(t,["setup","generationConfig","topP"],o);let s=t_(e,["topK"]);void 0!==t&&null!=s&&ty(t,["setup","generationConfig","topK"],s);let a=t_(e,["maxOutputTokens"]);void 0!==t&&null!=a&&ty(t,["setup","generationConfig","maxOutputTokens"],a);let l=t_(e,["mediaResolution"]);void 0!==t&&null!=l&&ty(t,["setup","generationConfig","mediaResolution"],l);let u=t_(e,["seed"]);void 0!==t&&null!=u&&ty(t,["setup","generationConfig","seed"],u);let c=t_(e,["speechConfig"]);void 0!==t&&null!=c&&ty(t,["setup","generationConfig","speechConfig"],rr(c));let d=t_(e,["thinkingConfig"]);void 0!==t&&null!=d&&ty(t,["setup","generationConfig","thinkingConfig"],d);let p=t_(e,["enableAffectiveDialog"]);void 0!==t&&null!=p&&ty(t,["setup","generationConfig","enableAffectiveDialog"],p);let h=t_(e,["systemInstruction"]);void 0!==t&&null!=h&&ty(t,["setup","systemInstruction"],t3(h));let f=t_(e,["tools"]);if(void 0!==t&&null!=f){let e=ri(f);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["retrieval"]);null!=r&&ty(t,["retrieval"],r);let n=t_(e,["computerUse"]);if(null!=n&&ty(t,["computerUse"],n),void 0!==t_(e,["fileSearch"]))throw Error("fileSearch parameter is not supported in Vertex AI.");let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],i);let o=t_(e,["codeExecution"]);null!=o&&ty(t,["codeExecution"],o);let s=t_(e,["enterpriseWebSearch"]);null!=s&&ty(t,["enterpriseWebSearch"],s);let a=t_(e,["functionDeclarations"]);if(null!=a){let e=a;Array.isArray(e)&&(e=e.map(e=>(function(e){let t={},r=t_(e,["description"]);null!=r&&ty(t,["description"],r);let n=t_(e,["name"]);null!=n&&ty(t,["name"],n);let i=t_(e,["parameters"]);null!=i&&ty(t,["parameters"],i);let o=t_(e,["parametersJsonSchema"]);null!=o&&ty(t,["parametersJsonSchema"],o);let s=t_(e,["response"]);null!=s&&ty(t,["response"],s);let a=t_(e,["responseJsonSchema"]);if(null!=a&&ty(t,["responseJsonSchema"],a),void 0!==t_(e,["behavior"]))throw Error("behavior parameter is not supported in Vertex AI.");return t})(e))),ty(t,["functionDeclarations"],e)}let l=t_(e,["googleMaps"]);null!=l&&ty(t,["googleMaps"],l);let u=t_(e,["googleSearchRetrieval"]);null!=u&&ty(t,["googleSearchRetrieval"],u);let c=t_(e,["urlContext"]);if(null!=c&&ty(t,["urlContext"],c),void 0!==t_(e,["mcpServers"]))throw Error("mcpServers parameter is not supported in Vertex AI.");return t})(rn(e)))),ty(t,["setup","tools"],e)}let m=t_(e,["sessionResumption"]);void 0!==t&&null!=m&&ty(t,["setup","sessionResumption"],m);let g=t_(e,["inputAudioTranscription"]);void 0!==t&&null!=g&&ty(t,["setup","inputAudioTranscription"],g);let y=t_(e,["outputAudioTranscription"]);void 0!==t&&null!=y&&ty(t,["setup","outputAudioTranscription"],y);let _=t_(e,["realtimeInputConfig"]);void 0!==t&&null!=_&&ty(t,["setup","realtimeInputConfig"],_);let E=t_(e,["contextWindowCompression"]);void 0!==t&&null!=E&&ty(t,["setup","contextWindowCompression"],E);let v=t_(e,["proactivity"]);void 0!==t&&null!=v&&ty(t,["setup","proactivity"],v);let T=t_(e,["explicitVadSignal"]);return void 0!==t&&null!=T&&ty(t,["setup","explicitVadSignal"],T),{}}(r,e)),A=e}else{let e,t,r;l=this.apiClient,e={},null!=(t=t_(C,["model"]))&&ty(e,["setup","model"],tz(l,t)),null!=(r=t_(C,["config"]))&&ty(e,["config"],function(e,t){let r=t_(e,["generationConfig"]);void 0!==t&&null!=r&&ty(t,["setup","generationConfig"],r);let n=t_(e,["responseModalities"]);void 0!==t&&null!=n&&ty(t,["setup","generationConfig","responseModalities"],n);let i=t_(e,["temperature"]);void 0!==t&&null!=i&&ty(t,["setup","generationConfig","temperature"],i);let o=t_(e,["topP"]);void 0!==t&&null!=o&&ty(t,["setup","generationConfig","topP"],o);let s=t_(e,["topK"]);void 0!==t&&null!=s&&ty(t,["setup","generationConfig","topK"],s);let a=t_(e,["maxOutputTokens"]);void 0!==t&&null!=a&&ty(t,["setup","generationConfig","maxOutputTokens"],a);let l=t_(e,["mediaResolution"]);void 0!==t&&null!=l&&ty(t,["setup","generationConfig","mediaResolution"],l);let u=t_(e,["seed"]);void 0!==t&&null!=u&&ty(t,["setup","generationConfig","seed"],u);let c=t_(e,["speechConfig"]);void 0!==t&&null!=c&&ty(t,["setup","generationConfig","speechConfig"],rr(c));let d=t_(e,["thinkingConfig"]);void 0!==t&&null!=d&&ty(t,["setup","generationConfig","thinkingConfig"],d);let p=t_(e,["enableAffectiveDialog"]);void 0!==t&&null!=p&&ty(t,["setup","generationConfig","enableAffectiveDialog"],p);let h=t_(e,["systemInstruction"]);void 0!==t&&null!=h&&ty(t,["setup","systemInstruction"],function(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],rU(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}(t3(h)));let f=t_(e,["tools"]);if(void 0!==t&&null!=f){let e=ri(f);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(rn(e)))),ty(t,["setup","tools"],e)}let m=t_(e,["sessionResumption"]);void 0!==t&&null!=m&&ty(t,["setup","sessionResumption"],function(e){let t={},r=t_(e,["handle"]);if(null!=r&&ty(t,["handle"],r),void 0!==t_(e,["transparent"]))throw Error("transparent parameter is not supported in Gemini API.");return t}(m));let g=t_(e,["inputAudioTranscription"]);void 0!==t&&null!=g&&ty(t,["setup","inputAudioTranscription"],g);let y=t_(e,["outputAudioTranscription"]);void 0!==t&&null!=y&&ty(t,["setup","outputAudioTranscription"],y);let _=t_(e,["realtimeInputConfig"]);void 0!==t&&null!=_&&ty(t,["setup","realtimeInputConfig"],_);let E=t_(e,["contextWindowCompression"]);void 0!==t&&null!=E&&ty(t,["setup","contextWindowCompression"],E);let v=t_(e,["proactivity"]);if(void 0!==t&&null!=v&&ty(t,["setup","proactivity"],v),void 0!==t_(e,["explicitVadSignal"]))throw Error("explicitVadSignal parameter is not supported in Gemini API.");return{}}(r,e)),A=e}return delete A.config,v.send(JSON.stringify(A)),new nt(v,this.apiClient)}isCallableTool(e){return"callTool"in e&&"function"==typeof e.callTool}}let ne={turnComplete:!0};class nt{constructor(e,t){this.conn=e,this.apiClient=t}tLiveClientContent(e,t){if(null!==t.turns&&void 0!==t.turns){let r=[];try{r=t7(t.turns),e.isVertexAI()||(r=r.map(e=>rD(e)))}catch(e){throw Error(`Failed to parse client content "turns", type: '${typeof t.turns}'`)}return{clientContent:{turns:r,turnComplete:t.turnComplete}}}return{clientContent:{turnComplete:t.turnComplete}}}tLiveClienttToolResponse(e,t){let r=[];if(null==t.functionResponses||0===(r=Array.isArray(t.functionResponses)?t.functionResponses:[t.functionResponses]).length)throw Error("functionResponses is required.");for(let t of r){if("object"!=typeof t||null===t||!("name"in t)||!("response"in t))throw Error(`Could not parse function response, type '${typeof t}'.`);if(!e.isVertexAI()&&!("id"in t))throw Error("FunctionResponse request must have an `id` field from the response of a ToolCall.FunctionalCalls in Google AI.")}return{toolResponse:{functionResponses:r}}}sendClientContent(e){e=Object.assign(Object.assign({},ne),e);let t=this.tLiveClientContent(this.apiClient,e);this.conn.send(JSON.stringify(t))}sendRealtimeInput(e){let t={};t=this.apiClient.isVertexAI()?{realtimeInput:function(e){let t={},r=t_(e,["media"]);if(null!=r){let e=tQ(r);Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mediaChunks"],e)}let n=t_(e,["audio"]);null!=n&&ty(t,["audio"],t1(n));let i=t_(e,["audioStreamEnd"]);null!=i&&ty(t,["audioStreamEnd"],i);let o=t_(e,["video"]);null!=o&&ty(t,["video"],t0(o));let s=t_(e,["text"]);null!=s&&ty(t,["text"],s);let a=t_(e,["activityStart"]);null!=a&&ty(t,["activityStart"],a);let l=t_(e,["activityEnd"]);return null!=l&&ty(t,["activityEnd"],l),t}(e)}:{realtimeInput:function(e){let t={},r=t_(e,["media"]);if(null!=r){let e=tQ(r);Array.isArray(e)&&(e=e.map(e=>rU(e))),ty(t,["mediaChunks"],e)}let n=t_(e,["audio"]);null!=n&&ty(t,["audio"],rU(t1(n)));let i=t_(e,["audioStreamEnd"]);null!=i&&ty(t,["audioStreamEnd"],i);let o=t_(e,["video"]);null!=o&&ty(t,["video"],rU(t0(o)));let s=t_(e,["text"]);null!=s&&ty(t,["text"],s);let a=t_(e,["activityStart"]);null!=a&&ty(t,["activityStart"],a);let l=t_(e,["activityEnd"]);return null!=l&&ty(t,["activityEnd"],l),t}(e)},this.conn.send(JSON.stringify(t))}sendToolResponse(e){if(null==e.functionResponses)throw Error("Tool response parameters are required.");let t=this.tLiveClienttToolResponse(this.apiClient,e);this.conn.send(JSON.stringify(t))}close(){this.conn.close()}}function nr(e){var t,r,n;if(null==(t=null==e?void 0:e.automaticFunctionCalling)?void 0:t.disable)return!0;let i=!1;for(let t of null!=(r=null==e?void 0:e.tools)?r:[])if(nn(t)){i=!0;break}if(!i)return!0;let o=null==(n=null==e?void 0:e.automaticFunctionCalling)?void 0:n.maximumRemoteCalls;return(!(!o||!(o<0)&&Number.isInteger(o))||0==o)&&(console.warn("Invalid maximumRemoteCalls value provided for automatic function calling. Disabled automatic function calling. Please provide a valid integer value greater than 0. maximumRemoteCalls provided:",o),!0)}function nn(e){return"callTool"in e&&"function"==typeof e.callTool}function ni(e){var t;let r=[];return(null==(t=null==e?void 0:e.config)?void 0:t.tools)&&e.config.tools.forEach((e,t)=>{nn(e)||e.functionDeclarations&&e.functionDeclarations.length>0&&r.push(t)}),r}function no(e){var t;return!(null==(t=null==e?void 0:e.automaticFunctionCalling)?void 0:t.ignoreCallHistory)}class ns extends tm{constructor(e){super(),this.apiClient=e,this.embedContent=async e=>{if(!this.apiClient.isVertexAI())return await this.embedContentInternal(e);if(e.model.includes("gemini")&&"gemini-embedding-001"!==e.model||e.model.includes("maas")){let t=t7(e.contents);if(t.length>1)throw Error("The embedContent API for this model only supports one content at a time.");let r=Object.assign(Object.assign({},e),{content:t[0],embeddingApiType:eB.EMBED_CONTENT});return await this.embedContentInternal(r)}{let t=Object.assign(Object.assign({},e),{embeddingApiType:eB.PREDICT});return await this.embedContentInternal(t)}},this.generateContent=async e=>{var t,r,n,i,o,s,a,l;let u,c,d=await this.processParamsMaybeAddMcpUsage(e);if(this.maybeMoveToResponseJsonSchem(e),!(null!=(l=null==(a=null==(s=e.config)?void 0:s.tools)?void 0:a.some(e=>nn(e)))&&l)||nr(e.config))return await this.generateContentInternal(d);let p=ni(e);if(p.length>0){let e=p.map(e=>`tools[${e}]`).join(", ");throw Error(`Automatic function calling with CallableTools (or MCP objects) and basic FunctionDeclarations is not yet supported. Incompatible tools found at ${e}.`)}let h=t7(d.contents),f=null!=(n=null==(r=null==(t=d.config)?void 0:t.automaticFunctionCalling)?void 0:r.maximumRemoteCalls)?n:10,m=0;for(;m{var t,r,n,i,o;if(this.maybeMoveToResponseJsonSchem(e),nr(e.config)){let t=await this.processParamsMaybeAddMcpUsage(e);return await this.generateContentStreamInternal(t)}let s=ni(e);if(s.length>0){let e=s.map(e=>`tools[${e}]`).join(", ");throw Error(`Incompatible tools found at ${e}. Automatic function calling with CallableTools (or MCP objects) and basic FunctionDeclarations" is not yet supported.`)}let a=null==(n=null==(r=null==(t=null==e?void 0:e.config)?void 0:t.toolConfig)?void 0:r.functionCallingConfig)?void 0:n.streamFunctionCallArguments,l=null==(o=null==(i=null==e?void 0:e.config)?void 0:i.automaticFunctionCalling)?void 0:o.disable;if(a&&!l)throw Error("Running in streaming mode with 'streamFunctionCallArguments' enabled, this feature is not compatible with automatic function calling (AFC). Please set 'config.automaticFunctionCalling.disable' to true to disable AFC or leave 'config.toolConfig.functionCallingConfig.streamFunctionCallArguments' to be undefined or set to false to disable streaming function call arguments feature.");return await this.processAfcStream(e)},this.generateImages=async e=>await this.generateImagesInternal(e).then(e=>{var t;let r,n=[];if(null==e?void 0:e.generatedImages)for(let i of e.generatedImages)i&&(null==i?void 0:i.safetyAttributes)&&(null==(t=null==i?void 0:i.safetyAttributes)?void 0:t.contentType)==="Positive Prompt"?r=null==i?void 0:i.safetyAttributes:n.push(i);return r?{generatedImages:n,positivePromptSafetyAttributes:r,sdkHttpResponse:e.sdkHttpResponse}:{generatedImages:n,sdkHttpResponse:e.sdkHttpResponse}}),this.list=async e=>{var t;let r={config:Object.assign(Object.assign({},{queryBase:!0}),null==e?void 0:e.config)};if(this.apiClient.isVertexAI()&&!r.config.queryBase)if(null==(t=r.config)?void 0:t.filter)throw Error("Filtering tuned models list for Vertex AI is not currently supported");else r.config.filter="labels.tune-type:*";return new rv(ts.PAGED_ITEM_MODELS,e=>this.listInternal(e),await this.listInternal(r),r)},this.editImage=async e=>{let t={model:e.model,prompt:e.prompt,referenceImages:[],config:e.config};return e.referenceImages&&e.referenceImages&&(t.referenceImages=e.referenceImages.map(e=>e.toReferenceImageAPI())),await this.editImageInternal(t)},this.upscaleImage=async e=>{let t={numberOfImages:1,mode:"upscale"};e.config&&(t=Object.assign(Object.assign({},t),e.config));let r={model:e.model,image:e.image,upscaleFactor:e.upscaleFactor,config:t};return await this.upscaleImageInternal(r)},this.generateVideos=async e=>{var t,r,n,i,o,s;if((e.prompt||e.image||e.video)&&e.source)throw Error("Source and prompt/image/video are mutually exclusive. Please only use source.");return!this.apiClient.isVertexAI()&&((null==(t=e.video)?void 0:t.uri)&&(null==(r=e.video)?void 0:r.videoBytes)?e.video={uri:e.video.uri,mimeType:e.video.mimeType}:(null==(i=null==(n=e.source)?void 0:n.video)?void 0:i.uri)&&(null==(s=null==(o=e.source)?void 0:o.video)?void 0:s.videoBytes)&&(e.source.video={uri:e.source.video.uri,mimeType:e.source.video.mimeType})),await this.generateVideosInternal(e)}}maybeMoveToResponseJsonSchem(e){e.config&&e.config.responseSchema&&!e.config.responseJsonSchema&&Object.keys(e.config.responseSchema).includes("$schema")&&(e.config.responseJsonSchema=e.config.responseSchema,delete e.config.responseSchema)}async processParamsMaybeAddMcpUsage(e){var t,r,n;let i=null==(t=e.config)?void 0:t.tools;if(!i)return e;let o=await Promise.all(i.map(async e=>nn(e)?await e.tool():e)),s={model:e.model,contents:e.contents,config:Object.assign(Object.assign({},e.config),{tools:o})};if(s.config.tools=o,e.config&&e.config.tools&&r2(e.config.tools)){let t=Object.assign({},null!=(n=null==(r=e.config.httpOptions)?void 0:r.headers)?n:{});0===Object.keys(t).length&&(t=this.apiClient.getDefaultHeaders()),r4(t),s.config.httpOptions=Object.assign(Object.assign({},e.config.httpOptions),{headers:t})}return s}async initAfcToolsMap(e){var t,r,n;let i=new Map;for(let o of null!=(r=null==(t=e.config)?void 0:t.tools)?r:[])if(nn(o))for(let e of null!=(n=(await o.tool()).functionDeclarations)?n:[]){if(!e.name)throw Error("Function declaration name is required.");if(i.has(e.name))throw Error(`Duplicate tool declaration name: ${e.name}`);i.set(e.name,o)}return i}async processAfcStream(e){var t,r,n;let i=null!=(n=null==(r=null==(t=e.config)?void 0:t.automaticFunctionCalling)?void 0:r.maximumRemoteCalls)?n:10,o=!1,s=0;return function(e,t,r){return rO(this,arguments,function*(){for(;s0){o=!0;let e=new tA;e.candidates=[{content:{role:"user",parts:y}}],yield yield rC(e);let t=[];t.push(..._),t.push({role:"user",parts:y});let n=t7(r.contents).concat(t);r.contents=n}else break}})}(this,await this.initAfcToolsMap(e),e)}async generateContentInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n=rL(this.apiClient,e);return o=tg("{model}:generateContent",n._url),s=n._query,delete n._url,delete n._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=rG(e),r=new tA;return Object.assign(r,t),r})}{let t=rM(this.apiClient,e);return o=tg("{model}:generateContent",t._url),s=t._query,delete t._url,delete t._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=rj(e),r=new tA;return Object.assign(r,t),r})}}async generateContentStreamInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n=rL(this.apiClient,e);return o=tg("{model}:streamGenerateContent?alt=sse",n._url),s=n._query,delete n._url,delete n._query,this.apiClient.requestStream({path:o,queryParams:s,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(function(t){return rO(this,arguments,function*(){var r,n,i,o;try{for(var s,a=!0,l=rI(t);!(r=(s=yield rC(l.next())).done);a=!0){o=s.value,a=!1;let t=rG((yield rC(o.json())),e);t.sdkHttpResponse={headers:o.headers};let r=new tA;Object.assign(r,t),yield yield rC(r)}}catch(e){n={error:e}}finally{try{!a&&!r&&(i=l.return)&&(yield rC(i.call(l)))}finally{if(n)throw n.error}}})})}{let t=rM(this.apiClient,e);return o=tg("{model}:streamGenerateContent?alt=sse",t._url),s=t._query,delete t._url,delete t._query,this.apiClient.requestStream({path:o,queryParams:s,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(function(t){return rO(this,arguments,function*(){var r,n,i,o;try{for(var s,a=!0,l=rI(t);!(r=(s=yield rC(l.next())).done);a=!0){o=s.value,a=!1;let t=rj((yield rC(o.json())),e);t.sdkHttpResponse={headers:o.headers};let r=new tA;Object.assign(r,t),yield yield rC(r)}}catch(e){n={error:e}}finally{try{!a&&!r&&(i=l.return)&&(yield rC(i.call(l)))}finally{if(n)throw n.error}}})})}}async embedContentInternal(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI()){let n=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(r,["embeddingApiType"]);if(void 0===o&&(o="PREDICT"),"PREDICT"===o){let r=t_(t,["contents"]);if(null!=r){let t=t9(e,r);Array.isArray(t)&&(t=t.map(e=>e)),ty(n,["instances[]","content"],t)}}let s=t_(r,["embeddingApiType"]);if(void 0===s&&(s="PREDICT"),"EMBED_CONTENT"===s){let e=t_(t,["content"]);null!=e&&ty(n,["content"],t3(e))}let a=t_(t,["config"]);return null!=a&&function(e,t,r){let n=t_(r,["embeddingApiType"]);if(void 0===n&&(n="PREDICT"),"PREDICT"===n){let r=t_(e,["taskType"]);void 0!==t&&null!=r&&ty(t,["instances[]","task_type"],r)}else if("EMBED_CONTENT"===n){let r=t_(e,["taskType"]);void 0!==t&&null!=r&&ty(t,["taskType"],r)}let i=t_(r,["embeddingApiType"]);if(void 0===i&&(i="PREDICT"),"PREDICT"===i){let r=t_(e,["title"]);void 0!==t&&null!=r&&ty(t,["instances[]","title"],r)}else if("EMBED_CONTENT"===i){let r=t_(e,["title"]);void 0!==t&&null!=r&&ty(t,["title"],r)}let o=t_(r,["embeddingApiType"]);if(void 0===o&&(o="PREDICT"),"PREDICT"===o){let r=t_(e,["outputDimensionality"]);void 0!==t&&null!=r&&ty(t,["parameters","outputDimensionality"],r)}else if("EMBED_CONTENT"===o){let r=t_(e,["outputDimensionality"]);void 0!==t&&null!=r&&ty(t,["outputDimensionality"],r)}let s=t_(r,["embeddingApiType"]);if(void 0===s&&(s="PREDICT"),"PREDICT"===s){let r=t_(e,["mimeType"]);void 0!==t&&null!=r&&ty(t,["instances[]","mimeType"],r)}let a=t_(r,["embeddingApiType"]);if(void 0===a&&(a="PREDICT"),"PREDICT"===a){let r=t_(e,["autoTruncate"]);void 0!==t&&null!=r&&ty(t,["parameters","autoTruncate"],r)}else if("EMBED_CONTENT"===a){let r=t_(e,["autoTruncate"]);void 0!==t&&null!=r&&ty(t,["autoTruncate"],r)}}(a,n,r),n}(this.apiClient,e,e);return s=tg((o=e.model).includes("gemini")&&"gemini-embedding-001"!==o||o.includes("maas")?"{model}:embedContent":"{model}:predict",n._url),a=n._query,delete n._url,delete n._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(t=>{let r=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions[]","embeddings"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["values"]))&&ty(r,["values"],n),null!=(i=t_(e,["statistics"]))&&ty(r,["statistics"],(o={},null!=(s=t_(t=i,["truncated"]))&&ty(o,["truncated"],s),null!=(a=t_(t,["token_count"]))&&ty(o,["tokenCount"],a),o)),r})),ty(r,["embeddings"],e)}let o=t_(e,["metadata"]);if(null!=o&&ty(r,["metadata"],o),t&&"EMBED_CONTENT"===t_(t,["embeddingApiType"])){let t=t_(e,["embedding"]),n=t_(e,["usageMetadata"]),i=t_(e,["truncated"]);if(t){let e={};n&&n.promptTokenCount&&(e.tokenCount=n.promptTokenCount),i&&(e.truncated=i),t.statistics=e,ty(r,["embeddings"],[t])}}return r}(t,e),n=new tS;return Object.assign(n,r),n})}{let t=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let t=t9(e,o);Array.isArray(t)&&(t=t.map(e=>e)),ty(n,["requests[]","content"],t)}let s=t_(t,["content"]);null!=s&&rD(t3(s));let a=t_(t,["config"]);null!=a&&function(e,t,r){let n=t_(e,["taskType"]);void 0!==t&&null!=n&&ty(t,["requests[]","taskType"],n);let i=t_(e,["title"]);void 0!==t&&null!=i&&ty(t,["requests[]","title"],i);let o=t_(e,["outputDimensionality"]);if(void 0!==t&&null!=o&&ty(t,["requests[]","outputDimensionality"],o),void 0!==t_(e,["mimeType"]))throw Error("mimeType parameter is not supported in Gemini API.");if(void 0!==t_(e,["autoTruncate"]))throw Error("autoTruncate parameter is not supported in Gemini API.")}(a,n);let l=t_(t,["model"]);return void 0!==l&&ty(n,["requests[]","model"],tz(e,l)),n}(this.apiClient,e);return s=tg("{model}:batchEmbedContents",t._url),a=t._query,delete t._url,delete t._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["embeddings"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["embeddings"],e)}let o=t_(e,["metadata"]);return null!=o&&ty(r,["metadata"],o),r}(e),r=new tS;return Object.assign(r,t),r})}}async generateImagesInternal(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d,p,h,f,m,g,y,_,E,v,T,A,S,b,C,O,I=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","model"],tz(o,i)),null!=(s=t_(e,["prompt"]))&&ty(n,["instances[0]","prompt"],s),null!=(u=t_(e,["config"]))&&(c=t_(u,["outputGcsUri"]),void 0!==n&&null!=c&&ty(n,["parameters","storageUri"],c),d=t_(u,["negativePrompt"]),void 0!==n&&null!=d&&ty(n,["parameters","negativePrompt"],d),p=t_(u,["numberOfImages"]),void 0!==n&&null!=p&&ty(n,["parameters","sampleCount"],p),h=t_(u,["aspectRatio"]),void 0!==n&&null!=h&&ty(n,["parameters","aspectRatio"],h),f=t_(u,["guidanceScale"]),void 0!==n&&null!=f&&ty(n,["parameters","guidanceScale"],f),m=t_(u,["seed"]),void 0!==n&&null!=m&&ty(n,["parameters","seed"],m),g=t_(u,["safetyFilterLevel"]),void 0!==n&&null!=g&&ty(n,["parameters","safetySetting"],g),y=t_(u,["personGeneration"]),void 0!==n&&null!=y&&ty(n,["parameters","personGeneration"],y),_=t_(u,["includeSafetyAttributes"]),void 0!==n&&null!=_&&ty(n,["parameters","includeSafetyAttributes"],_),E=t_(u,["includeRaiReason"]),void 0!==n&&null!=E&&ty(n,["parameters","includeRaiReason"],E),v=t_(u,["language"]),void 0!==n&&null!=v&&ty(n,["parameters","language"],v),T=t_(u,["outputMimeType"]),void 0!==n&&null!=T&&ty(n,["parameters","outputOptions","mimeType"],T),A=t_(u,["outputCompressionQuality"]),void 0!==n&&null!=A&&ty(n,["parameters","outputOptions","compressionQuality"],A),S=t_(u,["addWatermark"]),void 0!==n&&null!=S&&ty(n,["parameters","addWatermark"],S),b=t_(u,["labels"]),void 0!==n&&null!=b&&ty(n,["labels"],b),C=t_(u,["imageSize"]),void 0!==n&&null!=C&&ty(n,["parameters","sampleImageSize"],C),O=t_(u,["enhancePrompt"]),void 0!==n&&null!=O&&ty(n,["parameters","enhancePrompt"],O)),n);return a=tg("{model}:predict",I._url),l=I._query,delete I._url,delete I._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(I),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}let o=t_(e,["positivePromptSafetyAttributes"]);return null!=o&&ty(r,["positivePromptSafetyAttributes"],rW(o)),r}(e),r=new tb;return Object.assign(r,t),r})}{let t,r,o,u,c=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","model"],tz(s,r)),null!=(o=t_(e,["prompt"]))&&ty(t,["instances[0]","prompt"],o),null!=(u=t_(e,["config"]))&&function(e,t,r){if(void 0!==t_(e,["outputGcsUri"]))throw Error("outputGcsUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["negativePrompt"]))throw Error("negativePrompt parameter is not supported in Gemini API.");let n=t_(e,["numberOfImages"]);void 0!==t&&null!=n&&ty(t,["parameters","sampleCount"],n);let i=t_(e,["aspectRatio"]);void 0!==t&&null!=i&&ty(t,["parameters","aspectRatio"],i);let o=t_(e,["guidanceScale"]);if(void 0!==t&&null!=o&&ty(t,["parameters","guidanceScale"],o),void 0!==t_(e,["seed"]))throw Error("seed parameter is not supported in Gemini API.");let s=t_(e,["safetyFilterLevel"]);void 0!==t&&null!=s&&ty(t,["parameters","safetySetting"],s);let a=t_(e,["personGeneration"]);void 0!==t&&null!=a&&ty(t,["parameters","personGeneration"],a);let l=t_(e,["includeSafetyAttributes"]);void 0!==t&&null!=l&&ty(t,["parameters","includeSafetyAttributes"],l);let u=t_(e,["includeRaiReason"]);void 0!==t&&null!=u&&ty(t,["parameters","includeRaiReason"],u);let c=t_(e,["language"]);void 0!==t&&null!=c&&ty(t,["parameters","language"],c);let d=t_(e,["outputMimeType"]);void 0!==t&&null!=d&&ty(t,["parameters","outputOptions","mimeType"],d);let p=t_(e,["outputCompressionQuality"]);if(void 0!==t&&null!=p&&ty(t,["parameters","outputOptions","compressionQuality"],p),void 0!==t_(e,["addWatermark"]))throw Error("addWatermark parameter is not supported in Gemini API.");if(void 0!==t_(e,["labels"]))throw Error("labels parameter is not supported in Gemini API.");let h=t_(e,["imageSize"]);if(void 0!==t&&null!=h&&ty(t,["parameters","sampleImageSize"],h),void 0!==t_(e,["enhancePrompt"]))throw Error("enhancePrompt parameter is not supported in Gemini API.")}(u,t),t);return a=tg("{model}:predict",c._url),l=c._query,delete c._url,delete c._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(c),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>{var t,r;let n,i,o,s,a,l,u;return n={},null!=(i=t_(t=e,["_self"]))&&ty(n,["image"],(o={},null!=(s=t_(r=i,["bytesBase64Encoded"]))&&ty(o,["imageBytes"],tE(s)),null!=(a=t_(r,["mimeType"]))&&ty(o,["mimeType"],a),o)),null!=(l=t_(t,["raiFilteredReason"]))&&ty(n,["raiFilteredReason"],l),null!=(u=t_(t,["_self"]))&&ty(n,["safetyAttributes"],rJ(u)),n})),ty(r,["generatedImages"],e)}let o=t_(e,["positivePromptSafetyAttributes"]);return null!=o&&ty(r,["positivePromptSafetyAttributes"],rJ(o)),r}(e),r=new tb;return Object.assign(r,t),r})}}async editImageInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o=function(e,t,r){let n,i,o,s,a,l,u,c,d,p,h,f,m,g,y,_,E,v={},T=t_(t,["model"]);null!=T&&ty(v,["_url","model"],tz(e,T));let A=t_(t,["prompt"]);null!=A&&ty(v,["instances[0]","prompt"],A);let S=t_(t,["referenceImages"]);if(null!=S){let e=S;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r,n,i,o,s,a,l,u={},c=t_(e,["referenceImage"]);null!=c&&ty(u,["referenceImage"],rB(c));let d=t_(e,["referenceId"]);null!=d&&ty(u,["referenceId"],d);let p=t_(e,["referenceType"]);null!=p&&ty(u,["referenceType"],p);let h=t_(e,["maskImageConfig"]);null!=h&&ty(u,["maskImageConfig"],(r={},null!=(n=t_(h,["maskMode"]))&&ty(r,["maskMode"],n),null!=(i=t_(h,["segmentationClasses"]))&&ty(r,["maskClasses"],i),null!=(o=t_(h,["maskDilation"]))&&ty(r,["dilation"],o),r));let f=t_(e,["controlImageConfig"]);null!=f&&ty(u,["controlImageConfig"],(s={},null!=(a=t_(f,["controlType"]))&&ty(s,["controlType"],a),null!=(l=t_(f,["enableControlImageComputation"]))&&ty(s,["computeControl"],l),s));let m=t_(e,["styleImageConfig"]);null!=m&&ty(u,["styleImageConfig"],m);let g=t_(e,["subjectImageConfig"]);return null!=g&&ty(u,["subjectImageConfig"],g),u})(e))),ty(v,["instances[0]","referenceImages"],e)}let b=t_(t,["config"]);return null!=b&&(n=t_(b,["outputGcsUri"]),void 0!==v&&null!=n&&ty(v,["parameters","storageUri"],n),i=t_(b,["negativePrompt"]),void 0!==v&&null!=i&&ty(v,["parameters","negativePrompt"],i),o=t_(b,["numberOfImages"]),void 0!==v&&null!=o&&ty(v,["parameters","sampleCount"],o),s=t_(b,["aspectRatio"]),void 0!==v&&null!=s&&ty(v,["parameters","aspectRatio"],s),a=t_(b,["guidanceScale"]),void 0!==v&&null!=a&&ty(v,["parameters","guidanceScale"],a),l=t_(b,["seed"]),void 0!==v&&null!=l&&ty(v,["parameters","seed"],l),u=t_(b,["safetyFilterLevel"]),void 0!==v&&null!=u&&ty(v,["parameters","safetySetting"],u),c=t_(b,["personGeneration"]),void 0!==v&&null!=c&&ty(v,["parameters","personGeneration"],c),d=t_(b,["includeSafetyAttributes"]),void 0!==v&&null!=d&&ty(v,["parameters","includeSafetyAttributes"],d),p=t_(b,["includeRaiReason"]),void 0!==v&&null!=p&&ty(v,["parameters","includeRaiReason"],p),h=t_(b,["language"]),void 0!==v&&null!=h&&ty(v,["parameters","language"],h),f=t_(b,["outputMimeType"]),void 0!==v&&null!=f&&ty(v,["parameters","outputOptions","mimeType"],f),m=t_(b,["outputCompressionQuality"]),void 0!==v&&null!=m&&ty(v,["parameters","outputOptions","compressionQuality"],m),g=t_(b,["addWatermark"]),void 0!==v&&null!=g&&ty(v,["parameters","addWatermark"],g),y=t_(b,["labels"]),void 0!==v&&null!=y&&ty(v,["labels"],y),_=t_(b,["editMode"]),void 0!==v&&null!=_&&ty(v,["parameters","editMode"],_),E=t_(b,["baseSteps"]),void 0!==v&&null!=E&&ty(v,["parameters","editConfig","baseSteps"],E)),v}(this.apiClient,e);return n=tg("{model}:predict",o._url),i=o._query,delete o._url,delete o._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(o),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}return r}(e),r=new tC;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async upscaleImageInternal(e){var t,r,n;let i="",o={};if(this.apiClient.isVertexAI()){let s,a,l,u,c,d,p,h,f,m,g,y,_,E,v,T,A=(n=this.apiClient,s={},null!=(a=t_(e,["model"]))&&ty(s,["_url","model"],tz(n,a)),null!=(l=t_(e,["image"]))&&ty(s,["instances[0]","image"],rB(l)),null!=(u=t_(e,["upscaleFactor"]))&&ty(s,["parameters","upscaleConfig","upscaleFactor"],u),null!=(c=t_(e,["config"]))&&(d=t_(c,["outputGcsUri"]),void 0!==s&&null!=d&&ty(s,["parameters","storageUri"],d),p=t_(c,["safetyFilterLevel"]),void 0!==s&&null!=p&&ty(s,["parameters","safetySetting"],p),h=t_(c,["personGeneration"]),void 0!==s&&null!=h&&ty(s,["parameters","personGeneration"],h),f=t_(c,["includeRaiReason"]),void 0!==s&&null!=f&&ty(s,["parameters","includeRaiReason"],f),m=t_(c,["outputMimeType"]),void 0!==s&&null!=m&&ty(s,["parameters","outputOptions","mimeType"],m),g=t_(c,["outputCompressionQuality"]),void 0!==s&&null!=g&&ty(s,["parameters","outputOptions","compressionQuality"],g),y=t_(c,["enhanceInputImage"]),void 0!==s&&null!=y&&ty(s,["parameters","upscaleConfig","enhanceInputImage"],y),_=t_(c,["imagePreservationFactor"]),void 0!==s&&null!=_&&ty(s,["parameters","upscaleConfig","imagePreservationFactor"],_),E=t_(c,["labels"]),void 0!==s&&null!=E&&ty(s,["labels"],E),v=t_(c,["numberOfImages"]),void 0!==s&&null!=v&&ty(s,["parameters","sampleCount"],v),T=t_(c,["mode"]),void 0!==s&&null!=T&&ty(s,["parameters","mode"],T)),s);return i=tg("{model}:predict",A._url),o=A._query,delete A._url,delete A._query,this.apiClient.request({path:i,queryParams:o,body:JSON.stringify(A),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["predictions"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}return r}(e),r=new tO;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async recontextImage(e){var t,r,n;let i="",o={};if(this.apiClient.isVertexAI()){let s,a,l,u,c,d,p,h,f,m,g,y,_,E,v,T=(n=this.apiClient,s={},null!=(a=t_(e,["model"]))&&ty(s,["_url","model"],tz(n,a)),null!=(l=t_(e,["source"]))&&function(e,t,r){let n=t_(e,["prompt"]);void 0!==t&&null!=n&&ty(t,["instances[0]","prompt"],n);let i=t_(e,["personImage"]);void 0!==t&&null!=i&&ty(t,["instances[0]","personImage","image"],rB(i));let o=t_(e,["productImages"]);if(void 0!==t&&null!=o){let e=o;Array.isArray(e)&&(e=e.map(e=>{let t,r;return t={},null!=(r=t_(e,["productImage"]))&&ty(t,["image"],rB(r)),t})),ty(t,["instances[0]","productImages"],e)}}(l,s),null!=(u=t_(e,["config"]))&&(c=t_(u,["numberOfImages"]),void 0!==s&&null!=c&&ty(s,["parameters","sampleCount"],c),d=t_(u,["baseSteps"]),void 0!==s&&null!=d&&ty(s,["parameters","baseSteps"],d),p=t_(u,["outputGcsUri"]),void 0!==s&&null!=p&&ty(s,["parameters","storageUri"],p),h=t_(u,["seed"]),void 0!==s&&null!=h&&ty(s,["parameters","seed"],h),f=t_(u,["safetyFilterLevel"]),void 0!==s&&null!=f&&ty(s,["parameters","safetySetting"],f),m=t_(u,["personGeneration"]),void 0!==s&&null!=m&&ty(s,["parameters","personGeneration"],m),g=t_(u,["addWatermark"]),void 0!==s&&null!=g&&ty(s,["parameters","addWatermark"],g),y=t_(u,["outputMimeType"]),void 0!==s&&null!=y&&ty(s,["parameters","outputOptions","mimeType"],y),_=t_(u,["outputCompressionQuality"]),void 0!==s&&null!=_&&ty(s,["parameters","outputOptions","compressionQuality"],_),E=t_(u,["enhancePrompt"]),void 0!==s&&null!=E&&ty(s,["parameters","enhancePrompt"],E),v=t_(u,["labels"]),void 0!==s&&null!=v&&ty(s,["labels"],v)),s);return i=tg("{model}:predict",T._url),o=T._query,delete T._url,delete T._query,this.apiClient.request({path:i,queryParams:o,body:JSON.stringify(T),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e,t){let r={},n=t_(e,["predictions"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>rF(e))),ty(r,["generatedImages"],e)}return r}(e),r=new tI;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async segmentImage(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI()){let l,u,c,d,p,h,f,m,g,y,_,E,v,T,A,S=(n=this.apiClient,h={},null!=(f=t_(e,["model"]))&&ty(h,["_url","model"],tz(n,f)),null!=(m=t_(e,["source"]))&&(i=m,o=h,c=t_(i,["prompt"]),void 0!==o&&null!=c&&ty(o,["instances[0]","prompt"],c),d=t_(i,["image"]),void 0!==o&&null!=d&&ty(o,["instances[0]","image"],rB(d)),p=t_(i,["scribbleImage"]),void 0!==o&&null!=p&&ty(o,["instances[0]","scribble"],(l={},null!=(u=t_(p,["image"]))&&ty(l,["image"],rB(u)),l))),null!=(g=t_(e,["config"]))&&(y=t_(g,["mode"]),void 0!==h&&null!=y&&ty(h,["parameters","mode"],y),_=t_(g,["maxPredictions"]),void 0!==h&&null!=_&&ty(h,["parameters","maxPredictions"],_),E=t_(g,["confidenceThreshold"]),void 0!==h&&null!=E&&ty(h,["parameters","confidenceThreshold"],E),v=t_(g,["maskDilation"]),void 0!==h&&null!=v&&ty(h,["parameters","maskDilation"],v),T=t_(g,["binaryColorThreshold"]),void 0!==h&&null!=T&&ty(h,["parameters","binaryColorThreshold"],T),A=t_(g,["labels"]),void 0!==h&&null!=A&&ty(h,["labels"],A)),h);return s=tg("{model}:predict",S._url),a=S._query,delete S._url,delete S._query,this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(S),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e,t){let r={},n=t_(e,["predictions"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>(function(e,t){let r={},n=t_(e,["_self"]);null!=n&&ty(r,["mask"],rq(n));let i=t_(e,["labels"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["labels"],e)}return r})(e))),ty(r,["generatedMasks"],e)}return r}(e),r=new tw;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async get(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","name"],tz(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>r$(e))}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","name"],tz(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rV(e))}}async listInternal(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d,p=(o=this.apiClient,n={},null!=(i=t_(e,["config"]))&&(s=t_(i,["pageSize"]),void 0!==n&&null!=s&&ty(n,["_query","pageSize"],s),u=t_(i,["pageToken"]),void 0!==n&&null!=u&&ty(n,["_query","pageToken"],u),c=t_(i,["filter"]),void 0!==n&&null!=c&&ty(n,["_query","filter"],c),d=t_(i,["queryBase"]),void 0!==n&&null!=d&&ty(n,["_url","models_url"],rc(o,d))),n);return a=tg("{models_url}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["_self"]);if(null!=o){let e=rd(o);Array.isArray(e)&&(e=e.map(e=>r$(e))),ty(r,["models"],e)}return r}(e),r=new tR;return Object.assign(r,t),r})}{let t,r,o,u,c,d,p=(s=this.apiClient,t={},null!=(r=t_(e,["config"]))&&(o=t_(r,["pageSize"]),void 0!==t&&null!=o&&ty(t,["_query","pageSize"],o),u=t_(r,["pageToken"]),void 0!==t&&null!=u&&ty(t,["_query","pageToken"],u),c=t_(r,["filter"]),void 0!==t&&null!=c&&ty(t,["_query","filter"],c),d=t_(r,["queryBase"]),void 0!==t&&null!=d&&ty(t,["_url","models_url"],rc(s,d))),t);return a=tg("{models_url}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["_self"]);if(null!=o){let e=rd(o);Array.isArray(e)&&(e=e.map(e=>rV(e))),ty(r,["models"],e)}return r}(e),r=new tR;return Object.assign(r,t),r})}}async update(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,d,p=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","model"],tz(o,i)),null!=(s=t_(e,["config"]))&&(u=t_(s,["displayName"]),void 0!==n&&null!=u&&ty(n,["displayName"],u),c=t_(s,["description"]),void 0!==n&&null!=c&&ty(n,["description"],c),d=t_(s,["defaultCheckpointId"]),void 0!==n&&null!=d&&ty(n,["defaultCheckpointId"],d)),n);return a=tg("{model}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"PATCH",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>r$(e))}{let t,r,o,u,c,d,p=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","name"],tz(s,r)),null!=(o=t_(e,["config"]))&&(u=t_(o,["displayName"]),void 0!==t&&null!=u&&ty(t,["displayName"],u),c=t_(o,["description"]),void 0!==t&&null!=c&&ty(t,["description"],c),d=t_(o,["defaultCheckpointId"]),void 0!==t&&null!=d&&ty(t,["defaultCheckpointId"],d)),t);return a=tg("{name}",p._url),l=p._query,delete p._url,delete p._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(p),httpMethod:"PATCH",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>rV(e))}}async delete(e){var t,r,n,i,o,s;let a="",l={};if(this.apiClient.isVertexAI()){let n,i,s=(o=this.apiClient,n={},null!=(i=t_(e,["model"]))&&ty(n,["_url","name"],tz(o,i)),n);return a=tg("{name}",s._url),l=s._query,delete s._url,delete s._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(s),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tN;return Object.assign(i,n),i})}{let t,r,o=(s=this.apiClient,t={},null!=(r=t_(e,["model"]))&&ty(t,["_url","name"],tz(s,r)),t);return a=tg("{name}",o._url),l=o._query,delete o._url,delete o._query,this.apiClient.request({path:a,queryParams:l,body:JSON.stringify(o),httpMethod:"DELETE",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tN;return Object.assign(i,n),i})}}async countTokens(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t7(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&function(e,t,r){let n=t_(e,["systemInstruction"]);void 0!==t&&null!=n&&ty(t,["systemInstruction"],t3(n));let i=t_(e,["tools"]);if(void 0!==t&&null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>rK(e))),ty(t,["tools"],e)}let o=t_(e,["generationConfig"]);void 0!==t&&null!=o&&ty(t,["generationConfig"],function(e,t){let r={},n=t_(e,["modelSelectionConfig"]);null!=n&&ty(r,["modelConfig"],n);let i=t_(e,["responseJsonSchema"]);null!=i&&ty(r,["responseJsonSchema"],i);let o=t_(e,["audioTimestamp"]);null!=o&&ty(r,["audioTimestamp"],o);let s=t_(e,["candidateCount"]);null!=s&&ty(r,["candidateCount"],s);let a=t_(e,["enableAffectiveDialog"]);null!=a&&ty(r,["enableAffectiveDialog"],a);let l=t_(e,["frequencyPenalty"]);null!=l&&ty(r,["frequencyPenalty"],l);let u=t_(e,["logprobs"]);null!=u&&ty(r,["logprobs"],u);let c=t_(e,["maxOutputTokens"]);null!=c&&ty(r,["maxOutputTokens"],c);let d=t_(e,["mediaResolution"]);null!=d&&ty(r,["mediaResolution"],d);let p=t_(e,["presencePenalty"]);null!=p&&ty(r,["presencePenalty"],p);let h=t_(e,["responseLogprobs"]);null!=h&&ty(r,["responseLogprobs"],h);let f=t_(e,["responseMimeType"]);null!=f&&ty(r,["responseMimeType"],f);let m=t_(e,["responseModalities"]);null!=m&&ty(r,["responseModalities"],m);let g=t_(e,["responseSchema"]);null!=g&&ty(r,["responseSchema"],g);let y=t_(e,["routingConfig"]);null!=y&&ty(r,["routingConfig"],y);let _=t_(e,["seed"]);null!=_&&ty(r,["seed"],_);let E=t_(e,["speechConfig"]);null!=E&&ty(r,["speechConfig"],E);let v=t_(e,["stopSequences"]);null!=v&&ty(r,["stopSequences"],v);let T=t_(e,["temperature"]);null!=T&&ty(r,["temperature"],T);let A=t_(e,["thinkingConfig"]);null!=A&&ty(r,["thinkingConfig"],A);let S=t_(e,["topK"]);null!=S&&ty(r,["topK"],S);let b=t_(e,["topP"]);if(null!=b&&ty(r,["topP"],b),void 0!==t_(e,["enableEnhancedCivicAnswers"]))throw Error("enableEnhancedCivicAnswers parameter is not supported in Vertex AI.");return r}(o))}(s,n),n}(this.apiClient,e);return o=tg("{model}:countTokens",n._url),s=n._query,delete n._url,delete n._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(n),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["totalTokens"]))&&ty(t,["totalTokens"],n),t),o=new tk;return Object.assign(o,i),o})}{let t=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t7(o);Array.isArray(e)&&(e=e.map(e=>rD(e))),ty(n,["contents"],e)}let s=t_(t,["config"]);return null!=s&&function(e,t){if(void 0!==t_(e,["systemInstruction"]))throw Error("systemInstruction parameter is not supported in Gemini API.");if(void 0!==t_(e,["tools"]))throw Error("tools parameter is not supported in Gemini API.");if(void 0!==t_(e,["generationConfig"]))throw Error("generationConfig parameter is not supported in Gemini API.")}(s),n}(this.apiClient,e);return o=tg("{model}:countTokens",t._url),s=t._query,delete t._url,delete t._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(t),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["totalTokens"]))&&ty(t,["totalTokens"],n),null!=(i=t_(e,["cachedContentTokenCount"]))&&ty(t,["cachedContentTokenCount"],i),t),s=new tk;return Object.assign(s,o),s})}}async computeTokens(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o=function(e,t,r){let n={},i=t_(t,["model"]);null!=i&&ty(n,["_url","model"],tz(e,i));let o=t_(t,["contents"]);if(null!=o){let e=t7(o);Array.isArray(e)&&(e=e.map(e=>e)),ty(n,["contents"],e)}return n}(this.apiClient,e);return n=tg("{model}:computeTokens",o._url),i=o._query,delete o._url,delete o._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(o),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["tokensInfo"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(r,["tokensInfo"],e)}return r}(e),r=new tP;return Object.assign(r,t),r})}throw Error("This method is only supported by the Vertex AI.")}async generateVideosInternal(e){var t,r,n,i,o,s,a,l,u,c;let d="",p={};if(this.apiClient.isVertexAI()){let n,i,s,u,c,h,f,m,g,y,_=(o=this.apiClient,u={},null!=(c=t_(e,["model"]))&&ty(u,["_url","model"],tz(o,c)),null!=(h=t_(e,["prompt"]))&&ty(u,["instances[0]","prompt"],h),null!=(f=t_(e,["image"]))&&ty(u,["instances[0]","image"],rB(f)),null!=(m=t_(e,["video"]))&&ty(u,["instances[0]","video"],rz(m)),null!=(g=t_(e,["source"]))&&(a=g,l=u,n=t_(a,["prompt"]),void 0!==l&&null!=n&&ty(l,["instances[0]","prompt"],n),i=t_(a,["image"]),void 0!==l&&null!=i&&ty(l,["instances[0]","image"],rB(i)),s=t_(a,["video"]),void 0!==l&&null!=s&&ty(l,["instances[0]","video"],rz(s))),null!=(y=t_(e,["config"]))&&function(e,t,r){var n;let i,o,s,a=t_(e,["numberOfVideos"]);void 0!==t&&null!=a&&ty(t,["parameters","sampleCount"],a);let l=t_(e,["outputGcsUri"]);void 0!==t&&null!=l&&ty(t,["parameters","storageUri"],l);let u=t_(e,["fps"]);void 0!==t&&null!=u&&ty(t,["parameters","fps"],u);let c=t_(e,["durationSeconds"]);void 0!==t&&null!=c&&ty(t,["parameters","durationSeconds"],c);let d=t_(e,["seed"]);void 0!==t&&null!=d&&ty(t,["parameters","seed"],d);let p=t_(e,["aspectRatio"]);void 0!==t&&null!=p&&ty(t,["parameters","aspectRatio"],p);let h=t_(e,["resolution"]);void 0!==t&&null!=h&&ty(t,["parameters","resolution"],h);let f=t_(e,["personGeneration"]);void 0!==t&&null!=f&&ty(t,["parameters","personGeneration"],f);let m=t_(e,["pubsubTopic"]);void 0!==t&&null!=m&&ty(t,["parameters","pubsubTopic"],m);let g=t_(e,["negativePrompt"]);void 0!==t&&null!=g&&ty(t,["parameters","negativePrompt"],g);let y=t_(e,["enhancePrompt"]);void 0!==t&&null!=y&&ty(t,["parameters","enhancePrompt"],y);let _=t_(e,["generateAudio"]);void 0!==t&&null!=_&&ty(t,["parameters","generateAudio"],_);let E=t_(e,["lastFrame"]);void 0!==t&&null!=E&&ty(t,["instances[0]","lastFrame"],rB(E));let v=t_(e,["referenceImages"]);if(void 0!==t&&null!=v){let e=v;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i;return r={},null!=(n=t_(t=e,["image"]))&&ty(r,["image"],rB(n)),null!=(i=t_(t,["referenceType"]))&&ty(r,["referenceType"],i),r})),ty(t,["instances[0]","referenceImages"],e)}let T=t_(e,["mask"]);void 0!==t&&null!=T&&ty(t,["instances[0]","mask"],(i={},null!=(o=t_(n=T,["image"]))&&ty(i,["_self"],rB(o)),null!=(s=t_(n,["maskMode"]))&&ty(i,["maskMode"],s),i));let A=t_(e,["compressionQuality"]);void 0!==t&&null!=A&&ty(t,["parameters","compressionQuality"],A)}(y,u),u);return d=tg("{model}:predictLongRunning",_._url),p=_._query,delete _._url,delete _._query,this.apiClient.request({path:d,queryParams:p,body:JSON.stringify(_),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n,i,o,s,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["name"],r),null!=(n=t_(e,["metadata"]))&&ty(t,["metadata"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),null!=(s=t_(e,["response"]))&&ty(t,["response"],function(e,t){let r={},n=t_(e,["videos"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["_self"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["gcsUri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["bytesBase64Encoded"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["mimeType"]))&&ty(i,["mimeType"],a),i)),r})),ty(r,["generatedVideos"],e)}let i=t_(e,["raiMediaFilteredCount"]);null!=i&&ty(r,["raiMediaFilteredCount"],i);let o=t_(e,["raiMediaFilteredReasons"]);return null!=o&&ty(r,["raiMediaFilteredReasons"],o),r}(s)),t),l=new tx;return Object.assign(l,a),l})}{let t,r,o,a,l,h,f,m,g,y,_=(s=this.apiClient,a={},null!=(l=t_(e,["model"]))&&ty(a,["_url","model"],tz(s,l)),null!=(h=t_(e,["prompt"]))&&ty(a,["instances[0]","prompt"],h),null!=(f=t_(e,["image"]))&&ty(a,["instances[0]","image"],rH(f)),null!=(m=t_(e,["video"]))&&ty(a,["instances[0]","video"],rY(m)),null!=(g=t_(e,["source"]))&&(u=g,c=a,t=t_(u,["prompt"]),void 0!==c&&null!=t&&ty(c,["instances[0]","prompt"],t),r=t_(u,["image"]),void 0!==c&&null!=r&&ty(c,["instances[0]","image"],rH(r)),o=t_(u,["video"]),void 0!==c&&null!=o&&ty(c,["instances[0]","video"],rY(o))),null!=(y=t_(e,["config"]))&&function(e,t,r){let n=t_(e,["numberOfVideos"]);if(void 0!==t&&null!=n&&ty(t,["parameters","sampleCount"],n),void 0!==t_(e,["outputGcsUri"]))throw Error("outputGcsUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["fps"]))throw Error("fps parameter is not supported in Gemini API.");let i=t_(e,["durationSeconds"]);if(void 0!==t&&null!=i&&ty(t,["parameters","durationSeconds"],i),void 0!==t_(e,["seed"]))throw Error("seed parameter is not supported in Gemini API.");let o=t_(e,["aspectRatio"]);void 0!==t&&null!=o&&ty(t,["parameters","aspectRatio"],o);let s=t_(e,["resolution"]);void 0!==t&&null!=s&&ty(t,["parameters","resolution"],s);let a=t_(e,["personGeneration"]);if(void 0!==t&&null!=a&&ty(t,["parameters","personGeneration"],a),void 0!==t_(e,["pubsubTopic"]))throw Error("pubsubTopic parameter is not supported in Gemini API.");let l=t_(e,["negativePrompt"]);void 0!==t&&null!=l&&ty(t,["parameters","negativePrompt"],l);let u=t_(e,["enhancePrompt"]);if(void 0!==t&&null!=u&&ty(t,["parameters","enhancePrompt"],u),void 0!==t_(e,["generateAudio"]))throw Error("generateAudio parameter is not supported in Gemini API.");let c=t_(e,["lastFrame"]);void 0!==t&&null!=c&&ty(t,["instances[0]","lastFrame"],rH(c));let d=t_(e,["referenceImages"]);if(void 0!==t&&null!=d){let e=d;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i;return r={},null!=(n=t_(t=e,["image"]))&&ty(r,["image"],rH(n)),null!=(i=t_(t,["referenceType"]))&&ty(r,["referenceType"],i),r})),ty(t,["instances[0]","referenceImages"],e)}if(void 0!==t_(e,["mask"]))throw Error("mask parameter is not supported in Gemini API.");if(void 0!==t_(e,["compressionQuality"]))throw Error("compressionQuality parameter is not supported in Gemini API.")}(y,a),a);return d=tg("{model}:predictLongRunning",_._url),p=_._query,delete _._url,delete _._query,this.apiClient.request({path:d,queryParams:p,body:JSON.stringify(_),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n,i,o,s,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["name"],r),null!=(n=t_(e,["metadata"]))&&ty(t,["metadata"],n),null!=(i=t_(e,["done"]))&&ty(t,["done"],i),null!=(o=t_(e,["error"]))&&ty(t,["error"],o),null!=(s=t_(e,["response","generateVideoResponse"]))&&ty(t,["response"],function(e,t){let r={},n=t_(e,["generatedSamples"]);if(null!=n){let e=n;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a;return r={},null!=(n=t_(e,["video"]))&&ty(r,["video"],(i={},null!=(o=t_(t=n,["uri"]))&&ty(i,["uri"],o),null!=(s=t_(t,["encodedVideo"]))&&ty(i,["videoBytes"],tE(s)),null!=(a=t_(t,["encoding"]))&&ty(i,["mimeType"],a),i)),r})),ty(r,["generatedVideos"],e)}let i=t_(e,["raiMediaFilteredCount"]);null!=i&&ty(r,["raiMediaFilteredCount"],i);let o=t_(e,["raiMediaFilteredReasons"]);return null!=o&&ty(r,["raiMediaFilteredReasons"],o),r}(s)),t),l=new tx;return Object.assign(l,a),l})}}}class na extends tm{constructor(e){super(),this.apiClient=e}async getVideosOperation(e){let t=e.operation,r=e.config;if(void 0===t.name||""===t.name)throw Error("Operation name is required.");if(this.apiClient.isVertexAI()){let e,n=t.name.split("/operations/")[0];r&&"httpOptions"in r&&(e=r.httpOptions);let i=await this.fetchPredictVideosOperationInternal({operationName:t.name,resourceName:n,config:{httpOptions:e}});return t._fromAPIResponse({apiResponse:i,_isVertexAI:!0})}{let e=await this.getVideosOperationInternal({operationName:t.name,config:r});return t._fromAPIResponse({apiResponse:e,_isVertexAI:!1})}}async get(e){let t=e.operation,r=e.config;if(void 0===t.name||""===t.name)throw Error("Operation name is required.");if(this.apiClient.isVertexAI()){let e,n=t.name.split("/operations/")[0];r&&"httpOptions"in r&&(e=r.httpOptions);let i=await this.fetchPredictVideosOperationInternal({operationName:t.name,resourceName:n,config:{httpOptions:e}});return t._fromAPIResponse({apiResponse:i,_isVertexAI:!0})}{let e=await this.getVideosOperationInternal({operationName:t.name,config:r});return t._fromAPIResponse({apiResponse:e,_isVertexAI:!1})}}async getVideosOperationInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a=(n={},null!=(i=t_(e,["operationName"]))&&ty(n,["_url","operationName"],i),n);return o=tg("{operationName}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json())}{let t,r,a=(t={},null!=(r=t_(e,["operationName"]))&&ty(t,["_url","operationName"],r),t);return o=tg("{operationName}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json())}}async fetchPredictVideosOperationInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o,s,a,l=(o={},null!=(s=t_(e,["operationName"]))&&ty(o,["operationName"],s),null!=(a=t_(e,["resourceName"]))&&ty(o,["_url","resourceName"],a),o);return n=tg("{resourceName}:fetchPredictOperation",l._url),i=l._query,delete l._url,delete l._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(l),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json())}throw Error("This method is only supported by the Vertex AI.")}}class nl extends tm{constructor(e){super(),this.apiClient=e}async create(e){var t,r,n,i,o;let s="",a={};if(this.apiClient.isVertexAI())throw Error("The client.tokens.create method is only supported by the Gemini Developer API.");{let l,u,c,d,p,h,f,m,g,y,_=(n=this.apiClient,d={},null!=(p=t_(e,["config"]))&&ty(d,["config"],(h=t_(p,["expireTime"]),void 0!==d&&null!=h&&ty(d,["expireTime"],h),f=t_(p,["newSessionExpireTime"]),void 0!==d&&null!=f&&ty(d,["newSessionExpireTime"],f),m=t_(p,["uses"]),void 0!==d&&null!=m&&ty(d,["uses"],m),g=t_(p,["liveConnectConstraints"]),void 0!==d&&null!=g&&ty(d,["bidiGenerateContentSetup"],(i=n,l={},null!=(u=t_(o=g,["model"]))&&ty(l,["setup","model"],tz(i,u)),null!=(c=t_(o,["config"]))&&ty(l,["config"],function(e,t){let r=t_(e,["generationConfig"]);void 0!==t&&null!=r&&ty(t,["setup","generationConfig"],r);let n=t_(e,["responseModalities"]);void 0!==t&&null!=n&&ty(t,["setup","generationConfig","responseModalities"],n);let i=t_(e,["temperature"]);void 0!==t&&null!=i&&ty(t,["setup","generationConfig","temperature"],i);let o=t_(e,["topP"]);void 0!==t&&null!=o&&ty(t,["setup","generationConfig","topP"],o);let s=t_(e,["topK"]);void 0!==t&&null!=s&&ty(t,["setup","generationConfig","topK"],s);let a=t_(e,["maxOutputTokens"]);void 0!==t&&null!=a&&ty(t,["setup","generationConfig","maxOutputTokens"],a);let l=t_(e,["mediaResolution"]);void 0!==t&&null!=l&&ty(t,["setup","generationConfig","mediaResolution"],l);let u=t_(e,["seed"]);void 0!==t&&null!=u&&ty(t,["setup","generationConfig","seed"],u);let c=t_(e,["speechConfig"]);void 0!==t&&null!=c&&ty(t,["setup","generationConfig","speechConfig"],rr(c));let d=t_(e,["thinkingConfig"]);void 0!==t&&null!=d&&ty(t,["setup","generationConfig","thinkingConfig"],d);let p=t_(e,["enableAffectiveDialog"]);void 0!==t&&null!=p&&ty(t,["setup","generationConfig","enableAffectiveDialog"],p);let h=t_(e,["systemInstruction"]);void 0!==t&&null!=h&&ty(t,["setup","systemInstruction"],function(e){let t={},r=t_(e,["parts"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p,h;return r={},null!=(n=t_(t=e,["mediaResolution"]))&&ty(r,["mediaResolution"],n),null!=(i=t_(t,["codeExecutionResult"]))&&ty(r,["codeExecutionResult"],i),null!=(o=t_(t,["executableCode"]))&&ty(r,["executableCode"],o),null!=(s=t_(t,["fileData"]))&&ty(r,["fileData"],function(e){let t={};if(void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let r=t_(e,["fileUri"]);null!=r&&ty(t,["fileUri"],r);let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(s)),null!=(a=t_(t,["functionCall"]))&&ty(r,["functionCall"],function(e){let t={},r=t_(e,["id"]);null!=r&&ty(t,["id"],r);let n=t_(e,["args"]);null!=n&&ty(t,["args"],n);let i=t_(e,["name"]);if(null!=i&&ty(t,["name"],i),void 0!==t_(e,["partialArgs"]))throw Error("partialArgs parameter is not supported in Gemini API.");if(void 0!==t_(e,["willContinue"]))throw Error("willContinue parameter is not supported in Gemini API.");return t}(a)),null!=(l=t_(t,["functionResponse"]))&&ty(r,["functionResponse"],l),null!=(u=t_(t,["inlineData"]))&&ty(r,["inlineData"],function(e){let t={},r=t_(e,["data"]);if(null!=r&&ty(t,["data"],r),void 0!==t_(e,["displayName"]))throw Error("displayName parameter is not supported in Gemini API.");let n=t_(e,["mimeType"]);return null!=n&&ty(t,["mimeType"],n),t}(u)),null!=(c=t_(t,["text"]))&&ty(r,["text"],c),null!=(d=t_(t,["thought"]))&&ty(r,["thought"],d),null!=(p=t_(t,["thoughtSignature"]))&&ty(r,["thoughtSignature"],p),null!=(h=t_(t,["videoMetadata"]))&&ty(r,["videoMetadata"],h),r})),ty(t,["parts"],e)}let n=t_(e,["role"]);return null!=n&&ty(t,["role"],n),t}(t3(h)));let f=t_(e,["tools"]);if(void 0!==t&&null!=f){let e=ri(f);Array.isArray(e)&&(e=e.map(e=>(function(e){let t={};if(void 0!==t_(e,["retrieval"]))throw Error("retrieval parameter is not supported in Gemini API.");let r=t_(e,["computerUse"]);null!=r&&ty(t,["computerUse"],r);let n=t_(e,["fileSearch"]);null!=n&&ty(t,["fileSearch"],n);let i=t_(e,["googleSearch"]);null!=i&&ty(t,["googleSearch"],function(e){let t={},r=t_(e,["searchTypes"]);if(null!=r&&ty(t,["searchTypes"],r),void 0!==t_(e,["excludeDomains"]))throw Error("excludeDomains parameter is not supported in Gemini API.");if(void 0!==t_(e,["blockingConfidence"]))throw Error("blockingConfidence parameter is not supported in Gemini API.");let n=t_(e,["timeRangeFilter"]);return null!=n&&ty(t,["timeRangeFilter"],n),t}(i));let o=t_(e,["codeExecution"]);if(null!=o&&ty(t,["codeExecution"],o),void 0!==t_(e,["enterpriseWebSearch"]))throw Error("enterpriseWebSearch parameter is not supported in Gemini API.");let s=t_(e,["functionDeclarations"]);if(null!=s){let e=s;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["functionDeclarations"],e)}let a=t_(e,["googleMaps"]);null!=a&&ty(t,["googleMaps"],function(e){let t={};if(void 0!==t_(e,["authConfig"]))throw Error("authConfig parameter is not supported in Gemini API.");let r=t_(e,["enableWidget"]);return null!=r&&ty(t,["enableWidget"],r),t}(a));let l=t_(e,["googleSearchRetrieval"]);null!=l&&ty(t,["googleSearchRetrieval"],l);let u=t_(e,["urlContext"]);null!=u&&ty(t,["urlContext"],u);let c=t_(e,["mcpServers"]);if(null!=c){let e=c;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["mcpServers"],e)}return t})(rn(e)))),ty(t,["setup","tools"],e)}let m=t_(e,["sessionResumption"]);void 0!==t&&null!=m&&ty(t,["setup","sessionResumption"],function(e){let t={},r=t_(e,["handle"]);if(null!=r&&ty(t,["handle"],r),void 0!==t_(e,["transparent"]))throw Error("transparent parameter is not supported in Gemini API.");return t}(m));let g=t_(e,["inputAudioTranscription"]);void 0!==t&&null!=g&&ty(t,["setup","inputAudioTranscription"],g);let y=t_(e,["outputAudioTranscription"]);void 0!==t&&null!=y&&ty(t,["setup","outputAudioTranscription"],y);let _=t_(e,["realtimeInputConfig"]);void 0!==t&&null!=_&&ty(t,["setup","realtimeInputConfig"],_);let E=t_(e,["contextWindowCompression"]);void 0!==t&&null!=E&&ty(t,["setup","contextWindowCompression"],E);let v=t_(e,["proactivity"]);if(void 0!==t&&null!=v&&ty(t,["setup","proactivity"],v),void 0!==t_(e,["explicitVadSignal"]))throw Error("explicitVadSignal parameter is not supported in Gemini API.");return{}}(c,l)),l)),y=t_(p,["lockAdditionalFields"]),void 0!==d&&null!=y&&ty(d,["fieldMask"],y),{})),d);s=tg("auth_tokens",_._url),a=_._query,delete _.config,delete _._url,delete _._query;let E=function(e,t){let r=null,n=e.bidiGenerateContentSetup;if("object"==typeof n&&null!==n&&"setup"in n){let t=n.setup;"object"==typeof t&&null!==t?(e.bidiGenerateContentSetup=t,r=t):delete e.bidiGenerateContentSetup}else void 0!==n&&delete e.bidiGenerateContentSetup;let i=e.fieldMask;if(r){let n=function(e){let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let n=e[r];if("object"==typeof n&&null!=n&&Object.keys(n).length>0){let e=Object.keys(n).map(e=>`${r}.${e}`);t.push(...e)}else t.push(r)}return t.join(",")}(r);if(Array.isArray(null==t?void 0:t.lockAdditionalFields)&&(null==t?void 0:t.lockAdditionalFields.length)===0)n?e.fieldMask=n:delete e.fieldMask;else if((null==t?void 0:t.lockAdditionalFields)&&t.lockAdditionalFields.length>0&&null!==i&&Array.isArray(i)&&i.length>0){let t=["temperature","topK","topP","maxOutputTokens","responseModalities","seed","speechConfig"],r=[];i.length>0&&(r=i.map(e=>t.includes(e)?`generationConfig.${e}`:e));let o=[];n&&o.push(n),r.length>0&&o.push(...r),o.length>0?e.fieldMask=o.join(","):delete e.fieldMask}else delete e.fieldMask}else null!==i&&Array.isArray(i)&&i.length>0?e.fieldMask=i.join(","):delete e.fieldMask;return e}(_,e.config);return this.apiClient.request({path:s,queryParams:a,body:JSON.stringify(E),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}}class nu extends tm{constructor(e){super(),this.apiClient=e,this.list=async e=>new rv(ts.PAGED_ITEM_DOCUMENTS,t=>this.listInternal({parent:e.parent,config:t.config}),await this.listInternal(e),e)}async get(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),o);return n=tg("{name}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),null!=(a=t_(e,["config"]))&&(l=t_(a,["force"]),void 0!==o&&null!=l&&ty(o,["_query","force"],l)),o);n=tg("{name}",u._url),i=u._query,delete u._url,delete u._query,await this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal})}}async listInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u,c=(o={},null!=(s=t_(e,["parent"]))&&ty(o,["_url","parent"],s),null!=(a=t_(e,["config"]))&&(l=t_(a,["pageSize"]),void 0!==o&&null!=l&&ty(o,["_query","pageSize"],l),u=t_(a,["pageToken"]),void 0!==o&&null!=u&&ty(o,["_query","pageToken"],u)),o);return n=tg("{parent}/documents",c._url),i=c._query,delete c._url,delete c._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["documents"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["documents"],e)}return t}(e),r=new tj;return Object.assign(r,t),r})}}}class nc extends tm{constructor(e,t=new nu(e)){super(),this.apiClient=e,this.documents=t,this.list=async(e={})=>new rv(ts.PAGED_ITEM_FILE_SEARCH_STORES,e=>this.listInternal(e),await this.listInternal(e),e)}async uploadToFileSearchStore(e){if(this.apiClient.isVertexAI())throw Error("Vertex AI does not support uploading files to a file search store.");return this.apiClient.uploadFileToFileSearchStore(e.fileSearchStoreName,e.file,e.config)}async create(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l=(o={},null!=(s=t_(e,["config"]))&&(a=t_(s,["displayName"]),void 0!==o&&null!=a&&ty(o,["displayName"],a)),o);return n=tg("fileSearchStores",l._url),i=l._query,delete l._url,delete l._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(l),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async get(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),o);return n=tg("{name}",a._url),i=a._query,delete a._url,delete a._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>e)}}async delete(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["name"]))&&ty(o,["_url","name"],s),null!=(a=t_(e,["config"]))&&(l=t_(a,["force"]),void 0!==o&&null!=l&&ty(o,["_query","force"],l)),o);n=tg("{name}",u._url),i=u._query,delete u._url,delete u._query,await this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"DELETE",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal})}}async listInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["config"]))&&(a=t_(s,["pageSize"]),void 0!==o&&null!=a&&ty(o,["_query","pageSize"],a),l=t_(s,["pageToken"]),void 0!==o&&null!=l&&ty(o,["_query","pageToken"],l)),o);return n=tg("fileSearchStores",u._url),i=u._query,delete u._url,delete u._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t=function(e){let t={},r=t_(e,["sdkHttpResponse"]);null!=r&&ty(t,["sdkHttpResponse"],r);let n=t_(e,["nextPageToken"]);null!=n&&ty(t,["nextPageToken"],n);let i=t_(e,["fileSearchStores"]);if(null!=i){let e=i;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["fileSearchStores"],e)}return t}(e),r=new tG;return Object.assign(r,t),r})}}async uploadToFileSearchStoreInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l=(o={},null!=(s=t_(e,["fileSearchStoreName"]))&&ty(o,["_url","file_search_store_name"],s),null!=(a=t_(e,["config"]))&&rX(a,o),o);return n=tg("upload/v1beta/{file_search_store_name}:uploadToFileSearchStore",l._url),i=l._query,delete l._url,delete l._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(l),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tF;return Object.assign(i,n),i})}}async importFile(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u=(o={},null!=(s=t_(e,["fileSearchStoreName"]))&&ty(o,["_url","file_search_store_name"],s),null!=(a=t_(e,["fileName"]))&&ty(o,["fileName"],a),null!=(l=t_(e,["config"]))&&function(e,t){let r=t_(e,["customMetadata"]);if(void 0!==t&&null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty(t,["customMetadata"],e)}let n=t_(e,["chunkingConfig"]);void 0!==t&&null!=n&&ty(t,["chunkingConfig"],n)}(l,o),o);return n=tg("{file_search_store_name}:importFile",u._url),i=u._query,delete u._url,delete u._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(u),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json()).then(e=>{var t;let r,n,i,o,s,a,l,u,c,d,p=(s={},null!=(a=t_(e,["name"]))&&ty(s,["name"],a),null!=(l=t_(e,["metadata"]))&&ty(s,["metadata"],l),null!=(u=t_(e,["done"]))&&ty(s,["done"],u),null!=(c=t_(e,["error"]))&&ty(s,["error"],c),null!=(d=t_(e,["response"]))&&ty(s,["response"],(r={},null!=(n=t_(t=d,["sdkHttpResponse"]))&&ty(r,["sdkHttpResponse"],n),null!=(i=t_(t,["parent"]))&&ty(r,["parent"],i),null!=(o=t_(t,["documentName"]))&&ty(r,["documentName"],o),r)),s),h=new tq;return Object.assign(h,p),h})}}}let nd=function(){let{crypto:e}=globalThis;if(null==e?void 0:e.randomUUID)return nd=e.randomUUID.bind(e),e.randomUUID();let t=new Uint8Array(1),r=e?()=>e.getRandomValues(t)[0]:()=>255*Math.random()&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^r()&15>>e/4).toString(16))};function np(e){return"object"==typeof e&&null!==e&&("name"in e&&"AbortError"===e.name||"message"in e&&String(e.message).includes("FetchRequestCanceledException"))}let nh=e=>{if(e instanceof Error)return e;if("object"==typeof e&&null!==e){try{if("[object Error]"===Object.prototype.toString.call(e)){let t=Error(e.message,e.cause?{cause:e.cause}:{});return e.stack&&(t.stack=e.stack),e.cause&&!t.cause&&(t.cause=e.cause),e.name&&(t.name=e.name),t}}catch(e){}try{return Error(JSON.stringify(e))}catch(e){}}return Error(e)};class nf extends Error{}class nm extends nf{constructor(e,t,r,n){super(`${nm.makeMessage(e,t,r)}`),this.status=e,this.headers=n,this.error=t}static makeMessage(e,t,r){let n=(null==t?void 0:t.message)?"string"==typeof t.message?t.message:JSON.stringify(t.message):t?JSON.stringify(t):r;return e&&n?`${e} ${n}`:e?`${e} status code (no body)`:n||"(no status code or body)"}static generate(e,t,r,n){return e&&n?400===e?new nE(e,t,r,n):401===e?new nv(e,t,r,n):403===e?new nT(e,t,r,n):404===e?new nA(e,t,r,n):409===e?new nS(e,t,r,n):422===e?new nb(e,t,r,n):429===e?new nC(e,t,r,n):e>=500?new nO(e,t,r,n):new nm(e,t,r,n):new ny({message:r,cause:nh(t)})}}class ng extends nm{constructor({message:e}={}){super(void 0,void 0,e||"Request was aborted.",void 0)}}class ny extends nm{constructor({message:e,cause:t}){super(void 0,void 0,e||"Connection error.",void 0),t&&(this.cause=t)}}class n_ extends ny{constructor({message:e}={}){super({message:null!=e?e:"Request timed out."})}}class nE extends nm{}class nv extends nm{}class nT extends nm{}class nA extends nm{}class nS extends nm{}class nb extends nm{}class nC extends nm{}class nO extends nm{}let nI=/^[a-z][a-z0-9+.-]*:/i,nw=e=>(nw=Array.isArray)(e),nR=nw,nN="0.0.1",nk=e=>"x32"===e?"x32":"x86_64"===e||"x64"===e?"x64":"arm"===e?"arm":"aarch64"===e||"arm64"===e?"arm64":e?`other:${e}`:"unknown",nP=e=>(e=e.toLowerCase()).includes("ios")?"iOS":"android"===e?"Android":"darwin"===e?"MacOS":"win32"===e?"Windows":"freebsd"===e?"FreeBSD":"openbsd"===e?"OpenBSD":"linux"===e?"Linux":e?`Other:${e}`:"Unknown";function nx(...e){let t=globalThis.ReadableStream;if(void 0===t)throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new t(...e)}function nU(e){if(e[Symbol.asyncIterator])return e;let t=e.getReader();return{async next(){try{let e=await t.read();return(null==e?void 0:e.done)&&t.releaseLock(),e}catch(e){throw t.releaseLock(),e}},async return(){let e=t.cancel();return t.releaseLock(),await e,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function nD(e){var t,r;if(null===e||"object"!=typeof e)return;if(e[Symbol.asyncIterator])return void await (null==(r=(t=e[Symbol.asyncIterator]()).return)?void 0:r.call(t));let n=e.getReader(),i=n.cancel();n.releaseLock(),await i}let nM=({headers:e,body:t})=>({bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(t)}),nL=()=>{var e;if("u"parseInt(t.versions.node.split("."))?" Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`.":""))}};function nj(e,t,r){return nL(),new File(e,null!=t?t:"unknown_file",r)}let nG=e=>null!=e&&"object"==typeof e&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.text&&"function"==typeof e.slice&&"function"==typeof e.arrayBuffer;async function nF(e,t,r){var n;let i,o;if(nL(),null!=(i=e=await e)&&"object"==typeof i&&"string"==typeof i.name&&"number"==typeof i.lastModified&&nG(i))return e instanceof File?e:nj([await e.arrayBuffer()],e.name);if(null!=(o=e)&&"object"==typeof o&&"string"==typeof o.url&&"function"==typeof o.blob){let n=await e.blob();return t||(t=new URL(e.url).pathname.split(/[\\/]/).pop()),nj(await nq(n),t,r)}let s=await nq(e);if(t||(t=("object"==typeof(n=e)&&null!==n&&("name"in n&&n.name&&String(n.name)||"url"in n&&n.url&&String(n.url)||"filename"in n&&n.filename&&String(n.filename)||"path"in n&&n.path&&String(n.path))||"").split(/[\\/]/).pop()||void 0),!(null==r?void 0:r.type)){let e=s.find(e=>"object"==typeof e&&"type"in e&&e.type);"string"==typeof e&&(r=Object.assign(Object.assign({},r),{type:e}))}return nj(s,t,r)}async function nq(e){let t=[];if("string"==typeof e||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)t.push(e);else if(nG(e))t.push(e instanceof Blob?e:await e.arrayBuffer());else if(null!=e&&"object"==typeof e&&"function"==typeof e[Symbol.asyncIterator])try{for(var r,n,i,o,s,a,l=!0,u=rI(e);!(r=(a=await u.next()).done);l=!0)o=a.value,l=!1,t.push(...await nq(o))}catch(e){n={error:e}}finally{try{!l&&!r&&(i=u.return)&&await i.call(u)}finally{if(n)throw n.error}}else{let t=null==(s=null==e?void 0:e.constructor)?void 0:s.name;throw Error(`Unexpected data type: ${typeof e}${t?`; constructor: ${t}`:""}${function(e){if("object"!=typeof e||null===e)return"";let t=Object.getOwnPropertyNames(e);return`; props: [${t.map(e=>`"${e}"`).join(", ")}]`}(e)}`)}return t}class nH{constructor(e){this._client=e}}function nB(e){return e.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g,encodeURIComponent)}nH._key=[];let nV=Object.freeze(Object.create(null)),n$=((e=nB)=>function(t,...r){let n;if(1===t.length)return t[0];let i=!1,o=[],s=t.reduce((t,n,s)=>{var a,l,u;/[?#]/.test(n)&&(i=!0);let c=r[s],d=(i?encodeURIComponent:e)(""+c);return s!==r.length&&(null==c||"object"==typeof c&&c.toString===(null==(u=Object.getPrototypeOf(null!=(l=Object.getPrototypeOf(null!=(a=c.hasOwnProperty)?a:nV))?l:nV))?void 0:u.toString))&&(d=c+"",o.push({start:t.length+n.length,length:d.length,error:`Value of type ${Object.prototype.toString.call(c).slice(8,-1)} is not a valid path parameter`})),t+n+(s===r.length?"":d)},""),a=s.split(/[?#]/,1)[0],l=/(^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi;for(;null!==(n=l.exec(a));){let e=n[0].startsWith("/"),t=+!!e,r=e?n[0].slice(1):n[0];o.push({start:n.index+t,length:r.length,error:`Value "${r}" can't be safely passed as a path parameter`})}if(o.sort((e,t)=>e.start-t.start),o.length>0){let e=0,t=o.reduce((t,r)=>{let n=" ".repeat(r.start-e),i="^".repeat(r.length);return e=r.start+r.length,t+n+i},"");throw new nf(`Path parameters result in path with invalid segments: ${o.map(e=>e.error).join("\n")} ${s} -${t}`)}return s})(nB);class nJ extends nH{create(e,t){var r;let{api_version:n=this._client.apiVersion}=e,i=rb(e,["api_version"]);if("model"in i&&"agent_config"in i)throw new nf("Invalid request: specified `model` and `agent_config`. If specifying `model`, use `generation_config`.");if("agent"in i&&"generation_config"in i)throw new nf("Invalid request: specified `agent` and `generation_config`. If specifying `agent`, use `agent_config`.");return this._client.post(n$`/${n}/interactions`,Object.assign(Object.assign({body:i},t),{stream:null!=(r=e.stream)&&r}))}delete(e,t={},r){let{api_version:n=this._client.apiVersion}=null!=t?t:{};return this._client.delete(n$`/${n}/interactions/${e}`,r)}cancel(e,t={},r){let{api_version:n=this._client.apiVersion}=null!=t?t:{};return this._client.post(n$`/${n}/interactions/${e}/cancel`,r)}get(e,t={},r){var n;let i=null!=t?t:{},{api_version:o=this._client.apiVersion}=i,s=rb(i,["api_version"]);return this._client.get(n$`/${o}/interactions/${e}`,Object.assign(Object.assign({query:s},r),{stream:null!=(n=null==t?void 0:t.stream)&&n}))}}nJ._key=Object.freeze(["interactions"]);class nW extends nJ{}function nK(e){let t;return(null!=r?r:r=(t=new globalThis.TextEncoder).encode.bind(t))(e)}function nY(e){let t;return(null!=n?n:n=(t=new globalThis.TextDecoder).decode.bind(t))(e)}class nz{constructor(){this.buffer=new Uint8Array,this.carriageReturnIndex=null}decode(e){let t;if(null==e)return[];let r=e instanceof ArrayBuffer?new Uint8Array(e):"string"==typeof e?nK(e):e;this.buffer=function(e){let t=0;for(let r of e)t+=r.length;let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}([this.buffer,r]);let n=[];for(;null!=(t=function(e,t){for(let r=null!=t?t:0;r{if(e){if(Object.prototype.hasOwnProperty.call(nX,e))return e;n4(r).warn(`${t} was set to ${JSON.stringify(e)}, expected one of ${JSON.stringify(Object.keys(nX))}`)}};function nZ(){}function n0(e,t,r){return!t||nX[e]>nX[r]?nZ:t[e].bind(t)}let n1={error:nZ,warn:nZ,info:nZ,debug:nZ},n2=new WeakMap;function n4(e){var t;let r=e.logger,n=null!=(t=e.logLevel)?t:"off";if(!r)return n1;let i=n2.get(r);if(i&&i[0]===n)return i[1];let o={error:n0("error",r,n),warn:n0("warn",r,n),info:n0("info",r,n),debug:n0("debug",r,n)};return n2.set(r,[n,o]),o}let n6=e=>(e.options&&(e.options=Object.assign({},e.options),delete e.options.headers),e.headers&&(e.headers=Object.fromEntries((e.headers instanceof Headers?[...e.headers]:Object.entries(e.headers)).map(([e,t])=>[e,"x-goog-api-key"===e.toLowerCase()||"authorization"===e.toLowerCase()||"cookie"===e.toLowerCase()||"set-cookie"===e.toLowerCase()?"***":t]))),"retryOfRequestLogID"in e&&(e.retryOfRequestLogID&&(e.retryOf=e.retryOfRequestLogID),delete e.retryOfRequestLogID),e);class n8{constructor(e,t,r){this.iterator=e,this.controller=t,this.client=r}static fromSSEResponse(e,t,r){let n=!1,i=r?n4(r):console;return new n8(function(){return rO(this,arguments,function*(){var r,o,s,a;if(n)throw new nf("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let l=!1;try{try{for(var u,c=!0,d=rI(function(e,t){return rO(this,arguments,function*(){var r,n,i,o;if(!e.body){if(t.abort(),void 0!==globalThis.navigator&&"ReactNative"===globalThis.navigator.product)throw new nf("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new nf("Attempted to iterate over a response with no body")}let s=new n5,a=new nz,l=nU(e.body);try{for(var u,c=!0,d=rI(function(e){return rO(this,arguments,function*(){var t,r,n,i;let o=new Uint8Array;try{for(var s,a=!0,l=rI(e);!(t=(s=yield rC(l.next())).done);a=!0){let e;if(i=s.value,a=!1,null==i)continue;let t=i instanceof ArrayBuffer?new Uint8Array(i):"string"==typeof i?nK(i):i,r=new Uint8Array(o.length+t.length);for(r.set(o),r.set(t,o.length),o=r;-1!==(e=function(e){for(let t=0;t0&&(yield yield rC(o))})}(l));!(r=(u=yield rC(d.next())).done);c=!0)for(let e of(o=u.value,c=!1,a.decode(o))){let t=s.decode(e);t&&(yield yield rC(t))}}catch(e){n={error:e}}finally{try{!c&&!r&&(i=d.return)&&(yield rC(i.call(d)))}finally{if(n)throw n.error}}for(let e of a.flush()){let t=s.decode(e);t&&(yield yield rC(t))}})}(e,t));!(r=(u=yield rC(d.next())).done);c=!0)if(a=u.value,c=!1,!l)if(a.data.startsWith("[DONE]")){l=!0;continue}else try{yield yield rC(JSON.parse(a.data))}catch(e){throw i.error("Could not parse message into JSON:",a.data),i.error("From chunk:",a.raw),e}}catch(e){o={error:e}}finally{try{!c&&!r&&(s=d.return)&&(yield rC(s.call(d)))}finally{if(o)throw o.error}}l=!0}catch(e){if(np(e))return yield rC(void 0);throw e}finally{l||t.abort()}})},t,r)}static fromReadableStream(e,t,r){let n=!1;return new n8(function(){return rO(this,arguments,function*(){var r,i,o,s;if(n)throw new nf("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let a=!1;try{try{for(var l,u=!0,c=rI(function(){return rO(this,arguments,function*(){var t,r,n,i;let o=new nz,s=nU(e);try{for(var a,l=!0,u=rI(s);!(t=(a=yield rC(u.next())).done);l=!0)for(let e of(i=a.value,l=!1,o.decode(i)))yield yield rC(e)}catch(e){r={error:e}}finally{try{!l&&!t&&(n=u.return)&&(yield rC(n.call(u)))}finally{if(r)throw r.error}}for(let e of o.flush())yield yield rC(e)})}());!(r=(l=yield rC(c.next())).done);u=!0)s=l.value,u=!1,!a&&s&&(yield yield rC(JSON.parse(s)))}catch(e){i={error:e}}finally{try{!u&&!r&&(o=c.return)&&(yield rC(o.call(c)))}finally{if(i)throw i.error}}a=!0}catch(e){if(np(e))return yield rC(void 0);throw e}finally{a||t.abort()}})},t,r)}[Symbol.asyncIterator](){return this.iterator()}tee(){let e=[],t=[],r=this.iterator(),n=n=>({next:()=>{if(0===n.length){let n=r.next();e.push(n),t.push(n)}return n.shift()}});return[new n8(()=>n(e),this.controller,this.client),new n8(()=>n(t),this.controller,this.client)]}toReadableStream(){let e,t=this;return nx({async start(){e=t[Symbol.asyncIterator]()},async pull(t){try{let{value:r,done:n}=await e.next();if(n)return t.close();let i=nK(JSON.stringify(r)+"\n");t.enqueue(i)}catch(e){t.error(e)}},async cancel(){var t;await (null==(t=e.return)?void 0:t.call(e))}})}}class n5{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(e){var t;let r;if(e.endsWith("\r")&&(e=e.substring(0,e.length-1)),!e){if(!this.event&&!this.data.length)return null;let e={event:this.event,data:this.data.join("\n"),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],e}if(this.chunks.push(e),e.startsWith(":"))return null;let[n,i,o]=-1!==(r=(t=e).indexOf(":"))?[t.substring(0,r),":",t.substring(r+1)]:[t,"",""];return o.startsWith(" ")&&(o=o.substring(1)),"event"===n?this.event=o:"data"===n&&this.data.push(o),null}}async function n3(e,t){let{response:r,requestLogID:n,retryOfRequestLogID:i,startTime:o}=t,s=await (async()=>{var n;if(t.options.stream)return(n4(e).debug("response",r.status,r.url,r.headers,r.body),t.options.__streamClass)?t.options.__streamClass.fromSSEResponse(r,t.controller,e):n8.fromSSEResponse(r,t.controller,e);if(204===r.status)return null;if(t.options.__binaryResponse)return r;let i=r.headers.get("content-type"),o=null==(n=null==i?void 0:i.split(";")[0])?void 0:n.trim();if((null==o?void 0:o.includes("application/json"))||(null==o?void 0:o.endsWith("+json"))){if("0"===r.headers.get("content-length"))return;return await r.json()}return await r.text()})();return n4(e).debug(`[${n}] response parsed`,n6({retryOfRequestLogID:i,url:r.url,status:r.status,body:s,durationMs:Date.now()-o})),s}class n7 extends Promise{constructor(e,t,r=n3){super(e=>{e(null)}),this.responsePromise=t,this.parseResponse=r,this.client=e}_thenUnwrap(e){return new n7(this.client,this.responsePromise,async(t,r)=>e(await this.parseResponse(t,r),r))}asResponse(){return this.responsePromise.then(e=>e.response)}async withResponse(){let[e,t]=await Promise.all([this.parse(),this.asResponse()]);return{data:e,response:t}}parse(){return this.parsedPromise||(this.parsedPromise=this.responsePromise.then(e=>this.parseResponse(this.client,e))),this.parsedPromise}then(e,t){return this.parse().then(e,t)}catch(e){return this.parse().catch(e)}finally(e){return this.parse().finally(e)}}let n9=Symbol("brand.privateNullableHeaders"),ie=e=>{let t=new Headers,r=new Set;for(let n of e){let e=new Set;for(let[i,o]of function*(e){let t;if(!e)return;if(n9 in e){let{values:t,nulls:r}=e;for(let e of(yield*t.entries(),r))yield[e,null];return}let r=!1;for(let n of(e instanceof Headers?t=e.entries():nR(e)?t=e:(r=!0,t=Object.entries(null!=e?e:{})),t)){let e=n[0];if("string"!=typeof e)throw TypeError("expected header name to be a string");let t=nR(n[1])?n[1]:[n[1]],i=!1;for(let n of t)void 0!==n&&(r&&!i&&(i=!0,yield[e,null]),yield[e,n])}}(n)){let n=i.toLowerCase();e.has(n)||(t.delete(i),e.add(n)),null===o?(t.delete(i),r.add(n)):(t.append(i,o),r.delete(n))}}return{[n9]:!0,values:t,nulls:r}},it=e=>{var t,r,n,i,o,s;return void 0!==globalThis.process?null!=(n=null==(r=null==(t=globalThis.process.env)?void 0:t[e])?void 0:r.trim())?n:void 0:void 0!==globalThis.Deno?null==(s=null==(o=null==(i=globalThis.Deno.env)?void 0:i.get)?void 0:o.call(i,e))?void 0:s.trim():void 0};class ir{constructor(e){var t,r,n,i,o,s,a,{baseURL:l=it("GEMINI_NEXT_GEN_API_BASE_URL"),apiKey:u=null!=(t=it("GEMINI_API_KEY"))?t:null,apiVersion:c="v1beta"}=e;const d=Object.assign(Object.assign({apiKey:u,apiVersion:c},rb(e,["baseURL","apiKey","apiVersion"])),{baseURL:l||"https://generativelanguage.googleapis.com"});this.baseURL=d.baseURL,this.timeout=null!=(r=d.timeout)?r:ir.DEFAULT_TIMEOUT,this.logger=null!=(n=d.logger)?n:console;const p="warn";this.logLevel=p,this.logLevel=null!=(o=null!=(i=nQ(d.logLevel,"ClientOptions.logLevel",this))?i:nQ(it("GEMINI_NEXT_GEN_API_LOG"),"process.env['GEMINI_NEXT_GEN_API_LOG']",this))?o:p,this.fetchOptions=d.fetchOptions,this.maxRetries=null!=(s=d.maxRetries)?s:2,this.fetch=null!=(a=d.fetch)?a:function(){if("u">typeof fetch)return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new GeminiNextGenAPIClient({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}(),this.encoder=nM,this._options=d,this.apiKey=u,this.apiVersion=c,this.clientAdapter=d.clientAdapter}withOptions(e){return new this.constructor(Object.assign(Object.assign(Object.assign({},this._options),{baseURL:this.baseURL,maxRetries:this.maxRetries,timeout:this.timeout,logger:this.logger,logLevel:this.logLevel,fetch:this.fetch,fetchOptions:this.fetchOptions,apiKey:this.apiKey,apiVersion:this.apiVersion}),e))}baseURLOverridden(){return"https://generativelanguage.googleapis.com"!==this.baseURL}defaultQuery(){return this._options.defaultQuery}validateHeaders({values:e,nulls:t}){if(!(e.has("authorization")||e.has("x-goog-api-key")||this.apiKey&&e.get("x-goog-api-key"))&&!t.has("x-goog-api-key"))throw Error('Could not resolve authentication method. Expected the apiKey to be set. Or for the "x-goog-api-key" headers to be explicitly omitted')}async authHeaders(e){let t=ie([e.headers]);if(!(t.values.has("authorization")||t.values.has("x-goog-api-key"))){if(this.apiKey)return ie([{"x-goog-api-key":this.apiKey}]);if(this.clientAdapter.isVertexAI())return ie([await this.clientAdapter.getAuthHeaders()])}}stringifyQuery(e){return Object.entries(e).filter(([e,t])=>void 0!==t).map(([e,t])=>{if("string"==typeof t||"number"==typeof t||"boolean"==typeof t)return`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;if(null===t)return`${encodeURIComponent(e)}=`;throw new nf(`Cannot stringify type ${typeof t}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}getUserAgent(){return`${this.constructor.name}/JS ${nN}`}defaultIdempotencyKey(){return`stainless-node-retry-${nd()}`}makeStatusError(e,t,r,n){return nm.generate(e,t,r,n)}buildURL(e,t,r){let n=!this.baseURLOverridden()&&r||this.baseURL,i=new URL(nI.test(e)?e:n+(n.endsWith("/")&&e.startsWith("/")?e.slice(1):e)),o=this.defaultQuery();return!function(e){if(!e)return!0;for(let t in e)return!1;return!0}(o)&&(t=Object.assign(Object.assign({},o),t)),"object"==typeof t&&t&&!Array.isArray(t)&&(i.search=this.stringifyQuery(t)),i.toString()}async prepareOptions(e){if(this.clientAdapter&&this.clientAdapter.isVertexAI()&&!e.path.startsWith(`/${this.apiVersion}/projects/`)){let t=e.path.slice(this.apiVersion.length+1);e.path=`/${this.apiVersion}/projects/${this.clientAdapter.getProject()}/locations/${this.clientAdapter.getLocation()}${t}`}}async prepareRequest(e,{url:t,options:r}){}get(e,t){return this.methodRequest("get",e,t)}post(e,t){return this.methodRequest("post",e,t)}patch(e,t){return this.methodRequest("patch",e,t)}put(e,t){return this.methodRequest("put",e,t)}delete(e,t){return this.methodRequest("delete",e,t)}methodRequest(e,t,r){return this.request(Promise.resolve(r).then(r=>Object.assign({method:e,path:t},r)))}request(e,t=null){return new n7(this,this.makeRequest(e,t,void 0))}async makeRequest(e,t,r){var n,i,o;let s=await e,a=null!=(n=s.maxRetries)?n:this.maxRetries;null==t&&(t=a),await this.prepareOptions(s);let{req:l,url:u,timeout:c}=await this.buildRequest(s,{retryCount:a-t});await this.prepareRequest(l,{url:u,options:s});let d="log_"+(0x1000000*Math.random()|0).toString(16).padStart(6,"0"),p=void 0===r?"":`, retryOf: ${r}`,h=Date.now();if(n4(this).debug(`[${d}] sending request`,n6({retryOfRequestLogID:r,method:s.method,url:u,options:s,headers:l.headers})),null==(i=s.signal)?void 0:i.aborted)throw new ng;let f=new AbortController,m=await this.fetchWithTimeout(u,l,c,f).catch(nh),g=Date.now();if(m instanceof globalThis.Error){let e=`retrying, ${t} attempts remaining`;if(null==(o=s.signal)?void 0:o.aborted)throw new ng;let n=np(m)||/timed? ?out/i.test(String(m)+("cause"in m?String(m.cause):""));if(t)return n4(this).info(`[${d}] connection ${n?"timed out":"failed"} - ${e}`),n4(this).debug(`[${d}] connection ${n?"timed out":"failed"} (${e})`,n6({retryOfRequestLogID:r,url:u,durationMs:g-h,message:m.message})),this.retryRequest(s,t,null!=r?r:d);if(n4(this).info(`[${d}] connection ${n?"timed out":"failed"} - error; no more retries left`),n4(this).debug(`[${d}] connection ${n?"timed out":"failed"} (error; no more retries left)`,n6({retryOfRequestLogID:r,url:u,durationMs:g-h,message:m.message})),n)throw new n_;throw new ny({cause:m})}let y=`[${d}${p}] ${l.method} ${u} ${m.ok?"succeeded":"failed"} with status ${m.status} in ${g-h}ms`;if(!m.ok){let e=await this.shouldRetry(m);if(t&&e){let e=`retrying, ${t} attempts remaining`;return await nD(m.body),n4(this).info(`${y} - ${e}`),n4(this).debug(`[${d}] response error (${e})`,n6({retryOfRequestLogID:r,url:m.url,status:m.status,headers:m.headers,durationMs:g-h})),this.retryRequest(s,t,null!=r?r:d,m.headers)}let n=e?"error; no more retries left":"error; not retryable";n4(this).info(`${y} - ${n}`);let i=await m.text().catch(e=>nh(e).message),o=(e=>{try{return JSON.parse(e)}catch(e){return}})(i),a=o?void 0:i;throw n4(this).debug(`[${d}] response error (${n})`,n6({retryOfRequestLogID:r,url:m.url,status:m.status,headers:m.headers,message:a,durationMs:Date.now()-h})),this.makeStatusError(m.status,o,a,m.headers)}return n4(this).info(y),n4(this).debug(`[${d}] response start`,n6({retryOfRequestLogID:r,url:m.url,status:m.status,headers:m.headers,durationMs:g-h})),{response:m,options:s,controller:f,requestLogID:d,retryOfRequestLogID:r,startTime:h}}async fetchWithTimeout(e,t,r,n){let i=t||{},{signal:o,method:s}=i,a=rb(i,["signal","method"]),l=this._makeAbort(n);o&&o.addEventListener("abort",l,{once:!0});let u=setTimeout(l,r),c=globalThis.ReadableStream&&a.body instanceof globalThis.ReadableStream||"object"==typeof a.body&&null!==a.body&&Symbol.asyncIterator in a.body,d=Object.assign(Object.assign(Object.assign({signal:n.signal},c?{duplex:"half"}:{}),{method:"GET"}),a);s&&(d.method=s.toUpperCase());try{return await this.fetch.call(void 0,e,d)}finally{clearTimeout(u)}}async shouldRetry(e){let t=e.headers.get("x-should-retry");return"true"===t||"false"!==t&&(408===e.status||409===e.status||429===e.status||!!(e.status>=500))}async retryRequest(e,t,r,n){var i;let o,s,a=null==n?void 0:n.get("retry-after-ms");if(a){let e=parseFloat(a);Number.isNaN(e)||(o=e)}let l=null==n?void 0:n.get("retry-after");if(l&&!o){let e=parseFloat(l);o=Number.isNaN(e)?Date.parse(l)-Date.now():1e3*e}if(!(o&&0<=o&&o<6e4)){let r=null!=(i=e.maxRetries)?i:this.maxRetries;o=this.calculateDefaultRetryTimeoutMillis(t,r)}return await (s=o,new Promise(e=>setTimeout(e,s))),this.makeRequest(e,t-1,r)}calculateDefaultRetryTimeoutMillis(e,t){return Math.min(.5*Math.pow(2,t-e),8)*(1-.25*Math.random())*1e3}async buildRequest(e,{retryCount:t=0}={}){var r,n,i;let o=Object.assign({},e),{method:s,path:a,query:l,defaultBaseURL:u}=o,c=this.buildURL(a,l,u);"timeout"in o&&((e,t)=>{if("number"!=typeof t||!Number.isInteger(t))throw new nf(`${e} must be an integer`);if(t<0)throw new nf(`${e} must be a positive integer`)})("timeout",o.timeout),o.timeout=null!=(r=o.timeout)?r:this.timeout;let{bodyHeaders:d,body:p}=this.buildBody({options:o}),h=await this.buildHeaders({options:e,method:s,bodyHeaders:d,retryCount:t});return{req:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({method:s,headers:h},o.signal&&{signal:o.signal}),globalThis.ReadableStream&&p instanceof globalThis.ReadableStream&&{duplex:"half"}),p&&{body:p}),null!=(n=this.fetchOptions)?n:{}),null!=(i=o.fetchOptions)?i:{}),url:c,timeout:o.timeout}}async buildHeaders({options:e,method:r,bodyHeaders:n,retryCount:i}){let o={};this.idempotencyHeader&&"get"!==r&&(e.idempotencyKey||(e.idempotencyKey=this.defaultIdempotencyKey()),o[this.idempotencyHeader]=e.idempotencyKey);let s=await this.authHeaders(e),a=ie([o,Object.assign(Object.assign({Accept:"application/json","User-Agent":this.getUserAgent(),"X-Stainless-Retry-Count":String(i)},e.timeout?{"X-Stainless-Timeout":String(Math.trunc(e.timeout/1e3))}:{}),null!=t?t:t=(()=>{var e,t,r,n,i;let o="u">typeof Deno&&null!=Deno.build?"deno":"u">typeof EdgeRuntime?"edge":"[object process]"===Object.prototype.toString.call(void 0!==globalThis.process?globalThis.process:0)?"node":"unknown";if("deno"===o)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":nN,"X-Stainless-OS":nP(Deno.build.os),"X-Stainless-Arch":nk(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":"string"==typeof Deno.version?Deno.version:null!=(t=null==(e=Deno.version)?void 0:e.deno)?t:"unknown"};if("u">typeof EdgeRuntime)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":nN,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if("node"===o)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":nN,"X-Stainless-OS":nP(null!=(r=globalThis.process.platform)?r:"unknown"),"X-Stainless-Arch":nk(null!=(n=globalThis.process.arch)?n:"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":null!=(i=globalThis.process.version)?i:"unknown"};let s=function(){if("u"e.abort()}buildBody({options:{body:e,headers:t}}){if(!e)return{bodyHeaders:void 0,body:void 0};let r=ie([t]);if(ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof DataView||"string"==typeof e&&r.values.has("content-type")||globalThis.Blob&&e instanceof globalThis.Blob||e instanceof FormData||e instanceof URLSearchParams||globalThis.ReadableStream&&e instanceof globalThis.ReadableStream)return{bodyHeaders:void 0,body:e};if("object"==typeof e&&(Symbol.asyncIterator in e||Symbol.iterator in e&&"next"in e&&"function"==typeof e.next)){let t;return{bodyHeaders:void 0,body:(t=Symbol.asyncIterator in e?e[Symbol.asyncIterator]():e[Symbol.iterator](),nx({start(){},async pull(e){let{done:r,value:n}=await t.next();r?e.close():e.enqueue(n)},async cancel(){var e;await (null==(e=t.return)?void 0:e.call(t))}}))}}return"object"==typeof e&&"application/x-www-form-urlencoded"===r.values.get("content-type")?{bodyHeaders:{"content-type":"application/x-www-form-urlencoded"},body:this.stringifyQuery(e)}:this.encoder({body:e,headers:r})}}ir.DEFAULT_TIMEOUT=6e4;class ii extends ir{constructor(){super(...arguments),this.interactions=new nW(this)}}ii.GeminiNextGenAPIClient=ii,ii.GeminiNextGenAPIClientError=nf,ii.APIError=nm,ii.APIConnectionError=ny,ii.APIConnectionTimeoutError=n_,ii.APIUserAbortError=ng,ii.NotFoundError=nA,ii.ConflictError=nS,ii.RateLimitError=nC,ii.BadRequestError=nE,ii.AuthenticationError=nv,ii.InternalServerError=nO,ii.PermissionDeniedError=nT,ii.UnprocessableEntityError=nb,ii.toFile=nF,ii.Interactions=nW;let io="x-goog-api-key",is="https://www.googleapis.com/auth/cloud-platform";class ia{constructor(e){if(void 0!==e.apiKey){this.apiKey=e.apiKey;return}const t=function(e){let t;if(!e)return{scopes:[is]};if((t=e).scopes){if("string"==typeof t.scopes&&t.scopes!==is||Array.isArray(t.scopes)&&0>t.scopes.indexOf(is))throw Error(`Invalid auth scopes. Scopes must include: ${is}`)}else t.scopes=[is];return t}(e.googleAuthOptions);this.googleAuth=new tl.GoogleAuth(t)}async addAuthHeaders(e,t){if(void 0!==this.apiKey){if(this.apiKey.startsWith("auth_tokens/"))throw Error("Ephemeral tokens are only supported by the live API.");this.addKeyHeader(e);return}return this.addGoogleAuthHeaders(e,t)}addKeyHeader(e){if(null===e.get(io)){if(void 0===this.apiKey)throw Error("Trying to set API key header but apiKey is not set");e.append(io,this.apiKey)}}async addGoogleAuthHeaders(e,t){if(void 0===this.googleAuth)throw Error("Trying to set google-auth headers but googleAuth is unset");for(let[r,n]of(await this.googleAuth.getRequestHeaders(t)))null===e.get(r)&&e.append(r,n)}}class il{async download(e,t){if(e.downloadPath){let r=await iu(e,t);if(r instanceof tT){let t=(0,tu.createWriteStream)(e.downloadPath);td.Readable.fromWeb(r.responseInternal.body).pipe(t),await (0,tp.finished)(t)}else try{await (0,tc.writeFile)(e.downloadPath,r,{encoding:"base64"})}catch(t){throw Error(`Failed to write file to ${e.downloadPath}: ${t}`)}}}}async function iu(e,t){var r,n,i;let o=ru(e.file);if(void 0!==o)return await t.request({path:`files/${o}:download`,httpMethod:"GET",queryParams:{alt:"media"},httpOptions:null==(r=e.config)?void 0:r.httpOptions,abortSignal:null==(n=e.config)?void 0:n.abortSignal});if(ra(e.file)){let t=null==(i=e.file.video)?void 0:i.videoBytes;if("string"==typeof t)return t;throw Error("Failed to download generated video, Uri or videoBytes not found.")}if(rl(e.file)){let t=e.file.videoBytes;if("string"==typeof t)return t;throw Error("Failed to download video, Uri or videoBytes not found.")}throw Error("Unsupported file type")}class ic{create(e,t,r){return new id(e,t,r)}}class id{constructor(e,t,r){this.url=e,this.headers=t,this.callbacks=r}connect(){this.ws=new th.default(this.url,{headers:this.headers}),this.ws.onopen=this.callbacks.onopen,this.ws.onerror=this.callbacks.onerror,this.ws.onclose=this.callbacks.onclose,this.ws.onmessage=this.callbacks.onmessage}send(e){if(void 0===this.ws)throw Error("WebSocket is not connected");this.ws.send(e)}close(){if(void 0===this.ws)throw Error("WebSocket is not connected");this.ws.close()}}function ip(e,t){let r,n,i,o={},s=t_(e,["sdkHttpResponse"]);null!=s&&ty(o,["sdkHttpResponse"],s);let a=t_(e,["name"]);null!=a&&ty(o,["name"],a);let l=t_(e,["state"]);null!=l&&ty(o,["state"],rs(l));let u=t_(e,["createTime"]);null!=u&&ty(o,["createTime"],u);let c=t_(e,["tuningTask","startTime"]);null!=c&&ty(o,["startTime"],c);let d=t_(e,["tuningTask","completeTime"]);null!=d&&ty(o,["endTime"],d);let p=t_(e,["updateTime"]);null!=p&&ty(o,["updateTime"],p);let h=t_(e,["description"]);null!=h&&ty(o,["description"],h);let f=t_(e,["baseModel"]);null!=f&&ty(o,["baseModel"],f);let m=t_(e,["_self"]);return null!=m&&ty(o,["tunedModel"],(r={},null!=(n=t_(m,["name"]))&&ty(r,["model"],n),null!=(i=t_(m,["name"]))&&ty(r,["endpoint"],i),r)),o}function ih(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["name"]);null!=i&&ty(r,["name"],i);let o=t_(e,["state"]);null!=o&&ty(r,["state"],rs(o));let s=t_(e,["createTime"]);null!=s&&ty(r,["createTime"],s);let a=t_(e,["startTime"]);null!=a&&ty(r,["startTime"],a);let l=t_(e,["endTime"]);null!=l&&ty(r,["endTime"],l);let u=t_(e,["updateTime"]);null!=u&&ty(r,["updateTime"],u);let c=t_(e,["error"]);null!=c&&ty(r,["error"],c);let d=t_(e,["description"]);null!=d&&ty(r,["description"],d);let p=t_(e,["baseModel"]);null!=p&&ty(r,["baseModel"],p);let h=t_(e,["tunedModel"]);null!=h&&ty(r,["tunedModel"],h);let f=t_(e,["preTunedModel"]);null!=f&&ty(r,["preTunedModel"],f);let m=t_(e,["supervisedTuningSpec"]);null!=m&&ty(r,["supervisedTuningSpec"],m);let g=t_(e,["preferenceOptimizationSpec"]);null!=g&&ty(r,["preferenceOptimizationSpec"],g);let y=t_(e,["distillationSpec"]);null!=y&&ty(r,["distillationSpec"],y);let _=t_(e,["tuningDataStats"]);null!=_&&ty(r,["tuningDataStats"],_);let E=t_(e,["encryptionSpec"]);null!=E&&ty(r,["encryptionSpec"],E);let v=t_(e,["partnerModelTuningSpec"]);null!=v&&ty(r,["partnerModelTuningSpec"],v);let T=t_(e,["customBaseModel"]);null!=T&&ty(r,["customBaseModel"],T);let A=t_(e,["experiment"]);null!=A&&ty(r,["experiment"],A);let S=t_(e,["labels"]);null!=S&&ty(r,["labels"],S);let b=t_(e,["outputUri"]);null!=b&&ty(r,["outputUri"],b);let C=t_(e,["pipelineJob"]);null!=C&&ty(r,["pipelineJob"],C);let O=t_(e,["serviceAccount"]);null!=O&&ty(r,["serviceAccount"],O);let I=t_(e,["tunedModelDisplayName"]);null!=I&&ty(r,["tunedModelDisplayName"],I);let w=t_(e,["veoTuningSpec"]);return null!=w&&ty(r,["veoTuningSpec"],w),r}function im(e,t){let r={},n=t_(e,["gcsUri"]);null!=n&&ty(r,["validationDatasetUri"],n);let i=t_(e,["vertexDatasetResource"]);return null!=i&&ty(r,["validationDatasetUri"],i),r}class ig extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_TUNING_JOBS,e=>this.listInternal(e),await this.listInternal(e),e),this.get=async e=>await this.getInternal(e),this.tune=async e=>{var t;if(this.apiClient.isVertexAI())if(e.baseModel.startsWith("projects/")){let r={tunedModelName:e.baseModel};(null==(t=e.config)?void 0:t.preTunedModelCheckpointId)&&(r.checkpointId=e.config.preTunedModelCheckpointId);let n=Object.assign(Object.assign({},e),{preTunedModel:r});return n.baseModel=void 0,await this.tuneInternal(n)}else{let t=Object.assign({},e);return await this.tuneInternal(t)}{let t=Object.assign({},e),r=await this.tuneMldevInternal(t),n="";return void 0!==r.metadata&&void 0!==r.metadata.tunedModel?n=r.metadata.tunedModel:void 0!==r.name&&r.name.includes("/operations/")&&(n=r.name.split("/operations/")[0]),{name:n,state:eM.JOB_STATE_QUEUED}}}}async getInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a=(n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],i),n);return o=tg("{name}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>ih(e))}{let t,r,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],r),t);return o=tg("{name}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>ip(e))}}async listInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a,l,u,c=(n={},null!=(i=t_(e,["config"]))&&(a=t_(i,["pageSize"]),void 0!==n&&null!=a&&ty(n,["_query","pageSize"],a),l=t_(i,["pageToken"]),void 0!==n&&null!=l&&ty(n,["_query","pageToken"],l),u=t_(i,["filter"]),void 0!==n&&null!=u&&ty(n,["_query","filter"],u)),n);return o=tg("tuningJobs",c._url),s=c._query,delete c._url,delete c._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["tuningJobs"]);if(null!=o){let e=o;Array.isArray(e)&&(e=e.map(e=>ih(e))),ty(r,["tuningJobs"],e)}return r}(e),r=new tU;return Object.assign(r,t),r})}{let t,r,a,l,u,c=(t={},null!=(r=t_(e,["config"]))&&(a=t_(r,["pageSize"]),void 0!==t&&null!=a&&ty(t,["_query","pageSize"],a),l=t_(r,["pageToken"]),void 0!==t&&null!=l&&ty(t,["_query","pageToken"],l),u=t_(r,["filter"]),void 0!==t&&null!=u&&ty(t,["_query","filter"],u)),t);return o=tg("tunedModels",c._url),s=c._query,delete c._url,delete c._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["tunedModels"]);if(null!=o){let e=o;Array.isArray(e)&&(e=e.map(e=>ip(e))),ty(r,["tuningJobs"],e)}return r}(e),r=new tU;return Object.assign(r,t),r})}}async cancel(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a=(n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],i),n);return o=tg("{name}:cancel",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tD;return Object.assign(i,n),i})}{let t,r,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],r),t);return o=tg("{name}:cancel",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tD;return Object.assign(i,n),i})}}async tuneInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o,s,a,l,u,c=(o={},null!=(s=t_(e,["baseModel"]))&&ty(o,["baseModel"],s),null!=(a=t_(e,["preTunedModel"]))&&ty(o,["preTunedModel"],a),null!=(l=t_(e,["trainingDataset"]))&&function(e,t,r){let n=t_(r,["config","method"]);if(void 0===n&&(n="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===n){let r=t_(e,["gcsUri"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","trainingDatasetUri"],r)}else if("PREFERENCE_TUNING"===n){let r=t_(e,["gcsUri"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","trainingDatasetUri"],r)}else if("DISTILLATION"===n){let r=t_(e,["gcsUri"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","promptDatasetUri"],r)}let i=t_(r,["config","method"]);if(void 0===i&&(i="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===i){let r=t_(e,["vertexDatasetResource"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","trainingDatasetUri"],r)}else if("PREFERENCE_TUNING"===i){let r=t_(e,["vertexDatasetResource"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","trainingDatasetUri"],r)}else if("DISTILLATION"===i){let r=t_(e,["vertexDatasetResource"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","promptDatasetUri"],r)}if(void 0!==t_(e,["examples"]))throw Error("examples parameter is not supported in Vertex AI.")}(l,o,e),null!=(u=t_(e,["config"]))&&function(e,t,r){let n=t_(r,["config","method"]);if(void 0===n&&(n="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===n){let r=t_(e,["validationDataset"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec"],im(r))}else if("PREFERENCE_TUNING"===n){let r=t_(e,["validationDataset"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec"],im(r))}else if("DISTILLATION"===n){let r=t_(e,["validationDataset"]);void 0!==t&&null!=r&&ty(t,["distillationSpec"],im(r))}let i=t_(e,["tunedModelDisplayName"]);void 0!==t&&null!=i&&ty(t,["tunedModelDisplayName"],i);let o=t_(e,["description"]);void 0!==t&&null!=o&&ty(t,["description"],o);let s=t_(r,["config","method"]);if(void 0===s&&(s="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===s){let r=t_(e,["epochCount"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","epochCount"],r)}else if("PREFERENCE_TUNING"===s){let r=t_(e,["epochCount"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","hyperParameters","epochCount"],r)}else if("DISTILLATION"===s){let r=t_(e,["epochCount"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","hyperParameters","epochCount"],r)}let a=t_(r,["config","method"]);if(void 0===a&&(a="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===a){let r=t_(e,["learningRateMultiplier"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","learningRateMultiplier"],r)}else if("PREFERENCE_TUNING"===a){let r=t_(e,["learningRateMultiplier"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","hyperParameters","learningRateMultiplier"],r)}else if("DISTILLATION"===a){let r=t_(e,["learningRateMultiplier"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","hyperParameters","learningRateMultiplier"],r)}let l=t_(r,["config","method"]);if(void 0===l&&(l="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===l){let r=t_(e,["exportLastCheckpointOnly"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","exportLastCheckpointOnly"],r)}else if("PREFERENCE_TUNING"===l){let r=t_(e,["exportLastCheckpointOnly"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","exportLastCheckpointOnly"],r)}else if("DISTILLATION"===l){let r=t_(e,["exportLastCheckpointOnly"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","exportLastCheckpointOnly"],r)}let u=t_(r,["config","method"]);if(void 0===u&&(u="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===u){let r=t_(e,["adapterSize"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","adapterSize"],r)}else if("PREFERENCE_TUNING"===u){let r=t_(e,["adapterSize"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","hyperParameters","adapterSize"],r)}else if("DISTILLATION"===u){let r=t_(e,["adapterSize"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","hyperParameters","adapterSize"],r)}let c=t_(r,["config","method"]);if(void 0===c&&(c="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===c){let r=t_(e,["tuningMode"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","tuningMode"],r)}let d=t_(e,["customBaseModel"]);void 0!==t&&null!=d&&ty(t,["customBaseModel"],d);let p=t_(r,["config","method"]);if(void 0===p&&(p="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===p){let r=t_(e,["batchSize"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","batchSize"],r)}let h=t_(r,["config","method"]);if(void 0===h&&(h="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===h){let r=t_(e,["learningRate"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","learningRate"],r)}let f=t_(e,["labels"]);void 0!==t&&null!=f&&ty(t,["labels"],f);let m=t_(e,["beta"]);void 0!==t&&null!=m&&ty(t,["preferenceOptimizationSpec","hyperParameters","beta"],m);let g=t_(e,["baseTeacherModel"]);void 0!==t&&null!=g&&ty(t,["distillationSpec","baseTeacherModel"],g);let y=t_(e,["tunedTeacherModelSource"]);void 0!==t&&null!=y&&ty(t,["distillationSpec","tunedTeacherModelSource"],y);let _=t_(e,["sftLossWeightMultiplier"]);void 0!==t&&null!=_&&ty(t,["distillationSpec","hyperParameters","sftLossWeightMultiplier"],_);let E=t_(e,["outputUri"]);void 0!==t&&null!=E&&ty(t,["outputUri"],E);let v=t_(e,["encryptionSpec"]);void 0!==t&&null!=v&&ty(t,["encryptionSpec"],v)}(u,o,e),o);return n=tg("tuningJobs",c._url),i=c._query,delete c._url,delete c._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(c),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>ih(e))}throw Error("This method is only supported by the Vertex AI.")}async tuneMldevInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u,c=(o={},null!=(s=t_(e,["baseModel"]))&&ty(o,["baseModel"],s),null!=(a=t_(e,["preTunedModel"]))&&ty(o,["preTunedModel"],a),null!=(l=t_(e,["trainingDataset"]))&&function(e,t){if(void 0!==t_(e,["gcsUri"]))throw Error("gcsUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["vertexDatasetResource"]))throw Error("vertexDatasetResource parameter is not supported in Gemini API.");let r=t_(e,["examples"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty({},["examples","examples"],e)}}(l),null!=(u=t_(e,["config"]))&&function(e,t,r){if(void 0!==t_(e,["validationDataset"]))throw Error("validationDataset parameter is not supported in Gemini API.");let n=t_(e,["tunedModelDisplayName"]);if(void 0!==t&&null!=n&&ty(t,["displayName"],n),void 0!==t_(e,["description"]))throw Error("description parameter is not supported in Gemini API.");let i=t_(e,["epochCount"]);void 0!==t&&null!=i&&ty(t,["tuningTask","hyperparameters","epochCount"],i);let o=t_(e,["learningRateMultiplier"]);if(null!=o&&ty({},["tuningTask","hyperparameters","learningRateMultiplier"],o),void 0!==t_(e,["exportLastCheckpointOnly"]))throw Error("exportLastCheckpointOnly parameter is not supported in Gemini API.");if(void 0!==t_(e,["preTunedModelCheckpointId"]))throw Error("preTunedModelCheckpointId parameter is not supported in Gemini API.");if(void 0!==t_(e,["adapterSize"]))throw Error("adapterSize parameter is not supported in Gemini API.");if(void 0!==t_(e,["tuningMode"]))throw Error("tuningMode parameter is not supported in Gemini API.");if(void 0!==t_(e,["customBaseModel"]))throw Error("customBaseModel parameter is not supported in Gemini API.");let s=t_(e,["batchSize"]);void 0!==t&&null!=s&&ty(t,["tuningTask","hyperparameters","batchSize"],s);let a=t_(e,["learningRate"]);if(void 0!==t&&null!=a&&ty(t,["tuningTask","hyperparameters","learningRate"],a),void 0!==t_(e,["labels"]))throw Error("labels parameter is not supported in Gemini API.");if(void 0!==t_(e,["beta"]))throw Error("beta parameter is not supported in Gemini API.");if(void 0!==t_(e,["baseTeacherModel"]))throw Error("baseTeacherModel parameter is not supported in Gemini API.");if(void 0!==t_(e,["tunedTeacherModelSource"]))throw Error("tunedTeacherModelSource parameter is not supported in Gemini API.");if(void 0!==t_(e,["sftLossWeightMultiplier"]))throw Error("sftLossWeightMultiplier parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputUri"]))throw Error("outputUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["encryptionSpec"]))throw Error("encryptionSpec parameter is not supported in Gemini API.")}(u,o),o);return n=tg("tunedModels",c._url),i=c._query,delete c._url,delete c._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(c),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o,s;return t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["metadata"]))&&ty(t,["metadata"],i),null!=(o=t_(e,["done"]))&&ty(t,["done"],o),null!=(s=t_(e,["error"]))&&ty(t,["error"],s),t})}}}let iy="x-goog-upload-status";async function i_(e,t,r){var n;let i=await iv(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");return o.file}async function iE(e,t,r){var n;let i=await iv(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");let s=tv(o),a=new tY;return Object.assign(a,s),a}async function iv(e,t,r){var n,i;let o=0,s=0,a=new tT(new Response),l="upload";for(o=e.size;s=o&&(l+=", finalize");let d=0,p=1e3;for(;d<3&&(null==(n=null==(a=await r.request({path:"",body:c,httpMethod:"POST",httpOptions:{apiVersion:"",baseUrl:t,headers:{"X-Goog-Upload-Command":l,"X-Goog-Upload-Offset":String(s),"Content-Length":String(u)}}}))?void 0:a.headers)||!n[iy]);)d++,await iA(p),p*=2;if(s+=u,(null==(i=null==a?void 0:a.headers)?void 0:i[iy])!=="active")break;if(o<=s)throw Error("All content has been uploaded, but the upload status is not finalized.")}return a}async function iT(e){return{size:e.size,type:e.type}}function iA(e){return new Promise(t=>setTimeout(t,e))}class iS{async stat(e){let t={size:0,type:void 0};return"string"==typeof e?(t.size=(await tc.stat(e)).size,t.type=this.inferMimeType(e),t):await iT(e)}async upload(e,t,r){return"string"==typeof e?await this.uploadFileFromPath(e,t,r):i_(e,t,r)}async uploadToFileSearchStore(e,t,r){return"string"==typeof e?await this.uploadFileToFileSearchStoreFromPath(e,t,r):iE(e,t,r)}inferMimeType(e){return({aac:"audio/aac",abw:"application/x-abiword",arc:"application/x-freearc",avi:"video/x-msvideo",azw:"application/vnd.amazon.ebook",bin:"application/octet-stream",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csh:"application/x-csh",css:"text/css",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",eot:"application/vnd.ms-fontobject",epub:"application/epub+zip",gz:"application/gzip",gif:"image/gif",htm:"text/html",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",jar:"application/java-archive",jpeg:"image/jpeg",jpg:"image/jpeg",js:"text/javascript",json:"application/json",jsonld:"application/ld+json",kml:"application/vnd.google-earth.kml+xml",kmz:"application/vnd.google-earth.kmz+xml",mjs:"text/javascript",mp3:"audio/mpeg",mp4:"video/mp4",mpeg:"video/mpeg",mpkg:"application/vnd.apple.installer+xml",odt:"application/vnd.oasis.opendocument.text",oga:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",opus:"audio/opus",otf:"font/otf",png:"image/png",pdf:"application/pdf",php:"application/x-httpd-php",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",rar:"application/vnd.rar",rtf:"application/rtf",sh:"application/x-sh",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tif:"image/tiff",tiff:"image/tiff",ts:"video/mp2t",ttf:"font/ttf",txt:"text/plain",vsd:"application/vnd.visio",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"application/xml",xul:"application/vnd.mozilla.xul+xml",zip:"application/zip","3gp":"video/3gpp","3g2":"video/3gpp2","7z":"application/x-7z-compressed"})[e.slice(e.lastIndexOf(".")+1).toLowerCase()]}async uploadFileFromPath(e,t,r){var n;let i=await this.uploadFileFromPathInternal(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");return o.file}async uploadFileToFileSearchStoreFromPath(e,t,r){var n;let i=await this.uploadFileFromPathInternal(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");let s=tv(o),a=new tY;return Object.assign(a,s),a}async uploadFileFromPathInternal(e,t,r){var n,i;let o,s=0,a=0,l=new tT(new Response),u="upload",c=tf.basename(e);try{if(!(o=await tc.open(e,"r")))throw Error("Failed to open file");for(s=(await o.stat()).size;a=s&&(u+=", finalize");let d=new Uint8Array(e),{bytesRead:p}=await o.read(d,0,e,a);if(p!==e)throw Error(`Failed to read ${e} bytes from file at offset ${a}. bytes actually read: ${p}`);let h=new Blob([d]),f=0,m=1e3;for(;f<3&&(null==(n=null==(l=await r.request({path:"",body:h,httpMethod:"POST",httpOptions:{apiVersion:"",baseUrl:t,headers:{"X-Goog-Upload-Command":u,"X-Goog-Upload-Offset":String(a),"Content-Length":String(p),"X-Goog-Upload-File-Name":c}}}))?void 0:l.headers)||!n[iy]);)f++,await iA(m),m*=2;if(a+=p,(null==(i=null==l?void 0:l.headers)?void 0:i[iy])!=="active")break;if(s<=a)throw Error("All content has been uploaded, but the upload status is not finalized.")}return l}finally{o&&await o.close()}}}class ib extends rx{async registerFiles(e){if("u"e?e.length>t?e.substring(0,t)+"...":e:"",iw=e=>"master"===e.subscription.plan||e.usage.aiActionsCurrent{if(!iw(n))return{text:"Limite d'actions IA atteinte pour ce mois. Passez au plan Pro !",type:"reflection"};try{let i,o,s,a,l,u,c,d=new iC({apiKey:process.env.GEMINI_API_KEY}),p=(i=e.chapters.findIndex(e=>e.id===t),o=e.chapters.slice(0,i).map((e,t)=>`Chapitre ${t+1} (${e.title}): ${e.summary||iI(e.content.replace(/<[^>]*>?/gm,""),200)}`).join("\n"),s=e.entities.map(e=>`[${e.type}] ${e.name}: ${iI(e.description,150)}`+(e.storyContext?` +${t}`)}return s})(nB);class nJ extends nH{create(e,t){var r;let{api_version:n=this._client.apiVersion}=e,i=rb(e,["api_version"]);if("model"in i&&"agent_config"in i)throw new nf("Invalid request: specified `model` and `agent_config`. If specifying `model`, use `generation_config`.");if("agent"in i&&"generation_config"in i)throw new nf("Invalid request: specified `agent` and `generation_config`. If specifying `agent`, use `agent_config`.");return this._client.post(n$`/${n}/interactions`,Object.assign(Object.assign({body:i},t),{stream:null!=(r=e.stream)&&r}))}delete(e,t={},r){let{api_version:n=this._client.apiVersion}=null!=t?t:{};return this._client.delete(n$`/${n}/interactions/${e}`,r)}cancel(e,t={},r){let{api_version:n=this._client.apiVersion}=null!=t?t:{};return this._client.post(n$`/${n}/interactions/${e}/cancel`,r)}get(e,t={},r){var n;let i=null!=t?t:{},{api_version:o=this._client.apiVersion}=i,s=rb(i,["api_version"]);return this._client.get(n$`/${o}/interactions/${e}`,Object.assign(Object.assign({query:s},r),{stream:null!=(n=null==t?void 0:t.stream)&&n}))}}nJ._key=Object.freeze(["interactions"]);class nW extends nJ{}function nK(e){let t;return(null!=r?r:r=(t=new globalThis.TextEncoder).encode.bind(t))(e)}function nY(e){let t;return(null!=n?n:n=(t=new globalThis.TextDecoder).decode.bind(t))(e)}class nz{constructor(){this.buffer=new Uint8Array,this.carriageReturnIndex=null}decode(e){let t;if(null==e)return[];let r=e instanceof ArrayBuffer?new Uint8Array(e):"string"==typeof e?nK(e):e;this.buffer=function(e){let t=0;for(let r of e)t+=r.length;let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}([this.buffer,r]);let n=[];for(;null!=(t=function(e,t){for(let r=null!=t?t:0;r{if(e){if(Object.prototype.hasOwnProperty.call(nX,e))return e;n4(r).warn(`${t} was set to ${JSON.stringify(e)}, expected one of ${JSON.stringify(Object.keys(nX))}`)}};function nZ(){}function n0(e,t,r){return!t||nX[e]>nX[r]?nZ:t[e].bind(t)}let n1={error:nZ,warn:nZ,info:nZ,debug:nZ},n2=new WeakMap;function n4(e){var t;let r=e.logger,n=null!=(t=e.logLevel)?t:"off";if(!r)return n1;let i=n2.get(r);if(i&&i[0]===n)return i[1];let o={error:n0("error",r,n),warn:n0("warn",r,n),info:n0("info",r,n),debug:n0("debug",r,n)};return n2.set(r,[n,o]),o}let n6=e=>(e.options&&(e.options=Object.assign({},e.options),delete e.options.headers),e.headers&&(e.headers=Object.fromEntries((e.headers instanceof Headers?[...e.headers]:Object.entries(e.headers)).map(([e,t])=>[e,"x-goog-api-key"===e.toLowerCase()||"authorization"===e.toLowerCase()||"cookie"===e.toLowerCase()||"set-cookie"===e.toLowerCase()?"***":t]))),"retryOfRequestLogID"in e&&(e.retryOfRequestLogID&&(e.retryOf=e.retryOfRequestLogID),delete e.retryOfRequestLogID),e);class n8{constructor(e,t,r){this.iterator=e,this.controller=t,this.client=r}static fromSSEResponse(e,t,r){let n=!1,i=r?n4(r):console;return new n8(function(){return rO(this,arguments,function*(){var r,o,s,a;if(n)throw new nf("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let l=!1;try{try{for(var u,c=!0,d=rI(function(e,t){return rO(this,arguments,function*(){var r,n,i,o;if(!e.body){if(t.abort(),void 0!==globalThis.navigator&&"ReactNative"===globalThis.navigator.product)throw new nf("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new nf("Attempted to iterate over a response with no body")}let s=new n5,a=new nz,l=nU(e.body);try{for(var u,c=!0,d=rI(function(e){return rO(this,arguments,function*(){var t,r,n,i;let o=new Uint8Array;try{for(var s,a=!0,l=rI(e);!(t=(s=yield rC(l.next())).done);a=!0){let e;if(i=s.value,a=!1,null==i)continue;let t=i instanceof ArrayBuffer?new Uint8Array(i):"string"==typeof i?nK(i):i,r=new Uint8Array(o.length+t.length);for(r.set(o),r.set(t,o.length),o=r;-1!==(e=function(e){for(let t=0;t0&&(yield yield rC(o))})}(l));!(r=(u=yield rC(d.next())).done);c=!0)for(let e of(o=u.value,c=!1,a.decode(o))){let t=s.decode(e);t&&(yield yield rC(t))}}catch(e){n={error:e}}finally{try{!c&&!r&&(i=d.return)&&(yield rC(i.call(d)))}finally{if(n)throw n.error}}for(let e of a.flush()){let t=s.decode(e);t&&(yield yield rC(t))}})}(e,t));!(r=(u=yield rC(d.next())).done);c=!0)if(a=u.value,c=!1,!l)if(a.data.startsWith("[DONE]")){l=!0;continue}else try{yield yield rC(JSON.parse(a.data))}catch(e){throw i.error("Could not parse message into JSON:",a.data),i.error("From chunk:",a.raw),e}}catch(e){o={error:e}}finally{try{!c&&!r&&(s=d.return)&&(yield rC(s.call(d)))}finally{if(o)throw o.error}}l=!0}catch(e){if(np(e))return yield rC(void 0);throw e}finally{l||t.abort()}})},t,r)}static fromReadableStream(e,t,r){let n=!1;return new n8(function(){return rO(this,arguments,function*(){var r,i,o,s;if(n)throw new nf("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let a=!1;try{try{for(var l,u=!0,c=rI(function(){return rO(this,arguments,function*(){var t,r,n,i;let o=new nz,s=nU(e);try{for(var a,l=!0,u=rI(s);!(t=(a=yield rC(u.next())).done);l=!0)for(let e of(i=a.value,l=!1,o.decode(i)))yield yield rC(e)}catch(e){r={error:e}}finally{try{!l&&!t&&(n=u.return)&&(yield rC(n.call(u)))}finally{if(r)throw r.error}}for(let e of o.flush())yield yield rC(e)})}());!(r=(l=yield rC(c.next())).done);u=!0)s=l.value,u=!1,!a&&s&&(yield yield rC(JSON.parse(s)))}catch(e){i={error:e}}finally{try{!u&&!r&&(o=c.return)&&(yield rC(o.call(c)))}finally{if(i)throw i.error}}a=!0}catch(e){if(np(e))return yield rC(void 0);throw e}finally{a||t.abort()}})},t,r)}[Symbol.asyncIterator](){return this.iterator()}tee(){let e=[],t=[],r=this.iterator(),n=n=>({next:()=>{if(0===n.length){let n=r.next();e.push(n),t.push(n)}return n.shift()}});return[new n8(()=>n(e),this.controller,this.client),new n8(()=>n(t),this.controller,this.client)]}toReadableStream(){let e,t=this;return nx({async start(){e=t[Symbol.asyncIterator]()},async pull(t){try{let{value:r,done:n}=await e.next();if(n)return t.close();let i=nK(JSON.stringify(r)+"\n");t.enqueue(i)}catch(e){t.error(e)}},async cancel(){var t;await (null==(t=e.return)?void 0:t.call(e))}})}}class n5{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(e){var t;let r;if(e.endsWith("\r")&&(e=e.substring(0,e.length-1)),!e){if(!this.event&&!this.data.length)return null;let e={event:this.event,data:this.data.join("\n"),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],e}if(this.chunks.push(e),e.startsWith(":"))return null;let[n,i,o]=-1!==(r=(t=e).indexOf(":"))?[t.substring(0,r),":",t.substring(r+1)]:[t,"",""];return o.startsWith(" ")&&(o=o.substring(1)),"event"===n?this.event=o:"data"===n&&this.data.push(o),null}}async function n3(e,t){let{response:r,requestLogID:n,retryOfRequestLogID:i,startTime:o}=t,s=await (async()=>{var n;if(t.options.stream)return(n4(e).debug("response",r.status,r.url,r.headers,r.body),t.options.__streamClass)?t.options.__streamClass.fromSSEResponse(r,t.controller,e):n8.fromSSEResponse(r,t.controller,e);if(204===r.status)return null;if(t.options.__binaryResponse)return r;let i=r.headers.get("content-type"),o=null==(n=null==i?void 0:i.split(";")[0])?void 0:n.trim();if((null==o?void 0:o.includes("application/json"))||(null==o?void 0:o.endsWith("+json"))){if("0"===r.headers.get("content-length"))return;return await r.json()}return await r.text()})();return n4(e).debug(`[${n}] response parsed`,n6({retryOfRequestLogID:i,url:r.url,status:r.status,body:s,durationMs:Date.now()-o})),s}class n9 extends Promise{constructor(e,t,r=n3){super(e=>{e(null)}),this.responsePromise=t,this.parseResponse=r,this.client=e}_thenUnwrap(e){return new n9(this.client,this.responsePromise,async(t,r)=>e(await this.parseResponse(t,r),r))}asResponse(){return this.responsePromise.then(e=>e.response)}async withResponse(){let[e,t]=await Promise.all([this.parse(),this.asResponse()]);return{data:e,response:t}}parse(){return this.parsedPromise||(this.parsedPromise=this.responsePromise.then(e=>this.parseResponse(this.client,e))),this.parsedPromise}then(e,t){return this.parse().then(e,t)}catch(e){return this.parse().catch(e)}finally(e){return this.parse().finally(e)}}let n7=Symbol("brand.privateNullableHeaders"),ie=e=>{let t=new Headers,r=new Set;for(let n of e){let e=new Set;for(let[i,o]of function*(e){let t;if(!e)return;if(n7 in e){let{values:t,nulls:r}=e;for(let e of(yield*t.entries(),r))yield[e,null];return}let r=!1;for(let n of(e instanceof Headers?t=e.entries():nR(e)?t=e:(r=!0,t=Object.entries(null!=e?e:{})),t)){let e=n[0];if("string"!=typeof e)throw TypeError("expected header name to be a string");let t=nR(n[1])?n[1]:[n[1]],i=!1;for(let n of t)void 0!==n&&(r&&!i&&(i=!0,yield[e,null]),yield[e,n])}}(n)){let n=i.toLowerCase();e.has(n)||(t.delete(i),e.add(n)),null===o?(t.delete(i),r.add(n)):(t.append(i,o),r.delete(n))}}return{[n7]:!0,values:t,nulls:r}},it=e=>{var t,r,n,i,o,s;return void 0!==globalThis.process?null!=(n=null==(r=null==(t=globalThis.process.env)?void 0:t[e])?void 0:r.trim())?n:void 0:void 0!==globalThis.Deno?null==(s=null==(o=null==(i=globalThis.Deno.env)?void 0:i.get)?void 0:o.call(i,e))?void 0:s.trim():void 0};class ir{constructor(e){var t,r,n,i,o,s,a,{baseURL:l=it("GEMINI_NEXT_GEN_API_BASE_URL"),apiKey:u=null!=(t=it("GEMINI_API_KEY"))?t:null,apiVersion:c="v1beta"}=e;const d=Object.assign(Object.assign({apiKey:u,apiVersion:c},rb(e,["baseURL","apiKey","apiVersion"])),{baseURL:l||"https://generativelanguage.googleapis.com"});this.baseURL=d.baseURL,this.timeout=null!=(r=d.timeout)?r:ir.DEFAULT_TIMEOUT,this.logger=null!=(n=d.logger)?n:console;const p="warn";this.logLevel=p,this.logLevel=null!=(o=null!=(i=nQ(d.logLevel,"ClientOptions.logLevel",this))?i:nQ(it("GEMINI_NEXT_GEN_API_LOG"),"process.env['GEMINI_NEXT_GEN_API_LOG']",this))?o:p,this.fetchOptions=d.fetchOptions,this.maxRetries=null!=(s=d.maxRetries)?s:2,this.fetch=null!=(a=d.fetch)?a:function(){if("u">typeof fetch)return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new GeminiNextGenAPIClient({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}(),this.encoder=nM,this._options=d,this.apiKey=u,this.apiVersion=c,this.clientAdapter=d.clientAdapter}withOptions(e){return new this.constructor(Object.assign(Object.assign(Object.assign({},this._options),{baseURL:this.baseURL,maxRetries:this.maxRetries,timeout:this.timeout,logger:this.logger,logLevel:this.logLevel,fetch:this.fetch,fetchOptions:this.fetchOptions,apiKey:this.apiKey,apiVersion:this.apiVersion}),e))}baseURLOverridden(){return"https://generativelanguage.googleapis.com"!==this.baseURL}defaultQuery(){return this._options.defaultQuery}validateHeaders({values:e,nulls:t}){if(!(e.has("authorization")||e.has("x-goog-api-key")||this.apiKey&&e.get("x-goog-api-key"))&&!t.has("x-goog-api-key"))throw Error('Could not resolve authentication method. Expected the apiKey to be set. Or for the "x-goog-api-key" headers to be explicitly omitted')}async authHeaders(e){let t=ie([e.headers]);if(!(t.values.has("authorization")||t.values.has("x-goog-api-key"))){if(this.apiKey)return ie([{"x-goog-api-key":this.apiKey}]);if(this.clientAdapter.isVertexAI())return ie([await this.clientAdapter.getAuthHeaders()])}}stringifyQuery(e){return Object.entries(e).filter(([e,t])=>void 0!==t).map(([e,t])=>{if("string"==typeof t||"number"==typeof t||"boolean"==typeof t)return`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;if(null===t)return`${encodeURIComponent(e)}=`;throw new nf(`Cannot stringify type ${typeof t}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}getUserAgent(){return`${this.constructor.name}/JS ${nN}`}defaultIdempotencyKey(){return`stainless-node-retry-${nd()}`}makeStatusError(e,t,r,n){return nm.generate(e,t,r,n)}buildURL(e,t,r){let n=!this.baseURLOverridden()&&r||this.baseURL,i=new URL(nI.test(e)?e:n+(n.endsWith("/")&&e.startsWith("/")?e.slice(1):e)),o=this.defaultQuery();return!function(e){if(!e)return!0;for(let t in e)return!1;return!0}(o)&&(t=Object.assign(Object.assign({},o),t)),"object"==typeof t&&t&&!Array.isArray(t)&&(i.search=this.stringifyQuery(t)),i.toString()}async prepareOptions(e){if(this.clientAdapter&&this.clientAdapter.isVertexAI()&&!e.path.startsWith(`/${this.apiVersion}/projects/`)){let t=e.path.slice(this.apiVersion.length+1);e.path=`/${this.apiVersion}/projects/${this.clientAdapter.getProject()}/locations/${this.clientAdapter.getLocation()}${t}`}}async prepareRequest(e,{url:t,options:r}){}get(e,t){return this.methodRequest("get",e,t)}post(e,t){return this.methodRequest("post",e,t)}patch(e,t){return this.methodRequest("patch",e,t)}put(e,t){return this.methodRequest("put",e,t)}delete(e,t){return this.methodRequest("delete",e,t)}methodRequest(e,t,r){return this.request(Promise.resolve(r).then(r=>Object.assign({method:e,path:t},r)))}request(e,t=null){return new n9(this,this.makeRequest(e,t,void 0))}async makeRequest(e,t,r){var n,i,o;let s=await e,a=null!=(n=s.maxRetries)?n:this.maxRetries;null==t&&(t=a),await this.prepareOptions(s);let{req:l,url:u,timeout:c}=await this.buildRequest(s,{retryCount:a-t});await this.prepareRequest(l,{url:u,options:s});let d="log_"+(0x1000000*Math.random()|0).toString(16).padStart(6,"0"),p=void 0===r?"":`, retryOf: ${r}`,h=Date.now();if(n4(this).debug(`[${d}] sending request`,n6({retryOfRequestLogID:r,method:s.method,url:u,options:s,headers:l.headers})),null==(i=s.signal)?void 0:i.aborted)throw new ng;let f=new AbortController,m=await this.fetchWithTimeout(u,l,c,f).catch(nh),g=Date.now();if(m instanceof globalThis.Error){let e=`retrying, ${t} attempts remaining`;if(null==(o=s.signal)?void 0:o.aborted)throw new ng;let n=np(m)||/timed? ?out/i.test(String(m)+("cause"in m?String(m.cause):""));if(t)return n4(this).info(`[${d}] connection ${n?"timed out":"failed"} - ${e}`),n4(this).debug(`[${d}] connection ${n?"timed out":"failed"} (${e})`,n6({retryOfRequestLogID:r,url:u,durationMs:g-h,message:m.message})),this.retryRequest(s,t,null!=r?r:d);if(n4(this).info(`[${d}] connection ${n?"timed out":"failed"} - error; no more retries left`),n4(this).debug(`[${d}] connection ${n?"timed out":"failed"} (error; no more retries left)`,n6({retryOfRequestLogID:r,url:u,durationMs:g-h,message:m.message})),n)throw new n_;throw new ny({cause:m})}let y=`[${d}${p}] ${l.method} ${u} ${m.ok?"succeeded":"failed"} with status ${m.status} in ${g-h}ms`;if(!m.ok){let e=await this.shouldRetry(m);if(t&&e){let e=`retrying, ${t} attempts remaining`;return await nD(m.body),n4(this).info(`${y} - ${e}`),n4(this).debug(`[${d}] response error (${e})`,n6({retryOfRequestLogID:r,url:m.url,status:m.status,headers:m.headers,durationMs:g-h})),this.retryRequest(s,t,null!=r?r:d,m.headers)}let n=e?"error; no more retries left":"error; not retryable";n4(this).info(`${y} - ${n}`);let i=await m.text().catch(e=>nh(e).message),o=(e=>{try{return JSON.parse(e)}catch(e){return}})(i),a=o?void 0:i;throw n4(this).debug(`[${d}] response error (${n})`,n6({retryOfRequestLogID:r,url:m.url,status:m.status,headers:m.headers,message:a,durationMs:Date.now()-h})),this.makeStatusError(m.status,o,a,m.headers)}return n4(this).info(y),n4(this).debug(`[${d}] response start`,n6({retryOfRequestLogID:r,url:m.url,status:m.status,headers:m.headers,durationMs:g-h})),{response:m,options:s,controller:f,requestLogID:d,retryOfRequestLogID:r,startTime:h}}async fetchWithTimeout(e,t,r,n){let i=t||{},{signal:o,method:s}=i,a=rb(i,["signal","method"]),l=this._makeAbort(n);o&&o.addEventListener("abort",l,{once:!0});let u=setTimeout(l,r),c=globalThis.ReadableStream&&a.body instanceof globalThis.ReadableStream||"object"==typeof a.body&&null!==a.body&&Symbol.asyncIterator in a.body,d=Object.assign(Object.assign(Object.assign({signal:n.signal},c?{duplex:"half"}:{}),{method:"GET"}),a);s&&(d.method=s.toUpperCase());try{return await this.fetch.call(void 0,e,d)}finally{clearTimeout(u)}}async shouldRetry(e){let t=e.headers.get("x-should-retry");return"true"===t||"false"!==t&&(408===e.status||409===e.status||429===e.status||!!(e.status>=500))}async retryRequest(e,t,r,n){var i;let o,s,a=null==n?void 0:n.get("retry-after-ms");if(a){let e=parseFloat(a);Number.isNaN(e)||(o=e)}let l=null==n?void 0:n.get("retry-after");if(l&&!o){let e=parseFloat(l);o=Number.isNaN(e)?Date.parse(l)-Date.now():1e3*e}if(!(o&&0<=o&&o<6e4)){let r=null!=(i=e.maxRetries)?i:this.maxRetries;o=this.calculateDefaultRetryTimeoutMillis(t,r)}return await (s=o,new Promise(e=>setTimeout(e,s))),this.makeRequest(e,t-1,r)}calculateDefaultRetryTimeoutMillis(e,t){return Math.min(.5*Math.pow(2,t-e),8)*(1-.25*Math.random())*1e3}async buildRequest(e,{retryCount:t=0}={}){var r,n,i;let o=Object.assign({},e),{method:s,path:a,query:l,defaultBaseURL:u}=o,c=this.buildURL(a,l,u);"timeout"in o&&((e,t)=>{if("number"!=typeof t||!Number.isInteger(t))throw new nf(`${e} must be an integer`);if(t<0)throw new nf(`${e} must be a positive integer`)})("timeout",o.timeout),o.timeout=null!=(r=o.timeout)?r:this.timeout;let{bodyHeaders:d,body:p}=this.buildBody({options:o}),h=await this.buildHeaders({options:e,method:s,bodyHeaders:d,retryCount:t});return{req:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({method:s,headers:h},o.signal&&{signal:o.signal}),globalThis.ReadableStream&&p instanceof globalThis.ReadableStream&&{duplex:"half"}),p&&{body:p}),null!=(n=this.fetchOptions)?n:{}),null!=(i=o.fetchOptions)?i:{}),url:c,timeout:o.timeout}}async buildHeaders({options:e,method:r,bodyHeaders:n,retryCount:i}){let o={};this.idempotencyHeader&&"get"!==r&&(e.idempotencyKey||(e.idempotencyKey=this.defaultIdempotencyKey()),o[this.idempotencyHeader]=e.idempotencyKey);let s=await this.authHeaders(e),a=ie([o,Object.assign(Object.assign({Accept:"application/json","User-Agent":this.getUserAgent(),"X-Stainless-Retry-Count":String(i)},e.timeout?{"X-Stainless-Timeout":String(Math.trunc(e.timeout/1e3))}:{}),null!=t?t:t=(()=>{var e,t,r,n,i;let o="u">typeof Deno&&null!=Deno.build?"deno":"u">typeof EdgeRuntime?"edge":"[object process]"===Object.prototype.toString.call(void 0!==globalThis.process?globalThis.process:0)?"node":"unknown";if("deno"===o)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":nN,"X-Stainless-OS":nP(Deno.build.os),"X-Stainless-Arch":nk(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":"string"==typeof Deno.version?Deno.version:null!=(t=null==(e=Deno.version)?void 0:e.deno)?t:"unknown"};if("u">typeof EdgeRuntime)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":nN,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if("node"===o)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":nN,"X-Stainless-OS":nP(null!=(r=globalThis.process.platform)?r:"unknown"),"X-Stainless-Arch":nk(null!=(n=globalThis.process.arch)?n:"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":null!=(i=globalThis.process.version)?i:"unknown"};let s=function(){if("u"e.abort()}buildBody({options:{body:e,headers:t}}){if(!e)return{bodyHeaders:void 0,body:void 0};let r=ie([t]);if(ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof DataView||"string"==typeof e&&r.values.has("content-type")||globalThis.Blob&&e instanceof globalThis.Blob||e instanceof FormData||e instanceof URLSearchParams||globalThis.ReadableStream&&e instanceof globalThis.ReadableStream)return{bodyHeaders:void 0,body:e};if("object"==typeof e&&(Symbol.asyncIterator in e||Symbol.iterator in e&&"next"in e&&"function"==typeof e.next)){let t;return{bodyHeaders:void 0,body:(t=Symbol.asyncIterator in e?e[Symbol.asyncIterator]():e[Symbol.iterator](),nx({start(){},async pull(e){let{done:r,value:n}=await t.next();r?e.close():e.enqueue(n)},async cancel(){var e;await (null==(e=t.return)?void 0:e.call(t))}}))}}return"object"==typeof e&&"application/x-www-form-urlencoded"===r.values.get("content-type")?{bodyHeaders:{"content-type":"application/x-www-form-urlencoded"},body:this.stringifyQuery(e)}:this.encoder({body:e,headers:r})}}ir.DEFAULT_TIMEOUT=6e4;class ii extends ir{constructor(){super(...arguments),this.interactions=new nW(this)}}ii.GeminiNextGenAPIClient=ii,ii.GeminiNextGenAPIClientError=nf,ii.APIError=nm,ii.APIConnectionError=ny,ii.APIConnectionTimeoutError=n_,ii.APIUserAbortError=ng,ii.NotFoundError=nA,ii.ConflictError=nS,ii.RateLimitError=nC,ii.BadRequestError=nE,ii.AuthenticationError=nv,ii.InternalServerError=nO,ii.PermissionDeniedError=nT,ii.UnprocessableEntityError=nb,ii.toFile=nF,ii.Interactions=nW;let io="x-goog-api-key",is="https://www.googleapis.com/auth/cloud-platform";class ia{constructor(e){if(void 0!==e.apiKey){this.apiKey=e.apiKey;return}const t=function(e){let t;if(!e)return{scopes:[is]};if((t=e).scopes){if("string"==typeof t.scopes&&t.scopes!==is||Array.isArray(t.scopes)&&0>t.scopes.indexOf(is))throw Error(`Invalid auth scopes. Scopes must include: ${is}`)}else t.scopes=[is];return t}(e.googleAuthOptions);this.googleAuth=new tl.GoogleAuth(t)}async addAuthHeaders(e,t){if(void 0!==this.apiKey){if(this.apiKey.startsWith("auth_tokens/"))throw Error("Ephemeral tokens are only supported by the live API.");this.addKeyHeader(e);return}return this.addGoogleAuthHeaders(e,t)}addKeyHeader(e){if(null===e.get(io)){if(void 0===this.apiKey)throw Error("Trying to set API key header but apiKey is not set");e.append(io,this.apiKey)}}async addGoogleAuthHeaders(e,t){if(void 0===this.googleAuth)throw Error("Trying to set google-auth headers but googleAuth is unset");for(let[r,n]of(await this.googleAuth.getRequestHeaders(t)))null===e.get(r)&&e.append(r,n)}}class il{async download(e,t){if(e.downloadPath){let r=await iu(e,t);if(r instanceof tT){let t=(0,tu.createWriteStream)(e.downloadPath);td.Readable.fromWeb(r.responseInternal.body).pipe(t),await (0,tp.finished)(t)}else try{await (0,tc.writeFile)(e.downloadPath,r,{encoding:"base64"})}catch(t){throw Error(`Failed to write file to ${e.downloadPath}: ${t}`)}}}}async function iu(e,t){var r,n,i;let o=ru(e.file);if(void 0!==o)return await t.request({path:`files/${o}:download`,httpMethod:"GET",queryParams:{alt:"media"},httpOptions:null==(r=e.config)?void 0:r.httpOptions,abortSignal:null==(n=e.config)?void 0:n.abortSignal});if(ra(e.file)){let t=null==(i=e.file.video)?void 0:i.videoBytes;if("string"==typeof t)return t;throw Error("Failed to download generated video, Uri or videoBytes not found.")}if(rl(e.file)){let t=e.file.videoBytes;if("string"==typeof t)return t;throw Error("Failed to download video, Uri or videoBytes not found.")}throw Error("Unsupported file type")}class ic{create(e,t,r){return new id(e,t,r)}}class id{constructor(e,t,r){this.url=e,this.headers=t,this.callbacks=r}connect(){this.ws=new th.default(this.url,{headers:this.headers}),this.ws.onopen=this.callbacks.onopen,this.ws.onerror=this.callbacks.onerror,this.ws.onclose=this.callbacks.onclose,this.ws.onmessage=this.callbacks.onmessage}send(e){if(void 0===this.ws)throw Error("WebSocket is not connected");this.ws.send(e)}close(){if(void 0===this.ws)throw Error("WebSocket is not connected");this.ws.close()}}function ip(e,t){let r,n,i,o={},s=t_(e,["sdkHttpResponse"]);null!=s&&ty(o,["sdkHttpResponse"],s);let a=t_(e,["name"]);null!=a&&ty(o,["name"],a);let l=t_(e,["state"]);null!=l&&ty(o,["state"],rs(l));let u=t_(e,["createTime"]);null!=u&&ty(o,["createTime"],u);let c=t_(e,["tuningTask","startTime"]);null!=c&&ty(o,["startTime"],c);let d=t_(e,["tuningTask","completeTime"]);null!=d&&ty(o,["endTime"],d);let p=t_(e,["updateTime"]);null!=p&&ty(o,["updateTime"],p);let h=t_(e,["description"]);null!=h&&ty(o,["description"],h);let f=t_(e,["baseModel"]);null!=f&&ty(o,["baseModel"],f);let m=t_(e,["_self"]);return null!=m&&ty(o,["tunedModel"],(r={},null!=(n=t_(m,["name"]))&&ty(r,["model"],n),null!=(i=t_(m,["name"]))&&ty(r,["endpoint"],i),r)),o}function ih(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["name"]);null!=i&&ty(r,["name"],i);let o=t_(e,["state"]);null!=o&&ty(r,["state"],rs(o));let s=t_(e,["createTime"]);null!=s&&ty(r,["createTime"],s);let a=t_(e,["startTime"]);null!=a&&ty(r,["startTime"],a);let l=t_(e,["endTime"]);null!=l&&ty(r,["endTime"],l);let u=t_(e,["updateTime"]);null!=u&&ty(r,["updateTime"],u);let c=t_(e,["error"]);null!=c&&ty(r,["error"],c);let d=t_(e,["description"]);null!=d&&ty(r,["description"],d);let p=t_(e,["baseModel"]);null!=p&&ty(r,["baseModel"],p);let h=t_(e,["tunedModel"]);null!=h&&ty(r,["tunedModel"],h);let f=t_(e,["preTunedModel"]);null!=f&&ty(r,["preTunedModel"],f);let m=t_(e,["supervisedTuningSpec"]);null!=m&&ty(r,["supervisedTuningSpec"],m);let g=t_(e,["preferenceOptimizationSpec"]);null!=g&&ty(r,["preferenceOptimizationSpec"],g);let y=t_(e,["distillationSpec"]);null!=y&&ty(r,["distillationSpec"],y);let _=t_(e,["tuningDataStats"]);null!=_&&ty(r,["tuningDataStats"],_);let E=t_(e,["encryptionSpec"]);null!=E&&ty(r,["encryptionSpec"],E);let v=t_(e,["partnerModelTuningSpec"]);null!=v&&ty(r,["partnerModelTuningSpec"],v);let T=t_(e,["customBaseModel"]);null!=T&&ty(r,["customBaseModel"],T);let A=t_(e,["experiment"]);null!=A&&ty(r,["experiment"],A);let S=t_(e,["labels"]);null!=S&&ty(r,["labels"],S);let b=t_(e,["outputUri"]);null!=b&&ty(r,["outputUri"],b);let C=t_(e,["pipelineJob"]);null!=C&&ty(r,["pipelineJob"],C);let O=t_(e,["serviceAccount"]);null!=O&&ty(r,["serviceAccount"],O);let I=t_(e,["tunedModelDisplayName"]);null!=I&&ty(r,["tunedModelDisplayName"],I);let w=t_(e,["veoTuningSpec"]);return null!=w&&ty(r,["veoTuningSpec"],w),r}function im(e,t){let r={},n=t_(e,["gcsUri"]);null!=n&&ty(r,["validationDatasetUri"],n);let i=t_(e,["vertexDatasetResource"]);return null!=i&&ty(r,["validationDatasetUri"],i),r}class ig extends tm{constructor(e){super(),this.apiClient=e,this.list=async(e={})=>new rv(ts.PAGED_ITEM_TUNING_JOBS,e=>this.listInternal(e),await this.listInternal(e),e),this.get=async e=>await this.getInternal(e),this.tune=async e=>{var t;if(this.apiClient.isVertexAI())if(e.baseModel.startsWith("projects/")){let r={tunedModelName:e.baseModel};(null==(t=e.config)?void 0:t.preTunedModelCheckpointId)&&(r.checkpointId=e.config.preTunedModelCheckpointId);let n=Object.assign(Object.assign({},e),{preTunedModel:r});return n.baseModel=void 0,await this.tuneInternal(n)}else{let t=Object.assign({},e);return await this.tuneInternal(t)}{let t=Object.assign({},e),r=await this.tuneMldevInternal(t),n="";return void 0!==r.metadata&&void 0!==r.metadata.tunedModel?n=r.metadata.tunedModel:void 0!==r.name&&r.name.includes("/operations/")&&(n=r.name.split("/operations/")[0]),{name:n,state:eM.JOB_STATE_QUEUED}}}}async getInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a=(n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],i),n);return o=tg("{name}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>ih(e))}{let t,r,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],r),t);return o=tg("{name}",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>ip(e))}}async listInternal(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a,l,u,c=(n={},null!=(i=t_(e,["config"]))&&(a=t_(i,["pageSize"]),void 0!==n&&null!=a&&ty(n,["_query","pageSize"],a),l=t_(i,["pageToken"]),void 0!==n&&null!=l&&ty(n,["_query","pageToken"],l),u=t_(i,["filter"]),void 0!==n&&null!=u&&ty(n,["_query","filter"],u)),n);return o=tg("tuningJobs",c._url),s=c._query,delete c._url,delete c._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["tuningJobs"]);if(null!=o){let e=o;Array.isArray(e)&&(e=e.map(e=>ih(e))),ty(r,["tuningJobs"],e)}return r}(e),r=new tU;return Object.assign(r,t),r})}{let t,r,a,l,u,c=(t={},null!=(r=t_(e,["config"]))&&(a=t_(r,["pageSize"]),void 0!==t&&null!=a&&ty(t,["_query","pageSize"],a),l=t_(r,["pageToken"]),void 0!==t&&null!=l&&ty(t,["_query","pageToken"],l),u=t_(r,["filter"]),void 0!==t&&null!=u&&ty(t,["_query","filter"],u)),t);return o=tg("tunedModels",c._url),s=c._query,delete c._url,delete c._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(c),httpMethod:"GET",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t=function(e,t){let r={},n=t_(e,["sdkHttpResponse"]);null!=n&&ty(r,["sdkHttpResponse"],n);let i=t_(e,["nextPageToken"]);null!=i&&ty(r,["nextPageToken"],i);let o=t_(e,["tunedModels"]);if(null!=o){let e=o;Array.isArray(e)&&(e=e.map(e=>ip(e))),ty(r,["tuningJobs"],e)}return r}(e),r=new tU;return Object.assign(r,t),r})}}async cancel(e){var t,r,n,i;let o="",s={};if(this.apiClient.isVertexAI()){let n,i,a=(n={},null!=(i=t_(e,["name"]))&&ty(n,["_url","name"],i),n);return o=tg("{name}:cancel",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tD;return Object.assign(i,n),i})}{let t,r,a=(t={},null!=(r=t_(e,["name"]))&&ty(t,["_url","name"],r),t);return o=tg("{name}:cancel",a._url),s=a._query,delete a._url,delete a._query,this.apiClient.request({path:o,queryParams:s,body:JSON.stringify(a),httpMethod:"POST",httpOptions:null==(n=e.config)?void 0:n.httpOptions,abortSignal:null==(i=e.config)?void 0:i.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n=(t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),t),i=new tD;return Object.assign(i,n),i})}}async tuneInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI()){let o,s,a,l,u,c=(o={},null!=(s=t_(e,["baseModel"]))&&ty(o,["baseModel"],s),null!=(a=t_(e,["preTunedModel"]))&&ty(o,["preTunedModel"],a),null!=(l=t_(e,["trainingDataset"]))&&function(e,t,r){let n=t_(r,["config","method"]);if(void 0===n&&(n="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===n){let r=t_(e,["gcsUri"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","trainingDatasetUri"],r)}else if("PREFERENCE_TUNING"===n){let r=t_(e,["gcsUri"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","trainingDatasetUri"],r)}else if("DISTILLATION"===n){let r=t_(e,["gcsUri"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","promptDatasetUri"],r)}let i=t_(r,["config","method"]);if(void 0===i&&(i="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===i){let r=t_(e,["vertexDatasetResource"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","trainingDatasetUri"],r)}else if("PREFERENCE_TUNING"===i){let r=t_(e,["vertexDatasetResource"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","trainingDatasetUri"],r)}else if("DISTILLATION"===i){let r=t_(e,["vertexDatasetResource"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","promptDatasetUri"],r)}if(void 0!==t_(e,["examples"]))throw Error("examples parameter is not supported in Vertex AI.")}(l,o,e),null!=(u=t_(e,["config"]))&&function(e,t,r){let n=t_(r,["config","method"]);if(void 0===n&&(n="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===n){let r=t_(e,["validationDataset"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec"],im(r))}else if("PREFERENCE_TUNING"===n){let r=t_(e,["validationDataset"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec"],im(r))}else if("DISTILLATION"===n){let r=t_(e,["validationDataset"]);void 0!==t&&null!=r&&ty(t,["distillationSpec"],im(r))}let i=t_(e,["tunedModelDisplayName"]);void 0!==t&&null!=i&&ty(t,["tunedModelDisplayName"],i);let o=t_(e,["description"]);void 0!==t&&null!=o&&ty(t,["description"],o);let s=t_(r,["config","method"]);if(void 0===s&&(s="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===s){let r=t_(e,["epochCount"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","epochCount"],r)}else if("PREFERENCE_TUNING"===s){let r=t_(e,["epochCount"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","hyperParameters","epochCount"],r)}else if("DISTILLATION"===s){let r=t_(e,["epochCount"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","hyperParameters","epochCount"],r)}let a=t_(r,["config","method"]);if(void 0===a&&(a="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===a){let r=t_(e,["learningRateMultiplier"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","learningRateMultiplier"],r)}else if("PREFERENCE_TUNING"===a){let r=t_(e,["learningRateMultiplier"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","hyperParameters","learningRateMultiplier"],r)}else if("DISTILLATION"===a){let r=t_(e,["learningRateMultiplier"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","hyperParameters","learningRateMultiplier"],r)}let l=t_(r,["config","method"]);if(void 0===l&&(l="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===l){let r=t_(e,["exportLastCheckpointOnly"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","exportLastCheckpointOnly"],r)}else if("PREFERENCE_TUNING"===l){let r=t_(e,["exportLastCheckpointOnly"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","exportLastCheckpointOnly"],r)}else if("DISTILLATION"===l){let r=t_(e,["exportLastCheckpointOnly"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","exportLastCheckpointOnly"],r)}let u=t_(r,["config","method"]);if(void 0===u&&(u="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===u){let r=t_(e,["adapterSize"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","adapterSize"],r)}else if("PREFERENCE_TUNING"===u){let r=t_(e,["adapterSize"]);void 0!==t&&null!=r&&ty(t,["preferenceOptimizationSpec","hyperParameters","adapterSize"],r)}else if("DISTILLATION"===u){let r=t_(e,["adapterSize"]);void 0!==t&&null!=r&&ty(t,["distillationSpec","hyperParameters","adapterSize"],r)}let c=t_(r,["config","method"]);if(void 0===c&&(c="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===c){let r=t_(e,["tuningMode"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","tuningMode"],r)}let d=t_(e,["customBaseModel"]);void 0!==t&&null!=d&&ty(t,["customBaseModel"],d);let p=t_(r,["config","method"]);if(void 0===p&&(p="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===p){let r=t_(e,["batchSize"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","batchSize"],r)}let h=t_(r,["config","method"]);if(void 0===h&&(h="SUPERVISED_FINE_TUNING"),"SUPERVISED_FINE_TUNING"===h){let r=t_(e,["learningRate"]);void 0!==t&&null!=r&&ty(t,["supervisedTuningSpec","hyperParameters","learningRate"],r)}let f=t_(e,["labels"]);void 0!==t&&null!=f&&ty(t,["labels"],f);let m=t_(e,["beta"]);void 0!==t&&null!=m&&ty(t,["preferenceOptimizationSpec","hyperParameters","beta"],m);let g=t_(e,["baseTeacherModel"]);void 0!==t&&null!=g&&ty(t,["distillationSpec","baseTeacherModel"],g);let y=t_(e,["tunedTeacherModelSource"]);void 0!==t&&null!=y&&ty(t,["distillationSpec","tunedTeacherModelSource"],y);let _=t_(e,["sftLossWeightMultiplier"]);void 0!==t&&null!=_&&ty(t,["distillationSpec","hyperParameters","sftLossWeightMultiplier"],_);let E=t_(e,["outputUri"]);void 0!==t&&null!=E&&ty(t,["outputUri"],E);let v=t_(e,["encryptionSpec"]);void 0!==t&&null!=v&&ty(t,["encryptionSpec"],v)}(u,o,e),o);return n=tg("tuningJobs",c._url),i=c._query,delete c._url,delete c._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(c),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>ih(e))}throw Error("This method is only supported by the Vertex AI.")}async tuneMldevInternal(e){var t,r;let n="",i={};if(this.apiClient.isVertexAI())throw Error("This method is only supported by the Gemini Developer API.");{let o,s,a,l,u,c=(o={},null!=(s=t_(e,["baseModel"]))&&ty(o,["baseModel"],s),null!=(a=t_(e,["preTunedModel"]))&&ty(o,["preTunedModel"],a),null!=(l=t_(e,["trainingDataset"]))&&function(e,t){if(void 0!==t_(e,["gcsUri"]))throw Error("gcsUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["vertexDatasetResource"]))throw Error("vertexDatasetResource parameter is not supported in Gemini API.");let r=t_(e,["examples"]);if(null!=r){let e=r;Array.isArray(e)&&(e=e.map(e=>e)),ty({},["examples","examples"],e)}}(l),null!=(u=t_(e,["config"]))&&function(e,t,r){if(void 0!==t_(e,["validationDataset"]))throw Error("validationDataset parameter is not supported in Gemini API.");let n=t_(e,["tunedModelDisplayName"]);if(void 0!==t&&null!=n&&ty(t,["displayName"],n),void 0!==t_(e,["description"]))throw Error("description parameter is not supported in Gemini API.");let i=t_(e,["epochCount"]);void 0!==t&&null!=i&&ty(t,["tuningTask","hyperparameters","epochCount"],i);let o=t_(e,["learningRateMultiplier"]);if(null!=o&&ty({},["tuningTask","hyperparameters","learningRateMultiplier"],o),void 0!==t_(e,["exportLastCheckpointOnly"]))throw Error("exportLastCheckpointOnly parameter is not supported in Gemini API.");if(void 0!==t_(e,["preTunedModelCheckpointId"]))throw Error("preTunedModelCheckpointId parameter is not supported in Gemini API.");if(void 0!==t_(e,["adapterSize"]))throw Error("adapterSize parameter is not supported in Gemini API.");if(void 0!==t_(e,["tuningMode"]))throw Error("tuningMode parameter is not supported in Gemini API.");if(void 0!==t_(e,["customBaseModel"]))throw Error("customBaseModel parameter is not supported in Gemini API.");let s=t_(e,["batchSize"]);void 0!==t&&null!=s&&ty(t,["tuningTask","hyperparameters","batchSize"],s);let a=t_(e,["learningRate"]);if(void 0!==t&&null!=a&&ty(t,["tuningTask","hyperparameters","learningRate"],a),void 0!==t_(e,["labels"]))throw Error("labels parameter is not supported in Gemini API.");if(void 0!==t_(e,["beta"]))throw Error("beta parameter is not supported in Gemini API.");if(void 0!==t_(e,["baseTeacherModel"]))throw Error("baseTeacherModel parameter is not supported in Gemini API.");if(void 0!==t_(e,["tunedTeacherModelSource"]))throw Error("tunedTeacherModelSource parameter is not supported in Gemini API.");if(void 0!==t_(e,["sftLossWeightMultiplier"]))throw Error("sftLossWeightMultiplier parameter is not supported in Gemini API.");if(void 0!==t_(e,["outputUri"]))throw Error("outputUri parameter is not supported in Gemini API.");if(void 0!==t_(e,["encryptionSpec"]))throw Error("encryptionSpec parameter is not supported in Gemini API.")}(u,o),o);return n=tg("tunedModels",c._url),i=c._query,delete c._url,delete c._query,this.apiClient.request({path:n,queryParams:i,body:JSON.stringify(c),httpMethod:"POST",httpOptions:null==(t=e.config)?void 0:t.httpOptions,abortSignal:null==(r=e.config)?void 0:r.abortSignal}).then(e=>e.json().then(t=>(t.sdkHttpResponse={headers:e.headers},t))).then(e=>{let t,r,n,i,o,s;return t={},null!=(r=t_(e,["sdkHttpResponse"]))&&ty(t,["sdkHttpResponse"],r),null!=(n=t_(e,["name"]))&&ty(t,["name"],n),null!=(i=t_(e,["metadata"]))&&ty(t,["metadata"],i),null!=(o=t_(e,["done"]))&&ty(t,["done"],o),null!=(s=t_(e,["error"]))&&ty(t,["error"],s),t})}}}let iy="x-goog-upload-status";async function i_(e,t,r){var n;let i=await iv(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");return o.file}async function iE(e,t,r){var n;let i=await iv(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");let s=tv(o),a=new tY;return Object.assign(a,s),a}async function iv(e,t,r){var n,i;let o=0,s=0,a=new tT(new Response),l="upload";for(o=e.size;s=o&&(l+=", finalize");let d=0,p=1e3;for(;d<3&&(null==(n=null==(a=await r.request({path:"",body:c,httpMethod:"POST",httpOptions:{apiVersion:"",baseUrl:t,headers:{"X-Goog-Upload-Command":l,"X-Goog-Upload-Offset":String(s),"Content-Length":String(u)}}}))?void 0:a.headers)||!n[iy]);)d++,await iA(p),p*=2;if(s+=u,(null==(i=null==a?void 0:a.headers)?void 0:i[iy])!=="active")break;if(o<=s)throw Error("All content has been uploaded, but the upload status is not finalized.")}return a}async function iT(e){return{size:e.size,type:e.type}}function iA(e){return new Promise(t=>setTimeout(t,e))}class iS{async stat(e){let t={size:0,type:void 0};return"string"==typeof e?(t.size=(await tc.stat(e)).size,t.type=this.inferMimeType(e),t):await iT(e)}async upload(e,t,r){return"string"==typeof e?await this.uploadFileFromPath(e,t,r):i_(e,t,r)}async uploadToFileSearchStore(e,t,r){return"string"==typeof e?await this.uploadFileToFileSearchStoreFromPath(e,t,r):iE(e,t,r)}inferMimeType(e){return({aac:"audio/aac",abw:"application/x-abiword",arc:"application/x-freearc",avi:"video/x-msvideo",azw:"application/vnd.amazon.ebook",bin:"application/octet-stream",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csh:"application/x-csh",css:"text/css",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",eot:"application/vnd.ms-fontobject",epub:"application/epub+zip",gz:"application/gzip",gif:"image/gif",htm:"text/html",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",jar:"application/java-archive",jpeg:"image/jpeg",jpg:"image/jpeg",js:"text/javascript",json:"application/json",jsonld:"application/ld+json",kml:"application/vnd.google-earth.kml+xml",kmz:"application/vnd.google-earth.kmz+xml",mjs:"text/javascript",mp3:"audio/mpeg",mp4:"video/mp4",mpeg:"video/mpeg",mpkg:"application/vnd.apple.installer+xml",odt:"application/vnd.oasis.opendocument.text",oga:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",opus:"audio/opus",otf:"font/otf",png:"image/png",pdf:"application/pdf",php:"application/x-httpd-php",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",rar:"application/vnd.rar",rtf:"application/rtf",sh:"application/x-sh",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tif:"image/tiff",tiff:"image/tiff",ts:"video/mp2t",ttf:"font/ttf",txt:"text/plain",vsd:"application/vnd.visio",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"application/xml",xul:"application/vnd.mozilla.xul+xml",zip:"application/zip","3gp":"video/3gpp","3g2":"video/3gpp2","7z":"application/x-7z-compressed"})[e.slice(e.lastIndexOf(".")+1).toLowerCase()]}async uploadFileFromPath(e,t,r){var n;let i=await this.uploadFileFromPathInternal(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");return o.file}async uploadFileToFileSearchStoreFromPath(e,t,r){var n;let i=await this.uploadFileFromPathInternal(e,t,r),o=await (null==i?void 0:i.json());if((null==(n=null==i?void 0:i.headers)?void 0:n[iy])!=="final")throw Error("Failed to upload file: Upload status is not finalized.");let s=tv(o),a=new tY;return Object.assign(a,s),a}async uploadFileFromPathInternal(e,t,r){var n,i;let o,s=0,a=0,l=new tT(new Response),u="upload",c=tf.basename(e);try{if(!(o=await tc.open(e,"r")))throw Error("Failed to open file");for(s=(await o.stat()).size;a=s&&(u+=", finalize");let d=new Uint8Array(e),{bytesRead:p}=await o.read(d,0,e,a);if(p!==e)throw Error(`Failed to read ${e} bytes from file at offset ${a}. bytes actually read: ${p}`);let h=new Blob([d]),f=0,m=1e3;for(;f<3&&(null==(n=null==(l=await r.request({path:"",body:h,httpMethod:"POST",httpOptions:{apiVersion:"",baseUrl:t,headers:{"X-Goog-Upload-Command":u,"X-Goog-Upload-Offset":String(a),"Content-Length":String(p),"X-Goog-Upload-File-Name":c}}}))?void 0:l.headers)||!n[iy]);)f++,await iA(m),m*=2;if(a+=p,(null==(i=null==l?void 0:l.headers)?void 0:i[iy])!=="active")break;if(s<=a)throw Error("All content has been uploaded, but the upload status is not finalized.")}return l}finally{o&&await o.close()}}}class ib extends rx{async registerFiles(e){if("u"e?e.length>t?e.substring(0,t)+"...":e:"",iw=e=>"master"===e.subscription.plan||e.usage.aiActionsCurrent{if(!iw(n))return{text:"Limite d'actions IA atteinte pour ce mois. Passez au plan Pro !",type:"reflection"};try{let i,o,s,a,l,u,c,d=new iC({apiKey:process.env.GEMINI_API_KEY}),p=(i=e.chapters.findIndex(e=>e.id===t),o=e.chapters.slice(0,i).map((e,t)=>`Chapitre ${t+1} (${e.title}): ${e.summary||iI(e.content.replace(/<[^>]*>?/gm,""),200)}`).join("\n"),s=e.entities.map(e=>`[${e.type}] ${e.name}: ${iI(e.description,150)}`+(e.storyContext?` - V\xc9CU/\xc9VOLUTION DANS L'HISTOIRE: ${iI(e.storyContext,500)}`:"")).join("\n"),a=(e.ideas||[]).map(e=>`[ID\xc9E - ${({todo:"À FAIRE",progress:"EN COURS",done:"TERMINÉ"})[e.status]}] ${e.title}: ${iI(e.description,100)}`).join("\n"),l=e.chapters[i]?.content.replace(/<[^>]*>?/gm,"")||"",c=(u=e.settings)?` PARAM\xc8TRES DU ROMAN: - Genre: ${u.genre} ${u.subGenre?`(${u.subGenre})`:""} diff --git a/.next/server/chunks/ssr/549ce_00782eb5._.js b/.next/server/chunks/ssr/549ce_00782eb5._.js deleted file mode 100644 index 4e6c85a..0000000 --- a/.next/server/chunks/ssr/549ce_00782eb5._.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports=[88934,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},11686,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},71282,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={UnrecognizedActionError:function(){return f},unstable_isUnrecognizedActionError:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});class f extends Error{constructor(...a){super(...a),this.name="UnrecognizedActionError"}}function g(a){return!!(a&&"object"==typeof a&&a instanceof f)}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},69172,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return e}});class d extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class e extends URLSearchParams{append(){throw new d}delete(){throw new d}set(){throw new d}sort(){throw new d}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},59569,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"RedirectStatusCode",{enumerable:!0,get:function(){return e}});var d,e=((d={})[d.SeeOther=303]="SeeOther",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},8735,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={REDIRECT_ERROR_CODE:function(){return h},RedirectType:function(){return i},isRedirectError:function(){return j}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=a.r(59569),h="NEXT_REDIRECT";var i=((d={}).push="push",d.replace="replace",d);function j(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,d]=b,e=b.slice(2,-2).join(";"),f=Number(b.at(-2));return c===h&&("replace"===d||"push"===d)&&"string"==typeof e&&!isNaN(f)&&f in g.RedirectStatusCode}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},82463,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(59569),g=a.r(8735),h=a.r(20635).actionAsyncStorage;function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Object.defineProperty(Error(g.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h?.getStore()?.isAction?g.RedirectType.push:g.RedirectType.replace,f.RedirectStatusCode.TemporaryRedirect)}function k(a,b=g.RedirectType.replace){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},64638,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={HTTPAccessErrorStatus:function(){return f},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return h},getAccessFallbackErrorTypeByStatus:function(){return k},getAccessFallbackHTTPStatus:function(){return j},isHTTPAccessFallbackError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},g=new Set(Object.values(f)),h="NEXT_HTTP_ERROR_FALLBACK";function i(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,c]=a.digest.split(";");return b===h&&g.has(Number(c))}function j(a){return Number(a.digest.split(";")[1])}function k(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},90076,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"notFound",{enumerable:!0,get:function(){return f}});let d=a.r(64638),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=e,a}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},42279,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"forbidden",{enumerable:!0,get:function(){return d}}),a.r(64638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},10661,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unauthorized",{enumerable:!0,get:function(){return d}}),a.r(64638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},40004,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={isHangingPromiseRejectionError:function(){return f},makeDevtoolsIOAwarePromise:function(){return l},makeHangingPromise:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===g}let g="HANGING_PROMISE_REJECTION";class h extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest=g}}let i=new WeakMap;function j(a,b,c){if(a.aborted)return Promise.reject(new h(b,c));{let d=new Promise((d,e)=>{let f=e.bind(null,new h(b,c)),g=i.get(a);if(g)g.push(f);else{let b=[f];i.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a{setTimeout(()=>{b(a)},0)})}},23914,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isPostpone",{enumerable:!0,get:function(){return e}});let d=Symbol.for("react.postpone");function e(a){return"object"==typeof a&&null!==a&&a.$$typeof===d}},13752,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},49756,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isNextRouterError",{enumerable:!0,get:function(){return f}});let d=a.r(64638),e=a.r(8735);function f(a){return(0,e.isRedirectError)(a)||(0,d.isHTTPAccessFallbackError)(a)}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},9735,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DynamicServerError:function(){return g},isDynamicServerError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="DYNAMIC_SERVER_USAGE";class g extends Error{constructor(a){super(`Dynamic server usage: ${a}`),this.description=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===f}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},59023,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={StaticGenBailoutError:function(){return g},isStaticGenBailoutError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="NEXT_STATIC_GEN_BAILOUT";class g extends Error{constructor(...a){super(...a),this.code=f}}function h(a){return"object"==typeof a&&null!==a&&"code"in a&&a.code===f}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},43562,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={METADATA_BOUNDARY_NAME:function(){return f},OUTLET_BOUNDARY_NAME:function(){return h},ROOT_LAYOUT_BOUNDARY_NAME:function(){return i},VIEWPORT_BOUNDARY_NAME:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="__next_metadata_boundary__",g="__next_viewport_boundary__",h="__next_outlet_boundary__",i="__next_root_layout_boundary__"},13649,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={atLeastOneTask:function(){return h},scheduleImmediate:function(){return g},scheduleOnNextTick:function(){return f},waitAtLeastOneReactRenderTask:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a=>{Promise.resolve().then(()=>{process.nextTick(a)})},g=a=>{setImmediate(a)};function h(){return new Promise(a=>g(a))}function i(){return new Promise(a=>setImmediate(a))}},32262,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},95959,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f={Postpone:function(){return B},PreludeState:function(){return $},abortAndThrowOnSynchronousRequestDataAccess:function(){return A},abortOnSynchronousPlatformIOAccess:function(){return z},accessedDynamicData:function(){return J},annotateDynamicAccess:function(){return O},consumeDynamicAccess:function(){return K},createDynamicTrackingState:function(){return s},createDynamicValidationState:function(){return t},createHangingInputAbortSignal:function(){return N},createRenderInBrowserAbortSignal:function(){return M},delayUntilRuntimeStage:function(){return ac},formatDynamicAPIAccesses:function(){return L},getFirstDynamicReason:function(){return u},getStaticShellDisallowedDynamicReasons:function(){return ab},isDynamicPostpone:function(){return E},isPrerenderInterruptedError:function(){return I},logDisallowedDynamicError:function(){return _},markCurrentScopeAsDynamic:function(){return v},postponeWithTracking:function(){return C},throwIfDisallowedDynamic:function(){return aa},throwToInterruptStaticGeneration:function(){return w},trackAllowedDynamicAccess:function(){return W},trackDynamicDataInDynamicRender:function(){return x},trackDynamicHoleInRuntimeShell:function(){return X},trackDynamicHoleInStaticShell:function(){return Y},useDynamicRouteParams:function(){return P},useDynamicSearchParams:function(){return Q}};for(var g in f)Object.defineProperty(c,g,{enumerable:!0,get:f[g]});let h=(d=a.r(28091))&&d.__esModule?d:{default:d},i=a.r(9735),j=a.r(59023),k=a.r(32319),l=a.r(56704),m=a.r(40004),n=a.r(43562),o=a.r(13649),p=a.r(13752),q=a.r(32262),r="function"==typeof h.default.unstable_postpone;function s(a){return{isDebugDynamicAccesses:a,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function t(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function u(a){var b;return null==(b=a.dynamicAccesses[0])?void 0:b.expression}function v(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw Object.defineProperty(new j.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)switch(b.type){case"prerender-ppr":return C(a.route,c,b.dynamicTracking);case"prerender-legacy":b.revalidate=0;let d=Object.defineProperty(new i.DynamicServerError(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d}}}function w(a,b,c){let d=Object.defineProperty(new i.DynamicServerError(`Route ${b.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.revalidate=0,b.dynamicUsageDescription=a,b.dynamicUsageStack=d.stack,d}function x(a){switch(a.type){case"cache":case"unstable-cache":case"private-cache":return}}function y(a,b,c){let d=H(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`);c.controller.abort(d);let e=c.dynamicTracking;e&&e.dynamicAccesses.push({stack:e.isDebugDynamicAccesses?Error().stack:void 0,expression:b})}function z(a,b,c,d){let e=d.dynamicTracking;y(a,b,d),e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}function A(a,b,c,d){if(!1===d.controller.signal.aborted){y(a,b,d);let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}throw H(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`)}function B({reason:a,route:b}){let c=k.workUnitAsyncStorage.getStore();C(b,a,c&&"prerender-ppr"===c.type?c.dynamicTracking:null)}function C(a,b,c){(function(){if(!r)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:b}),h.default.unstable_postpone(D(a,b))}function D(a,b){return`Route ${a} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function E(a){return"object"==typeof a&&null!==a&&"string"==typeof a.message&&F(a.message)}function F(a){return a.includes("needs to bail out of prerendering at this point because it used")&&a.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===F(D("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let G="NEXT_PRERENDER_INTERRUPTED";function H(a){let b=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return b.digest=G,b}function I(a){return"object"==typeof a&&null!==a&&a.digest===G&&"name"in a&&"message"in a&&a instanceof Error}function J(a){return a.length>0}function K(a,b){return a.dynamicAccesses.push(...b.dynamicAccesses),a.dynamicAccesses}function L(a){return a.filter(a=>"string"==typeof a.stack&&a.stack.length>0).map(({expression:a,stack:b})=>(b=b.split("\n").slice(4).filter(a=>!(a.includes("node_modules/next/")||a.includes(" ()")||a.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${a}: -${b}`))}function M(){let a=new AbortController;return a.abort(Object.defineProperty(new p.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),a.signal}function N(a){switch(a.type){case"prerender":case"prerender-runtime":let b=new AbortController;if(a.cacheSignal)a.cacheSignal.inputReady().then(()=>{b.abort()});else{let c=(0,k.getRuntimeStagePromise)(a);c?c.then(()=>(0,o.scheduleOnNextTick)(()=>b.abort())):(0,o.scheduleOnNextTick)(()=>b.abort())}return b.signal;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return}}function O(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})}function P(a){let b=l.workAsyncStorage.getStore(),c=k.workUnitAsyncStorage.getStore();if(b&&c)switch(c.type){case"prerender-client":case"prerender":{let d=c.fallbackRouteParams;d&&d.size>0&&h.default.use((0,m.makeHangingPromise)(c.renderSignal,b.route,a));break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d&&d.size>0)return C(b.route,a,c.dynamicTracking);break}case"prerender-runtime":throw Object.defineProperty(new q.InvariantError(`\`${a}\` was called during a runtime prerender. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new q.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0})}}function Q(a){let b=l.workAsyncStorage.getStore(),c=k.workUnitAsyncStorage.getStore();if(b)switch(!c&&(0,k.throwForMissingRequestStore)(a),c.type){case"prerender-client":h.default.use((0,m.makeHangingPromise)(c.renderSignal,b.route,a));break;case"prerender-legacy":case"prerender-ppr":if(b.forceStatic)return;throw Object.defineProperty(new p.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new q.InvariantError(`\`${a}\` was called from a Server Component. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new q.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"request":return}}let R=/\n\s+at Suspense \(\)/,S=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${n.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),T=RegExp(`\\n\\s+at ${n.METADATA_BOUNDARY_NAME}[\\n\\s]`),U=RegExp(`\\n\\s+at ${n.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),V=RegExp(`\\n\\s+at ${n.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function W(a,b,c,d){if(!V.test(b)){if(T.test(b)){c.hasDynamicMetadata=!0;return}if(U.test(b)){c.hasDynamicViewport=!0;return}if(S.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(R.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=Z(`Route "${a.route}": Uncached data was accessed outside of . This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,b);return void c.dynamicErrors.push(e)}}}function X(a,b,c,d){if(!V.test(b)){if(T.test(b)){c.dynamicMetadata=Z(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,b);return}if(U.test(b)){let d=Z(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,b);c.dynamicErrors.push(d);return}if(S.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(R.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=Z(`Route "${a.route}": Uncached data or \`connection()\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,b);return void c.dynamicErrors.push(e)}}}function Y(a,b,c,d){if(!V.test(b)){if(T.test(b)){c.dynamicMetadata=Z(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,b);return}if(U.test(b)){let d=Z(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,b);c.dynamicErrors.push(d);return}if(S.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(R.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=Z(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,b);return void c.dynamicErrors.push(e)}}}function Z(a,b){let c=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return c.stack=c.name+": "+a+b,c}var $=((e={})[e.Full=0]="Full",e[e.Empty=1]="Empty",e[e.Errored=2]="Errored",e);function _(a,b){console.error(b),a.dev||(a.hasReadableErrorStacks?console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error.`):console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`))}function aa(a,b,c,d){if(d.syncDynamicErrorWithStack)throw _(a,d.syncDynamicErrorWithStack),new j.StaticGenBailoutError;if(0!==b){if(c.hasSuspenseAboveBody)return;let d=c.dynamicErrors;if(d.length>0){for(let b=0;b0)return d;if(1===b)return[Object.defineProperty(new q.InvariantError(`Route "${a.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===c.hasAllowedDynamic&&0===c.dynamicErrors.length&&c.dynamicMetadata)return[c.dynamicMetadata];return[]}function ac(a,b){return a.runtimeStagePromise?a.runtimeStagePromise.then(()=>b):b}},7914,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,h.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=a.r(40004),e=a.r(23914),f=a.r(13752),g=a.r(49756),h=a.r(95959),i=a.r(9735);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},33566,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=a.r(7914).unstable_rethrow;("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},46954,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return h.RedirectType},forbidden:function(){return j.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return k.unauthorized},unstable_isUnrecognizedActionError:function(){return m},unstable_rethrow:function(){return l.unstable_rethrow}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(69172),g=a.r(82463),h=a.r(8735),i=a.r(90076),j=a.r(42279),k=a.r(10661),l=a.r(33566);function m(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},18398,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return h.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return j.ServerInsertedHTMLContext},forbidden:function(){return l.forbidden},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},unauthorized:function(){return l.unauthorized},unstable_isUnrecognizedActionError:function(){return k.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return l.unstable_rethrow},useParams:function(){return r},usePathname:function(){return p},useRouter:function(){return q},useSearchParams:function(){return o},useSelectedLayoutSegment:function(){return t},useSelectedLayoutSegments:function(){return s},useServerInsertedHTML:function(){return j.useServerInsertedHTML}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(88934)._(a.r(28091)),g=a.r(97442),h=a.r(42481),i=a.r(11686),j=a.r(70676),k=a.r(71282),l=a.r(46954),m=a.r(95959).useDynamicRouteParams,n=a.r(95959).useDynamicSearchParams;function o(){n?.("useSearchParams()");let a=(0,f.useContext)(h.SearchParamsContext);return(0,f.useMemo)(()=>a?new h.ReadonlyURLSearchParams(a):null,[a])}function p(){return m?.("usePathname()"),(0,f.useContext)(h.PathnameContext)}function q(){let a=(0,f.useContext)(g.AppRouterContext);if(null===a)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return a}function r(){return m?.("useParams()"),(0,f.useContext)(h.PathParamsContext)}function s(a="children"){m?.("useSelectedLayoutSegments()");let b=(0,f.useContext)(g.LayoutRouterContext);return b?(0,i.getSelectedLayoutSegmentPath)(b.parentTree,a):null}function t(a="children"){m?.("useSelectedLayoutSegment()"),(0,f.useContext)(h.NavigationPromisesContext);let b=s(a);return(0,i.computeSelectedLayoutSegment)(b,a)}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},34896,(a,b,c)=>{b.exports=a.r(18398)}]; - -//# sourceMappingURL=549ce_00782eb5._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_00782eb5._.js.map b/.next/server/chunks/ssr/549ce_00782eb5._.js.map deleted file mode 100644 index 229ab7c..0000000 --- a/.next/server/chunks/ssr/549ce_00782eb5._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/%40swc/helpers/cjs/_interop_require_wildcard.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/segment.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/unrecognized-action-error.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/readonly-url-search-params.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/redirect-status-code.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/redirect-error.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/redirect.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/http-access-fallback/http-access-fallback.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/not-found.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/forbidden.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/unauthorized.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/dynamic-rendering-utils.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/lib/router-utils/is-postpone.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/lazy-dynamic/bailout-to-csr.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/is-next-router-error.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/hooks-server-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/static-generation-bailout.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/framework/boundary-constants.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/scheduler.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/invariant-error.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/app-render/dynamic-rendering.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/unstable-rethrow.server.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/unstable-rethrow.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/navigation.react-server.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/navigation.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/navigation.js"],"sourcesContent":["\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n","import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n segment: Segment,\n searchParams: Record\n) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams)\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n\nexport function computeSelectedLayoutSegment(\n segments: string[] | null,\n parallelRouteKey: string\n): string | null {\n if (!segments || segments.length === 0) {\n return null\n }\n\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment =\n parallelRouteKey === 'children'\n ? segments[0]\n : segments[segments.length - 1]\n\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n tree: FlightRouterState,\n parallelRouteKey: string,\n first = true,\n segmentPath: string[] = []\n): string[] {\n let node: FlightRouterState\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey]\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1]\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n }\n\n if (!node) return segmentPath\n const segment = node[0]\n\n let segmentValue = getSegmentValue(segment)\n\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath\n }\n\n segmentPath.push(segmentValue)\n\n return getSelectedLayoutSegmentPath(\n node,\n parallelRouteKey,\n false,\n segmentPath\n )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","export class UnrecognizedActionError extends Error {\n constructor(...args: ConstructorParameters) {\n super(...args)\n this.name = 'UnrecognizedActionError'\n }\n}\n\n/**\n * Check whether a server action call failed because the server action was not recognized by the server.\n * This can happen if the client and the server are not from the same deployment.\n *\n * Example usage:\n * ```ts\n * try {\n * await myServerAction();\n * } catch (err) {\n * if (unstable_isUnrecognizedActionError(err)) {\n * // The client is from a different deployment than the server.\n * // Reloading the page will fix this mismatch.\n * window.alert(\"Please refresh the page and try again\");\n * return;\n * }\n * }\n * ```\n * */\nexport function unstable_isUnrecognizedActionError(\n error: unknown\n): error is UnrecognizedActionError {\n return !!(\n error &&\n typeof error === 'object' &&\n error instanceof UnrecognizedActionError\n )\n}\n","/**\n * ReadonlyURLSearchParams implementation shared between client and server.\n * This file is intentionally not marked as 'use client' or 'use server'\n * so it can be imported by both environments.\n */\n\n/** @internal */\nclass ReadonlyURLSearchParamsError extends Error {\n constructor() {\n super(\n 'Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams'\n )\n }\n}\n\n/**\n * A read-only version of URLSearchParams that throws errors when mutation methods are called.\n * This ensures that the URLSearchParams returned by useSearchParams() cannot be mutated.\n */\nexport class ReadonlyURLSearchParams extends URLSearchParams {\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n append() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n delete() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n set() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n sort() {\n throw new ReadonlyURLSearchParamsError()\n }\n}\n","export enum RedirectStatusCode {\n SeeOther = 303,\n TemporaryRedirect = 307,\n PermanentRedirect = 308,\n}\n","import { RedirectStatusCode } from './redirect-status-code'\n\nexport const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT'\n\nexport enum RedirectType {\n push = 'push',\n replace = 'replace',\n}\n\nexport type RedirectError = Error & {\n digest: `${typeof REDIRECT_ERROR_CODE};${RedirectType};${string};${RedirectStatusCode};`\n}\n\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */\nexport function isRedirectError(error: unknown): error is RedirectError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n\n const digest = error.digest.split(';')\n const [errorCode, type] = digest\n const destination = digest.slice(2, -2).join(';')\n const status = digest.at(-2)\n\n const statusCode = Number(status)\n\n return (\n errorCode === REDIRECT_ERROR_CODE &&\n (type === 'replace' || type === 'push') &&\n typeof destination === 'string' &&\n !isNaN(statusCode) &&\n statusCode in RedirectStatusCode\n )\n}\n","import { RedirectStatusCode } from './redirect-status-code'\nimport {\n RedirectType,\n type RedirectError,\n isRedirectError,\n REDIRECT_ERROR_CODE,\n} from './redirect-error'\n\nconst actionAsyncStorage =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/action-async-storage.external') as typeof import('../../server/app-render/action-async-storage.external')\n ).actionAsyncStorage\n : undefined\n\nexport function getRedirectError(\n url: string,\n type: RedirectType,\n statusCode: RedirectStatusCode = RedirectStatusCode.TemporaryRedirect\n): RedirectError {\n const error = new Error(REDIRECT_ERROR_CODE) as RedirectError\n error.digest = `${REDIRECT_ERROR_CODE};${type};${url};${statusCode};`\n return error\n}\n\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 307/303 to the caller.\n * - In a Server Action, type defaults to 'push' and 'replace' elsewhere.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */\nexport function redirect(\n /** The URL to redirect to */\n url: string,\n type?: RedirectType\n): never {\n type ??= actionAsyncStorage?.getStore()?.isAction\n ? RedirectType.push\n : RedirectType.replace\n\n throw getRedirectError(url, type, RedirectStatusCode.TemporaryRedirect)\n}\n\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 308/303 to the caller.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */\nexport function permanentRedirect(\n /** The URL to redirect to */\n url: string,\n type: RedirectType = RedirectType.replace\n): never {\n throw getRedirectError(url, type, RedirectStatusCode.PermanentRedirect)\n}\n\n/**\n * Returns the encoded URL from the error if it's a RedirectError, null\n * otherwise. Note that this does not validate the URL returned.\n *\n * @param error the error that may be a redirect error\n * @return the url if the error was a redirect error\n */\nexport function getURLFromRedirectError(error: RedirectError): string\nexport function getURLFromRedirectError(error: unknown): string | null {\n if (!isRedirectError(error)) return null\n\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(';').slice(2, -2).join(';')\n}\n\nexport function getRedirectTypeFromError(error: RedirectError): RedirectType {\n if (!isRedirectError(error)) {\n throw new Error('Not a redirect error')\n }\n\n return error.digest.split(';', 2)[1] as RedirectType\n}\n\nexport function getRedirectStatusCodeFromError(error: RedirectError): number {\n if (!isRedirectError(error)) {\n throw new Error('Not a redirect error')\n }\n\n return Number(error.digest.split(';').at(-2))\n}\n","export const HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401,\n}\n\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus))\n\nexport const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK'\n\nexport type HTTPAccessFallbackError = Error & {\n digest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`\n}\n\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */\nexport function isHTTPAccessFallbackError(\n error: unknown\n): error is HTTPAccessFallbackError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n const [prefix, httpStatus] = error.digest.split(';')\n\n return (\n prefix === HTTP_ERROR_FALLBACK_ERROR_CODE &&\n ALLOWED_CODES.has(Number(httpStatus))\n )\n}\n\nexport function getAccessFallbackHTTPStatus(\n error: HTTPAccessFallbackError\n): number {\n const httpStatus = error.digest.split(';')[1]\n return Number(httpStatus)\n}\n\nexport function getAccessFallbackErrorTypeByStatus(\n status: number\n): 'not-found' | 'forbidden' | 'unauthorized' | undefined {\n switch (status) {\n case 401:\n return 'unauthorized'\n case 403:\n return 'forbidden'\n case 404:\n return 'not-found'\n default:\n return\n }\n}\n","import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n/**\n * This function allows you to render the [not-found.js file](https://nextjs.org/docs/app/api-reference/file-conventions/not-found)\n * within a route segment as well as inject a tag.\n *\n * `notFound()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a `` meta tag and set the status code to 404.\n * - In a Route Handler or Server Action, it will serve a 404 to the caller.\n *\n * Read more: [Next.js Docs: `notFound`](https://nextjs.org/docs/app/api-reference/functions/not-found)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};404`\n\nexport function notFound(): never {\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n\n throw error\n}\n","import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n// TODO: Add `forbidden` docs\n/**\n * @experimental\n * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)\n * within a route segment as well as inject a tag.\n *\n * `forbidden()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};403`\n\nexport function forbidden(): never {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw new Error(\n `\\`forbidden()\\` is experimental and only allowed to be enabled when \\`experimental.authInterrupts\\` is enabled.`\n )\n }\n\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n throw error\n}\n","import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n// TODO: Add `unauthorized` docs\n/**\n * @experimental\n * This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized)\n * within a route segment as well as inject a tag.\n *\n * `unauthorized()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n *\n * Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};401`\n\nexport function unauthorized(): never {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw new Error(\n `\\`unauthorized()\\` is experimental and only allowed to be used when \\`experimental.authInterrupts\\` is enabled.`\n )\n }\n\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n throw error\n}\n","import type { NonStaticRenderStage } from './app-render/staged-rendering'\nimport type { RequestStore } from './app-render/work-unit-async-storage.external'\n\nexport function isHangingPromiseRejectionError(\n err: unknown\n): err is HangingPromiseRejectionError {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false\n }\n\n return err.digest === HANGING_PROMISE_REJECTION\n}\n\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION'\n\nclass HangingPromiseRejectionError extends Error {\n public readonly digest = HANGING_PROMISE_REJECTION\n\n constructor(\n public readonly route: string,\n public readonly expression: string\n ) {\n super(\n `During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`\n )\n }\n}\n\ntype AbortListeners = Array<(err: unknown) => void>\nconst abortListenersBySignal = new WeakMap()\n\n/**\n * This function constructs a promise that will never resolve. This is primarily\n * useful for cacheComponents where we use promise resolution timing to determine which\n * parts of a render can be included in a prerender.\n *\n * @internal\n */\nexport function makeHangingPromise(\n signal: AbortSignal,\n route: string,\n expression: string\n): Promise {\n if (signal.aborted) {\n return Promise.reject(new HangingPromiseRejectionError(route, expression))\n } else {\n const hangingPromise = new Promise((_, reject) => {\n const boundRejection = reject.bind(\n null,\n new HangingPromiseRejectionError(route, expression)\n )\n let currentListeners = abortListenersBySignal.get(signal)\n if (currentListeners) {\n currentListeners.push(boundRejection)\n } else {\n const listeners = [boundRejection]\n abortListenersBySignal.set(signal, listeners)\n signal.addEventListener(\n 'abort',\n () => {\n for (let i = 0; i < listeners.length; i++) {\n listeners[i]()\n }\n },\n { once: true }\n )\n }\n })\n // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject)\n return hangingPromise\n }\n}\n\nfunction ignoreReject() {}\n\nexport function makeDevtoolsIOAwarePromise(\n underlying: T,\n requestStore: RequestStore,\n stage: NonStaticRenderStage\n): Promise {\n if (requestStore.stagedRendering) {\n // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n return requestStore.stagedRendering.delayUntilStage(\n stage,\n undefined,\n underlying\n )\n }\n // in React DevTools if we resolve in a setTimeout we will observe\n // the promise resolution as something that can suspend a boundary or root.\n return new Promise((resolve) => {\n // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n setTimeout(() => {\n resolve(underlying)\n }, 0)\n })\n}\n","const REACT_POSTPONE_TYPE: symbol = Symbol.for('react.postpone')\n\nexport function isPostpone(error: any): boolean {\n return (\n typeof error === 'object' &&\n error !== null &&\n error.$$typeof === REACT_POSTPONE_TYPE\n )\n}\n","// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING'\n\n/** An error that should be thrown when we want to bail out to client-side rendering. */\nexport class BailoutToCSRError extends Error {\n public readonly digest = BAILOUT_TO_CSR\n\n constructor(public readonly reason: string) {\n super(`Bail out to client-side rendering: ${reason}`)\n }\n}\n\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */\nexport function isBailoutToCSRError(err: unknown): err is BailoutToCSRError {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false\n }\n\n return err.digest === BAILOUT_TO_CSR\n}\n","import {\n isHTTPAccessFallbackError,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\nimport { isRedirectError, type RedirectError } from './redirect-error'\n\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */\nexport function isNextRouterError(\n error: unknown\n): error is RedirectError | HTTPAccessFallbackError {\n return isRedirectError(error) || isHTTPAccessFallbackError(error)\n}\n","const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE'\n\nexport class DynamicServerError extends Error {\n digest: typeof DYNAMIC_ERROR_CODE = DYNAMIC_ERROR_CODE\n\n constructor(public readonly description: string) {\n super(`Dynamic server usage: ${description}`)\n }\n}\n\nexport function isDynamicServerError(err: unknown): err is DynamicServerError {\n if (\n typeof err !== 'object' ||\n err === null ||\n !('digest' in err) ||\n typeof err.digest !== 'string'\n ) {\n return false\n }\n\n return err.digest === DYNAMIC_ERROR_CODE\n}\n","const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT'\n\nexport class StaticGenBailoutError extends Error {\n public readonly code = NEXT_STATIC_GEN_BAILOUT\n}\n\nexport function isStaticGenBailoutError(\n error: unknown\n): error is StaticGenBailoutError {\n if (typeof error !== 'object' || error === null || !('code' in error)) {\n return false\n }\n\n return error.code === NEXT_STATIC_GEN_BAILOUT\n}\n","export const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__'\nexport const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__'\nexport const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__'\nexport const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__'\n","export type ScheduledFn = () => T | PromiseLike\nexport type SchedulerFn = (cb: ScheduledFn) => void\n\n/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */\nexport const scheduleOnNextTick = (cb: ScheduledFn) => {\n // We use Promise.resolve().then() here so that the operation is scheduled at\n // the end of the promise job queue, we then add it to the next process tick\n // to ensure it's evaluated afterwards.\n //\n // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n //\n Promise.resolve().then(() => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n process.nextTick(cb)\n }\n })\n}\n\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */\nexport const scheduleImmediate = (cb: ScheduledFn): void => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n setImmediate(cb)\n }\n}\n\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */\nexport function atLeastOneTask() {\n return new Promise((resolve) => scheduleImmediate(resolve))\n}\n\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */\nexport function waitAtLeastOneReactRenderTask(): Promise {\n if (process.env.NEXT_RUNTIME === 'edge') {\n return new Promise((r) => setTimeout(r, 0))\n } else {\n return new Promise((r) => setImmediate(r))\n }\n}\n","export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */\n\nimport type { WorkStore } from '../app-render/work-async-storage.external'\nimport type {\n WorkUnitStore,\n PrerenderStoreLegacy,\n PrerenderStoreModern,\n PrerenderStoreModernRuntime,\n} from '../app-render/work-unit-async-storage.external'\n\n// Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react'\n\nimport { DynamicServerError } from '../../client/components/hooks-server-context'\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout'\nimport {\n getRuntimeStagePromise,\n throwForMissingRequestStore,\n workUnitAsyncStorage,\n} from './work-unit-async-storage.external'\nimport { workAsyncStorage } from '../app-render/work-async-storage.external'\nimport { makeHangingPromise } from '../dynamic-rendering-utils'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from '../../lib/framework/boundary-constants'\nimport { scheduleOnNextTick } from '../../lib/scheduler'\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nconst hasPostpone = typeof React.unstable_postpone === 'function'\n\nexport type DynamicAccess = {\n /**\n * If debugging, this will contain the stack trace of where the dynamic access\n * occurred. This is used to provide more information to the user about why\n * their page is being rendered dynamically.\n */\n stack?: string\n\n /**\n * The expression that was accessed dynamically.\n */\n expression: string\n}\n\n// Stores dynamic reasons used during an RSC render.\nexport type DynamicTrackingState = {\n /**\n * When true, stack information will also be tracked during dynamic access.\n */\n readonly isDebugDynamicAccesses: boolean | undefined\n\n /**\n * The dynamic accesses that occurred during the render.\n */\n readonly dynamicAccesses: Array\n\n syncDynamicErrorWithStack: null | Error\n}\n\n// Stores dynamic reasons used during an SSR render.\nexport type DynamicValidationState = {\n hasSuspenseAboveBody: boolean\n hasDynamicMetadata: boolean\n dynamicMetadata: null | Error\n hasDynamicViewport: boolean\n hasAllowedDynamic: boolean\n dynamicErrors: Array\n}\n\nexport function createDynamicTrackingState(\n isDebugDynamicAccesses: boolean | undefined\n): DynamicTrackingState {\n return {\n isDebugDynamicAccesses,\n dynamicAccesses: [],\n syncDynamicErrorWithStack: null,\n }\n}\n\nexport function createDynamicValidationState(): DynamicValidationState {\n return {\n hasSuspenseAboveBody: false,\n hasDynamicMetadata: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: [],\n }\n}\n\nexport function getFirstDynamicReason(\n trackingState: DynamicTrackingState\n): undefined | string {\n return trackingState.dynamicAccesses[0]?.expression\n}\n\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */\nexport function markCurrentScopeAsDynamic(\n store: WorkStore,\n workUnitStore: undefined | Exclude,\n expression: string\n): void {\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'request':\n break\n default:\n workUnitStore satisfies never\n }\n }\n\n // If we're forcing dynamic rendering or we're forcing static rendering, we\n // don't need to do anything here because the entire page is already dynamic\n // or it's static and it should not throw or postpone here.\n if (store.forceDynamic || store.forceStatic) return\n\n if (store.dynamicShouldError) {\n throw new StaticGenBailoutError(\n `Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`\n )\n }\n\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender-ppr':\n return postponeWithTracking(\n store.route,\n expression,\n workUnitStore.dynamicTracking\n )\n case 'prerender-legacy':\n workUnitStore.revalidate = 0\n\n // We aren't prerendering, but we are generating a static page. We need\n // to bail out of static generation.\n const err = new DynamicServerError(\n `Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n )\n store.dynamicUsageDescription = expression\n store.dynamicUsageStack = err.stack\n\n throw err\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true\n }\n break\n default:\n workUnitStore satisfies never\n }\n }\n}\n\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */\nexport function throwToInterruptStaticGeneration(\n expression: string,\n store: WorkStore,\n prerenderStore: PrerenderStoreLegacy\n): never {\n // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n const err = new DynamicServerError(\n `Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n )\n\n prerenderStore.revalidate = 0\n\n store.dynamicUsageDescription = expression\n store.dynamicUsageStack = err.stack\n\n throw err\n}\n\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */\nexport function trackDynamicDataInDynamicRender(workUnitStore: WorkUnitStore) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n break\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true\n }\n break\n default:\n workUnitStore satisfies never\n }\n}\n\nfunction abortOnSynchronousDynamicDataAccess(\n route: string,\n expression: string,\n prerenderStore: PrerenderStoreModern\n): void {\n const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n\n const error = createPrerenderInterruptedError(reason)\n\n prerenderStore.controller.abort(error)\n\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n}\n\nexport function abortOnSynchronousPlatformIOAccess(\n route: string,\n expression: string,\n errorWithStack: Error,\n prerenderStore: PrerenderStoreModern\n): void {\n const dynamicTracking = prerenderStore.dynamicTracking\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n }\n }\n}\n\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */\nexport function abortAndThrowOnSynchronousRequestDataAccess(\n route: string,\n expression: string,\n errorWithStack: Error,\n prerenderStore: PrerenderStoreModern\n): never {\n const prerenderSignal = prerenderStore.controller.signal\n if (prerenderSignal.aborted === false) {\n // TODO it would be better to move this aborted check into the callsite so we can avoid making\n // the error object when it isn't relevant to the aborting of the prerender however\n // since we need the throw semantics regardless of whether we abort it is easier to land\n // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n // to ideal implementation\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n }\n }\n }\n throw createPrerenderInterruptedError(\n `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n )\n}\n\n/**\n * This component will call `React.postpone` that throws the postponed error.\n */\ntype PostponeProps = {\n reason: string\n route: string\n}\nexport function Postpone({ reason, route }: PostponeProps): never {\n const prerenderStore = workUnitAsyncStorage.getStore()\n const dynamicTracking =\n prerenderStore && prerenderStore.type === 'prerender-ppr'\n ? prerenderStore.dynamicTracking\n : null\n postponeWithTracking(route, reason, dynamicTracking)\n}\n\nexport function postponeWithTracking(\n route: string,\n expression: string,\n dynamicTracking: null | DynamicTrackingState\n): never {\n assertPostpone()\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n\n React.unstable_postpone(createPostponeReason(route, expression))\n}\n\nfunction createPostponeReason(route: string, expression: string) {\n return (\n `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` +\n `React throws this special object to indicate where. It should not be caught by ` +\n `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`\n )\n}\n\nexport function isDynamicPostpone(err: unknown) {\n if (\n typeof err === 'object' &&\n err !== null &&\n typeof (err as any).message === 'string'\n ) {\n return isDynamicPostponeReason((err as any).message)\n }\n return false\n}\n\nfunction isDynamicPostponeReason(reason: string) {\n return (\n reason.includes(\n 'needs to bail out of prerendering at this point because it used'\n ) &&\n reason.includes(\n 'Learn more: https://nextjs.org/docs/messages/ppr-caught-error'\n )\n )\n}\n\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n throw new Error(\n 'Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'\n )\n}\n\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED'\n\nfunction createPrerenderInterruptedError(message: string): Error {\n const error = new Error(message)\n ;(error as any).digest = NEXT_PRERENDER_INTERRUPTED\n return error\n}\n\ntype DigestError = Error & {\n digest: string\n}\n\nexport function isPrerenderInterruptedError(\n error: unknown\n): error is DigestError {\n return (\n typeof error === 'object' &&\n error !== null &&\n (error as any).digest === NEXT_PRERENDER_INTERRUPTED &&\n 'name' in error &&\n 'message' in error &&\n error instanceof Error\n )\n}\n\nexport function accessedDynamicData(\n dynamicAccesses: Array\n): boolean {\n return dynamicAccesses.length > 0\n}\n\nexport function consumeDynamicAccess(\n serverDynamic: DynamicTrackingState,\n clientDynamic: DynamicTrackingState\n): DynamicTrackingState['dynamicAccesses'] {\n // We mutate because we only call this once we are no longer writing\n // to the dynamicTrackingState and it's more efficient than creating a new\n // array.\n serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses)\n return serverDynamic.dynamicAccesses\n}\n\nexport function formatDynamicAPIAccesses(\n dynamicAccesses: Array\n): string[] {\n return dynamicAccesses\n .filter(\n (access): access is Required =>\n typeof access.stack === 'string' && access.stack.length > 0\n )\n .map(({ expression, stack }) => {\n stack = stack\n .split('\\n')\n // Remove the \"Error: \" prefix from the first line of the stack trace as\n // well as the first 4 lines of the stack trace which is the distance\n // from the user code and the `new Error().stack` call.\n .slice(4)\n .filter((line) => {\n // Exclude Next.js internals from the stack trace.\n if (line.includes('node_modules/next/')) {\n return false\n }\n\n // Exclude anonymous functions from the stack trace.\n if (line.includes(' ()')) {\n return false\n }\n\n // Exclude Node.js internals from the stack trace.\n if (line.includes(' (node:')) {\n return false\n }\n\n return true\n })\n .join('\\n')\n return `Dynamic API Usage Debug - ${expression}:\\n${stack}`\n })\n}\n\nfunction assertPostpone() {\n if (!hasPostpone) {\n throw new Error(\n `Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`\n )\n }\n}\n\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */\nexport function createRenderInBrowserAbortSignal(): AbortSignal {\n const controller = new AbortController()\n controller.abort(new BailoutToCSRError('Render in Browser'))\n return controller.signal\n}\n\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */\nexport function createHangingInputAbortSignal(\n workUnitStore: WorkUnitStore\n): AbortSignal | undefined {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-runtime':\n const controller = new AbortController()\n\n if (workUnitStore.cacheSignal) {\n // If we have a cacheSignal it means we're in a prospective render. If\n // the input we're waiting on is coming from another cache, we do want\n // to wait for it so that we can resolve this cache entry too.\n workUnitStore.cacheSignal.inputReady().then(() => {\n controller.abort()\n })\n } else {\n // Otherwise we're in the final render and we should already have all\n // our caches filled.\n // If the prerender uses stages, we have wait until the runtime stage,\n // at which point all runtime inputs will be resolved.\n // (otherwise, a runtime prerender might consider `cookies()` hanging\n // even though they'd resolve in the next task.)\n //\n // We might still be waiting on some microtasks so we\n // wait one tick before giving up. When we give up, we still want to\n // render the content of this cache as deeply as we can so that we can\n // suspend as deeply as possible in the tree or not at all if we don't\n // end up waiting for the input.\n const runtimeStagePromise = getRuntimeStagePromise(workUnitStore)\n if (runtimeStagePromise) {\n runtimeStagePromise.then(() =>\n scheduleOnNextTick(() => controller.abort())\n )\n } else {\n scheduleOnNextTick(() => controller.abort())\n }\n }\n\n return controller.signal\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n return undefined\n default:\n workUnitStore satisfies never\n }\n}\n\nexport function annotateDynamicAccess(\n expression: string,\n prerenderStore: PrerenderStoreModern\n) {\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n}\n\nexport function useDynamicRouteParams(expression: string) {\n const workStore = workAsyncStorage.getStore()\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workStore && workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender-client':\n case 'prerender': {\n const fallbackParams = workUnitStore.fallbackRouteParams\n\n if (fallbackParams && fallbackParams.size > 0) {\n // We are in a prerender with cacheComponents semantics. We are going to\n // hang here and never resolve. This will cause the currently\n // rendering component to effectively be a dynamic hole.\n React.use(\n makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n expression\n )\n )\n }\n break\n }\n case 'prerender-ppr': {\n const fallbackParams = workUnitStore.fallbackRouteParams\n if (fallbackParams && fallbackParams.size > 0) {\n return postponeWithTracking(\n workStore.route,\n expression,\n workUnitStore.dynamicTracking\n )\n }\n break\n }\n case 'prerender-runtime':\n throw new InvariantError(\n `\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'cache':\n case 'private-cache':\n throw new InvariantError(\n `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'prerender-legacy':\n case 'request':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n }\n}\n\nexport function useDynamicSearchParams(expression: string) {\n const workStore = workAsyncStorage.getStore()\n const workUnitStore = workUnitAsyncStorage.getStore()\n\n if (!workStore) {\n // We assume pages router context and just return\n return\n }\n\n if (!workUnitStore) {\n throwForMissingRequestStore(expression)\n }\n\n switch (workUnitStore.type) {\n case 'prerender-client': {\n React.use(\n makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n expression\n )\n )\n break\n }\n case 'prerender-legacy':\n case 'prerender-ppr': {\n if (workStore.forceStatic) {\n return\n }\n throw new BailoutToCSRError(expression)\n }\n case 'prerender':\n case 'prerender-runtime':\n throw new InvariantError(\n `\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'cache':\n case 'unstable-cache':\n case 'private-cache':\n throw new InvariantError(\n `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'request':\n return\n default:\n workUnitStore satisfies never\n }\n}\n\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(\\)/\n\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags =\n 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6'\n\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n// at Suspense ()\n// at __next_root_layout_boundary__ ()\n//\n// Or with other components in between (but not body/html/implicit-body):\n// at Suspense ()\n// at SomeComponent ()\n// at __next_root_layout_boundary__ ()\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(\n `\\\\n\\\\s+at Suspense \\\\(\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`\n)\n\nconst hasMetadataRegex = new RegExp(\n `\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasViewportRegex = new RegExp(\n `\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`)\n\nexport function trackAllowedDynamicAccess(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n dynamicValidation.hasDynamicMetadata = true\n return\n } else if (hasViewportRegex.test(componentStack)) {\n dynamicValidation.hasDynamicViewport = true\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message =\n `Route \"${workStore.route}\": Uncached data was accessed outside of ` +\n '. This delays the entire page from rendering, resulting in a ' +\n 'slow user experience. Learn more: ' +\n 'https://nextjs.org/docs/messages/blocking-route'\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\nexport function trackDynamicHoleInRuntimeShell(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicMetadata = error\n return\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\nexport function trackDynamicHoleInStaticShell(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicMetadata = error\n return\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`\n const error = createErrorWithComponentOrOwnerStack(message, componentStack)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n */\nfunction createErrorWithComponentOrOwnerStack(\n message: string,\n componentStack: string\n) {\n const ownerStack =\n process.env.NODE_ENV !== 'production' && React.captureOwnerStack\n ? React.captureOwnerStack()\n : null\n\n const error = new Error(message)\n // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n //\n error.stack = error.name + ': ' + message + (ownerStack || componentStack)\n return error\n}\n\nexport enum PreludeState {\n Full = 0,\n Empty = 1,\n Errored = 2,\n}\n\nexport function logDisallowedDynamicError(\n workStore: WorkStore,\n error: Error\n): void {\n console.error(error)\n\n if (!workStore.dev) {\n if (workStore.hasReadableErrorStacks) {\n console.error(\n `To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.`\n )\n } else {\n console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.\n - Rerun the production build with \\`next build --debug-prerender\\` to generate better stack traces.`)\n }\n }\n}\n\nexport function throwIfDisallowedDynamic(\n workStore: WorkStore,\n prelude: PreludeState,\n dynamicValidation: DynamicValidationState,\n serverDynamic: DynamicTrackingState\n): void {\n if (serverDynamic.syncDynamicErrorWithStack) {\n logDisallowedDynamicError(\n workStore,\n serverDynamic.syncDynamicErrorWithStack\n )\n throw new StaticGenBailoutError()\n }\n\n if (prelude !== PreludeState.Full) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return\n }\n\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n for (let i = 0; i < dynamicErrors.length; i++) {\n logDisallowedDynamicError(workStore, dynamicErrors[i])\n }\n\n throw new StaticGenBailoutError()\n }\n\n // If we got this far then the only other thing that could be blocking\n // the root is dynamic Viewport. If this is dynamic then\n // you need to opt into that by adding a Suspense boundary above the body\n // to indicate your are ok with fully dynamic rendering.\n if (dynamicValidation.hasDynamicViewport) {\n console.error(\n `Route \"${workStore.route}\" has a \\`generateViewport\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n )\n throw new StaticGenBailoutError()\n }\n\n if (prelude === PreludeState.Empty) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n console.error(\n `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`\n )\n throw new StaticGenBailoutError()\n }\n } else {\n if (\n dynamicValidation.hasAllowedDynamic === false &&\n dynamicValidation.hasDynamicMetadata\n ) {\n console.error(\n `Route \"${workStore.route}\" has a \\`generateMetadata\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n )\n throw new StaticGenBailoutError()\n }\n }\n}\n\nexport function getStaticShellDisallowedDynamicReasons(\n workStore: WorkStore,\n prelude: PreludeState,\n dynamicValidation: DynamicValidationState\n): Array {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return []\n }\n\n if (prelude !== PreludeState.Full) {\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n return dynamicErrors\n }\n\n if (prelude === PreludeState.Empty) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n return [\n new InvariantError(\n `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`\n ),\n ]\n }\n } else {\n // We have a prelude but we might still have dynamic metadata without any other dynamic access\n if (\n dynamicValidation.hasAllowedDynamic === false &&\n dynamicValidation.dynamicErrors.length === 0 &&\n dynamicValidation.dynamicMetadata\n ) {\n return [dynamicValidation.dynamicMetadata]\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return []\n}\n\nexport function delayUntilRuntimeStage(\n prerenderStore: PrerenderStoreModernRuntime,\n result: Promise\n): Promise {\n if (prerenderStore.runtimeStagePromise) {\n return prerenderStore.runtimeStagePromise.then(() => result)\n }\n return result\n}\n","import { isHangingPromiseRejectionError } from '../../server/dynamic-rendering-utils'\nimport { isPostpone } from '../../server/lib/router-utils/is-postpone'\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { isNextRouterError } from './is-next-router-error'\nimport {\n isDynamicPostpone,\n isPrerenderInterruptedError,\n} from '../../server/app-render/dynamic-rendering'\nimport { isDynamicServerError } from './hooks-server-context'\n\nexport function unstable_rethrow(error: unknown): void {\n if (\n isNextRouterError(error) ||\n isBailoutToCSRError(error) ||\n isDynamicServerError(error) ||\n isDynamicPostpone(error) ||\n isPostpone(error) ||\n isHangingPromiseRejectionError(error) ||\n isPrerenderInterruptedError(error)\n ) {\n throw error\n }\n\n if (error instanceof Error && 'cause' in error) {\n unstable_rethrow(error.cause)\n }\n}\n","/**\n * This function should be used to rethrow internal Next.js errors so that they can be handled by the framework.\n * When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling.\n * This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing.\n *\n * Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow)\n */\nexport const unstable_rethrow =\n typeof window === 'undefined'\n ? (\n require('./unstable-rethrow.server') as typeof import('./unstable-rethrow.server')\n ).unstable_rethrow\n : (\n require('./unstable-rethrow.browser') as typeof import('./unstable-rethrow.browser')\n ).unstable_rethrow\n","import { ReadonlyURLSearchParams } from './readonly-url-search-params'\n\nexport function unstable_isUnrecognizedActionError(): boolean {\n throw new Error(\n '`unstable_isUnrecognizedActionError` can only be used on the client.'\n )\n}\n\nexport { redirect, permanentRedirect } from './redirect'\nexport { RedirectType } from './redirect-error'\nexport { notFound } from './not-found'\nexport { forbidden } from './forbidden'\nexport { unauthorized } from './unauthorized'\nexport { unstable_rethrow } from './unstable-rethrow'\nexport { ReadonlyURLSearchParams }\n","import type { Params } from '../../server/request/params'\n\nimport React, { useContext, useMemo, use } from 'react'\nimport {\n AppRouterContext,\n LayoutRouterContext,\n type AppRouterInstance,\n} from '../../shared/lib/app-router-context.shared-runtime'\nimport {\n SearchParamsContext,\n PathnameContext,\n PathParamsContext,\n NavigationPromisesContext,\n ReadonlyURLSearchParams,\n} from '../../shared/lib/hooks-client-context.shared-runtime'\nimport {\n computeSelectedLayoutSegment,\n getSelectedLayoutSegmentPath,\n} from '../../shared/lib/segment'\n\nconst useDynamicRouteParams =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/dynamic-rendering') as typeof import('../../server/app-render/dynamic-rendering')\n ).useDynamicRouteParams\n : undefined\n\nconst useDynamicSearchParams =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/dynamic-rendering') as typeof import('../../server/app-render/dynamic-rendering')\n ).useDynamicSearchParams\n : undefined\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you *read* the current URL's search parameters.\n *\n * Learn more about [`URLSearchParams` on MDN](https://developer.mozilla.org/docs/Web/API/URLSearchParams)\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useSearchParams } from 'next/navigation'\n *\n * export default function Page() {\n * const searchParams = useSearchParams()\n * searchParams.get('foo') // returns 'bar' when ?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSearchParams`](https://nextjs.org/docs/app/api-reference/functions/use-search-params)\n */\n// Client components API\nexport function useSearchParams(): ReadonlyURLSearchParams {\n useDynamicSearchParams?.('useSearchParams()')\n\n const searchParams = useContext(SearchParamsContext)\n\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = useMemo((): ReadonlyURLSearchParams => {\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null!\n }\n\n return new ReadonlyURLSearchParams(searchParams)\n }, [searchParams])\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n return use(navigationPromises.searchParams)\n }\n }\n\n return readonlySearchParams\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the current URL's pathname.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { usePathname } from 'next/navigation'\n *\n * export default function Page() {\n * const pathname = usePathname() // returns \"/dashboard\" on /dashboard?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `usePathname`](https://nextjs.org/docs/app/api-reference/functions/use-pathname)\n */\n// Client components API\nexport function usePathname(): string {\n useDynamicRouteParams?.('usePathname()')\n\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n const pathname = useContext(PathnameContext) as string\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n return use(navigationPromises.pathname)\n }\n }\n\n return pathname\n}\n\n// Client components API\nexport {\n ServerInsertedHTMLContext,\n useServerInsertedHTML,\n} from '../../shared/lib/server-inserted-html.shared-runtime'\n\n/**\n *\n * This hook allows you to programmatically change routes inside [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components).\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useRouter } from 'next/navigation'\n *\n * export default function Page() {\n * const router = useRouter()\n * // ...\n * router.push('/dashboard') // Navigate to /dashboard\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useRouter`](https://nextjs.org/docs/app/api-reference/functions/use-router)\n */\n// Client components API\nexport function useRouter(): AppRouterInstance {\n const router = useContext(AppRouterContext)\n if (router === null) {\n throw new Error('invariant expected app router to be mounted')\n }\n\n return router\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read a route's dynamic params filled in by the current URL.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useParams } from 'next/navigation'\n *\n * export default function Page() {\n * // on /dashboard/[team] where pathname is /dashboard/nextjs\n * const { team } = useParams() // team === \"nextjs\"\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useParams`](https://nextjs.org/docs/app/api-reference/functions/use-params)\n */\n// Client components API\nexport function useParams(): T {\n useDynamicRouteParams?.('useParams()')\n\n const params = useContext(PathParamsContext) as T\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n return use(navigationPromises.params) as T\n }\n }\n\n return params\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segments **below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n *\n * import { useSelectedLayoutSegments } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segments = useSelectedLayoutSegments()\n *\n * return (\n *
    \n * {segments.map((segment, index) => (\n *
  • {segment}
  • \n * ))}\n *
\n * )\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegments`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segments)\n */\n// Client components API\nexport function useSelectedLayoutSegments(\n parallelRouteKey: string = 'children'\n): string[] {\n useDynamicRouteParams?.('useSelectedLayoutSegments()')\n\n const context = useContext(LayoutRouterContext)\n // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts\n if (!context) return null\n\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext)\n if (navigationPromises) {\n const promise =\n navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey)\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise)\n }\n }\n }\n\n return getSelectedLayoutSegmentPath(context.parentTree, parallelRouteKey)\n}\n\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segment **one level below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n * import { useSelectedLayoutSegment } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segment = useSelectedLayoutSegment()\n *\n * return

Active segment: {segment}

\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegment`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segment)\n */\n// Client components API\nexport function useSelectedLayoutSegment(\n parallelRouteKey: string = 'children'\n): string | null {\n useDynamicRouteParams?.('useSelectedLayoutSegment()')\n const navigationPromises = useContext(NavigationPromisesContext)\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey)\n\n // Instrument with Suspense DevTools (dev-only)\n if (\n process.env.NODE_ENV !== 'production' &&\n navigationPromises &&\n 'use' in React\n ) {\n const promise =\n navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey)\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise)\n }\n }\n\n return computeSelectedLayoutSegment(selectedLayoutSegments, parallelRouteKey)\n}\n\nexport { unstable_isUnrecognizedActionError } from './unrecognized-action-error'\n\n// Shared components APIs\nexport {\n // We need the same class that was used to instantiate the context value\n // Otherwise instanceof checks will fail in usercode\n ReadonlyURLSearchParams,\n}\nexport {\n notFound,\n forbidden,\n unauthorized,\n redirect,\n permanentRedirect,\n RedirectType,\n unstable_rethrow,\n} from './navigation.react-server'\n","module.exports = require('./dist/client/components/navigation')\n"],"names":["DEFAULT_SEGMENT_KEY","NOT_FOUND_SEGMENT_KEY","PAGE_SEGMENT_KEY","addSearchParamsIfPageSegment","computeSelectedLayoutSegment","getSegmentValue","getSelectedLayoutSegmentPath","isGroupSegment","isParallelRouteSegment","segment","Array","isArray","endsWith","startsWith","searchParams","isPageSegment","includes","stringifiedQuery","JSON","stringify","segments","parallelRouteKey","length","rawSegment","tree","first","segmentPath","node","parallelRoutes","children","Object","values","segmentValue","push","UnrecognizedActionError","unstable_isUnrecognizedActionError","Error","constructor","args","name","error","ReadonlyURLSearchParams","ReadonlyURLSearchParamsError","URLSearchParams","append","delete","set","sort","RedirectStatusCode","REDIRECT_ERROR_CODE","RedirectType","isRedirectError","digest","split","errorCode","type","destination","slice","join","status","at","statusCode","Number","isNaN","getRedirectError","getRedirectStatusCodeFromError","getRedirectTypeFromError","getURLFromRedirectError","permanentRedirect","redirect","actionAsyncStorage","window","require","undefined","url","TemporaryRedirect","getStore","isAction","replace","PermanentRedirect","HTTPAccessErrorStatus","HTTP_ERROR_FALLBACK_ERROR_CODE","getAccessFallbackErrorTypeByStatus","getAccessFallbackHTTPStatus","isHTTPAccessFallbackError","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","ALLOWED_CODES","Set","prefix","httpStatus","has","notFound","DIGEST","forbidden","process","env","__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS","unauthorized","isHangingPromiseRejectionError","makeDevtoolsIOAwarePromise","makeHangingPromise","err","HANGING_PROMISE_REJECTION","HangingPromiseRejectionError","route","expression","abortListenersBySignal","WeakMap","signal","aborted","Promise","reject","hangingPromise","_","boundRejection","bind","currentListeners","get","listeners","addEventListener","i","once","catch","ignoreReject","underlying","requestStore","stage","stagedRendering","delayUntilStage","resolve","setTimeout","isPostpone","REACT_POSTPONE_TYPE","Symbol","for","$$typeof","BailoutToCSRError","isBailoutToCSRError","BAILOUT_TO_CSR","reason","isNextRouterError","DynamicServerError","isDynamicServerError","DYNAMIC_ERROR_CODE","description","StaticGenBailoutError","isStaticGenBailoutError","NEXT_STATIC_GEN_BAILOUT","code","METADATA_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME","atLeastOneTask","scheduleImmediate","scheduleOnNextTick","waitAtLeastOneReactRenderTask","cb","then","NEXT_RUNTIME","nextTick","setImmediate","r","InvariantError","message","options","Postpone","PreludeState","abortAndThrowOnSynchronousRequestDataAccess","abortOnSynchronousPlatformIOAccess","accessedDynamicData","annotateDynamicAccess","consumeDynamicAccess","createDynamicTrackingState","createDynamicValidationState","createHangingInputAbortSignal","createRenderInBrowserAbortSignal","delayUntilRuntimeStage","formatDynamicAPIAccesses","getFirstDynamicReason","getStaticShellDisallowedDynamicReasons","isDynamicPostpone","isPrerenderInterruptedError","logDisallowedDynamicError","markCurrentScopeAsDynamic","postponeWithTracking","throwIfDisallowedDynamic","throwToInterruptStaticGeneration","trackAllowedDynamicAccess","trackDynamicDataInDynamicRender","trackDynamicHoleInRuntimeShell","trackDynamicHoleInStaticShell","useDynamicRouteParams","useDynamicSearchParams","hasPostpone","React","unstable_postpone","isDebugDynamicAccesses","dynamicAccesses","syncDynamicErrorWithStack","hasSuspenseAboveBody","hasDynamicMetadata","dynamicMetadata","hasDynamicViewport","hasAllowedDynamic","dynamicErrors","trackingState","store","workUnitStore","forceDynamic","forceStatic","dynamicShouldError","dynamicTracking","revalidate","dynamicUsageDescription","dynamicUsageStack","stack","NODE_ENV","usedDynamic","prerenderStore","abortOnSynchronousDynamicDataAccess","createPrerenderInterruptedError","controller","abort","errorWithStack","prerenderSignal","workUnitAsyncStorage","assertPostpone","createPostponeReason","isDynamicPostponeReason","NEXT_PRERENDER_INTERRUPTED","serverDynamic","clientDynamic","filter","access","map","line","AbortController","cacheSignal","inputReady","runtimeStagePromise","getRuntimeStagePromise","workStore","workAsyncStorage","fallbackParams","fallbackRouteParams","size","use","renderSignal","throwForMissingRequestStore","hasSuspenseRegex","bodyAndImplicitTags","hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex","RegExp","hasMetadataRegex","hasViewportRegex","hasOutletRegex","componentStack","dynamicValidation","test","createErrorWithComponentOrOwnerStack","ownerStack","captureOwnerStack","console","dev","hasReadableErrorStacks","prelude","result","unstable_rethrow","cause","ServerInsertedHTMLContext","useParams","usePathname","useRouter","useSearchParams","useSelectedLayoutSegment","useSelectedLayoutSegments","useServerInsertedHTML","useContext","SearchParamsContext","readonlySearchParams","useMemo","navigationPromises","NavigationPromisesContext","pathname","PathnameContext","router","AppRouterContext","params","PathParamsContext","context","LayoutRouterContext","promise","selectedLayoutSegmentsPromises","parentTree","selectedLayoutSegments","selectedLayoutSegmentPromises"],"mappings":"6CAEA,SAAS,EAAyB,CAAW,EACzC,GAAuB,YAAnB,OAAO,QAAwB,OAAO,KAE1C,IAAI,EAAoB,IAAI,QACxB,EAAmB,IAAI,QAE3B,MAAO,CAAC,EAA2B,SAAS,CAAW,EACnD,OAAO,EAAc,EAAmB,EAC5C,CAAC,CAAE,EACP,CA0BA,EAAQ,CAAC,CAzBT,EAyBY,OAzBH,AAA0B,CAAG,CAAE,CAAW,EAC/C,GAAI,CAAC,GAAe,GAAO,EAAI,UAAU,CAAE,OAAO,EAClD,GAAY,OAAR,GAAgB,AAAe,iBAAR,GAAmC,YAAf,OAAO,EAAoB,MAAO,CAAE,QAAS,CAAI,EAEhG,IAAI,EAAQ,EAAyB,GAErC,GAAI,GAAS,EAAM,GAAG,CAAC,GAAM,OAAO,EAAM,GAAG,CAAC,GAE9C,IAAI,EAAS,CAAE,UAAW,IAAK,EAC3B,EAAwB,OAAO,cAAc,EAAI,OAAO,wBAAwB,CAEpF,IAAK,IAAI,KAAO,EACZ,EADiB,CACL,YAAR,GAAqB,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GAAM,CACrE,IAAI,EAAO,EAAwB,OAAO,wBAAwB,CAAC,EAAK,GAAO,KAC3E,IAAS,EAAK,EAAN,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f,IAad,OAZA/E,AAYOgG,IAZiB,eAETV,CAAAA,EAAAA,EAAAA,UAAAA,AAAU,EAACW,EAAAA,iBAAiB,CAW7C,CA4BO,SAASb,EACdjQ,EAA2B,UAAU,EAErC6K,IAAwB,+BAExB,IAAMkG,EAAUZ,CAAAA,EAAAA,EAAAA,UAAAA,AAAU,EAACa,EAAAA,mBAAmB,SAE9C,AAAKD,EAgBE9R,CAAAA,CAhBH,CAgBGA,EAAAA,EAhBO,0BAgBPA,AAA4B,EAAC8R,EAAQI,UAAU,CAAEnR,GAhBnC,IAiBvB,CAqBO,SAASgQ,EACdhQ,EAA2B,UAAU,EAErC6K,IAAwB,8BACGsF,CAAAA,EAAAA,EAAAA,UAAAA,AAAU,EAACK,EAAAA,yBAAyB,EAC/D,IAAMY,EAAyBnB,EAA0BjQ,GAiBzD,MAAOjB,CAAAA,EAAAA,EAAAA,4BAAAA,AAA4B,EAACqS,EAAwBpR,EAC9D,yOC1RA,EAAO,OAAO,CAAA,EAAA,CAAA,CAAA","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_3a016300._.js b/.next/server/chunks/ssr/549ce_next_dist_3a016300._.js index 0dd661e..e7c4bbd 100644 --- a/.next/server/chunks/ssr/549ce_next_dist_3a016300._.js +++ b/.next/server/chunks/ssr/549ce_next_dist_3a016300._.js @@ -1,4 +1,4 @@ -module.exports=[81344,a=>{a.n(a.i(50974))},35826,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(39624);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(81344),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/app-error.js"]}]},{}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/_global-error/page",pathname:"/_global-error",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/_global-error/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[81344,a=>{a.n(a.i(50974))},35826,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(39624);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(81344),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/app-error.js"]}]},{}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/_global-error/page",pathname:"/_global-error",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/_global-error/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],86417),a.i(86417),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],35826)}]; //# sourceMappingURL=549ce_next_dist_3a016300._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_470effa2._.js b/.next/server/chunks/ssr/549ce_next_dist_470effa2._.js deleted file mode 100644 index 1cfea37..0000000 --- a/.next/server/chunks/ssr/549ce_next_dist_470effa2._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[87108,a=>{"use strict";var b,c=((b={}).PAGES="PAGES",b.PAGES_API="PAGES_API",b.APP_PAGE="APP_PAGE",b.APP_ROUTE="APP_ROUTE",b.IMAGE="IMAGE",b);a.s(["RouteKind",()=>c])},36857,a=>{"use strict";class b{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}a.s(["ReflectAdapter",()=>b])},97527,a=>{"use strict";function b(){return new Promise(a=>setImmediate(a))}a.s(["scheduleOnNextTick",0,a=>{Promise.resolve().then(()=>{process.nextTick(a)})},"waitAtLeastOneReactRenderTask",()=>b])},50975,a=>{"use strict";class b extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}a.s(["InvariantError",()=>b])},75556,a=>{"use strict";let b="next-router-prefetch",c=["rsc","next-router-state-tree",b,"next-hmr-refresh","next-router-segment-prefetch"];a.s(["ACTION_HEADER",0,"next-action","FLIGHT_HEADERS",0,c,"NEXT_DID_POSTPONE_HEADER",0,"x-nextjs-postponed","NEXT_IS_PRERENDER_HEADER",0,"x-nextjs-prerender","NEXT_ROUTER_PREFETCH_HEADER",0,b,"RSC_CONTENT_TYPE_HEADER",0,"text/x-component","RSC_HEADER",0,"rsc"])},36462,a=>{"use strict";var b;let{env:c,stdout:d}=(null==(b=globalThis)?void 0:b.process)??{},e=c&&!c.NO_COLOR&&(c.FORCE_COLOR||(null==d?void 0:d.isTTY)&&!c.CI&&"dumb"!==c.TERM),f=(a,b,c,d)=>{let e=a.substring(0,d)+c,g=a.substring(d+b.length),h=g.indexOf(b);return~h?e+f(g,b,c,h):e+g},g=(a,b,c=a)=>e?d=>{let e=""+d,g=e.indexOf(b,a.length);return~g?a+f(e,b,c,g)+b:a+e+b}:String,h=g("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m");g("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),g("\x1b[3m","\x1b[23m"),g("\x1b[4m","\x1b[24m"),g("\x1b[7m","\x1b[27m"),g("\x1b[8m","\x1b[28m"),g("\x1b[9m","\x1b[29m"),g("\x1b[30m","\x1b[39m");let i=g("\x1b[31m","\x1b[39m"),j=g("\x1b[32m","\x1b[39m"),k=g("\x1b[33m","\x1b[39m");g("\x1b[34m","\x1b[39m");let l=g("\x1b[35m","\x1b[39m");g("\x1b[38;2;173;127;168m","\x1b[39m"),g("\x1b[36m","\x1b[39m");let m=g("\x1b[37m","\x1b[39m");g("\x1b[90m","\x1b[39m"),g("\x1b[40m","\x1b[49m"),g("\x1b[41m","\x1b[49m"),g("\x1b[42m","\x1b[49m"),g("\x1b[43m","\x1b[49m"),g("\x1b[44m","\x1b[49m"),g("\x1b[45m","\x1b[49m"),g("\x1b[46m","\x1b[49m"),g("\x1b[47m","\x1b[49m"),a.s(["bold",0,h,"green",0,j,"magenta",0,l,"red",0,i,"white",0,m,"yellow",0,k])},26382,a=>{"use strict";class b{constructor(a,b,c){this.prev=null,this.next=null,this.key=a,this.data=b,this.size=c}}class c{constructor(){this.prev=null,this.next=null}}class d{constructor(a,b,d){this.cache=new Map,this.totalSize=0,this.maxSize=a,this.calculateSize=b,this.onEvict=d,this.head=new c,this.tail=new c,this.head.next=this.tail,this.tail.prev=this.head}addToHead(a){a.prev=this.head,a.next=this.head.next,this.head.next.prev=a,this.head.next=a}removeNode(a){a.prev.next=a.next,a.next.prev=a.prev}moveToHead(a){this.removeNode(a),this.addToHead(a)}removeTail(){let a=this.tail.prev;return this.removeNode(a),a}set(a,c){let d=(null==this.calculateSize?void 0:this.calculateSize.call(this,c))??1;if(d>this.maxSize)return void console.warn("Single item size exceeds maxSize");let e=this.cache.get(a);if(e)e.data=c,this.totalSize=this.totalSize-e.size+d,e.size=d,this.moveToHead(e);else{let e=new b(a,c,d);this.cache.set(a,e),this.addToHead(e),this.totalSize+=d}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let a=this.removeTail();this.cache.delete(a.key),this.totalSize-=a.size,null==this.onEvict||this.onEvict.call(this,a.key,a.data)}}has(a){return this.cache.has(a)}get(a){let b=this.cache.get(a);if(b)return this.moveToHead(b),b.data}*[Symbol.iterator](){let a=this.head.next;for(;a&&a!==this.tail;){let b=a;yield[b.key,b.data],a=a.next}}remove(a){let b=this.cache.get(a);b&&(this.removeNode(b),this.cache.delete(a),this.totalSize-=b.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}a.s(["LRUCache",()=>d])},21907,a=>{"use strict";var b=a.i(36462),c=a.i(26382);let d={wait:(0,b.white)((0,b.bold)("○")),error:(0,b.red)((0,b.bold)("⨯")),warn:(0,b.yellow)((0,b.bold)("⚠")),ready:"▲",info:(0,b.white)((0,b.bold)(" ")),event:(0,b.green)((0,b.bold)("✓")),trace:(0,b.magenta)((0,b.bold)("»"))},e={log:"log",warn:"warn",error:"error"};function f(...a){!function(a,...b){(""===b[0]||void 0===b[0])&&1===b.length&&b.shift();let c=a in e?e[a]:"log",f=d[a];0===b.length?console[c](""):1===b.length&&"string"==typeof b[0]?console[c](f+" "+b[0]):console[c](f,...b)}("warn",...a)}let g=new c.LRUCache(1e4,a=>a.length);function h(...a){let b=a.join(" ");g.has(b)||(g.set(b,b),f(...a))}new c.LRUCache(1e4,a=>a.length),a.s(["warn",()=>f,"warnOnce",()=>h])},32114,a=>{"use strict";function b(a){return"("===a[0]&&a.endsWith(")")}a.s(["DEFAULT_SEGMENT_KEY",0,"__DEFAULT__","PAGE_SEGMENT_KEY",0,"__PAGE__","isGroupSegment",()=>b])},53628,(a,b,c)=>{(()=>{"use strict";let c,d,e,f,g;var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x={491:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ContextAPI=void 0;let d=c(223),e=c(172),f=c(930),g="context",h=new d.NoopContextManager;class i{static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}active(){return this._getContextManager().active()}with(a,b,c,...d){return this._getContextManager().with(a,b,c,...d)}bind(a,b){return this._getContextManager().bind(a,b)}_getContextManager(){return(0,e.getGlobal)(g)||h}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.ContextAPI=i},930:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagAPI=void 0;let d=c(56),e=c(912),f=c(957),g=c(172);class h{constructor(){function a(a){return function(...b){let c=(0,g.getGlobal)("diag");if(c)return c[a](...b)}}const b=this;b.setLogger=(a,c={logLevel:f.DiagLogLevel.INFO})=>{var d,h,i;if(a===b){let a=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return b.error(null!=(d=a.stack)?d:a.message),!1}"number"==typeof c&&(c={logLevel:c});let j=(0,g.getGlobal)("diag"),k=(0,e.createLogLevelDiagLogger)(null!=(h=c.logLevel)?h:f.DiagLogLevel.INFO,a);if(j&&!c.suppressOverrideMessage){let a=null!=(i=Error().stack)?i:"";j.warn(`Current logger will be overwritten from ${a}`),k.warn(`Current logger will overwrite one already registered from ${a}`)}return(0,g.registerGlobal)("diag",k,b,!0)},b.disable=()=>{(0,g.unregisterGlobal)("diag",b)},b.createComponentLogger=a=>new d.DiagComponentLogger(a),b.verbose=a("verbose"),b.debug=a("debug"),b.info=a("info"),b.warn=a("warn"),b.error=a("error")}static instance(){return this._instance||(this._instance=new h),this._instance}}b.DiagAPI=h},653:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.MetricsAPI=void 0;let d=c(660),e=c(172),f=c(930),g="metrics";class h{static getInstance(){return this._instance||(this._instance=new h),this._instance}setGlobalMeterProvider(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(g)||d.NOOP_METER_PROVIDER}getMeter(a,b,c){return this.getMeterProvider().getMeter(a,b,c)}disable(){(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.MetricsAPI=h},181:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.PropagationAPI=void 0;let d=c(172),e=c(874),f=c(194),g=c(277),h=c(369),i=c(930),j="propagation",k=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=h.createBaggage,this.getBaggage=g.getBaggage,this.getActiveBaggage=g.getActiveBaggage,this.setBaggage=g.setBaggage,this.deleteBaggage=g.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(a){return(0,d.registerGlobal)(j,a,i.DiagAPI.instance())}inject(a,b,c=f.defaultTextMapSetter){return this._getGlobalPropagator().inject(a,b,c)}extract(a,b,c=f.defaultTextMapGetter){return this._getGlobalPropagator().extract(a,b,c)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,d.unregisterGlobal)(j,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,d.getGlobal)(j)||k}}b.PropagationAPI=l},997:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceAPI=void 0;let d=c(172),e=c(846),f=c(139),g=c(607),h=c(930),i="trace";class j{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=f.wrapSpanContext,this.isSpanContextValid=f.isSpanContextValid,this.deleteSpan=g.deleteSpan,this.getSpan=g.getSpan,this.getActiveSpan=g.getActiveSpan,this.getSpanContext=g.getSpanContext,this.setSpan=g.setSpan,this.setSpanContext=g.setSpanContext}static getInstance(){return this._instance||(this._instance=new j),this._instance}setGlobalTracerProvider(a){let b=(0,d.registerGlobal)(i,this._proxyTracerProvider,h.DiagAPI.instance());return b&&this._proxyTracerProvider.setDelegate(a),b}getTracerProvider(){return(0,d.getGlobal)(i)||this._proxyTracerProvider}getTracer(a,b){return this.getTracerProvider().getTracer(a,b)}disable(){(0,d.unregisterGlobal)(i,h.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}b.TraceAPI=j},277:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.deleteBaggage=b.setBaggage=b.getActiveBaggage=b.getBaggage=void 0;let d=c(491),e=(0,c(780).createContextKey)("OpenTelemetry Baggage Key");function f(a){return a.getValue(e)||void 0}b.getBaggage=f,b.getActiveBaggage=function(){return f(d.ContextAPI.getInstance().active())},b.setBaggage=function(a,b){return a.setValue(e,b)},b.deleteBaggage=function(a){return a.deleteValue(e)}},993:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.BaggageImpl=void 0;class c{constructor(a){this._entries=a?new Map(a):new Map}getEntry(a){let b=this._entries.get(a);if(b)return Object.assign({},b)}getAllEntries(){return Array.from(this._entries.entries()).map(([a,b])=>[a,b])}setEntry(a,b){let d=new c(this._entries);return d._entries.set(a,b),d}removeEntry(a){let b=new c(this._entries);return b._entries.delete(a),b}removeEntries(...a){let b=new c(this._entries);for(let c of a)b._entries.delete(c);return b}clear(){return new c}}b.BaggageImpl=c},830:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataSymbol=void 0,b.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataFromString=b.createBaggage=void 0;let d=c(930),e=c(993),f=c(830),g=d.DiagAPI.instance();b.createBaggage=function(a={}){return new e.BaggageImpl(new Map(Object.entries(a)))},b.baggageEntryMetadataFromString=function(a){return"string"!=typeof a&&(g.error(`Cannot create baggage metadata from unknown type: ${typeof a}`),a=""),{__TYPE__:f.baggageEntryMetadataSymbol,toString:()=>a}}},67:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.context=void 0,b.context=c(491).ContextAPI.getInstance()},223:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopContextManager=void 0;let d=c(780);b.NoopContextManager=class{active(){return d.ROOT_CONTEXT}with(a,b,c,...d){return b.call(c,...d)}bind(a,b){return b}enable(){return this}disable(){return this}}},780:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ROOT_CONTEXT=b.createContextKey=void 0,b.createContextKey=function(a){return Symbol.for(a)};class c{constructor(a){const b=this;b._currentContext=a?new Map(a):new Map,b.getValue=a=>b._currentContext.get(a),b.setValue=(a,d)=>{let e=new c(b._currentContext);return e._currentContext.set(a,d),e},b.deleteValue=a=>{let d=new c(b._currentContext);return d._currentContext.delete(a),d}}}b.ROOT_CONTEXT=new c},506:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.diag=void 0,b.diag=c(930).DiagAPI.instance()},56:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagComponentLogger=void 0;let d=c(172);function e(a,b,c){let e=(0,d.getGlobal)("diag");if(e)return c.unshift(b),e[a](...c)}b.DiagComponentLogger=class{constructor(a){this._namespace=a.namespace||"DiagComponentLogger"}debug(...a){return e("debug",this._namespace,a)}error(...a){return e("error",this._namespace,a)}info(...a){return e("info",this._namespace,a)}warn(...a){return e("warn",this._namespace,a)}verbose(...a){return e("verbose",this._namespace,a)}}},972:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagConsoleLogger=void 0;let c=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];b.DiagConsoleLogger=class{constructor(){for(let a=0;a{Object.defineProperty(b,"__esModule",{value:!0}),b.createLogLevelDiagLogger=void 0;let d=c(957);b.createLogLevelDiagLogger=function(a,b){function c(c,d){let e=b[c];return"function"==typeof e&&a>=d?e.bind(b):function(){}}return ad.DiagLogLevel.ALL&&(a=d.DiagLogLevel.ALL),b=b||{},{error:c("error",d.DiagLogLevel.ERROR),warn:c("warn",d.DiagLogLevel.WARN),info:c("info",d.DiagLogLevel.INFO),debug:c("debug",d.DiagLogLevel.DEBUG),verbose:c("verbose",d.DiagLogLevel.VERBOSE)}}},957:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.DiagLogLevel=void 0,(c=b.DiagLogLevel||(b.DiagLogLevel={}))[c.NONE=0]="NONE",c[c.ERROR=30]="ERROR",c[c.WARN=50]="WARN",c[c.INFO=60]="INFO",c[c.DEBUG=70]="DEBUG",c[c.VERBOSE=80]="VERBOSE",c[c.ALL=9999]="ALL"},172:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.unregisterGlobal=b.getGlobal=b.registerGlobal=void 0;let d=c(200),e=c(521),f=c(130),g=e.VERSION.split(".")[0],h=Symbol.for(`opentelemetry.js.api.${g}`),i=d._globalThis;b.registerGlobal=function(a,b,c,d=!1){var f;let g=i[h]=null!=(f=i[h])?f:{version:e.VERSION};if(!d&&g[a]){let b=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${a}`);return c.error(b.stack||b.message),!1}if(g.version!==e.VERSION){let b=Error(`@opentelemetry/api: Registration of version v${g.version} for ${a} does not match previously registered API v${e.VERSION}`);return c.error(b.stack||b.message),!1}return g[a]=b,c.debug(`@opentelemetry/api: Registered a global for ${a} v${e.VERSION}.`),!0},b.getGlobal=function(a){var b,c;let d=null==(b=i[h])?void 0:b.version;if(d&&(0,f.isCompatible)(d))return null==(c=i[h])?void 0:c[a]},b.unregisterGlobal=function(a,b){b.debug(`@opentelemetry/api: Unregistering a global for ${a} v${e.VERSION}.`);let c=i[h];c&&delete c[a]}},130:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isCompatible=b._makeCompatibilityCheck=void 0;let d=c(521),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function f(a){let b=new Set([a]),c=new Set,d=a.match(e);if(!d)return()=>!1;let f={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=f.prerelease)return function(b){return b===a};function g(a){return c.add(a),!1}return function(a){if(b.has(a))return!0;if(c.has(a))return!1;let d=a.match(e);if(!d)return g(a);let h={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=h.prerelease||f.major!==h.major)return g(a);if(0===f.major)return f.minor===h.minor&&f.patch<=h.patch?(b.add(a),!0):g(a);return f.minor<=h.minor?(b.add(a),!0):g(a)}}b._makeCompatibilityCheck=f,b.isCompatible=f(d.VERSION)},886:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.metrics=void 0,b.metrics=c(653).MetricsAPI.getInstance()},901:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.ValueType=void 0,(c=b.ValueType||(b.ValueType={}))[c.INT=0]="INT",c[c.DOUBLE=1]="DOUBLE"},102:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createNoopMeter=b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=b.NOOP_OBSERVABLE_GAUGE_METRIC=b.NOOP_OBSERVABLE_COUNTER_METRIC=b.NOOP_UP_DOWN_COUNTER_METRIC=b.NOOP_HISTOGRAM_METRIC=b.NOOP_COUNTER_METRIC=b.NOOP_METER=b.NoopObservableUpDownCounterMetric=b.NoopObservableGaugeMetric=b.NoopObservableCounterMetric=b.NoopObservableMetric=b.NoopHistogramMetric=b.NoopUpDownCounterMetric=b.NoopCounterMetric=b.NoopMetric=b.NoopMeter=void 0;class c{createHistogram(a,c){return b.NOOP_HISTOGRAM_METRIC}createCounter(a,c){return b.NOOP_COUNTER_METRIC}createUpDownCounter(a,c){return b.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(a,c){return b.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(a,c){return b.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(a,c){return b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(a,b){}removeBatchObservableCallback(a){}}b.NoopMeter=c;class d{}b.NoopMetric=d;class e extends d{add(a,b){}}b.NoopCounterMetric=e;class f extends d{add(a,b){}}b.NoopUpDownCounterMetric=f;class g extends d{record(a,b){}}b.NoopHistogramMetric=g;class h{addCallback(a){}removeCallback(a){}}b.NoopObservableMetric=h;class i extends h{}b.NoopObservableCounterMetric=i;class j extends h{}b.NoopObservableGaugeMetric=j;class k extends h{}b.NoopObservableUpDownCounterMetric=k,b.NOOP_METER=new c,b.NOOP_COUNTER_METRIC=new e,b.NOOP_HISTOGRAM_METRIC=new g,b.NOOP_UP_DOWN_COUNTER_METRIC=new f,b.NOOP_OBSERVABLE_COUNTER_METRIC=new i,b.NOOP_OBSERVABLE_GAUGE_METRIC=new j,b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new k,b.createNoopMeter=function(){return b.NOOP_METER}},660:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NOOP_METER_PROVIDER=b.NoopMeterProvider=void 0;let d=c(102);class e{getMeter(a,b,c){return d.NOOP_METER}}b.NoopMeterProvider=e,b.NOOP_METER_PROVIDER=new e},200:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(46),b)},651:(b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c._globalThis=void 0,c._globalThis="object"==typeof globalThis?globalThis:a.g},46:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(651),b)},939:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.propagation=void 0,b.propagation=c(181).PropagationAPI.getInstance()},874:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTextMapPropagator=void 0,b.NoopTextMapPropagator=class{inject(a,b){}extract(a,b){return a}fields(){return[]}}},194:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.defaultTextMapSetter=b.defaultTextMapGetter=void 0,b.defaultTextMapGetter={get(a,b){if(null!=a)return a[b]},keys:a=>null==a?[]:Object.keys(a)},b.defaultTextMapSetter={set(a,b,c){null!=a&&(a[b]=c)}}},845:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.trace=void 0,b.trace=c(997).TraceAPI.getInstance()},403:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NonRecordingSpan=void 0;let d=c(476);b.NonRecordingSpan=class{constructor(a=d.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,b){return this}setAttributes(a){return this}addEvent(a,b){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,b){}}},614:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracer=void 0;let d=c(491),e=c(607),f=c(403),g=c(139),h=d.ContextAPI.getInstance();b.NoopTracer=class{startSpan(a,b,c=h.active()){var d;if(null==b?void 0:b.root)return new f.NonRecordingSpan;let i=c&&(0,e.getSpanContext)(c);return"object"==typeof(d=i)&&"string"==typeof d.spanId&&"string"==typeof d.traceId&&"number"==typeof d.traceFlags&&(0,g.isSpanContextValid)(i)?new f.NonRecordingSpan(i):new f.NonRecordingSpan}startActiveSpan(a,b,c,d){let f,g,i;if(arguments.length<2)return;2==arguments.length?i=b:3==arguments.length?(f=b,i=c):(f=b,g=c,i=d);let j=null!=g?g:h.active(),k=this.startSpan(a,f,j),l=(0,e.setSpan)(j,k);return h.with(l,i,void 0,k)}}},124:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracerProvider=void 0;let d=c(614);b.NoopTracerProvider=class{getTracer(a,b,c){return new d.NoopTracer}}},125:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracer=void 0;let d=new(c(614)).NoopTracer;b.ProxyTracer=class{constructor(a,b,c,d){this._provider=a,this.name=b,this.version=c,this.options=d}startSpan(a,b,c){return this._getTracer().startSpan(a,b,c)}startActiveSpan(a,b,c,d){let e=this._getTracer();return Reflect.apply(e.startActiveSpan,e,arguments)}_getTracer(){if(this._delegate)return this._delegate;let a=this._provider.getDelegateTracer(this.name,this.version,this.options);return a?(this._delegate=a,this._delegate):d}}},846:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracerProvider=void 0;let d=c(125),e=new(c(124)).NoopTracerProvider;b.ProxyTracerProvider=class{getTracer(a,b,c){var e;return null!=(e=this.getDelegateTracer(a,b,c))?e:new d.ProxyTracer(this,a,b,c)}getDelegate(){var a;return null!=(a=this._delegate)?a:e}setDelegate(a){this._delegate=a}getDelegateTracer(a,b,c){var d;return null==(d=this._delegate)?void 0:d.getTracer(a,b,c)}}},996:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.SamplingDecision=void 0,(c=b.SamplingDecision||(b.SamplingDecision={}))[c.NOT_RECORD=0]="NOT_RECORD",c[c.RECORD=1]="RECORD",c[c.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"},607:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.getSpanContext=b.setSpanContext=b.deleteSpan=b.setSpan=b.getActiveSpan=b.getSpan=void 0;let d=c(780),e=c(403),f=c(491),g=(0,d.createContextKey)("OpenTelemetry Context Key SPAN");function h(a){return a.getValue(g)||void 0}function i(a,b){return a.setValue(g,b)}b.getSpan=h,b.getActiveSpan=function(){return h(f.ContextAPI.getInstance().active())},b.setSpan=i,b.deleteSpan=function(a){return a.deleteValue(g)},b.setSpanContext=function(a,b){return i(a,new e.NonRecordingSpan(b))},b.getSpanContext=function(a){var b;return null==(b=h(a))?void 0:b.spanContext()}},325:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceStateImpl=void 0;let d=c(564);class e{constructor(a){this._internalState=new Map,a&&this._parse(a)}set(a,b){let c=this._clone();return c._internalState.has(a)&&c._internalState.delete(a),c._internalState.set(a,b),c}unset(a){let b=this._clone();return b._internalState.delete(a),b}get(a){return this._internalState.get(a)}serialize(){return this._keys().reduce((a,b)=>(a.push(b+"="+this.get(b)),a),[]).join(",")}_parse(a){!(a.length>512)&&(this._internalState=a.split(",").reverse().reduce((a,b)=>{let c=b.trim(),e=c.indexOf("=");if(-1!==e){let f=c.slice(0,e),g=c.slice(e+1,b.length);(0,d.validateKey)(f)&&(0,d.validateValue)(g)&&a.set(f,g)}return a},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let a=new e;return a._internalState=new Map(this._internalState),a}}b.TraceStateImpl=e},564:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateValue=b.validateKey=void 0;let c="[_0-9a-z-*/]",d=`[a-z]${c}{0,255}`,e=`[a-z0-9]${c}{0,240}@[a-z]${c}{0,13}`,f=RegExp(`^(?:${d}|${e})$`),g=/^[ -~]{0,255}[!-~]$/,h=/,|=/;b.validateKey=function(a){return f.test(a)},b.validateValue=function(a){return g.test(a)&&!h.test(a)}},98:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createTraceState=void 0;let d=c(325);b.createTraceState=function(a){return new d.TraceStateImpl(a)}},476:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.INVALID_SPAN_CONTEXT=b.INVALID_TRACEID=b.INVALID_SPANID=void 0;let d=c(475);b.INVALID_SPANID="0000000000000000",b.INVALID_TRACEID="00000000000000000000000000000000",b.INVALID_SPAN_CONTEXT={traceId:b.INVALID_TRACEID,spanId:b.INVALID_SPANID,traceFlags:d.TraceFlags.NONE}},357:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.SpanKind=void 0,(c=b.SpanKind||(b.SpanKind={}))[c.INTERNAL=0]="INTERNAL",c[c.SERVER=1]="SERVER",c[c.CLIENT=2]="CLIENT",c[c.PRODUCER=3]="PRODUCER",c[c.CONSUMER=4]="CONSUMER"},139:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.wrapSpanContext=b.isSpanContextValid=b.isValidSpanId=b.isValidTraceId=void 0;let d=c(476),e=c(403),f=/^([0-9a-f]{32})$/i,g=/^[0-9a-f]{16}$/i;function h(a){return f.test(a)&&a!==d.INVALID_TRACEID}function i(a){return g.test(a)&&a!==d.INVALID_SPANID}b.isValidTraceId=h,b.isValidSpanId=i,b.isSpanContextValid=function(a){return h(a.traceId)&&i(a.spanId)},b.wrapSpanContext=function(a){return new e.NonRecordingSpan(a)}},847:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.SpanStatusCode=void 0,(c=b.SpanStatusCode||(b.SpanStatusCode={}))[c.UNSET=0]="UNSET",c[c.OK=1]="OK",c[c.ERROR=2]="ERROR"},475:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.TraceFlags=void 0,(c=b.TraceFlags||(b.TraceFlags={}))[c.NONE=0]="NONE",c[c.SAMPLED=1]="SAMPLED"},521:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.VERSION=void 0,b.VERSION="1.6.0"}},y={};function z(a){var b=y[a];if(void 0!==b)return b.exports;var c=y[a]={exports:{}},d=!0;try{x[a].call(c.exports,c,c.exports,z),d=!1}finally{d&&delete y[a]}return c.exports}z.ab="/ROOT/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/@opentelemetry/api/";var A={};Object.defineProperty(A,"__esModule",{value:!0}),A.trace=A.propagation=A.metrics=A.diag=A.context=A.INVALID_SPAN_CONTEXT=A.INVALID_TRACEID=A.INVALID_SPANID=A.isValidSpanId=A.isValidTraceId=A.isSpanContextValid=A.createTraceState=A.TraceFlags=A.SpanStatusCode=A.SpanKind=A.SamplingDecision=A.ProxyTracerProvider=A.ProxyTracer=A.defaultTextMapSetter=A.defaultTextMapGetter=A.ValueType=A.createNoopMeter=A.DiagLogLevel=A.DiagConsoleLogger=A.ROOT_CONTEXT=A.createContextKey=A.baggageEntryMetadataFromString=void 0,h=z(369),Object.defineProperty(A,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return h.baggageEntryMetadataFromString}}),i=z(780),Object.defineProperty(A,"createContextKey",{enumerable:!0,get:function(){return i.createContextKey}}),Object.defineProperty(A,"ROOT_CONTEXT",{enumerable:!0,get:function(){return i.ROOT_CONTEXT}}),j=z(972),Object.defineProperty(A,"DiagConsoleLogger",{enumerable:!0,get:function(){return j.DiagConsoleLogger}}),k=z(957),Object.defineProperty(A,"DiagLogLevel",{enumerable:!0,get:function(){return k.DiagLogLevel}}),l=z(102),Object.defineProperty(A,"createNoopMeter",{enumerable:!0,get:function(){return l.createNoopMeter}}),m=z(901),Object.defineProperty(A,"ValueType",{enumerable:!0,get:function(){return m.ValueType}}),n=z(194),Object.defineProperty(A,"defaultTextMapGetter",{enumerable:!0,get:function(){return n.defaultTextMapGetter}}),Object.defineProperty(A,"defaultTextMapSetter",{enumerable:!0,get:function(){return n.defaultTextMapSetter}}),o=z(125),Object.defineProperty(A,"ProxyTracer",{enumerable:!0,get:function(){return o.ProxyTracer}}),p=z(846),Object.defineProperty(A,"ProxyTracerProvider",{enumerable:!0,get:function(){return p.ProxyTracerProvider}}),q=z(996),Object.defineProperty(A,"SamplingDecision",{enumerable:!0,get:function(){return q.SamplingDecision}}),r=z(357),Object.defineProperty(A,"SpanKind",{enumerable:!0,get:function(){return r.SpanKind}}),s=z(847),Object.defineProperty(A,"SpanStatusCode",{enumerable:!0,get:function(){return s.SpanStatusCode}}),t=z(475),Object.defineProperty(A,"TraceFlags",{enumerable:!0,get:function(){return t.TraceFlags}}),u=z(98),Object.defineProperty(A,"createTraceState",{enumerable:!0,get:function(){return u.createTraceState}}),v=z(139),Object.defineProperty(A,"isSpanContextValid",{enumerable:!0,get:function(){return v.isSpanContextValid}}),Object.defineProperty(A,"isValidTraceId",{enumerable:!0,get:function(){return v.isValidTraceId}}),Object.defineProperty(A,"isValidSpanId",{enumerable:!0,get:function(){return v.isValidSpanId}}),w=z(476),Object.defineProperty(A,"INVALID_SPANID",{enumerable:!0,get:function(){return w.INVALID_SPANID}}),Object.defineProperty(A,"INVALID_TRACEID",{enumerable:!0,get:function(){return w.INVALID_TRACEID}}),Object.defineProperty(A,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return w.INVALID_SPAN_CONTEXT}}),c=z(67),Object.defineProperty(A,"context",{enumerable:!0,get:function(){return c.context}}),d=z(506),Object.defineProperty(A,"diag",{enumerable:!0,get:function(){return d.diag}}),e=z(886),Object.defineProperty(A,"metrics",{enumerable:!0,get:function(){return e.metrics}}),f=z(939),Object.defineProperty(A,"propagation",{enumerable:!0,get:function(){return f.propagation}}),g=z(845),Object.defineProperty(A,"trace",{enumerable:!0,get:function(){return g.trace}}),A.default={context:c.context,diag:d.diag,metrics:e.metrics,propagation:f.propagation,trace:g.trace},b.exports=A})()},53439,20044,a=>{"use strict";let b,c;var d,e,f,g,h,i,j,k,l,m,n,o,p=((d=p||{}).handleRequest="BaseServer.handleRequest",d.run="BaseServer.run",d.pipe="BaseServer.pipe",d.getStaticHTML="BaseServer.getStaticHTML",d.render="BaseServer.render",d.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",d.renderToResponse="BaseServer.renderToResponse",d.renderToHTML="BaseServer.renderToHTML",d.renderError="BaseServer.renderError",d.renderErrorToResponse="BaseServer.renderErrorToResponse",d.renderErrorToHTML="BaseServer.renderErrorToHTML",d.render404="BaseServer.render404",d),q=((e=q||{}).loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents",e),r=((f=r||{}).getRequestHandler="NextServer.getRequestHandler",f.getRequestHandlerWithMetadata="NextServer.getRequestHandlerWithMetadata",f.getServer="NextServer.getServer",f.getServerRequestHandler="NextServer.getServerRequestHandler",f.createServer="createServer.createServer",f),s=((g=s||{}).compression="NextNodeServer.compression",g.getBuildId="NextNodeServer.getBuildId",g.createComponentTree="NextNodeServer.createComponentTree",g.clientComponentLoading="NextNodeServer.clientComponentLoading",g.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",g.generateStaticRoutes="NextNodeServer.generateStaticRoutes",g.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",g.generatePublicRoutes="NextNodeServer.generatePublicRoutes",g.generateImageRoutes="NextNodeServer.generateImageRoutes.route",g.sendRenderResult="NextNodeServer.sendRenderResult",g.proxyRequest="NextNodeServer.proxyRequest",g.runApi="NextNodeServer.runApi",g.render="NextNodeServer.render",g.renderHTML="NextNodeServer.renderHTML",g.imageOptimizer="NextNodeServer.imageOptimizer",g.getPagePath="NextNodeServer.getPagePath",g.getRoutesManifest="NextNodeServer.getRoutesManifest",g.findPageComponents="NextNodeServer.findPageComponents",g.getFontManifest="NextNodeServer.getFontManifest",g.getServerComponentManifest="NextNodeServer.getServerComponentManifest",g.getRequestHandler="NextNodeServer.getRequestHandler",g.renderToHTML="NextNodeServer.renderToHTML",g.renderError="NextNodeServer.renderError",g.renderErrorToHTML="NextNodeServer.renderErrorToHTML",g.render404="NextNodeServer.render404",g.startResponse="NextNodeServer.startResponse",g.route="route",g.onProxyReq="onProxyReq",g.apiResolver="apiResolver",g.internalFetch="internalFetch",g),t=((h=t||{}).startServer="startServer.startServer",h),u=((i=u||{}).getServerSideProps="Render.getServerSideProps",i.getStaticProps="Render.getStaticProps",i.renderToString="Render.renderToString",i.renderDocument="Render.renderDocument",i.createBodyResult="Render.createBodyResult",i),v=((j=v||{}).renderToString="AppRender.renderToString",j.renderToReadableStream="AppRender.renderToReadableStream",j.getBodyResult="AppRender.getBodyResult",j.fetch="AppRender.fetch",j),w=((k=w||{}).executeRoute="Router.executeRoute",k),x=((l=x||{}).runHandler="Node.runHandler",l),y=((m=y||{}).runHandler="AppRouteRouteHandlers.runHandler",m),z=((n=z||{}).generateMetadata="ResolveMetadata.generateMetadata",n.generateViewport="ResolveMetadata.generateViewport",n),A=((o=A||{}).execute="Middleware.execute",o);let B=new Set(["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"]),C=new Set(["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"]);a.s(["AppRenderSpan",()=>v,"BaseServerSpan",()=>p,"LogSpanAllowList",0,C,"NextNodeServerSpan",()=>s,"NextVanillaSpanAllowlist",0,B,"ResolveMetadataSpan",()=>z],20044);let D=process.env.NEXT_OTEL_PERFORMANCE_PREFIX;try{b=a.r(70406)}catch(c){b=a.r(53628)}let{context:E,propagation:F,trace:G,SpanStatusCode:H,SpanKind:I,ROOT_CONTEXT:J}=b;class K extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}let L=(a,b)=>{"object"==typeof b&&null!==b&&b instanceof K&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:H.ERROR,message:null==b?void 0:b.message})),a.end()},M=new Map,N=b.createContextKey("next.rootSpanId"),O=0,P={set(a,b,c){a.push({key:b,value:c})}},Q=(c=new class a{getTracerInstance(){return G.getTracer("next.js","0.0.1")}getContext(){return E}getTracePropagationData(){let a=E.active(),b=[];return F.inject(a,b,P),b}getActiveScopeSpan(){return G.getSpan(null==E?void 0:E.active())}withPropagatedContext(a,b,c){let d=E.active();if(G.getSpanContext(d))return b();let e=F.extract(d,a,c);return E.with(e,b)}trace(...a){let[b,c,d]=a,{fn:e,options:f}="function"==typeof c?{fn:c,options:{}}:{fn:d,options:{...c}},g=f.spanName??b;if(!B.has(b)&&"1"!==process.env.NEXT_OTEL_VERBOSE||f.hideSpan)return e();let h=this.getSpanContext((null==f?void 0:f.parentSpan)??this.getActiveScopeSpan());h||(h=(null==E?void 0:E.active())??J);let i=h.getValue(N),j="number"!=typeof i||!M.has(i),k=O++;return f.attributes={"next.span_name":g,"next.span_type":b,...f.attributes},E.with(h.setValue(N,k),()=>this.getTracerInstance().startActiveSpan(g,f,a=>{let c;D&&b&&C.has(b)&&(c="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0);let d=!1,g=()=>{!d&&(d=!0,M.delete(k),c&&performance.measure(`${D}:next-${(b.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:c,end:performance.now()}))};if(j&&M.set(k,new Map(Object.entries(f.attributes??{}))),e.length>1)try{return e(a,b=>L(a,b))}catch(b){throw L(a,b),b}finally{g()}try{let b=e(a);if(null!==b&&"object"==typeof b&&"then"in b&&"function"==typeof b.then)return b.then(b=>(a.end(),b)).catch(b=>{throw L(a,b),b}).finally(g);return a.end(),g(),b}catch(b){throw L(a,b),g(),b}}))}wrap(...a){let b=this,[c,d,e]=3===a.length?a:[a[0],{},a[1]];return B.has(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=d;"function"==typeof a&&"function"==typeof e&&(a=a.apply(this,arguments));let f=arguments.length-1,g=arguments[f];if("function"!=typeof g)return b.trace(c,a,()=>e.apply(this,arguments));{let d=b.getContext().bind(E.active(),g);return b.trace(c,a,(a,b)=>(arguments[f]=function(a){return null==b||b(a),d.apply(this,arguments)},e.apply(this,arguments)))}}:e}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?G.setSpan(E.active(),a):void 0}getRootSpanAttributes(){let a=E.active().getValue(N);return M.get(a)}setRootSpanAttribute(a,b){let c=E.active().getValue(N),d=M.get(c);d&&!d.has(a)&&d.set(a,b)}withSpan(a,b){let c=G.setSpan(E.active(),a);return E.with(c,b)}},()=>c);a.s(["SpanKind",()=>I,"getTracer",()=>Q],53439)},46761,a=>{"use strict";class b{constructor(){let a,b;this.promise=new Promise((c,d)=>{a=c,b=d}),this.resolve=a,this.reject=b}}a.s(["DetachedPromise",()=>b])},57881,91489,a=>{"use strict";a.i(53439),a.i(20044),a.i(46761),a.i(97527);let b={OPENING:{HTML:new Uint8Array([60,104,116,109,108]),BODY:new Uint8Array([60,98,111,100,121])},CLOSED:{HEAD:new Uint8Array([60,47,104,101,97,100,62]),BODY:new Uint8Array([60,47,98,111,100,121,62]),HTML:new Uint8Array([60,47,104,116,109,108,62]),BODY_AND_HTML:new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62])},META:{ICON_MARK:new Uint8Array([60,109,101,116,97,32,110,97,109,101,61,34,194,171,110,120,116,45,105,99,111,110,194,187,34])}};function c(){}a.s(["ENCODED_TAGS",0,b],91489),a.i(75556);let d=new TextEncoder;function e(...a){if(0===a.length)return new ReadableStream({start(a){a.close()}});if(1===a.length)return a[0];let{readable:b,writable:d}=new TransformStream,f=a[0].pipeTo(d,{preventClose:!0}),g=1;for(;gb.pipeTo(d,{preventClose:!0}))}let h=a[g];return(f=f.then(()=>h.pipeTo(d))).catch(c),b}function f(a){return new ReadableStream({start(b){b.enqueue(d.encode(a)),b.close()}})}function g(a){return new ReadableStream({start(b){b.enqueue(a),b.close()}})}async function h(a){let b=a.getReader(),c=[];for(;;){let{done:a,value:d}=await b.read();if(a)break;c.push(d)}return c}async function i(a){return Buffer.concat(await h(a))}async function j(a,b){let c=new TextDecoder("utf-8",{fatal:!0}),d="";for await(let e of a){if(null==b?void 0:b.aborted)return d;d+=c.decode(e,{stream:!0})}return d+c.decode()}a.s(["chainStreams",()=>e,"streamFromBuffer",()=>g,"streamFromString",()=>f,"streamToBuffer",()=>i,"streamToString",()=>j],57881)},58350,a=>{"use strict";let b=Symbol.for("NextInternalRequestMeta");function c(a,c){let d=a[b]||{};return"string"==typeof c?d[c]:d}function d(a,d,e){let f=c(a);return f[d]=e,a[b]=f,f}a.s(["NEXT_REQUEST_META",0,b,"addRequestMeta",()=>d,"getRequestMeta",()=>c])},80203,a=>{"use strict";let b={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};b.reactServerComponents,b.actionBrowser,b.reactServerComponents,b.actionBrowser,b.instrument,b.middleware,b.apiNode,b.apiEdge,b.serverSideRendering,b.appPagesBrowser,b.reactServerComponents,b.actionBrowser,b.serverSideRendering,b.appPagesBrowser,b.shared,b.instrument,b.middleware,b.reactServerComponents,b.serverSideRendering,b.appPagesBrowser,b.actionBrowser,a.s(["CACHE_ONE_YEAR",0,31536e3,"HTML_CONTENT_TYPE_HEADER",0,"text/html; charset=utf-8","INFINITE_CACHE",0,0xfffffffe,"NEXT_CACHE_TAGS_HEADER",0,"x-next-cache-tags","NEXT_CACHE_TAG_MAX_ITEMS",0,128,"NEXT_CACHE_TAG_MAX_LENGTH",0,256,"NEXT_RESUME_HEADER",0,"next-resume"])},98059,75992,68525,a=>{"use strict";function b(a){let b=new Headers;for(let[c,d]of Object.entries(a))for(let a of Array.isArray(d)?d:[d])void 0!==a&&("number"==typeof a&&(a=a.toString()),b.append(c,a));return b}function c(a){let b={},c=[];if(a)for(let[d,e]of a.entries())"set-cookie"===d.toLowerCase()?(c.push(...function(a){var b,c,d,e,f,g=[],h=0;function i(){for(;h=a.length)&&g.push(a.substring(b,a.length))}return g}(e)),b[d]=1===c.length?c[0]:c):b[d]=e;return b}function d(a){try{return String(new URL(String(a)))}catch(b){throw Object.defineProperty(Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:b}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function e(a,b,c){if(a){for(let d of(c&&(c=c.toLowerCase()),a))if(b===d.domain?.split(":",1)[0].toLowerCase()||c===d.defaultLocale.toLowerCase()||d.locales?.some(a=>a.toLowerCase()===c))return d}}function f(a){return a.replace(/\/$/,"")||"/"}a.i(80203),a.s(["fromNodeOutgoingHttpHeaders",()=>b,"toNodeOutgoingHttpHeaders",()=>c,"validateURL",()=>d],98059),a.s(["detectDomainLocale",()=>e],75992),a.s(["removeTrailingSlash",()=>f],68525)},65616,a=>{"use strict";function b(a){let b=a.indexOf("#"),c=a.indexOf("?"),d=c>-1&&(b<0||c-1?{pathname:a.substring(0,d?c:b),query:d?a.substring(c,b>-1?b:void 0):"",hash:b>-1?a.slice(b):""}:{pathname:a,query:"",hash:""}}a.s(["parsePath",()=>b])},2754,32036,a=>{"use strict";var b=a.i(65616);function c(a,c){if(!a.startsWith("/")||!c)return a;let{pathname:d,query:e,hash:f}=(0,b.parsePath)(a);return`${c}${d}${e}${f}`}function d(a,c){if(!a.startsWith("/")||!c)return a;let{pathname:d,query:e,hash:f}=(0,b.parsePath)(a);return`${d}${c}${e}${f}`}a.s(["addPathPrefix",()=>c],2754),a.s(["addPathSuffix",()=>d],32036)},11982,a=>{"use strict";var b=a.i(65616);function c(a,c){if("string"!=typeof a)return!1;let{pathname:d}=(0,b.parsePath)(a);return d===c||d.startsWith(c+"/")}a.s(["pathHasPrefix",()=>c])},26938,27121,31242,a=>{"use strict";var b=a.i(68525),c=a.i(2754),d=a.i(32036),e=a.i(11982);function f(a){let f=function(a,b,d,f){if(!b||b===d)return a;let g=a.toLowerCase();return!f&&((0,e.pathHasPrefix)(g,"/api")||(0,e.pathHasPrefix)(g,`/${b.toLowerCase()}`))?a:(0,c.addPathPrefix)(a,`/${b}`)}(a.pathname,a.locale,a.buildId?void 0:a.defaultLocale,a.ignorePrefix);return(a.buildId||!a.trailingSlash)&&(f=(0,b.removeTrailingSlash)(f)),a.buildId&&(f=(0,d.addPathSuffix)((0,c.addPathPrefix)(f,`/_next/data/${a.buildId}`),"/"===a.pathname?"index.json":".json")),f=(0,c.addPathPrefix)(f,a.basePath),!a.buildId&&a.trailingSlash?f.endsWith("/")?f:(0,d.addPathSuffix)(f,"/"):(0,b.removeTrailingSlash)(f)}function g(a,b){let c;if(b?.host&&!Array.isArray(b.host))c=b.host.toString().split(":",1)[0];else{if(!a.hostname)return;c=a.hostname}return c.toLowerCase()}a.s(["formatNextPathnameInfo",()=>f],26938),a.s(["getHostname",()=>g],27121);let h=new WeakMap;function i(a,b){let c;if(!b)return{pathname:a};let d=h.get(b);d||(d=b.map(a=>a.toLowerCase()),h.set(b,d));let e=a.split("/",2);if(!e[1])return{pathname:a};let f=e[1].toLowerCase(),g=d.indexOf(f);return g<0?{pathname:a}:(c=b[g],{pathname:a=a.slice(c.length+1)||"/",detectedLocale:c})}a.s(["normalizeLocalePath",()=>i],31242)},47950,a=>{"use strict";var b=a.i(11982);function c(a,c){if(!(0,b.pathHasPrefix)(a,c))return a;let d=a.slice(c.length);return d.startsWith("/")?d:`/${d}`}a.s(["removePathPrefix",()=>c])},42125,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={RequestCookies:()=>p,ResponseCookies:()=>q,parseCookie:()=>l,parseSetCookie:()=>m,stringifyCookie:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});function k(a){var b;let c=["path"in a&&a.path&&`Path=${a.path}`,"expires"in a&&(a.expires||0===a.expires)&&`Expires=${("number"==typeof a.expires?new Date(a.expires):a.expires).toUTCString()}`,"maxAge"in a&&"number"==typeof a.maxAge&&`Max-Age=${a.maxAge}`,"domain"in a&&a.domain&&`Domain=${a.domain}`,"secure"in a&&a.secure&&"Secure","httpOnly"in a&&a.httpOnly&&"HttpOnly","sameSite"in a&&a.sameSite&&`SameSite=${a.sameSite}`,"partitioned"in a&&a.partitioned&&"Partitioned","priority"in a&&a.priority&&`Priority=${a.priority}`].filter(Boolean),d=`${a.name}=${encodeURIComponent(null!=(b=a.value)?b:"")}`;return 0===c.length?d:`${d}; ${c.join("; ")}`}function l(a){let b=new Map;for(let c of a.split(/; */)){if(!c)continue;let a=c.indexOf("=");if(-1===a){b.set(c,"true");continue}let[d,e]=[c.slice(0,a),c.slice(a+1)];try{b.set(d,decodeURIComponent(null!=e?e:"true"))}catch{}}return b}function m(a){if(!a)return;let[[b,c],...d]=l(a),{domain:e,expires:f,httponly:g,maxage:h,path:i,samesite:j,secure:k,partitioned:m,priority:p}=Object.fromEntries(d.map(([a,b])=>[a.toLowerCase().replace(/-/g,""),b]));{var q,r,s={name:b,value:decodeURIComponent(c),domain:e,...f&&{expires:new Date(f)},...g&&{httpOnly:!0},..."string"==typeof h&&{maxAge:Number(h)},path:i,...j&&{sameSite:n.includes(q=(q=j).toLowerCase())?q:void 0},...k&&{secure:!0},...p&&{priority:o.includes(r=(r=p).toLowerCase())?r:void 0},...m&&{partitioned:!0}};let a={};for(let b in s)s[b]&&(a[b]=s[b]);return a}}b.exports=((a,b,c,h)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let i of f(b))g.call(a,i)||i===c||d(a,i,{get:()=>b[i],enumerable:!(h=e(b,i))||h.enumerable});return a})(d({},"__esModule",{value:!0}),h);var n=["strict","lax","none"],o=["low","medium","high"],p=class{constructor(a){this._parsed=new Map,this._headers=a;const b=a.get("cookie");if(b)for(const[a,c]of l(b))this._parsed.set(a,{name:a,value:c})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed);if(!a.length)return c.map(([a,b])=>b);let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(([a])=>a===d).map(([a,b])=>b)}has(a){return this._parsed.has(a)}set(...a){let[b,c]=1===a.length?[a[0].name,a[0].value]:a,d=this._parsed;return d.set(b,{name:b,value:c}),this._headers.set("cookie",Array.from(d).map(([a,b])=>k(b)).join("; ")),this}delete(a){let b=this._parsed,c=Array.isArray(a)?a.map(a=>b.delete(a)):b.delete(a);return this._headers.set("cookie",Array.from(b).map(([a,b])=>k(b)).join("; ")),c}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a=>`${a.name}=${encodeURIComponent(a.value)}`).join("; ")}},q=class{constructor(a){var b,c,d;this._parsed=new Map,this._headers=a;const e=null!=(d=null!=(c=null==(b=a.getSetCookie)?void 0:b.call(a))?c:a.get("set-cookie"))?d:[];for(const a of Array.isArray(e)?e:function(a){if(!a)return[];var b,c,d,e,f,g=[],h=0;function i(){for(;h=a.length)&&g.push(a.substring(b,a.length))}return g}(e)){const b=m(a);b&&this._parsed.set(b.name,b)}}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed.values());if(!a.length)return c;let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(a=>a.name===d)}has(a){return this._parsed.has(a)}set(...a){let[b,c,d]=1===a.length?[a[0].name,a[0].value,a[0]]:a,e=this._parsed;return e.set(b,function(a={name:"",value:""}){return"number"==typeof a.expires&&(a.expires=new Date(a.expires)),a.maxAge&&(a.expires=new Date(Date.now()+1e3*a.maxAge)),(null===a.path||void 0===a.path)&&(a.path="/"),a}({name:b,value:c,...d})),function(a,b){for(let[,c]of(b.delete("set-cookie"),a)){let a=k(c);b.append("set-cookie",a)}}(e,this._headers),this}delete(...a){let[b,c]="string"==typeof a[0]?[a[0]]:[a[0].name,a[0]];return this.set({...c,name:b,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(k).join("; ")}}},94749,a=>{"use strict";a.i(58350),a.i(98059);var b=a.i(75992),c=a.i(26938),d=a.i(27121),e=a.i(31242),f=a.i(47950),g=a.i(11982);let h=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function i(a,b){return new URL(String(a).replace(h,"localhost"),b&&String(b).replace(h,"localhost"))}let j=Symbol("NextURLInternal");class k{constructor(a,b,c){let d,e;"object"==typeof b&&"pathname"in b||"string"==typeof b?(d=b,e=c||{}):e=c||b||{},this[j]={url:i(a,d??e.base),options:e,basePath:""},this.analyze()}analyze(){var a,c,h,i,k;let l=function(a,b){let{basePath:c,i18n:d,trailingSlash:h}=b.nextConfig??{},i={pathname:a,trailingSlash:"/"!==a?a.endsWith("/"):h};c&&(0,g.pathHasPrefix)(i.pathname,c)&&(i.pathname=(0,f.removePathPrefix)(i.pathname,c),i.basePath=c);let j=i.pathname;if(i.pathname.startsWith("/_next/data/")&&i.pathname.endsWith(".json")){let a=i.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");i.buildId=a[0],j="index"!==a[1]?`/${a.slice(1).join("/")}`:"/",!0===b.parseData&&(i.pathname=j)}if(d){let a=b.i18nProvider?b.i18nProvider.analyze(i.pathname):(0,e.normalizeLocalePath)(i.pathname,d.locales);i.locale=a.detectedLocale,i.pathname=a.pathname??i.pathname,!a.detectedLocale&&i.buildId&&(a=b.i18nProvider?b.i18nProvider.analyze(j):(0,e.normalizeLocalePath)(j,d.locales)).detectedLocale&&(i.locale=a.detectedLocale)}return i}(this[j].url.pathname,{nextConfig:this[j].options.nextConfig,parseData:!0,i18nProvider:this[j].options.i18nProvider}),m=(0,d.getHostname)(this[j].url,this[j].options.headers);this[j].domainLocale=this[j].options.i18nProvider?this[j].options.i18nProvider.detectDomainLocale(m):(0,b.detectDomainLocale)(null==(c=this[j].options.nextConfig)||null==(a=c.i18n)?void 0:a.domains,m);let n=(null==(h=this[j].domainLocale)?void 0:h.defaultLocale)||(null==(k=this[j].options.nextConfig)||null==(i=k.i18n)?void 0:i.defaultLocale);this[j].url.pathname=l.pathname,this[j].defaultLocale=n,this[j].basePath=l.basePath??"",this[j].buildId=l.buildId,this[j].locale=l.locale??n,this[j].trailingSlash=l.trailingSlash}formatPathname(){return(0,c.formatNextPathnameInfo)({basePath:this[j].basePath,buildId:this[j].buildId,defaultLocale:this[j].options.forceLocale?void 0:this[j].defaultLocale,locale:this[j].locale,pathname:this[j].url.pathname,trailingSlash:this[j].trailingSlash})}formatSearch(){return this[j].url.search}get buildId(){return this[j].buildId}set buildId(a){this[j].buildId=a}get locale(){return this[j].locale??""}set locale(a){var b,c;if(!this[j].locale||!(null==(c=this[j].options.nextConfig)||null==(b=c.i18n)?void 0:b.locales.includes(a)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${a}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[j].locale=a}get defaultLocale(){return this[j].defaultLocale}get domainLocale(){return this[j].domainLocale}get searchParams(){return this[j].url.searchParams}get host(){return this[j].url.host}set host(a){this[j].url.host=a}get hostname(){return this[j].url.hostname}set hostname(a){this[j].url.hostname=a}get port(){return this[j].url.port}set port(a){this[j].url.port=a}get protocol(){return this[j].url.protocol}set protocol(a){this[j].url.protocol=a}get href(){let a=this.formatPathname(),b=this.formatSearch();return`${this.protocol}//${this.host}${a}${b}${this.hash}`}set href(a){this[j].url=i(a),this.analyze()}get origin(){return this[j].url.origin}get pathname(){return this[j].url.pathname}set pathname(a){this[j].url.pathname=a}get hash(){return this[j].url.hash}set hash(a){this[j].url.hash=a}get search(){return this[j].url.search}set search(a){this[j].url.search=a}get password(){return this[j].url.password}set password(a){this[j].url.password=a}get username(){return this[j].url.username}set username(a){this[j].url.username=a}get basePath(){return this[j].basePath}set basePath(a){this[j].basePath=a.startsWith("/")?a:`/${a}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new k(String(this),this[j].options)}}a.i(42125),Symbol("internal request"),Request,Symbol.for("edge-runtime.inspect.custom");let l="ResponseAborted";class m extends Error{constructor(...a){super(...a),this.name=l}}var n=a.i(46761),o=a.i(53439),p=a.i(20044);let q=0,r=0,s=0;function t(a){return(null==a?void 0:a.name)==="AbortError"||(null==a?void 0:a.name)===l}async function u(a,b,c){try{let d,{errored:e,destroyed:f}=b;if(e||f)return;let g=(d=new AbortController,b.once("close",()=>{b.writableFinished||d.abort(new m)}),d),h=function(a,b){let c=!1,d=new n.DetachedPromise;function e(){d.resolve()}a.on("drain",e),a.once("close",()=>{a.off("drain",e),d.resolve()});let f=new n.DetachedPromise;return a.once("finish",()=>{f.resolve()}),new WritableStream({write:async b=>{if(!c){if(c=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let a=function(a={}){let b=0===q?void 0:{clientComponentLoadStart:q,clientComponentLoadTimes:r,clientComponentLoadCount:s};return a.reset&&(q=0,r=0,s=0),b}();a&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:a.clientComponentLoadStart,end:a.clientComponentLoadStart+a.clientComponentLoadTimes})}a.flushHeaders(),(0,o.getTracer)().trace(p.NextNodeServerSpan.startResponse,{spanName:"start response"},()=>void 0)}try{let c=a.write(b);"flush"in a&&"function"==typeof a.flush&&a.flush(),c||(await d.promise,d=new n.DetachedPromise)}catch(b){throw a.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:b}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:b=>{a.writableFinished||a.destroy(b)},close:async()=>{if(b&&await b,!a.writableFinished)return a.end(),f.promise}})}(b,c);await a.pipeTo(h,{signal:g.signal})}catch(a){if(t(a))return;throw Object.defineProperty(Error("failed to pipe response",{cause:a}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}a.s(["isAbortError",()=>t,"pipeToNodeResponse",()=>u],94749)},67850,a=>{"use strict";var b,c=((b={})[b.SeeOther=303]="SeeOther",b[b.TemporaryRedirect=307]="TemporaryRedirect",b[b.PermanentRedirect=308]="PermanentRedirect",b);a.s(["RedirectStatusCode",()=>c])},32123,a=>{"use strict";var b=a.i(46761);class c{constructor(a,b=a=>a()){this.cacheKeyFn=a,this.schedulerFn=b,this.pending=new Map}static create(a){return new c(null==a?void 0:a.cacheKeyFn,null==a?void 0:a.schedulerFn)}async batch(a,c){let d=this.cacheKeyFn?await this.cacheKeyFn(a):a;if(null===d)return c({resolve:a=>Promise.resolve(a),key:a});let e=this.pending.get(d);if(e)return e;let{promise:f,resolve:g,reject:h}=new b.DetachedPromise;return this.pending.set(d,f),this.schedulerFn(async()=>{try{let b=await c({resolve:g,key:a});g(b)}catch(a){h(a)}finally{this.pending.delete(d)}}),f}}a.s(["Batcher",()=>c])},41182,a=>{"use strict";var b,c,d=((b={}).APP_PAGE="APP_PAGE",b.APP_ROUTE="APP_ROUTE",b.PAGES="PAGES",b.FETCH="FETCH",b.REDIRECT="REDIRECT",b.IMAGE="IMAGE",b),e=((c={}).APP_PAGE="APP_PAGE",c.APP_ROUTE="APP_ROUTE",c.PAGES="PAGES",c.FETCH="FETCH",c.IMAGE="IMAGE",c);a.s(["CachedRouteKind",()=>d,"IncrementalCacheKind",()=>e])},87590,20433,a=>{"use strict";a.i(32123),a.i(26382),a.i(21907),a.i(97527),a.i(41182);var b=a.i(57881),c=a.i(94749),d=a.i(50975);class e{static #a=this.EMPTY=new e(null,{metadata:{},contentType:null});static fromStatic(a,b){return new e(a,{metadata:{},contentType:b})}constructor(a,{contentType:b,waitUntil:c,metadata:d}){this.response=a,this.contentType=b,this.metadata=d,this.waitUntil=c}assignMetadata(a){Object.assign(this.metadata,a)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedString(a=!1){if(null===this.response)return"";if("string"!=typeof this.response){if(!a)throw Object.defineProperty(new d.InvariantError("dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E732",enumerable:!1,configurable:!0});return(0,b.streamToString)(this.readable)}return this.response}get readable(){return null===this.response?new ReadableStream({start(a){a.close()}}):"string"==typeof this.response?(0,b.streamFromString)(this.response):Buffer.isBuffer(this.response)?(0,b.streamFromBuffer)(this.response):Array.isArray(this.response)?(0,b.chainStreams)(...this.response):this.response}coerce(){return null===this.response?[]:"string"==typeof this.response?[(0,b.streamFromString)(this.response)]:Array.isArray(this.response)?this.response:Buffer.isBuffer(this.response)?[(0,b.streamFromBuffer)(this.response)]:[this.response]}unshift(a){this.response=this.coerce(),this.response.unshift(a)}push(a){this.response=this.coerce(),this.response.push(a)}async pipeTo(a){try{await this.readable.pipeTo(a,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await a.close()}catch(b){if((0,c.isAbortError)(b))return void await a.abort(b);throw b}}async pipeToNodeResponse(a){await (0,c.pipeToNodeResponse)(this.readable,a,this.waitUntil)}}function f(a,b){if(!a)return b;let c=parseInt(a,10);return Number.isFinite(c)&&c>0?c:b}a.s(["default",()=>e],20433),a.i(87108),a.i(80203),f(process.env.NEXT_PRIVATE_RESPONSE_CACHE_TTL,1e4),f(process.env.NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE,150),a.s([],87590)}]; - -//# sourceMappingURL=549ce_next_dist_470effa2._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_470effa2._.js.map b/.next/server/chunks/ssr/549ce_next_dist_470effa2._.js.map deleted file mode 100644 index 1f62732..0000000 --- a/.next/server/chunks/ssr/549ce_next_dist_470effa2._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-kind.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/web/spec-extension/adapters/reflect.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/scheduler.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/invariant-error.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/app-router-headers.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/picocolors.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/lib/lru-cache.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/build/output/log.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/segment.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/compiled/%40opentelemetry/api/index.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/trace/constants.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/trace/tracer.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/is-thenable.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/detached-promise.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/stream-utils/node-web-streams-helper.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/segment-cache/output-export-prefetch-encoding.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/errors/constants.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/stream-utils/encoded-tags.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/cache-busting-search-param.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/stream-utils/uint8array-helpers.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/hash.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/request-meta.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/constants.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/web/utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/i18n/detect-domain-locale.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/remove-trailing-slash.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/router/utils/parse-path.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/add-path-prefix.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/add-path-suffix.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/router/utils/path-has-prefix.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/format-next-pathname-info.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/i18n/normalize-locale-path.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/add-locale.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/get-hostname.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/router/utils/remove-path-prefix.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/compiled/%40edge-runtime/cookies/index.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/get-next-pathname-info.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/web/next-url.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/web/spec-extension/cookies.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/web/spec-extension/adapters/next-request.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/client-component-renderer-logger.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/web/error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/pipe-readable.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/web/spec-extension/request.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/base-http/helpers.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/redirect-status-code.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/batcher.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/response-cache/types.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/response-cache/index.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/response-cache/utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/render-result.js"],"sourcesContent":["export const enum RouteKind {\n /**\n * `PAGES` represents all the React pages that are under `pages/`.\n */\n PAGES = 'PAGES',\n /**\n * `PAGES_API` represents all the API routes under `pages/api/`.\n */\n PAGES_API = 'PAGES_API',\n /**\n * `APP_PAGE` represents all the React pages that are under `app/` with the\n * filename of `page.{j,t}s{,x}`.\n */\n APP_PAGE = 'APP_PAGE',\n /**\n * `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the\n * filename of `route.{j,t}s{,x}`.\n */\n APP_ROUTE = 'APP_ROUTE',\n\n /**\n * `IMAGE` represents all the images that are generated by `next/image`.\n */\n IMAGE = 'IMAGE',\n}\n","export class ReflectAdapter {\n static get(\n target: T,\n prop: string | symbol,\n receiver: unknown\n ): any {\n const value = Reflect.get(target, prop, receiver)\n if (typeof value === 'function') {\n return value.bind(target)\n }\n\n return value\n }\n\n static set(\n target: T,\n prop: string | symbol,\n value: any,\n receiver: any\n ): boolean {\n return Reflect.set(target, prop, value, receiver)\n }\n\n static has(target: T, prop: string | symbol): boolean {\n return Reflect.has(target, prop)\n }\n\n static deleteProperty(\n target: T,\n prop: string | symbol\n ): boolean {\n return Reflect.deleteProperty(target, prop)\n }\n}\n","export type ScheduledFn = () => T | PromiseLike\nexport type SchedulerFn = (cb: ScheduledFn) => void\n\n/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */\nexport const scheduleOnNextTick = (cb: ScheduledFn) => {\n // We use Promise.resolve().then() here so that the operation is scheduled at\n // the end of the promise job queue, we then add it to the next process tick\n // to ensure it's evaluated afterwards.\n //\n // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n //\n Promise.resolve().then(() => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n process.nextTick(cb)\n }\n })\n}\n\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */\nexport const scheduleImmediate = (cb: ScheduledFn): void => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n setImmediate(cb)\n }\n}\n\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */\nexport function atLeastOneTask() {\n return new Promise((resolve) => scheduleImmediate(resolve))\n}\n\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */\nexport function waitAtLeastOneReactRenderTask(): Promise {\n if (process.env.NEXT_RUNTIME === 'edge') {\n return new Promise((r) => setTimeout(r, 0))\n } else {\n return new Promise((r) => setImmediate(r))\n }\n}\n","export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","export const RSC_HEADER = 'rsc' as const\nexport const ACTION_HEADER = 'next-action' as const\n// TODO: Instead of sending the full router state, we only need to send the\n// segment path. Saves bytes. Then we could also use this field for segment\n// prefetches, which also need to specify a particular segment.\nexport const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree' as const\nexport const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch' as const\n// This contains the path to the segment being prefetched.\n// TODO: If we change next-router-state-tree to be a segment path, we can use\n// that instead. Then next-router-prefetch and next-router-segment-prefetch can\n// be merged into a single enum.\nexport const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER =\n 'next-router-segment-prefetch' as const\nexport const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh' as const\nexport const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__' as const\nexport const NEXT_URL = 'next-url' as const\nexport const RSC_CONTENT_TYPE_HEADER = 'text/x-component' as const\n\nexport const FLIGHT_HEADERS = [\n RSC_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n] as const\n\nexport const NEXT_RSC_UNION_QUERY = '_rsc' as const\n\nexport const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time' as const\nexport const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed' as const\nexport const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path' as const\nexport const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query' as const\nexport const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender' as const\nexport const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found' as const\nexport const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id' as const\nexport const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id' as const\n\n// TODO: Should this include nextjs in the name, like the others?\nexport const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated' as const\n","// ISC License\n\n// Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov\n\n// Permission to use, copy, modify, and/or distribute this software for any\n// purpose with or without fee is hereby granted, provided that the above\n// copyright notice and this permission notice appear in all copies.\n\n// THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n//\n// https://github.com/alexeyraspopov/picocolors/blob/b6261487e7b81aaab2440e397a356732cad9e342/picocolors.js#L1\n\nconst { env, stdout } = globalThis?.process ?? {}\n\nconst enabled =\n env &&\n !env.NO_COLOR &&\n (env.FORCE_COLOR || (stdout?.isTTY && !env.CI && env.TERM !== 'dumb'))\n\nconst replaceClose = (\n str: string,\n close: string,\n replace: string,\n index: number\n): string => {\n const start = str.substring(0, index) + replace\n const end = str.substring(index + close.length)\n const nextIndex = end.indexOf(close)\n return ~nextIndex\n ? start + replaceClose(end, close, replace, nextIndex)\n : start + end\n}\n\nconst formatter = (open: string, close: string, replace = open) => {\n if (!enabled) return String\n return (input: string) => {\n const string = '' + input\n const index = string.indexOf(close, open.length)\n return ~index\n ? open + replaceClose(string, close, replace, index) + close\n : open + string + close\n }\n}\n\nexport const reset = enabled ? (s: string) => `\\x1b[0m${s}\\x1b[0m` : String\nexport const bold = formatter('\\x1b[1m', '\\x1b[22m', '\\x1b[22m\\x1b[1m')\nexport const dim = formatter('\\x1b[2m', '\\x1b[22m', '\\x1b[22m\\x1b[2m')\nexport const italic = formatter('\\x1b[3m', '\\x1b[23m')\nexport const underline = formatter('\\x1b[4m', '\\x1b[24m')\nexport const inverse = formatter('\\x1b[7m', '\\x1b[27m')\nexport const hidden = formatter('\\x1b[8m', '\\x1b[28m')\nexport const strikethrough = formatter('\\x1b[9m', '\\x1b[29m')\nexport const black = formatter('\\x1b[30m', '\\x1b[39m')\nexport const red = formatter('\\x1b[31m', '\\x1b[39m')\nexport const green = formatter('\\x1b[32m', '\\x1b[39m')\nexport const yellow = formatter('\\x1b[33m', '\\x1b[39m')\nexport const blue = formatter('\\x1b[34m', '\\x1b[39m')\nexport const magenta = formatter('\\x1b[35m', '\\x1b[39m')\nexport const purple = formatter('\\x1b[38;2;173;127;168m', '\\x1b[39m')\nexport const cyan = formatter('\\x1b[36m', '\\x1b[39m')\nexport const white = formatter('\\x1b[37m', '\\x1b[39m')\nexport const gray = formatter('\\x1b[90m', '\\x1b[39m')\nexport const bgBlack = formatter('\\x1b[40m', '\\x1b[49m')\nexport const bgRed = formatter('\\x1b[41m', '\\x1b[49m')\nexport const bgGreen = formatter('\\x1b[42m', '\\x1b[49m')\nexport const bgYellow = formatter('\\x1b[43m', '\\x1b[49m')\nexport const bgBlue = formatter('\\x1b[44m', '\\x1b[49m')\nexport const bgMagenta = formatter('\\x1b[45m', '\\x1b[49m')\nexport const bgCyan = formatter('\\x1b[46m', '\\x1b[49m')\nexport const bgWhite = formatter('\\x1b[47m', '\\x1b[49m')\n","/**\n * Node in the doubly-linked list used for LRU tracking.\n * Each node represents a cache entry with bidirectional pointers.\n */\nclass LRUNode {\n public readonly key: string\n public data: T\n public size: number\n public prev: LRUNode | SentinelNode | null = null\n public next: LRUNode | SentinelNode | null = null\n\n constructor(key: string, data: T, size: number) {\n this.key = key\n this.data = data\n this.size = size\n }\n}\n\n/**\n * Sentinel node used for head/tail boundaries.\n * These nodes don't contain actual cache data but simplify list operations.\n */\nclass SentinelNode {\n public prev: LRUNode | SentinelNode | null = null\n public next: LRUNode | SentinelNode | null = null\n}\n\n/**\n * LRU (Least Recently Used) Cache implementation using a doubly-linked list\n * and hash map for O(1) operations.\n *\n * Algorithm:\n * - Uses a doubly-linked list to maintain access order (most recent at head)\n * - Hash map provides O(1) key-to-node lookup\n * - Sentinel head/tail nodes simplify edge case handling\n * - Size-based eviction supports custom size calculation functions\n *\n * Data Structure Layout:\n * HEAD <-> [most recent] <-> ... <-> [least recent] <-> TAIL\n *\n * Operations:\n * - get(): Move accessed node to head (mark as most recent)\n * - set(): Add new node at head, evict from tail if over capacity\n * - Eviction: Remove least recent node (tail.prev) when size exceeds limit\n */\nexport class LRUCache {\n private readonly cache: Map> = new Map()\n private readonly head: SentinelNode\n private readonly tail: SentinelNode\n private totalSize: number = 0\n private readonly maxSize: number\n private readonly calculateSize: ((value: T) => number) | undefined\n private readonly onEvict: ((key: string, value: T) => void) | undefined\n\n constructor(\n maxSize: number,\n calculateSize?: (value: T) => number,\n onEvict?: (key: string, value: T) => void\n ) {\n this.maxSize = maxSize\n this.calculateSize = calculateSize\n this.onEvict = onEvict\n\n // Create sentinel nodes to simplify doubly-linked list operations\n // HEAD <-> TAIL (empty list)\n this.head = new SentinelNode()\n this.tail = new SentinelNode()\n this.head.next = this.tail\n this.tail.prev = this.head\n }\n\n /**\n * Adds a node immediately after the head (marks as most recently used).\n * Used when inserting new items or when an item is accessed.\n * PRECONDITION: node must be disconnected (prev/next should be null)\n */\n private addToHead(node: LRUNode): void {\n node.prev = this.head\n node.next = this.head.next\n // head.next is always non-null (points to tail or another node)\n this.head.next!.prev = node\n this.head.next = node\n }\n\n /**\n * Removes a node from its current position in the doubly-linked list.\n * Updates the prev/next pointers of adjacent nodes to maintain list integrity.\n * PRECONDITION: node must be connected (prev/next are non-null)\n */\n private removeNode(node: LRUNode): void {\n // Connected nodes always have non-null prev/next\n node.prev!.next = node.next\n node.next!.prev = node.prev\n }\n\n /**\n * Moves an existing node to the head position (marks as most recently used).\n * This is the core LRU operation - accessed items become most recent.\n */\n private moveToHead(node: LRUNode): void {\n this.removeNode(node)\n this.addToHead(node)\n }\n\n /**\n * Removes and returns the least recently used node (the one before tail).\n * This is called during eviction when the cache exceeds capacity.\n * PRECONDITION: cache is not empty (ensured by caller)\n */\n private removeTail(): LRUNode {\n const lastNode = this.tail.prev as LRUNode\n // tail.prev is always non-null and always LRUNode when cache is not empty\n this.removeNode(lastNode)\n return lastNode\n }\n\n /**\n * Sets a key-value pair in the cache.\n * If the key exists, updates the value and moves to head.\n * If new, adds at head and evicts from tail if necessary.\n *\n * Time Complexity:\n * - O(1) for uniform item sizes\n * - O(k) where k is the number of items evicted (can be O(N) for variable sizes)\n */\n public set(key: string, value: T): void {\n const size = this.calculateSize?.(value) ?? 1\n if (size > this.maxSize) {\n console.warn('Single item size exceeds maxSize')\n return\n }\n\n const existing = this.cache.get(key)\n if (existing) {\n // Update existing node: adjust size and move to head (most recent)\n existing.data = value\n this.totalSize = this.totalSize - existing.size + size\n existing.size = size\n this.moveToHead(existing)\n } else {\n // Add new node at head (most recent position)\n const newNode = new LRUNode(key, value, size)\n this.cache.set(key, newNode)\n this.addToHead(newNode)\n this.totalSize += size\n }\n\n // Evict least recently used items until under capacity\n while (this.totalSize > this.maxSize && this.cache.size > 0) {\n const tail = this.removeTail()\n this.cache.delete(tail.key)\n this.totalSize -= tail.size\n this.onEvict?.(tail.key, tail.data)\n }\n }\n\n /**\n * Checks if a key exists in the cache.\n * This is a pure query operation - does NOT update LRU order.\n *\n * Time Complexity: O(1)\n */\n public has(key: string): boolean {\n return this.cache.has(key)\n }\n\n /**\n * Retrieves a value by key and marks it as most recently used.\n * Moving to head maintains the LRU property for future evictions.\n *\n * Time Complexity: O(1)\n */\n public get(key: string): T | undefined {\n const node = this.cache.get(key)\n if (!node) return undefined\n\n // Mark as most recently used by moving to head\n this.moveToHead(node)\n\n return node.data\n }\n\n /**\n * Returns an iterator over the cache entries. The order is outputted in the\n * order of most recently used to least recently used.\n */\n public *[Symbol.iterator](): IterableIterator<[string, T]> {\n let current = this.head.next\n while (current && current !== this.tail) {\n // Between head and tail, current is always LRUNode\n const node = current as LRUNode\n yield [node.key, node.data]\n current = current.next\n }\n }\n\n /**\n * Removes a specific key from the cache.\n * Updates both the hash map and doubly-linked list.\n *\n * Note: This is an explicit removal and does NOT trigger the `onEvict`\n * callback. Use this for intentional deletions where eviction tracking\n * is not needed.\n *\n * Time Complexity: O(1)\n */\n public remove(key: string): void {\n const node = this.cache.get(key)\n if (!node) return\n\n this.removeNode(node)\n this.cache.delete(key)\n this.totalSize -= node.size\n }\n\n /**\n * Returns the number of items in the cache.\n */\n public get size(): number {\n return this.cache.size\n }\n\n /**\n * Returns the current total size of all cached items.\n * This uses the custom size calculation if provided.\n */\n public get currentSize(): number {\n return this.totalSize\n }\n}\n","import { bold, green, magenta, red, yellow, white } from '../../lib/picocolors'\nimport { LRUCache } from '../../server/lib/lru-cache'\n\nexport const prefixes = {\n wait: white(bold('○')),\n error: red(bold('⨯')),\n warn: yellow(bold('⚠')),\n ready: '▲', // no color\n info: white(bold(' ')),\n event: green(bold('✓')),\n trace: magenta(bold('»')),\n} as const\n\nconst LOGGING_METHOD = {\n log: 'log',\n warn: 'warn',\n error: 'error',\n} as const\n\nfunction prefixedLog(prefixType: keyof typeof prefixes, ...message: any[]) {\n if ((message[0] === '' || message[0] === undefined) && message.length === 1) {\n message.shift()\n }\n\n const consoleMethod: keyof typeof LOGGING_METHOD =\n prefixType in LOGGING_METHOD\n ? LOGGING_METHOD[prefixType as keyof typeof LOGGING_METHOD]\n : 'log'\n\n const prefix = prefixes[prefixType]\n // If there's no message, don't print the prefix but a new line\n if (message.length === 0) {\n console[consoleMethod]('')\n } else {\n // Ensure if there's ANSI escape codes it's concatenated into one string.\n // Chrome DevTool can only handle color if it's in one string.\n if (message.length === 1 && typeof message[0] === 'string') {\n console[consoleMethod](prefix + ' ' + message[0])\n } else {\n console[consoleMethod](prefix, ...message)\n }\n }\n}\n\nexport function bootstrap(message: string) {\n console.log(message)\n}\n\nexport function wait(...message: any[]) {\n prefixedLog('wait', ...message)\n}\n\nexport function error(...message: any[]) {\n prefixedLog('error', ...message)\n}\n\nexport function warn(...message: any[]) {\n prefixedLog('warn', ...message)\n}\n\nexport function ready(...message: any[]) {\n prefixedLog('ready', ...message)\n}\n\nexport function info(...message: any[]) {\n prefixedLog('info', ...message)\n}\n\nexport function event(...message: any[]) {\n prefixedLog('event', ...message)\n}\n\nexport function trace(...message: any[]) {\n prefixedLog('trace', ...message)\n}\n\nconst warnOnceCache = new LRUCache(10_000, (value) => value.length)\nexport function warnOnce(...message: any[]) {\n const key = message.join(' ')\n if (!warnOnceCache.has(key)) {\n warnOnceCache.set(key, key)\n warn(...message)\n }\n}\n\nconst errorOnceCache = new LRUCache(10_000, (value) => value.length)\nexport function errorOnce(...message: any[]) {\n const key = message.join(' ')\n if (!errorOnceCache.has(key)) {\n errorOnceCache.set(key, key)\n error(...message)\n }\n}\n","import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n segment: Segment,\n searchParams: Record\n) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams)\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n\nexport function computeSelectedLayoutSegment(\n segments: string[] | null,\n parallelRouteKey: string\n): string | null {\n if (!segments || segments.length === 0) {\n return null\n }\n\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment =\n parallelRouteKey === 'children'\n ? segments[0]\n : segments[segments.length - 1]\n\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n tree: FlightRouterState,\n parallelRouteKey: string,\n first = true,\n segmentPath: string[] = []\n): string[] {\n let node: FlightRouterState\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey]\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1]\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n }\n\n if (!node) return segmentPath\n const segment = node[0]\n\n let segmentValue = getSegmentValue(segment)\n\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath\n }\n\n segmentPath.push(segmentValue)\n\n return getSelectedLayoutSegmentPath(\n node,\n parallelRouteKey,\n false,\n segmentPath\n )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","(()=>{\"use strict\";var e={491:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ContextAPI=void 0;const n=r(223);const a=r(172);const o=r(930);const i=\"context\";const c=new n.NoopContextManager;class ContextAPI{constructor(){}static getInstance(){if(!this._instance){this._instance=new ContextAPI}return this._instance}setGlobalContextManager(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...n){return this._getContextManager().with(e,t,r,...n)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,a.getGlobal)(i)||c}disable(){this._getContextManager().disable();(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.ContextAPI=ContextAPI},930:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagAPI=void 0;const n=r(56);const a=r(912);const o=r(957);const i=r(172);const c=\"diag\";class DiagAPI{constructor(){function _logProxy(e){return function(...t){const r=(0,i.getGlobal)(\"diag\");if(!r)return;return r[e](...t)}}const e=this;const setLogger=(t,r={logLevel:o.DiagLogLevel.INFO})=>{var n,c,s;if(t===e){const t=new Error(\"Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation\");e.error((n=t.stack)!==null&&n!==void 0?n:t.message);return false}if(typeof r===\"number\"){r={logLevel:r}}const u=(0,i.getGlobal)(\"diag\");const l=(0,a.createLogLevelDiagLogger)((c=r.logLevel)!==null&&c!==void 0?c:o.DiagLogLevel.INFO,t);if(u&&!r.suppressOverrideMessage){const e=(s=(new Error).stack)!==null&&s!==void 0?s:\"\";u.warn(`Current logger will be overwritten from ${e}`);l.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,i.registerGlobal)(\"diag\",l,e,true)};e.setLogger=setLogger;e.disable=()=>{(0,i.unregisterGlobal)(c,e)};e.createComponentLogger=e=>new n.DiagComponentLogger(e);e.verbose=_logProxy(\"verbose\");e.debug=_logProxy(\"debug\");e.info=_logProxy(\"info\");e.warn=_logProxy(\"warn\");e.error=_logProxy(\"error\")}static instance(){if(!this._instance){this._instance=new DiagAPI}return this._instance}}t.DiagAPI=DiagAPI},653:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.MetricsAPI=void 0;const n=r(660);const a=r(172);const o=r(930);const i=\"metrics\";class MetricsAPI{constructor(){}static getInstance(){if(!this._instance){this._instance=new MetricsAPI}return this._instance}setGlobalMeterProvider(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}getMeterProvider(){return(0,a.getGlobal)(i)||n.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.MetricsAPI=MetricsAPI},181:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.PropagationAPI=void 0;const n=r(172);const a=r(874);const o=r(194);const i=r(277);const c=r(369);const s=r(930);const u=\"propagation\";const l=new a.NoopTextMapPropagator;class PropagationAPI{constructor(){this.createBaggage=c.createBaggage;this.getBaggage=i.getBaggage;this.getActiveBaggage=i.getActiveBaggage;this.setBaggage=i.setBaggage;this.deleteBaggage=i.deleteBaggage}static getInstance(){if(!this._instance){this._instance=new PropagationAPI}return this._instance}setGlobalPropagator(e){return(0,n.registerGlobal)(u,e,s.DiagAPI.instance())}inject(e,t,r=o.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=o.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(u,s.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(u)||l}}t.PropagationAPI=PropagationAPI},997:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceAPI=void 0;const n=r(172);const a=r(846);const o=r(139);const i=r(607);const c=r(930);const s=\"trace\";class TraceAPI{constructor(){this._proxyTracerProvider=new a.ProxyTracerProvider;this.wrapSpanContext=o.wrapSpanContext;this.isSpanContextValid=o.isSpanContextValid;this.deleteSpan=i.deleteSpan;this.getSpan=i.getSpan;this.getActiveSpan=i.getActiveSpan;this.getSpanContext=i.getSpanContext;this.setSpan=i.setSpan;this.setSpanContext=i.setSpanContext}static getInstance(){if(!this._instance){this._instance=new TraceAPI}return this._instance}setGlobalTracerProvider(e){const t=(0,n.registerGlobal)(s,this._proxyTracerProvider,c.DiagAPI.instance());if(t){this._proxyTracerProvider.setDelegate(e)}return t}getTracerProvider(){return(0,n.getGlobal)(s)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,n.unregisterGlobal)(s,c.DiagAPI.instance());this._proxyTracerProvider=new a.ProxyTracerProvider}}t.TraceAPI=TraceAPI},277:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;const n=r(491);const a=r(780);const o=(0,a.createContextKey)(\"OpenTelemetry Baggage Key\");function getBaggage(e){return e.getValue(o)||undefined}t.getBaggage=getBaggage;function getActiveBaggage(){return getBaggage(n.ContextAPI.getInstance().active())}t.getActiveBaggage=getActiveBaggage;function setBaggage(e,t){return e.setValue(o,t)}t.setBaggage=setBaggage;function deleteBaggage(e){return e.deleteValue(o)}t.deleteBaggage=deleteBaggage},993:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.BaggageImpl=void 0;class BaggageImpl{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){const t=this._entries.get(e);if(!t){return undefined}return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map((([e,t])=>[e,t]))}setEntry(e,t){const r=new BaggageImpl(this._entries);r._entries.set(e,t);return r}removeEntry(e){const t=new BaggageImpl(this._entries);t._entries.delete(e);return t}removeEntries(...e){const t=new BaggageImpl(this._entries);for(const r of e){t._entries.delete(r)}return t}clear(){return new BaggageImpl}}t.BaggageImpl=BaggageImpl},830:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.baggageEntryMetadataSymbol=void 0;t.baggageEntryMetadataSymbol=Symbol(\"BaggageEntryMetadata\")},369:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.baggageEntryMetadataFromString=t.createBaggage=void 0;const n=r(930);const a=r(993);const o=r(830);const i=n.DiagAPI.instance();function createBaggage(e={}){return new a.BaggageImpl(new Map(Object.entries(e)))}t.createBaggage=createBaggage;function baggageEntryMetadataFromString(e){if(typeof e!==\"string\"){i.error(`Cannot create baggage metadata from unknown type: ${typeof e}`);e=\"\"}return{__TYPE__:o.baggageEntryMetadataSymbol,toString(){return e}}}t.baggageEntryMetadataFromString=baggageEntryMetadataFromString},67:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.context=void 0;const n=r(491);t.context=n.ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopContextManager=void 0;const n=r(780);class NoopContextManager{active(){return n.ROOT_CONTEXT}with(e,t,r,...n){return t.call(r,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=NoopContextManager},780:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ROOT_CONTEXT=t.createContextKey=void 0;function createContextKey(e){return Symbol.for(e)}t.createContextKey=createContextKey;class BaseContext{constructor(e){const t=this;t._currentContext=e?new Map(e):new Map;t.getValue=e=>t._currentContext.get(e);t.setValue=(e,r)=>{const n=new BaseContext(t._currentContext);n._currentContext.set(e,r);return n};t.deleteValue=e=>{const r=new BaseContext(t._currentContext);r._currentContext.delete(e);return r}}}t.ROOT_CONTEXT=new BaseContext},506:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.diag=void 0;const n=r(930);t.diag=n.DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagComponentLogger=void 0;const n=r(172);class DiagComponentLogger{constructor(e){this._namespace=e.namespace||\"DiagComponentLogger\"}debug(...e){return logProxy(\"debug\",this._namespace,e)}error(...e){return logProxy(\"error\",this._namespace,e)}info(...e){return logProxy(\"info\",this._namespace,e)}warn(...e){return logProxy(\"warn\",this._namespace,e)}verbose(...e){return logProxy(\"verbose\",this._namespace,e)}}t.DiagComponentLogger=DiagComponentLogger;function logProxy(e,t,r){const a=(0,n.getGlobal)(\"diag\");if(!a){return}r.unshift(t);return a[e](...r)}},972:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagConsoleLogger=void 0;const r=[{n:\"error\",c:\"error\"},{n:\"warn\",c:\"warn\"},{n:\"info\",c:\"info\"},{n:\"debug\",c:\"debug\"},{n:\"verbose\",c:\"trace\"}];class DiagConsoleLogger{constructor(){function _consoleFunc(e){return function(...t){if(console){let r=console[e];if(typeof r!==\"function\"){r=console.log}if(typeof r===\"function\"){return r.apply(console,t)}}}}for(let e=0;e{Object.defineProperty(t,\"__esModule\",{value:true});t.createLogLevelDiagLogger=void 0;const n=r(957);function createLogLevelDiagLogger(e,t){if(en.DiagLogLevel.ALL){e=n.DiagLogLevel.ALL}t=t||{};function _filterFunc(r,n){const a=t[r];if(typeof a===\"function\"&&e>=n){return a.bind(t)}return function(){}}return{error:_filterFunc(\"error\",n.DiagLogLevel.ERROR),warn:_filterFunc(\"warn\",n.DiagLogLevel.WARN),info:_filterFunc(\"info\",n.DiagLogLevel.INFO),debug:_filterFunc(\"debug\",n.DiagLogLevel.DEBUG),verbose:_filterFunc(\"verbose\",n.DiagLogLevel.VERBOSE)}}t.createLogLevelDiagLogger=createLogLevelDiagLogger},957:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagLogLevel=void 0;var r;(function(e){e[e[\"NONE\"]=0]=\"NONE\";e[e[\"ERROR\"]=30]=\"ERROR\";e[e[\"WARN\"]=50]=\"WARN\";e[e[\"INFO\"]=60]=\"INFO\";e[e[\"DEBUG\"]=70]=\"DEBUG\";e[e[\"VERBOSE\"]=80]=\"VERBOSE\";e[e[\"ALL\"]=9999]=\"ALL\"})(r=t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;const n=r(200);const a=r(521);const o=r(130);const i=a.VERSION.split(\".\")[0];const c=Symbol.for(`opentelemetry.js.api.${i}`);const s=n._globalThis;function registerGlobal(e,t,r,n=false){var o;const i=s[c]=(o=s[c])!==null&&o!==void 0?o:{version:a.VERSION};if(!n&&i[e]){const t=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);r.error(t.stack||t.message);return false}if(i.version!==a.VERSION){const t=new Error(`@opentelemetry/api: Registration of version v${i.version} for ${e} does not match previously registered API v${a.VERSION}`);r.error(t.stack||t.message);return false}i[e]=t;r.debug(`@opentelemetry/api: Registered a global for ${e} v${a.VERSION}.`);return true}t.registerGlobal=registerGlobal;function getGlobal(e){var t,r;const n=(t=s[c])===null||t===void 0?void 0:t.version;if(!n||!(0,o.isCompatible)(n)){return}return(r=s[c])===null||r===void 0?void 0:r[e]}t.getGlobal=getGlobal;function unregisterGlobal(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${a.VERSION}.`);const r=s[c];if(r){delete r[e]}}t.unregisterGlobal=unregisterGlobal},130:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.isCompatible=t._makeCompatibilityCheck=void 0;const n=r(521);const a=/^(\\d+)\\.(\\d+)\\.(\\d+)(-(.+))?$/;function _makeCompatibilityCheck(e){const t=new Set([e]);const r=new Set;const n=e.match(a);if(!n){return()=>false}const o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null){return function isExactmatch(t){return t===e}}function _reject(e){r.add(e);return false}function _accept(e){t.add(e);return true}return function isCompatible(e){if(t.has(e)){return true}if(r.has(e)){return false}const n=e.match(a);if(!n){return _reject(e)}const i={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(i.prerelease!=null){return _reject(e)}if(o.major!==i.major){return _reject(e)}if(o.major===0){if(o.minor===i.minor&&o.patch<=i.patch){return _accept(e)}return _reject(e)}if(o.minor<=i.minor){return _accept(e)}return _reject(e)}}t._makeCompatibilityCheck=_makeCompatibilityCheck;t.isCompatible=_makeCompatibilityCheck(n.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.metrics=void 0;const n=r(653);t.metrics=n.MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ValueType=void 0;var r;(function(e){e[e[\"INT\"]=0]=\"INT\";e[e[\"DOUBLE\"]=1]=\"DOUBLE\"})(r=t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class NoopMeter{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=NoopMeter;class NoopMetric{}t.NoopMetric=NoopMetric;class NoopCounterMetric extends NoopMetric{add(e,t){}}t.NoopCounterMetric=NoopCounterMetric;class NoopUpDownCounterMetric extends NoopMetric{add(e,t){}}t.NoopUpDownCounterMetric=NoopUpDownCounterMetric;class NoopHistogramMetric extends NoopMetric{record(e,t){}}t.NoopHistogramMetric=NoopHistogramMetric;class NoopObservableMetric{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=NoopObservableMetric;class NoopObservableCounterMetric extends NoopObservableMetric{}t.NoopObservableCounterMetric=NoopObservableCounterMetric;class NoopObservableGaugeMetric extends NoopObservableMetric{}t.NoopObservableGaugeMetric=NoopObservableGaugeMetric;class NoopObservableUpDownCounterMetric extends NoopObservableMetric{}t.NoopObservableUpDownCounterMetric=NoopObservableUpDownCounterMetric;t.NOOP_METER=new NoopMeter;t.NOOP_COUNTER_METRIC=new NoopCounterMetric;t.NOOP_HISTOGRAM_METRIC=new NoopHistogramMetric;t.NOOP_UP_DOWN_COUNTER_METRIC=new NoopUpDownCounterMetric;t.NOOP_OBSERVABLE_COUNTER_METRIC=new NoopObservableCounterMetric;t.NOOP_OBSERVABLE_GAUGE_METRIC=new NoopObservableGaugeMetric;t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new NoopObservableUpDownCounterMetric;function createNoopMeter(){return t.NOOP_METER}t.createNoopMeter=createNoopMeter},660:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;const n=r(102);class NoopMeterProvider{getMeter(e,t,r){return n.NOOP_METER}}t.NoopMeterProvider=NoopMeterProvider;t.NOOP_METER_PROVIDER=new NoopMeterProvider},200:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var a=this&&this.__exportStar||function(e,t){for(var r in e)if(r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,\"__esModule\",{value:true});a(r(46),t)},651:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t._globalThis=void 0;t._globalThis=typeof globalThis===\"object\"?globalThis:global},46:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var a=this&&this.__exportStar||function(e,t){for(var r in e)if(r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,\"__esModule\",{value:true});a(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.propagation=void 0;const n=r(181);t.propagation=n.PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTextMapPropagator=void 0;class NoopTextMapPropagator{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=NoopTextMapPropagator},194:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.defaultTextMapSetter=t.defaultTextMapGetter=void 0;t.defaultTextMapGetter={get(e,t){if(e==null){return undefined}return e[t]},keys(e){if(e==null){return[]}return Object.keys(e)}};t.defaultTextMapSetter={set(e,t,r){if(e==null){return}e[t]=r}}},845:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.trace=void 0;const n=r(997);t.trace=n.TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NonRecordingSpan=void 0;const n=r(476);class NonRecordingSpan{constructor(e=n.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return false}recordException(e,t){}}t.NonRecordingSpan=NonRecordingSpan},614:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTracer=void 0;const n=r(491);const a=r(607);const o=r(403);const i=r(139);const c=n.ContextAPI.getInstance();class NoopTracer{startSpan(e,t,r=c.active()){const n=Boolean(t===null||t===void 0?void 0:t.root);if(n){return new o.NonRecordingSpan}const s=r&&(0,a.getSpanContext)(r);if(isSpanContext(s)&&(0,i.isSpanContextValid)(s)){return new o.NonRecordingSpan(s)}else{return new o.NonRecordingSpan}}startActiveSpan(e,t,r,n){let o;let i;let s;if(arguments.length<2){return}else if(arguments.length===2){s=t}else if(arguments.length===3){o=t;s=r}else{o=t;i=r;s=n}const u=i!==null&&i!==void 0?i:c.active();const l=this.startSpan(e,o,u);const g=(0,a.setSpan)(u,l);return c.with(g,s,undefined,l)}}t.NoopTracer=NoopTracer;function isSpanContext(e){return typeof e===\"object\"&&typeof e[\"spanId\"]===\"string\"&&typeof e[\"traceId\"]===\"string\"&&typeof e[\"traceFlags\"]===\"number\"}},124:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTracerProvider=void 0;const n=r(614);class NoopTracerProvider{getTracer(e,t,r){return new n.NoopTracer}}t.NoopTracerProvider=NoopTracerProvider},125:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ProxyTracer=void 0;const n=r(614);const a=new n.NoopTracer;class ProxyTracer{constructor(e,t,r,n){this._provider=e;this.name=t;this.version=r;this.options=n}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,n){const a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate){return this._delegate}const e=this._provider.getDelegateTracer(this.name,this.version,this.options);if(!e){return a}this._delegate=e;return this._delegate}}t.ProxyTracer=ProxyTracer},846:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ProxyTracerProvider=void 0;const n=r(125);const a=r(124);const o=new a.NoopTracerProvider;class ProxyTracerProvider{getTracer(e,t,r){var a;return(a=this.getDelegateTracer(e,t,r))!==null&&a!==void 0?a:new n.ProxyTracer(this,e,t,r)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==void 0?e:o}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var n;return(n=this._delegate)===null||n===void 0?void 0:n.getTracer(e,t,r)}}t.ProxyTracerProvider=ProxyTracerProvider},996:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SamplingDecision=void 0;var r;(function(e){e[e[\"NOT_RECORD\"]=0]=\"NOT_RECORD\";e[e[\"RECORD\"]=1]=\"RECORD\";e[e[\"RECORD_AND_SAMPLED\"]=2]=\"RECORD_AND_SAMPLED\"})(r=t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;const n=r(780);const a=r(403);const o=r(491);const i=(0,n.createContextKey)(\"OpenTelemetry Context Key SPAN\");function getSpan(e){return e.getValue(i)||undefined}t.getSpan=getSpan;function getActiveSpan(){return getSpan(o.ContextAPI.getInstance().active())}t.getActiveSpan=getActiveSpan;function setSpan(e,t){return e.setValue(i,t)}t.setSpan=setSpan;function deleteSpan(e){return e.deleteValue(i)}t.deleteSpan=deleteSpan;function setSpanContext(e,t){return setSpan(e,new a.NonRecordingSpan(t))}t.setSpanContext=setSpanContext;function getSpanContext(e){var t;return(t=getSpan(e))===null||t===void 0?void 0:t.spanContext()}t.getSpanContext=getSpanContext},325:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceStateImpl=void 0;const n=r(564);const a=32;const o=512;const i=\",\";const c=\"=\";class TraceStateImpl{constructor(e){this._internalState=new Map;if(e)this._parse(e)}set(e,t){const r=this._clone();if(r._internalState.has(e)){r._internalState.delete(e)}r._internalState.set(e,t);return r}unset(e){const t=this._clone();t._internalState.delete(e);return t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce(((e,t)=>{e.push(t+c+this.get(t));return e}),[]).join(i)}_parse(e){if(e.length>o)return;this._internalState=e.split(i).reverse().reduce(((e,t)=>{const r=t.trim();const a=r.indexOf(c);if(a!==-1){const o=r.slice(0,a);const i=r.slice(a+1,t.length);if((0,n.validateKey)(o)&&(0,n.validateValue)(i)){e.set(o,i)}else{}}return e}),new Map);if(this._internalState.size>a){this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,a))}}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const e=new TraceStateImpl;e._internalState=new Map(this._internalState);return e}}t.TraceStateImpl=TraceStateImpl},564:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.validateValue=t.validateKey=void 0;const r=\"[_0-9a-z-*/]\";const n=`[a-z]${r}{0,255}`;const a=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`;const o=new RegExp(`^(?:${n}|${a})$`);const i=/^[ -~]{0,255}[!-~]$/;const c=/,|=/;function validateKey(e){return o.test(e)}t.validateKey=validateKey;function validateValue(e){return i.test(e)&&!c.test(e)}t.validateValue=validateValue},98:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.createTraceState=void 0;const n=r(325);function createTraceState(e){return new n.TraceStateImpl(e)}t.createTraceState=createTraceState},476:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;const n=r(475);t.INVALID_SPANID=\"0000000000000000\";t.INVALID_TRACEID=\"00000000000000000000000000000000\";t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SpanKind=void 0;var r;(function(e){e[e[\"INTERNAL\"]=0]=\"INTERNAL\";e[e[\"SERVER\"]=1]=\"SERVER\";e[e[\"CLIENT\"]=2]=\"CLIENT\";e[e[\"PRODUCER\"]=3]=\"PRODUCER\";e[e[\"CONSUMER\"]=4]=\"CONSUMER\"})(r=t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;const n=r(476);const a=r(403);const o=/^([0-9a-f]{32})$/i;const i=/^[0-9a-f]{16}$/i;function isValidTraceId(e){return o.test(e)&&e!==n.INVALID_TRACEID}t.isValidTraceId=isValidTraceId;function isValidSpanId(e){return i.test(e)&&e!==n.INVALID_SPANID}t.isValidSpanId=isValidSpanId;function isSpanContextValid(e){return isValidTraceId(e.traceId)&&isValidSpanId(e.spanId)}t.isSpanContextValid=isSpanContextValid;function wrapSpanContext(e){return new a.NonRecordingSpan(e)}t.wrapSpanContext=wrapSpanContext},847:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SpanStatusCode=void 0;var r;(function(e){e[e[\"UNSET\"]=0]=\"UNSET\";e[e[\"OK\"]=1]=\"OK\";e[e[\"ERROR\"]=2]=\"ERROR\"})(r=t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceFlags=void 0;var r;(function(e){e[e[\"NONE\"]=0]=\"NONE\";e[e[\"SAMPLED\"]=1]=\"SAMPLED\"})(r=t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.VERSION=void 0;t.VERSION=\"1.6.0\"}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var o=true;try{e[r].call(a.exports,a,a.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var r={};(()=>{var e=r;Object.defineProperty(e,\"__esModule\",{value:true});e.trace=e.propagation=e.metrics=e.diag=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.createTraceState=e.TraceFlags=e.SpanStatusCode=e.SpanKind=e.SamplingDecision=e.ProxyTracerProvider=e.ProxyTracer=e.defaultTextMapSetter=e.defaultTextMapGetter=e.ValueType=e.createNoopMeter=e.DiagLogLevel=e.DiagConsoleLogger=e.ROOT_CONTEXT=e.createContextKey=e.baggageEntryMetadataFromString=void 0;var t=__nccwpck_require__(369);Object.defineProperty(e,\"baggageEntryMetadataFromString\",{enumerable:true,get:function(){return t.baggageEntryMetadataFromString}});var n=__nccwpck_require__(780);Object.defineProperty(e,\"createContextKey\",{enumerable:true,get:function(){return n.createContextKey}});Object.defineProperty(e,\"ROOT_CONTEXT\",{enumerable:true,get:function(){return n.ROOT_CONTEXT}});var a=__nccwpck_require__(972);Object.defineProperty(e,\"DiagConsoleLogger\",{enumerable:true,get:function(){return a.DiagConsoleLogger}});var o=__nccwpck_require__(957);Object.defineProperty(e,\"DiagLogLevel\",{enumerable:true,get:function(){return o.DiagLogLevel}});var i=__nccwpck_require__(102);Object.defineProperty(e,\"createNoopMeter\",{enumerable:true,get:function(){return i.createNoopMeter}});var c=__nccwpck_require__(901);Object.defineProperty(e,\"ValueType\",{enumerable:true,get:function(){return c.ValueType}});var s=__nccwpck_require__(194);Object.defineProperty(e,\"defaultTextMapGetter\",{enumerable:true,get:function(){return s.defaultTextMapGetter}});Object.defineProperty(e,\"defaultTextMapSetter\",{enumerable:true,get:function(){return s.defaultTextMapSetter}});var u=__nccwpck_require__(125);Object.defineProperty(e,\"ProxyTracer\",{enumerable:true,get:function(){return u.ProxyTracer}});var l=__nccwpck_require__(846);Object.defineProperty(e,\"ProxyTracerProvider\",{enumerable:true,get:function(){return l.ProxyTracerProvider}});var g=__nccwpck_require__(996);Object.defineProperty(e,\"SamplingDecision\",{enumerable:true,get:function(){return g.SamplingDecision}});var p=__nccwpck_require__(357);Object.defineProperty(e,\"SpanKind\",{enumerable:true,get:function(){return p.SpanKind}});var d=__nccwpck_require__(847);Object.defineProperty(e,\"SpanStatusCode\",{enumerable:true,get:function(){return d.SpanStatusCode}});var _=__nccwpck_require__(475);Object.defineProperty(e,\"TraceFlags\",{enumerable:true,get:function(){return _.TraceFlags}});var f=__nccwpck_require__(98);Object.defineProperty(e,\"createTraceState\",{enumerable:true,get:function(){return f.createTraceState}});var b=__nccwpck_require__(139);Object.defineProperty(e,\"isSpanContextValid\",{enumerable:true,get:function(){return b.isSpanContextValid}});Object.defineProperty(e,\"isValidTraceId\",{enumerable:true,get:function(){return b.isValidTraceId}});Object.defineProperty(e,\"isValidSpanId\",{enumerable:true,get:function(){return b.isValidSpanId}});var v=__nccwpck_require__(476);Object.defineProperty(e,\"INVALID_SPANID\",{enumerable:true,get:function(){return v.INVALID_SPANID}});Object.defineProperty(e,\"INVALID_TRACEID\",{enumerable:true,get:function(){return v.INVALID_TRACEID}});Object.defineProperty(e,\"INVALID_SPAN_CONTEXT\",{enumerable:true,get:function(){return v.INVALID_SPAN_CONTEXT}});const O=__nccwpck_require__(67);Object.defineProperty(e,\"context\",{enumerable:true,get:function(){return O.context}});const P=__nccwpck_require__(506);Object.defineProperty(e,\"diag\",{enumerable:true,get:function(){return P.diag}});const N=__nccwpck_require__(886);Object.defineProperty(e,\"metrics\",{enumerable:true,get:function(){return N.metrics}});const S=__nccwpck_require__(939);Object.defineProperty(e,\"propagation\",{enumerable:true,get:function(){return S.propagation}});const C=__nccwpck_require__(845);Object.defineProperty(e,\"trace\",{enumerable:true,get:function(){return C.trace}});e[\"default\"]={context:O.context,diag:P.diag,metrics:N.metrics,propagation:S.propagation,trace:C.trace}})();module.exports=r})();","/**\n * Contains predefined constants for the trace span name in next/server.\n *\n * Currently, next/server/tracer is internal implementation only for tracking\n * next.js's implementation only with known span names defined here.\n **/ // eslint typescript has a bug with TS enums\nvar BaseServerSpan = /*#__PURE__*/ function(BaseServerSpan) {\n BaseServerSpan[\"handleRequest\"] = \"BaseServer.handleRequest\";\n BaseServerSpan[\"run\"] = \"BaseServer.run\";\n BaseServerSpan[\"pipe\"] = \"BaseServer.pipe\";\n BaseServerSpan[\"getStaticHTML\"] = \"BaseServer.getStaticHTML\";\n BaseServerSpan[\"render\"] = \"BaseServer.render\";\n BaseServerSpan[\"renderToResponseWithComponents\"] = \"BaseServer.renderToResponseWithComponents\";\n BaseServerSpan[\"renderToResponse\"] = \"BaseServer.renderToResponse\";\n BaseServerSpan[\"renderToHTML\"] = \"BaseServer.renderToHTML\";\n BaseServerSpan[\"renderError\"] = \"BaseServer.renderError\";\n BaseServerSpan[\"renderErrorToResponse\"] = \"BaseServer.renderErrorToResponse\";\n BaseServerSpan[\"renderErrorToHTML\"] = \"BaseServer.renderErrorToHTML\";\n BaseServerSpan[\"render404\"] = \"BaseServer.render404\";\n return BaseServerSpan;\n}(BaseServerSpan || {});\nvar LoadComponentsSpan = /*#__PURE__*/ function(LoadComponentsSpan) {\n LoadComponentsSpan[\"loadDefaultErrorComponents\"] = \"LoadComponents.loadDefaultErrorComponents\";\n LoadComponentsSpan[\"loadComponents\"] = \"LoadComponents.loadComponents\";\n return LoadComponentsSpan;\n}(LoadComponentsSpan || {});\nvar NextServerSpan = /*#__PURE__*/ function(NextServerSpan) {\n NextServerSpan[\"getRequestHandler\"] = \"NextServer.getRequestHandler\";\n NextServerSpan[\"getRequestHandlerWithMetadata\"] = \"NextServer.getRequestHandlerWithMetadata\";\n NextServerSpan[\"getServer\"] = \"NextServer.getServer\";\n NextServerSpan[\"getServerRequestHandler\"] = \"NextServer.getServerRequestHandler\";\n NextServerSpan[\"createServer\"] = \"createServer.createServer\";\n return NextServerSpan;\n}(NextServerSpan || {});\nvar NextNodeServerSpan = /*#__PURE__*/ function(NextNodeServerSpan) {\n NextNodeServerSpan[\"compression\"] = \"NextNodeServer.compression\";\n NextNodeServerSpan[\"getBuildId\"] = \"NextNodeServer.getBuildId\";\n NextNodeServerSpan[\"createComponentTree\"] = \"NextNodeServer.createComponentTree\";\n NextNodeServerSpan[\"clientComponentLoading\"] = \"NextNodeServer.clientComponentLoading\";\n NextNodeServerSpan[\"getLayoutOrPageModule\"] = \"NextNodeServer.getLayoutOrPageModule\";\n NextNodeServerSpan[\"generateStaticRoutes\"] = \"NextNodeServer.generateStaticRoutes\";\n NextNodeServerSpan[\"generateFsStaticRoutes\"] = \"NextNodeServer.generateFsStaticRoutes\";\n NextNodeServerSpan[\"generatePublicRoutes\"] = \"NextNodeServer.generatePublicRoutes\";\n NextNodeServerSpan[\"generateImageRoutes\"] = \"NextNodeServer.generateImageRoutes.route\";\n NextNodeServerSpan[\"sendRenderResult\"] = \"NextNodeServer.sendRenderResult\";\n NextNodeServerSpan[\"proxyRequest\"] = \"NextNodeServer.proxyRequest\";\n NextNodeServerSpan[\"runApi\"] = \"NextNodeServer.runApi\";\n NextNodeServerSpan[\"render\"] = \"NextNodeServer.render\";\n NextNodeServerSpan[\"renderHTML\"] = \"NextNodeServer.renderHTML\";\n NextNodeServerSpan[\"imageOptimizer\"] = \"NextNodeServer.imageOptimizer\";\n NextNodeServerSpan[\"getPagePath\"] = \"NextNodeServer.getPagePath\";\n NextNodeServerSpan[\"getRoutesManifest\"] = \"NextNodeServer.getRoutesManifest\";\n NextNodeServerSpan[\"findPageComponents\"] = \"NextNodeServer.findPageComponents\";\n NextNodeServerSpan[\"getFontManifest\"] = \"NextNodeServer.getFontManifest\";\n NextNodeServerSpan[\"getServerComponentManifest\"] = \"NextNodeServer.getServerComponentManifest\";\n NextNodeServerSpan[\"getRequestHandler\"] = \"NextNodeServer.getRequestHandler\";\n NextNodeServerSpan[\"renderToHTML\"] = \"NextNodeServer.renderToHTML\";\n NextNodeServerSpan[\"renderError\"] = \"NextNodeServer.renderError\";\n NextNodeServerSpan[\"renderErrorToHTML\"] = \"NextNodeServer.renderErrorToHTML\";\n NextNodeServerSpan[\"render404\"] = \"NextNodeServer.render404\";\n NextNodeServerSpan[\"startResponse\"] = \"NextNodeServer.startResponse\";\n // nested inner span, does not require parent scope name\n NextNodeServerSpan[\"route\"] = \"route\";\n NextNodeServerSpan[\"onProxyReq\"] = \"onProxyReq\";\n NextNodeServerSpan[\"apiResolver\"] = \"apiResolver\";\n NextNodeServerSpan[\"internalFetch\"] = \"internalFetch\";\n return NextNodeServerSpan;\n}(NextNodeServerSpan || {});\nvar StartServerSpan = /*#__PURE__*/ function(StartServerSpan) {\n StartServerSpan[\"startServer\"] = \"startServer.startServer\";\n return StartServerSpan;\n}(StartServerSpan || {});\nvar RenderSpan = /*#__PURE__*/ function(RenderSpan) {\n RenderSpan[\"getServerSideProps\"] = \"Render.getServerSideProps\";\n RenderSpan[\"getStaticProps\"] = \"Render.getStaticProps\";\n RenderSpan[\"renderToString\"] = \"Render.renderToString\";\n RenderSpan[\"renderDocument\"] = \"Render.renderDocument\";\n RenderSpan[\"createBodyResult\"] = \"Render.createBodyResult\";\n return RenderSpan;\n}(RenderSpan || {});\nvar AppRenderSpan = /*#__PURE__*/ function(AppRenderSpan) {\n AppRenderSpan[\"renderToString\"] = \"AppRender.renderToString\";\n AppRenderSpan[\"renderToReadableStream\"] = \"AppRender.renderToReadableStream\";\n AppRenderSpan[\"getBodyResult\"] = \"AppRender.getBodyResult\";\n AppRenderSpan[\"fetch\"] = \"AppRender.fetch\";\n return AppRenderSpan;\n}(AppRenderSpan || {});\nvar RouterSpan = /*#__PURE__*/ function(RouterSpan) {\n RouterSpan[\"executeRoute\"] = \"Router.executeRoute\";\n return RouterSpan;\n}(RouterSpan || {});\nvar NodeSpan = /*#__PURE__*/ function(NodeSpan) {\n NodeSpan[\"runHandler\"] = \"Node.runHandler\";\n return NodeSpan;\n}(NodeSpan || {});\nvar AppRouteRouteHandlersSpan = /*#__PURE__*/ function(AppRouteRouteHandlersSpan) {\n AppRouteRouteHandlersSpan[\"runHandler\"] = \"AppRouteRouteHandlers.runHandler\";\n return AppRouteRouteHandlersSpan;\n}(AppRouteRouteHandlersSpan || {});\nvar ResolveMetadataSpan = /*#__PURE__*/ function(ResolveMetadataSpan) {\n ResolveMetadataSpan[\"generateMetadata\"] = \"ResolveMetadata.generateMetadata\";\n ResolveMetadataSpan[\"generateViewport\"] = \"ResolveMetadata.generateViewport\";\n return ResolveMetadataSpan;\n}(ResolveMetadataSpan || {});\nvar MiddlewareSpan = /*#__PURE__*/ function(MiddlewareSpan) {\n MiddlewareSpan[\"execute\"] = \"Middleware.execute\";\n return MiddlewareSpan;\n}(MiddlewareSpan || {});\n// This list is used to filter out spans that are not relevant to the user\nexport const NextVanillaSpanAllowlist = new Set([\n \"Middleware.execute\",\n \"BaseServer.handleRequest\",\n \"Render.getServerSideProps\",\n \"Render.getStaticProps\",\n \"AppRender.fetch\",\n \"AppRender.getBodyResult\",\n \"Render.renderDocument\",\n \"Node.runHandler\",\n \"AppRouteRouteHandlers.runHandler\",\n \"ResolveMetadata.generateMetadata\",\n \"ResolveMetadata.generateViewport\",\n \"NextNodeServer.createComponentTree\",\n \"NextNodeServer.findPageComponents\",\n \"NextNodeServer.getLayoutOrPageModule\",\n \"NextNodeServer.startResponse\",\n \"NextNodeServer.clientComponentLoading\"\n]);\n// These Spans are allowed to be always logged\n// when the otel log prefix env is set\nexport const LogSpanAllowList = new Set([\n \"NextNodeServer.findPageComponents\",\n \"NextNodeServer.createComponentTree\",\n \"NextNodeServer.clientComponentLoading\"\n]);\nexport { BaseServerSpan, LoadComponentsSpan, NextServerSpan, NextNodeServerSpan, StartServerSpan, RenderSpan, RouterSpan, AppRenderSpan, NodeSpan, AppRouteRouteHandlersSpan, ResolveMetadataSpan, MiddlewareSpan, };\n\n//# sourceMappingURL=constants.js.map","import { LogSpanAllowList, NextVanillaSpanAllowlist } from './constants';\nimport { isThenable } from '../../../shared/lib/is-thenable';\nconst NEXT_OTEL_PERFORMANCE_PREFIX = process.env.NEXT_OTEL_PERFORMANCE_PREFIX;\nlet api;\n// we want to allow users to use their own version of @opentelemetry/api if they\n// want to, so we try to require it first, and if it fails we fall back to the\n// version that is bundled with Next.js\n// this is because @opentelemetry/api has to be synced with the version of\n// @opentelemetry/tracing that is used, and we don't want to force users to use\n// the version that is bundled with Next.js.\n// the API is ~stable, so this should be fine\nif (process.env.NEXT_RUNTIME === 'edge') {\n api = require('@opentelemetry/api');\n} else {\n try {\n api = require('@opentelemetry/api');\n } catch (err) {\n api = require('next/dist/compiled/@opentelemetry/api');\n }\n}\nconst { context, propagation, trace, SpanStatusCode, SpanKind, ROOT_CONTEXT } = api;\nexport class BubbledError extends Error {\n constructor(bubble, result){\n super(), this.bubble = bubble, this.result = result;\n }\n}\nexport function isBubbledError(error) {\n if (typeof error !== 'object' || error === null) return false;\n return error instanceof BubbledError;\n}\nconst closeSpanWithError = (span, error)=>{\n if (isBubbledError(error) && error.bubble) {\n span.setAttribute('next.bubble', true);\n } else {\n if (error) {\n span.recordException(error);\n span.setAttribute('error.type', error.name);\n }\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: error == null ? void 0 : error.message\n });\n }\n span.end();\n};\n/** we use this map to propagate attributes from nested spans to the top span */ const rootSpanAttributesStore = new Map();\nconst rootSpanIdKey = api.createContextKey('next.rootSpanId');\nlet lastSpanId = 0;\nconst getSpanId = ()=>lastSpanId++;\nconst clientTraceDataSetter = {\n set (carrier, key, value) {\n carrier.push({\n key,\n value\n });\n }\n};\nclass NextTracerImpl {\n /**\n * Returns an instance to the trace with configured name.\n * Since wrap / trace can be defined in any place prior to actual trace subscriber initialization,\n * This should be lazily evaluated.\n */ getTracerInstance() {\n return trace.getTracer('next.js', '0.0.1');\n }\n getContext() {\n return context;\n }\n getTracePropagationData() {\n const activeContext = context.active();\n const entries = [];\n propagation.inject(activeContext, entries, clientTraceDataSetter);\n return entries;\n }\n getActiveScopeSpan() {\n return trace.getSpan(context == null ? void 0 : context.active());\n }\n withPropagatedContext(carrier, fn, getter) {\n const activeContext = context.active();\n if (trace.getSpanContext(activeContext)) {\n // Active span is already set, too late to propagate.\n return fn();\n }\n const remoteContext = propagation.extract(activeContext, carrier, getter);\n return context.with(remoteContext, fn);\n }\n trace(...args) {\n const [type, fnOrOptions, fnOrEmpty] = args;\n // coerce options form overload\n const { fn, options } = typeof fnOrOptions === 'function' ? {\n fn: fnOrOptions,\n options: {}\n } : {\n fn: fnOrEmpty,\n options: {\n ...fnOrOptions\n }\n };\n const spanName = options.spanName ?? type;\n if (!NextVanillaSpanAllowlist.has(type) && process.env.NEXT_OTEL_VERBOSE !== '1' || options.hideSpan) {\n return fn();\n }\n // Trying to get active scoped span to assign parent. If option specifies parent span manually, will try to use it.\n let spanContext = this.getSpanContext((options == null ? void 0 : options.parentSpan) ?? this.getActiveScopeSpan());\n if (!spanContext) {\n spanContext = (context == null ? void 0 : context.active()) ?? ROOT_CONTEXT;\n }\n // Check if there's already a root span in the store for this trace\n // We are intentionally not checking whether there is an active context\n // from outside of nextjs to ensure that we can provide the same level\n // of telemetry when using a custom server\n const existingRootSpanId = spanContext.getValue(rootSpanIdKey);\n const isRootSpan = typeof existingRootSpanId !== 'number' || !rootSpanAttributesStore.has(existingRootSpanId);\n const spanId = getSpanId();\n options.attributes = {\n 'next.span_name': spanName,\n 'next.span_type': type,\n ...options.attributes\n };\n return context.with(spanContext.setValue(rootSpanIdKey, spanId), ()=>this.getTracerInstance().startActiveSpan(spanName, options, (span)=>{\n let startTime;\n if (NEXT_OTEL_PERFORMANCE_PREFIX && type && LogSpanAllowList.has(type)) {\n startTime = 'performance' in globalThis && 'measure' in performance ? globalThis.performance.now() : undefined;\n }\n let cleanedUp = false;\n const onCleanup = ()=>{\n if (cleanedUp) return;\n cleanedUp = true;\n rootSpanAttributesStore.delete(spanId);\n if (startTime) {\n performance.measure(`${NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(type.split('.').pop() || '').replace(/[A-Z]/g, (match)=>'-' + match.toLowerCase())}`, {\n start: startTime,\n end: performance.now()\n });\n }\n };\n if (isRootSpan) {\n rootSpanAttributesStore.set(spanId, new Map(Object.entries(options.attributes ?? {})));\n }\n if (fn.length > 1) {\n try {\n return fn(span, (err)=>closeSpanWithError(span, err));\n } catch (err) {\n closeSpanWithError(span, err);\n throw err;\n } finally{\n onCleanup();\n }\n }\n try {\n const result = fn(span);\n if (isThenable(result)) {\n // If there's error make sure it throws\n return result.then((res)=>{\n span.end();\n // Need to pass down the promise result,\n // it could be react stream response with error { error, stream }\n return res;\n }).catch((err)=>{\n closeSpanWithError(span, err);\n throw err;\n }).finally(onCleanup);\n } else {\n span.end();\n onCleanup();\n }\n return result;\n } catch (err) {\n closeSpanWithError(span, err);\n onCleanup();\n throw err;\n }\n }));\n }\n wrap(...args) {\n const tracer = this;\n const [name, options, fn] = args.length === 3 ? args : [\n args[0],\n {},\n args[1]\n ];\n if (!NextVanillaSpanAllowlist.has(name) && process.env.NEXT_OTEL_VERBOSE !== '1') {\n return fn;\n }\n return function() {\n let optionsObj = options;\n if (typeof optionsObj === 'function' && typeof fn === 'function') {\n optionsObj = optionsObj.apply(this, arguments);\n }\n const lastArgId = arguments.length - 1;\n const cb = arguments[lastArgId];\n if (typeof cb === 'function') {\n const scopeBoundCb = tracer.getContext().bind(context.active(), cb);\n return tracer.trace(name, optionsObj, (_span, done)=>{\n arguments[lastArgId] = function(err) {\n done == null ? void 0 : done(err);\n return scopeBoundCb.apply(this, arguments);\n };\n return fn.apply(this, arguments);\n });\n } else {\n return tracer.trace(name, optionsObj, ()=>fn.apply(this, arguments));\n }\n };\n }\n startSpan(...args) {\n const [type, options] = args;\n const spanContext = this.getSpanContext((options == null ? void 0 : options.parentSpan) ?? this.getActiveScopeSpan());\n return this.getTracerInstance().startSpan(type, options, spanContext);\n }\n getSpanContext(parentSpan) {\n const spanContext = parentSpan ? trace.setSpan(context.active(), parentSpan) : undefined;\n return spanContext;\n }\n getRootSpanAttributes() {\n const spanId = context.active().getValue(rootSpanIdKey);\n return rootSpanAttributesStore.get(spanId);\n }\n setRootSpanAttribute(key, value) {\n const spanId = context.active().getValue(rootSpanIdKey);\n const attributes = rootSpanAttributesStore.get(spanId);\n if (attributes && !attributes.has(key)) {\n attributes.set(key, value);\n }\n }\n withSpan(span, fn) {\n const spanContext = trace.setSpan(context.active(), span);\n return context.with(spanContext, fn);\n }\n}\nconst getTracer = (()=>{\n const tracer = new NextTracerImpl();\n return ()=>tracer;\n})();\nexport { getTracer, SpanStatusCode, SpanKind };\n\n//# sourceMappingURL=tracer.js.map","/**\n * Check to see if a value is Thenable.\n *\n * @param promise the maybe-thenable value\n * @returns true if the value is thenable\n */ export function isThenable(promise) {\n return promise !== null && typeof promise === 'object' && 'then' in promise && typeof promise.then === 'function';\n}\n\n//# sourceMappingURL=is-thenable.js.map","/**\n * A `Promise.withResolvers` implementation that exposes the `resolve` and\n * `reject` functions on a `Promise`.\n *\n * @see https://tc39.es/proposal-promise-with-resolvers/\n */\nexport class DetachedPromise {\n public readonly resolve: (value: T | PromiseLike) => void\n public readonly reject: (reason: any) => void\n public readonly promise: Promise\n\n constructor() {\n let resolve: (value: T | PromiseLike) => void\n let reject: (reason: any) => void\n\n // Create the promise and assign the resolvers to the object.\n this.promise = new Promise((res, rej) => {\n resolve = res\n reject = rej\n })\n\n // We know that resolvers is defined because the Promise constructor runs\n // synchronously.\n this.resolve = resolve!\n this.reject = reject!\n }\n}\n","import { getTracer } from '../lib/trace/tracer';\nimport { AppRenderSpan } from '../lib/trace/constants';\nimport { DetachedPromise } from '../../lib/detached-promise';\nimport { scheduleImmediate, atLeastOneTask, waitAtLeastOneReactRenderTask } from '../../lib/scheduler';\nimport { ENCODED_TAGS } from './encoded-tags';\nimport { indexOfUint8Array, isEquivalentUint8Arrays, removeFromUint8Array } from './uint8array-helpers';\nimport { MISSING_ROOT_TAGS_ERROR } from '../../shared/lib/errors/constants';\nimport { insertBuildIdComment } from '../../shared/lib/segment-cache/output-export-prefetch-encoding';\nimport { RSC_HEADER, NEXT_ROUTER_PREFETCH_HEADER, NEXT_ROUTER_SEGMENT_PREFETCH_HEADER, NEXT_RSC_UNION_QUERY } from '../../client/components/app-router-headers';\nimport { computeCacheBustingSearchParam } from '../../shared/lib/router/utils/cache-busting-search-param';\nfunction voidCatch() {\n// this catcher is designed to be used with pipeTo where we expect the underlying\n// pipe implementation to forward errors but we don't want the pipeTo promise to reject\n// and be unhandled\n}\n// We can share the same encoder instance everywhere\n// Notably we cannot do the same for TextDecoder because it is stateful\n// when handling streaming data\nconst encoder = new TextEncoder();\nexport function chainStreams(...streams) {\n // If we have no streams, return an empty stream. This behavior is\n // intentional as we're now providing the `RenderResult.EMPTY` value.\n if (streams.length === 0) {\n return new ReadableStream({\n start (controller) {\n controller.close();\n }\n });\n }\n // If we only have 1 stream we fast path it by returning just this stream\n if (streams.length === 1) {\n return streams[0];\n }\n const { readable, writable } = new TransformStream();\n // We always initiate pipeTo immediately. We know we have at least 2 streams\n // so we need to avoid closing the writable when this one finishes.\n let promise = streams[0].pipeTo(writable, {\n preventClose: true\n });\n let i = 1;\n for(; i < streams.length - 1; i++){\n const nextStream = streams[i];\n promise = promise.then(()=>nextStream.pipeTo(writable, {\n preventClose: true\n }));\n }\n // We can omit the length check because we halted before the last stream and there\n // is at least two streams so the lastStream here will always be defined\n const lastStream = streams[i];\n promise = promise.then(()=>lastStream.pipeTo(writable));\n // Catch any errors from the streams and ignore them, they will be handled\n // by whatever is consuming the readable stream.\n promise.catch(voidCatch);\n return readable;\n}\nexport function streamFromString(str) {\n return new ReadableStream({\n start (controller) {\n controller.enqueue(encoder.encode(str));\n controller.close();\n }\n });\n}\nexport function streamFromBuffer(chunk) {\n return new ReadableStream({\n start (controller) {\n controller.enqueue(chunk);\n controller.close();\n }\n });\n}\nasync function streamToChunks(stream) {\n const reader = stream.getReader();\n const chunks = [];\n while(true){\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n chunks.push(value);\n }\n return chunks;\n}\nfunction concatUint8Arrays(chunks) {\n const totalLength = chunks.reduce((sum, chunk)=>sum + chunk.length, 0);\n const result = new Uint8Array(totalLength);\n let offset = 0;\n for (const chunk of chunks){\n result.set(chunk, offset);\n offset += chunk.length;\n }\n return result;\n}\nexport async function streamToUint8Array(stream) {\n return concatUint8Arrays(await streamToChunks(stream));\n}\nexport async function streamToBuffer(stream) {\n return Buffer.concat(await streamToChunks(stream));\n}\nexport async function streamToString(stream, signal) {\n const decoder = new TextDecoder('utf-8', {\n fatal: true\n });\n let string = '';\n for await (const chunk of stream){\n if (signal == null ? void 0 : signal.aborted) {\n return string;\n }\n string += decoder.decode(chunk, {\n stream: true\n });\n }\n string += decoder.decode();\n return string;\n}\nexport function createBufferedTransformStream(options = {}) {\n const { maxBufferByteLength = Infinity } = options;\n let bufferedChunks = [];\n let bufferByteLength = 0;\n let pending;\n const flush = (controller)=>{\n try {\n if (bufferedChunks.length === 0) {\n return;\n }\n const chunk = new Uint8Array(bufferByteLength);\n let copiedBytes = 0;\n for(let i = 0; i < bufferedChunks.length; i++){\n const bufferedChunk = bufferedChunks[i];\n chunk.set(bufferedChunk, copiedBytes);\n copiedBytes += bufferedChunk.byteLength;\n }\n // We just wrote all the buffered chunks so we need to reset the bufferedChunks array\n // and our bufferByteLength to prepare for the next round of buffered chunks\n bufferedChunks.length = 0;\n bufferByteLength = 0;\n controller.enqueue(chunk);\n } catch {\n // If an error occurs while enqueuing, it can't be due to this\n // transformer. It's most likely caused by the controller having been\n // errored (for example, if the stream was cancelled).\n }\n };\n const scheduleFlush = (controller)=>{\n if (pending) {\n return;\n }\n const detached = new DetachedPromise();\n pending = detached;\n scheduleImmediate(()=>{\n try {\n flush(controller);\n } finally{\n pending = undefined;\n detached.resolve();\n }\n });\n };\n return new TransformStream({\n transform (chunk, controller) {\n // Combine the previous buffer with the new chunk.\n bufferedChunks.push(chunk);\n bufferByteLength += chunk.byteLength;\n if (bufferByteLength >= maxBufferByteLength) {\n flush(controller);\n } else {\n scheduleFlush(controller);\n }\n },\n flush () {\n return pending == null ? void 0 : pending.promise;\n }\n });\n}\nfunction createPrefetchCommentStream(isBuildTimePrerendering, buildId) {\n // Insert an extra comment at the beginning of the HTML document. This must\n // come after the DOCTYPE, which is inserted by React.\n //\n // The first chunk sent by React will contain the doctype. After that, we can\n // pass through the rest of the chunks as-is.\n let didTransformFirstChunk = false;\n return new TransformStream({\n transform (chunk, controller) {\n if (isBuildTimePrerendering && !didTransformFirstChunk) {\n didTransformFirstChunk = true;\n const decoder = new TextDecoder('utf-8', {\n fatal: true\n });\n const chunkStr = decoder.decode(chunk, {\n stream: true\n });\n const updatedChunkStr = insertBuildIdComment(chunkStr, buildId);\n controller.enqueue(encoder.encode(updatedChunkStr));\n return;\n }\n controller.enqueue(chunk);\n }\n });\n}\nexport function renderToInitialFizzStream({ ReactDOMServer, element, streamOptions }) {\n return getTracer().trace(AppRenderSpan.renderToReadableStream, async ()=>ReactDOMServer.renderToReadableStream(element, streamOptions));\n}\nfunction createMetadataTransformStream(insert) {\n let chunkIndex = -1;\n let isMarkRemoved = false;\n return new TransformStream({\n async transform (chunk, controller) {\n let iconMarkIndex = -1;\n let closedHeadIndex = -1;\n chunkIndex++;\n if (isMarkRemoved) {\n controller.enqueue(chunk);\n return;\n }\n let iconMarkLength = 0;\n // Only search for the closed head tag once\n if (iconMarkIndex === -1) {\n iconMarkIndex = indexOfUint8Array(chunk, ENCODED_TAGS.META.ICON_MARK);\n if (iconMarkIndex === -1) {\n controller.enqueue(chunk);\n return;\n } else {\n // When we found the `` or `>`, checking the next char to ensure we cover both cases.\n iconMarkLength = ENCODED_TAGS.META.ICON_MARK.length;\n // Check if next char is /, this is for xml mode.\n if (chunk[iconMarkIndex + iconMarkLength] === 47) {\n iconMarkLength += 2;\n } else {\n // The last char is `>`\n iconMarkLength++;\n }\n }\n }\n // Check if icon mark is inside tag in the first chunk.\n if (chunkIndex === 0) {\n closedHeadIndex = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD);\n if (iconMarkIndex !== -1) {\n // The mark icon is located in the 1st chunk before the head tag.\n // We do not need to insert the script tag in this case because it's in the head.\n // Just remove the icon mark from the chunk.\n if (iconMarkIndex < closedHeadIndex) {\n const replaced = new Uint8Array(chunk.length - iconMarkLength);\n // Remove the icon mark from the chunk.\n replaced.set(chunk.subarray(0, iconMarkIndex));\n replaced.set(chunk.subarray(iconMarkIndex + iconMarkLength), iconMarkIndex);\n chunk = replaced;\n } else {\n // The icon mark is after the head tag, replace and insert the script tag at that position.\n const insertion = await insert();\n const encodedInsertion = encoder.encode(insertion);\n const insertionLength = encodedInsertion.length;\n const replaced = new Uint8Array(chunk.length - iconMarkLength + insertionLength);\n replaced.set(chunk.subarray(0, iconMarkIndex));\n replaced.set(encodedInsertion, iconMarkIndex);\n replaced.set(chunk.subarray(iconMarkIndex + iconMarkLength), iconMarkIndex + insertionLength);\n chunk = replaced;\n }\n isMarkRemoved = true;\n }\n // If there's no icon mark located, it will be handled later when if present in the following chunks.\n } else {\n // When it's appeared in the following chunks, we'll need to\n // remove the mark and then insert the script tag at that position.\n const insertion = await insert();\n const encodedInsertion = encoder.encode(insertion);\n const insertionLength = encodedInsertion.length;\n // Replace the icon mark with the hoist script or empty string.\n const replaced = new Uint8Array(chunk.length - iconMarkLength + insertionLength);\n // Set the first part of the chunk, before the icon mark.\n replaced.set(chunk.subarray(0, iconMarkIndex));\n // Set the insertion after the icon mark.\n replaced.set(encodedInsertion, iconMarkIndex);\n // Set the rest of the chunk after the icon mark.\n replaced.set(chunk.subarray(iconMarkIndex + iconMarkLength), iconMarkIndex + insertionLength);\n chunk = replaced;\n isMarkRemoved = true;\n }\n controller.enqueue(chunk);\n }\n });\n}\nfunction createHeadInsertionTransformStream(insert) {\n let inserted = false;\n // We need to track if this transform saw any bytes because if it didn't\n // we won't want to insert any server HTML at all\n let hasBytes = false;\n return new TransformStream({\n async transform (chunk, controller) {\n hasBytes = true;\n const insertion = await insert();\n if (inserted) {\n if (insertion) {\n const encodedInsertion = encoder.encode(insertion);\n controller.enqueue(encodedInsertion);\n }\n controller.enqueue(chunk);\n } else {\n // TODO (@Ethan-Arrowood): Replace the generic `indexOfUint8Array` method with something finely tuned for the subset of things actually being checked for.\n const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD);\n // In fully static rendering or non PPR rendering cases:\n // `/head>` will always be found in the chunk in first chunk rendering.\n if (index !== -1) {\n if (insertion) {\n const encodedInsertion = encoder.encode(insertion);\n // Get the total count of the bytes in the chunk and the insertion\n // e.g.\n // chunk = \n // insertion = \n // output = [ ] \n const insertedHeadContent = new Uint8Array(chunk.length + encodedInsertion.length);\n // Append the first part of the chunk, before the head tag\n insertedHeadContent.set(chunk.slice(0, index));\n // Append the server inserted content\n insertedHeadContent.set(encodedInsertion, index);\n // Append the rest of the chunk\n insertedHeadContent.set(chunk.slice(index), index + encodedInsertion.length);\n controller.enqueue(insertedHeadContent);\n } else {\n controller.enqueue(chunk);\n }\n inserted = true;\n } else {\n // This will happens in PPR rendering during next start, when the page is partially rendered.\n // When the page resumes, the head tag will be found in the middle of the chunk.\n // Where we just need to append the insertion and chunk to the current stream.\n // e.g.\n // PPR-static: ... [ resume content ] \n // PPR-resume: [ insertion ] [ rest content ]\n if (insertion) {\n controller.enqueue(encoder.encode(insertion));\n }\n controller.enqueue(chunk);\n inserted = true;\n }\n }\n },\n async flush (controller) {\n // Check before closing if there's anything remaining to insert.\n if (hasBytes) {\n const insertion = await insert();\n if (insertion) {\n controller.enqueue(encoder.encode(insertion));\n }\n }\n }\n });\n}\nfunction createClientResumeScriptInsertionTransformStream() {\n const segmentPath = '/_full';\n const cacheBustingHeader = computeCacheBustingSearchParam('1', '/_full', undefined, undefined // headers[NEXT_URL]\n );\n const searchStr = `${NEXT_RSC_UNION_QUERY}=${cacheBustingHeader}`;\n const NEXT_CLIENT_RESUME_SCRIPT = ``;\n let didAlreadyInsert = false;\n return new TransformStream({\n transform (chunk, controller) {\n if (didAlreadyInsert) {\n // Already inserted the script into the head. Pass through.\n controller.enqueue(chunk);\n return;\n }\n // TODO (@Ethan-Arrowood): Replace the generic `indexOfUint8Array` method with something finely tuned for the subset of things actually being checked for.\n const headClosingTagIndex = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD);\n if (headClosingTagIndex === -1) {\n // In fully static rendering or non PPR rendering cases:\n // `/head>` will always be found in the chunk in first chunk rendering.\n controller.enqueue(chunk);\n return;\n }\n const encodedInsertion = encoder.encode(NEXT_CLIENT_RESUME_SCRIPT);\n // Get the total count of the bytes in the chunk and the insertion\n // e.g.\n // chunk = \n // insertion = \n // output = [ ] \n const insertedHeadContent = new Uint8Array(chunk.length + encodedInsertion.length);\n // Append the first part of the chunk, before the head tag\n insertedHeadContent.set(chunk.slice(0, headClosingTagIndex));\n // Append the server inserted content\n insertedHeadContent.set(encodedInsertion, headClosingTagIndex);\n // Append the rest of the chunk\n insertedHeadContent.set(chunk.slice(headClosingTagIndex), headClosingTagIndex + encodedInsertion.length);\n controller.enqueue(insertedHeadContent);\n didAlreadyInsert = true;\n }\n });\n}\n// Suffix after main body content - scripts before ,\n// but wait for the major chunks to be enqueued.\nfunction createDeferredSuffixStream(suffix) {\n let flushed = false;\n let pending;\n const flush = (controller)=>{\n const detached = new DetachedPromise();\n pending = detached;\n scheduleImmediate(()=>{\n try {\n controller.enqueue(encoder.encode(suffix));\n } catch {\n // If an error occurs while enqueuing it can't be due to this\n // transformers fault. It's likely due to the controller being\n // errored due to the stream being cancelled.\n } finally{\n pending = undefined;\n detached.resolve();\n }\n });\n };\n return new TransformStream({\n transform (chunk, controller) {\n controller.enqueue(chunk);\n // If we've already flushed, we're done.\n if (flushed) return;\n // Schedule the flush to happen.\n flushed = true;\n flush(controller);\n },\n flush (controller) {\n if (pending) return pending.promise;\n if (flushed) return;\n // Flush now.\n controller.enqueue(encoder.encode(suffix));\n }\n });\n}\nfunction createFlightDataInjectionTransformStream(stream, delayDataUntilFirstHtmlChunk) {\n let htmlStreamFinished = false;\n let pull = null;\n let donePulling = false;\n function startOrContinuePulling(controller) {\n if (!pull) {\n pull = startPulling(controller);\n }\n return pull;\n }\n async function startPulling(controller) {\n const reader = stream.getReader();\n if (delayDataUntilFirstHtmlChunk) {\n // NOTE: streaming flush\n // We are buffering here for the inlined data stream because the\n // \"shell\" stream might be chunkenized again by the underlying stream\n // implementation, e.g. with a specific high-water mark. To ensure it's\n // the safe timing to pipe the data stream, this extra tick is\n // necessary.\n // We don't start reading until we've left the current Task to ensure\n // that it's inserted after flushing the shell. Note that this implementation\n // might get stale if impl details of Fizz change in the future.\n await atLeastOneTask();\n }\n try {\n while(true){\n const { done, value } = await reader.read();\n if (done) {\n donePulling = true;\n return;\n }\n // We want to prioritize HTML over RSC data.\n // The SSR render is based on the same RSC stream, so when we get a new RSC chunk,\n // we're likely to produce an HTML chunk as well, so give it a chance to flush first.\n if (!delayDataUntilFirstHtmlChunk && !htmlStreamFinished) {\n await atLeastOneTask();\n }\n controller.enqueue(value);\n }\n } catch (err) {\n controller.error(err);\n }\n }\n return new TransformStream({\n start (controller) {\n if (!delayDataUntilFirstHtmlChunk) {\n startOrContinuePulling(controller);\n }\n },\n transform (chunk, controller) {\n controller.enqueue(chunk);\n // Start the streaming if it hasn't already been started yet.\n if (delayDataUntilFirstHtmlChunk) {\n startOrContinuePulling(controller);\n }\n },\n flush (controller) {\n htmlStreamFinished = true;\n if (donePulling) {\n return;\n }\n return startOrContinuePulling(controller);\n }\n });\n}\nconst CLOSE_TAG = '';\n/**\n * This transform stream moves the suffix to the end of the stream, so results\n * like `` will be transformed to\n * ``.\n */ function createMoveSuffixStream() {\n let foundSuffix = false;\n return new TransformStream({\n transform (chunk, controller) {\n if (foundSuffix) {\n return controller.enqueue(chunk);\n }\n const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.BODY_AND_HTML);\n if (index > -1) {\n foundSuffix = true;\n // If the whole chunk is the suffix, then don't write anything, it will\n // be written in the flush.\n if (chunk.length === ENCODED_TAGS.CLOSED.BODY_AND_HTML.length) {\n return;\n }\n // Write out the part before the suffix.\n const before = chunk.slice(0, index);\n controller.enqueue(before);\n // In the case where the suffix is in the middle of the chunk, we need\n // to split the chunk into two parts.\n if (chunk.length > ENCODED_TAGS.CLOSED.BODY_AND_HTML.length + index) {\n // Write out the part after the suffix.\n const after = chunk.slice(index + ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);\n controller.enqueue(after);\n }\n } else {\n controller.enqueue(chunk);\n }\n },\n flush (controller) {\n // Even if we didn't find the suffix, the HTML is not valid if we don't\n // add it, so insert it at the end.\n controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML);\n }\n });\n}\nfunction createStripDocumentClosingTagsTransform() {\n return new TransformStream({\n transform (chunk, controller) {\n // We rely on the assumption that chunks will never break across a code unit.\n // This is reasonable because we currently concat all of React's output from a single\n // flush into one chunk before streaming it forward which means the chunk will represent\n // a single coherent utf-8 string. This is not safe to use if we change our streaming to no\n // longer do this large buffered chunk\n if (isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.BODY_AND_HTML) || isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.BODY) || isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.HTML)) {\n // the entire chunk is the closing tags; return without enqueueing anything.\n return;\n }\n // We assume these tags will go at together at the end of the document and that\n // they won't appear anywhere else in the document. This is not really a safe assumption\n // but until we revamp our streaming infra this is a performant way to string the tags\n chunk = removeFromUint8Array(chunk, ENCODED_TAGS.CLOSED.BODY);\n chunk = removeFromUint8Array(chunk, ENCODED_TAGS.CLOSED.HTML);\n controller.enqueue(chunk);\n }\n });\n}\n/*\n * Checks if the root layout is missing the html or body tags\n * and if so, it will inject a script tag to throw an error in the browser, showing the user\n * the error message in the error overlay.\n */ export function createRootLayoutValidatorStream() {\n let foundHtml = false;\n let foundBody = false;\n return new TransformStream({\n async transform (chunk, controller) {\n // Peek into the streamed chunk to see if the tags are present.\n if (!foundHtml && indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.HTML) > -1) {\n foundHtml = true;\n }\n if (!foundBody && indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.BODY) > -1) {\n foundBody = true;\n }\n controller.enqueue(chunk);\n },\n flush (controller) {\n const missingTags = [];\n if (!foundHtml) missingTags.push('html');\n if (!foundBody) missingTags.push('body');\n if (!missingTags.length) return;\n controller.enqueue(encoder.encode(`\n `<${c}>`).join(missingTags.length > 1 ? ' and ' : '')} tags in the root layout.\\nRead more at https://nextjs.org/docs/messages/missing-root-layout-tags\"\n data-next-error-digest=\"${MISSING_ROOT_TAGS_ERROR}\"\n data-next-error-stack=\"\"\n >\n `));\n }\n });\n}\nfunction chainTransformers(readable, transformers) {\n let stream = readable;\n for (const transformer of transformers){\n if (!transformer) continue;\n stream = stream.pipeThrough(transformer);\n }\n return stream;\n}\nexport async function continueFizzStream(renderStream, { suffix, inlinedDataStream, isStaticGeneration, isBuildTimePrerendering, buildId, getServerInsertedHTML, getServerInsertedMetadata, validateRootLayout }) {\n // Suffix itself might contain close tags at the end, so we need to split it.\n const suffixUnclosed = suffix ? suffix.split(CLOSE_TAG, 1)[0] : null;\n if (isStaticGeneration) {\n // If we're generating static HTML we need to wait for it to resolve before continuing.\n await renderStream.allReady;\n } else {\n // Otherwise, we want to make sure Fizz is done with all microtasky work\n // before we start pulling the stream and cause a flush.\n await waitAtLeastOneReactRenderTask();\n }\n return chainTransformers(renderStream, [\n // Buffer everything to avoid flushing too frequently\n createBufferedTransformStream(),\n // Add build id comment to start of the HTML document (in export mode)\n createPrefetchCommentStream(isBuildTimePrerendering, buildId),\n // Transform metadata\n createMetadataTransformStream(getServerInsertedMetadata),\n // Insert suffix content\n suffixUnclosed != null && suffixUnclosed.length > 0 ? createDeferredSuffixStream(suffixUnclosed) : null,\n // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n inlinedDataStream ? createFlightDataInjectionTransformStream(inlinedDataStream, true) : null,\n // Validate the root layout for missing html or body tags\n validateRootLayout ? createRootLayoutValidatorStream() : null,\n // Close tags should always be deferred to the end\n createMoveSuffixStream(),\n // Special head insertions\n // TODO-APP: Insert server side html to end of head in app layout rendering, to avoid\n // hydration errors. Remove this once it's ready to be handled by react itself.\n createHeadInsertionTransformStream(getServerInsertedHTML)\n ]);\n}\nexport async function continueDynamicPrerender(prerenderStream, { getServerInsertedHTML, getServerInsertedMetadata }) {\n return prerenderStream// Buffer everything to avoid flushing too frequently\n .pipeThrough(createBufferedTransformStream()).pipeThrough(createStripDocumentClosingTagsTransform())// Insert generated tags to head\n .pipeThrough(createHeadInsertionTransformStream(getServerInsertedHTML))// Transform metadata\n .pipeThrough(createMetadataTransformStream(getServerInsertedMetadata));\n}\nexport async function continueStaticPrerender(prerenderStream, { inlinedDataStream, getServerInsertedHTML, getServerInsertedMetadata, isBuildTimePrerendering, buildId }) {\n return prerenderStream// Buffer everything to avoid flushing too frequently\n .pipeThrough(createBufferedTransformStream())// Add build id comment to start of the HTML document (in export mode)\n .pipeThrough(createPrefetchCommentStream(isBuildTimePrerendering, buildId))// Insert generated tags to head\n .pipeThrough(createHeadInsertionTransformStream(getServerInsertedHTML))// Transform metadata\n .pipeThrough(createMetadataTransformStream(getServerInsertedMetadata))// Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n .pipeThrough(createFlightDataInjectionTransformStream(inlinedDataStream, true))// Close tags should always be deferred to the end\n .pipeThrough(createMoveSuffixStream());\n}\nexport async function continueStaticFallbackPrerender(prerenderStream, { inlinedDataStream, getServerInsertedHTML, getServerInsertedMetadata, isBuildTimePrerendering, buildId }) {\n // Same as `continueStaticPrerender`, but also inserts an additional script\n // to instruct the client to start fetching the hydration data as early\n // as possible.\n return prerenderStream// Buffer everything to avoid flushing too frequently\n .pipeThrough(createBufferedTransformStream())// Add build id comment to start of the HTML document (in export mode)\n .pipeThrough(createPrefetchCommentStream(isBuildTimePrerendering, buildId))// Insert generated tags to head\n .pipeThrough(createHeadInsertionTransformStream(getServerInsertedHTML))// Insert the client resume script into the head\n .pipeThrough(createClientResumeScriptInsertionTransformStream())// Transform metadata\n .pipeThrough(createMetadataTransformStream(getServerInsertedMetadata))// Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n .pipeThrough(createFlightDataInjectionTransformStream(inlinedDataStream, true))// Close tags should always be deferred to the end\n .pipeThrough(createMoveSuffixStream());\n}\nexport async function continueDynamicHTMLResume(renderStream, { delayDataUntilFirstHtmlChunk, inlinedDataStream, getServerInsertedHTML, getServerInsertedMetadata }) {\n return renderStream// Buffer everything to avoid flushing too frequently\n .pipeThrough(createBufferedTransformStream())// Insert generated tags to head\n .pipeThrough(createHeadInsertionTransformStream(getServerInsertedHTML))// Transform metadata\n .pipeThrough(createMetadataTransformStream(getServerInsertedMetadata))// Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n .pipeThrough(createFlightDataInjectionTransformStream(inlinedDataStream, delayDataUntilFirstHtmlChunk))// Close tags should always be deferred to the end\n .pipeThrough(createMoveSuffixStream());\n}\nexport function createDocumentClosingStream() {\n return streamFromString(CLOSE_TAG);\n}\n\n//# sourceMappingURL=node-web-streams-helper.js.map","// In output: export mode, the build id is added to the start of the HTML\n// document, directly after the doctype declaration. During a prefetch, the\n// client performs a range request to get the build id, so it can check whether\n// the target page belongs to the same build.\n//\n// The first 64 bytes of the document are requested. The exact number isn't\n// too important; it must be larger than the build id + doctype + closing and\n// ending comment markers, but it doesn't need to match the end of the\n// comment exactly.\n//\n// Build ids are 21 bytes long in the default implementation, though this\n// can be overridden in the Next.js config. For the purposes of this check,\n// it's OK to only match the start of the id, so we'll truncate it if exceeds\n// a certain length.\nconst DOCTYPE_PREFIX = '' // 15 bytes\n;\nconst MAX_BUILD_ID_LENGTH = 24;\nfunction escapeBuildId(buildId) {\n // If the build id is longer than the given limit, it's OK for our purposes\n // to only match the beginning.\n const truncated = buildId.slice(0, MAX_BUILD_ID_LENGTH);\n // Replace hyphens with underscores so it doesn't break the HTML comment.\n // (Unlikely, but if this did happen it would break the whole document.)\n return truncated.replace(/-/g, '_');\n}\nexport function insertBuildIdComment(originalHtml, buildId) {\n if (// Skip if the build id contains a closing comment marker.\n buildId.includes('-->') || // React always inserts a doctype at the start of the document. Skip if it\n // isn't present. Shouldn't happen; suggests an issue elsewhere.\n !originalHtml.startsWith(DOCTYPE_PREFIX)) {\n // Return the original HTML unchanged. This means the document will not\n // be prefetched.\n // TODO: The build id comment is currently only used during prefetches, but\n // if we eventually use this mechanism for regular navigations, we may need\n // to error during build if we fail to insert it for some reason.\n return originalHtml;\n }\n // The comment must be inserted after the doctype.\n return originalHtml.replace(DOCTYPE_PREFIX, DOCTYPE_PREFIX + '');\n}\n\n//# sourceMappingURL=output-export-prefetch-encoding.js.map","export const MISSING_ROOT_TAGS_ERROR = 'NEXT_MISSING_ROOT_TAGS';\n\n//# sourceMappingURL=constants.js.map","export const ENCODED_TAGS = {\n // opening tags do not have the closing `>` since they can contain other attributes such as ``\n OPENING: {\n // \n HEAD: new Uint8Array([\n 60,\n 47,\n 104,\n 101,\n 97,\n 100,\n 62\n ]),\n // \n BODY: new Uint8Array([\n 60,\n 47,\n 98,\n 111,\n 100,\n 121,\n 62\n ]),\n // \n HTML: new Uint8Array([\n 60,\n 47,\n 104,\n 116,\n 109,\n 108,\n 62\n ]),\n // \n BODY_AND_HTML: new Uint8Array([\n 60,\n 47,\n 98,\n 111,\n 100,\n 121,\n 62,\n 60,\n 47,\n 104,\n 116,\n 109,\n 108,\n 62\n ])\n },\n META: {\n // Only the match the prefix cause the suffix can be different wether it's xml compatible or not \">\" or \"/>\"\n // a.length) return -1;\n // start iterating through `a`\n for(let i = 0; i <= a.length - b.length; i++){\n let completeMatch = true;\n // from index `i`, iterate through `b` and check for mismatch\n for(let j = 0; j < b.length; j++){\n // if the values do not match, then this isn't a complete match, exit `b` iteration early and iterate to next index of `a`.\n if (a[i + j] !== b[j]) {\n completeMatch = false;\n break;\n }\n }\n if (completeMatch) {\n return i;\n }\n }\n return -1;\n}\n/**\n * Check if two Uint8Arrays are strictly equivalent.\n */ export function isEquivalentUint8Arrays(a, b) {\n if (a.length !== b.length) return false;\n for(let i = 0; i < a.length; i++){\n if (a[i] !== b[i]) return false;\n }\n return true;\n}\n/**\n * Remove Uint8Array `b` from Uint8Array `a`.\n *\n * If `b` is not in `a`, `a` is returned unchanged.\n *\n * Otherwise, the function returns a new Uint8Array instance with size `a.length - b.length`\n */ export function removeFromUint8Array(a, b) {\n const tagIndex = indexOfUint8Array(a, b);\n if (tagIndex === 0) return a.subarray(b.length);\n if (tagIndex > -1) {\n const removed = new Uint8Array(a.length - b.length);\n removed.set(a.slice(0, tagIndex));\n removed.set(a.slice(tagIndex + b.length), tagIndex);\n return removed;\n } else {\n return a;\n }\n}\n\n//# sourceMappingURL=uint8array-helpers.js.map","// http://www.cse.yorku.ca/~oz/hash.html\n// More specifically, 32-bit hash via djbxor\n// (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765)\n// This is due to number type differences between rust for turbopack to js number types,\n// where rust does not have easy way to repreesnt js's 53-bit float number type for the matching\n// overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation\n// as can gaurantee determinstic output from 32bit hash.\nexport function djb2Hash(str) {\n let hash = 5381;\n for(let i = 0; i < str.length; i++){\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash + char & 0xffffffff;\n }\n return hash >>> 0;\n}\nexport function hexHash(str) {\n return djb2Hash(str).toString(36).slice(0, 5);\n}\n\n//# sourceMappingURL=hash.js.map","import type { IncomingMessage } from 'http'\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { UrlWithParsedQuery } from 'url'\nimport type { BaseNextRequest } from './base-http'\nimport type { CloneableBody } from './body-streams'\nimport type { RouteMatch } from './route-matches/route-match'\nimport type { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers'\nimport type {\n ResponseCacheEntry,\n ServerComponentsHmrCache,\n} from './response-cache'\nimport type { PagesDevOverlayBridgeType } from '../next-devtools/userspace/pages/pages-dev-overlay-setup'\nimport type { OpaqueFallbackRouteParams } from './request/fallback-params'\nimport type { IncrementalCache } from './lib/incremental-cache'\n\n// FIXME: (wyattjoh) this is a temporary solution to allow us to pass data between bundled modules\nexport const NEXT_REQUEST_META = Symbol.for('NextInternalRequestMeta')\n\nexport type NextIncomingMessage = (BaseNextRequest | IncomingMessage) & {\n [NEXT_REQUEST_META]?: RequestMeta\n}\n\n/**\n * The callback function to call when a response cache entry was generated or\n * looked up in the cache. When it returns true, the server assumes that the\n * handler has already responded to the request and will not do so itself.\n */\nexport type OnCacheEntryHandler = (\n /**\n * The response cache entry that was generated or looked up in the cache.\n */\n cacheEntry: ResponseCacheEntry,\n\n /**\n * The request metadata.\n */\n requestMeta: {\n /**\n * The URL that was used to make the request.\n */\n url: string | undefined\n }\n) => Promise | boolean | void\n\nexport interface RequestMeta {\n /**\n * The query that was used to make the request.\n */\n initQuery?: ParsedUrlQuery\n\n /**\n * The URL that was used to make the request.\n */\n initURL?: string\n\n /**\n * The protocol that was used to make the request.\n */\n initProtocol?: string\n\n /**\n * The body that was read from the request. This is used to allow the body to\n * be read multiple times.\n */\n clonableBody?: CloneableBody\n\n /**\n * True when the request matched a locale domain that was configured in the\n * next.config.js file.\n */\n isLocaleDomain?: boolean\n\n /**\n * True when the request had locale information stripped from the pathname\n * part of the URL.\n */\n didStripLocale?: boolean\n\n /**\n * If the request had it's URL rewritten, this is the URL it was rewritten to.\n */\n rewroteURL?: string\n\n /**\n * The cookies that were added by middleware and were added to the response.\n */\n middlewareCookie?: string[]\n\n /**\n * The match on the request for a given route.\n */\n match?: RouteMatch\n\n /**\n * The incremental cache to use for the request.\n */\n incrementalCache?: IncrementalCache\n\n /**\n * The server components HMR cache, only for dev.\n */\n serverComponentsHmrCache?: ServerComponentsHmrCache\n\n /**\n * Equals the segment path that was used for the prefetch RSC request.\n */\n segmentPrefetchRSCRequest?: string\n\n /**\n * True when the request is for the prefetch flight data.\n */\n isPrefetchRSCRequest?: true\n\n /**\n * True when the request is for the flight data.\n */\n isRSCRequest?: true\n\n /**\n * A search param set by the Next.js client when performing RSC requests.\n * Because some CDNs do not vary their cache entries on our custom headers,\n * this search param represents a hash of the header values. For any cached\n * RSC request, we should verify that the hash matches before responding.\n * Otherwise this can lead to cache poisoning.\n * TODO: Consider not using custom request headers at all, and instead encode\n * everything into the search param.\n */\n cacheBustingSearchParam?: string\n\n /**\n * True when the request is for the `/_next/data` route using the pages\n * router.\n */\n isNextDataReq?: true\n\n /**\n * Postponed state to use for resumption. If present it's assumed that the\n * request is for a page that has postponed (there are no guarantees that the\n * page actually has postponed though as it would incur an additional cache\n * lookup).\n */\n postponed?: string\n\n /**\n * If provided, this will be called when a response cache entry was generated\n * or looked up in the cache.\n *\n * @deprecated Use `onCacheEntryV2` instead.\n */\n onCacheEntry?: OnCacheEntryHandler\n\n /**\n * If provided, this will be called when a response cache entry was generated\n * or looked up in the cache.\n */\n onCacheEntryV2?: OnCacheEntryHandler\n\n /**\n * The previous revalidate before rendering 404 page for notFound: true\n */\n notFoundRevalidate?: number | false\n\n /**\n * In development, the original source page that returned a 404.\n */\n developmentNotFoundSourcePage?: string\n\n /**\n * The path we routed to and should be invoked\n */\n invokePath?: string\n\n /**\n * The specific page output we should be matching\n */\n invokeOutput?: string\n\n /**\n * The status we are invoking the request with from routing\n */\n invokeStatus?: number\n\n /**\n * The routing error we are invoking with\n */\n invokeError?: Error\n\n /**\n * The query parsed for the invocation\n */\n invokeQuery?: Record\n\n /**\n * Whether the request is a middleware invocation\n */\n middlewareInvoke?: boolean\n\n /**\n * Whether the request should render the fallback shell or not.\n */\n renderFallbackShell?: boolean\n\n /**\n * Whether the request is for the custom error page.\n */\n customErrorRender?: true\n\n /**\n * Whether to bubble up the NoFallbackError to the caller when a 404 is\n * returned.\n */\n bubbleNoFallback?: true\n\n /**\n * True when the request had locale information inferred from the default\n * locale.\n */\n localeInferredFromDefault?: true\n\n /**\n * The locale that was inferred or explicitly set for the request.\n */\n locale?: string\n\n /**\n * The default locale that was inferred or explicitly set for the request.\n */\n defaultLocale?: string\n\n /**\n * The relative project dir the server is running in from project root\n */\n relativeProjectDir?: string\n\n /**\n * The dist directory the server is currently using\n */\n distDir?: string\n\n /**\n * The query after resolving routes\n */\n query?: ParsedUrlQuery\n\n /**\n * The params after resolving routes\n */\n params?: ParsedUrlQuery\n\n /**\n * ErrorOverlay component to use in development for pages router\n */\n PagesErrorDebug?: PagesDevOverlayBridgeType\n\n /**\n * Whether server is in minimal mode (this will be replaced with more\n * specific flags in future)\n */\n minimalMode?: boolean\n\n /**\n * DEV only: The fallback params that should be used when validating prerenders during dev\n */\n devFallbackParams?: OpaqueFallbackRouteParams\n\n /**\n * DEV only: Request timings in process.hrtime.bigint()\n */\n devRequestTimingStart?: bigint\n devRequestTimingMiddlewareStart?: bigint\n devRequestTimingMiddlewareEnd?: bigint\n devRequestTimingInternalsEnd?: bigint\n\n /**\n * DEV only: The duration of getStaticPaths/generateStaticParams in process.hrtime.bigint()\n */\n devGenerateStaticParamsDuration?: bigint\n}\n\n/**\n * Gets the request metadata. If no key is provided, the entire metadata object\n * is returned.\n *\n * @param req the request to get the metadata from\n * @param key the key to get from the metadata (optional)\n * @returns the value for the key or the entire metadata object\n */\nexport function getRequestMeta(\n req: NextIncomingMessage,\n key?: undefined\n): RequestMeta\nexport function getRequestMeta(\n req: NextIncomingMessage,\n key: K\n): RequestMeta[K]\nexport function getRequestMeta(\n req: NextIncomingMessage,\n key?: K\n): RequestMeta | RequestMeta[K] {\n const meta = req[NEXT_REQUEST_META] || {}\n return typeof key === 'string' ? meta[key] : meta\n}\n\n/**\n * Sets the request metadata.\n *\n * @param req the request to set the metadata on\n * @param meta the metadata to set\n * @returns the mutated request metadata\n */\nexport function setRequestMeta(req: NextIncomingMessage, meta: RequestMeta) {\n req[NEXT_REQUEST_META] = meta\n return meta\n}\n\n/**\n * Adds a value to the request metadata.\n *\n * @param request the request to mutate\n * @param key the key to set\n * @param value the value to set\n * @returns the mutated request metadata\n */\nexport function addRequestMeta(\n request: NextIncomingMessage,\n key: K,\n value: RequestMeta[K]\n) {\n const meta = getRequestMeta(request)\n meta[key] = value\n return setRequestMeta(request, meta)\n}\n\n/**\n * Removes a key from the request metadata.\n *\n * @param request the request to mutate\n * @param key the key to remove\n * @returns the mutated request metadata\n */\nexport function removeRequestMeta(\n request: NextIncomingMessage,\n key: K\n) {\n const meta = getRequestMeta(request)\n delete meta[key]\n return setRequestMeta(request, meta)\n}\n\ntype NextQueryMetadata = {\n /**\n * The `_rsc` query parameter used for cache busting to ensure that the RSC\n * requests do not get cached by the browser explicitly.\n */\n [NEXT_RSC_UNION_QUERY]?: string\n}\n\nexport type NextParsedUrlQuery = ParsedUrlQuery & NextQueryMetadata\n\nexport interface NextUrlWithParsedQuery extends UrlWithParsedQuery {\n query: NextParsedUrlQuery\n}\n","import type { ServerRuntime } from '../types'\n\nexport const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain'\nexport const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8'\nexport const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8'\nexport const NEXT_QUERY_PARAM_PREFIX = 'nxtP'\nexport const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI'\n\nexport const MATCHED_PATH_HEADER = 'x-matched-path'\nexport const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate'\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER =\n 'x-prerender-revalidate-if-generated'\n\nexport const RSC_SEGMENTS_DIR_SUFFIX = '.segments'\nexport const RSC_SEGMENT_SUFFIX = '.segment.rsc'\nexport const RSC_SUFFIX = '.rsc'\nexport const ACTION_SUFFIX = '.action'\nexport const NEXT_DATA_SUFFIX = '.json'\nexport const NEXT_META_SUFFIX = '.meta'\nexport const NEXT_BODY_SUFFIX = '.body'\n\nexport const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags'\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags'\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER =\n 'x-next-revalidate-tag-token'\n\nexport const NEXT_RESUME_HEADER = 'next-resume'\n\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 128\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_'\n\n// in seconds\nexport const CACHE_ONE_YEAR = 31536000\n\n// in seconds, represents revalidate=false. I.e. never revaliate.\n// We use this value since it can be represented as a V8 SMI for optimal performance.\n// It can also be serialized as JSON if it ever leaks accidentally as an actual value.\nexport const INFINITE_CACHE = 0xfffffffe\n\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = 'middleware'\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`\n\n// Patterns to detect proxy files (replacement for middleware)\nexport const PROXY_FILENAME = 'proxy'\nexport const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`\n\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation'\n\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = 'private-next-pages'\nexport const DOT_NEXT_ALIAS = 'private-dot-next'\nexport const ROOT_DIR_ALIAS = 'private-next-root-dir'\nexport const APP_DIR_ALIAS = 'private-next-app-dir'\nexport const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy'\nexport const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate'\nexport const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference'\nexport const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper'\nexport const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS =\n 'private-next-rsc-track-dynamic-import'\nexport const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption'\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS =\n 'private-next-rsc-action-client-wrapper'\n\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`\n\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`\n\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`\n\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`\n\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`\n\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`\n\nexport const GSP_NO_RETURNED_VALUE =\n 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?'\nexport const GSSP_NO_RETURNED_VALUE =\n 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?'\n\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR =\n 'The `unstable_revalidate` property is available for general use.\\n' +\n 'Please use `revalidate` instead.'\n\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`\n\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`\n\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`\n\nexport const ESLINT_DEFAULT_DIRS = ['app', 'pages', 'components', 'lib', 'src']\n\nexport const SERVER_RUNTIME: Record = {\n edge: 'edge',\n experimentalEdge: 'experimental-edge',\n nodejs: 'nodejs',\n}\n\nexport const WEB_SOCKET_MAX_RECONNECTIONS = 12\n\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */\nconst WEBPACK_LAYERS_NAMES = {\n /**\n * The layer for the shared code between the client and server bundles.\n */\n shared: 'shared',\n /**\n * The layer for server-only runtime and picking up `react-server` export conditions.\n * Including app router RSC pages and app router custom routes and metadata routes.\n */\n reactServerComponents: 'rsc',\n /**\n * Server Side Rendering layer for app (ssr).\n */\n serverSideRendering: 'ssr',\n /**\n * The browser client bundle layer for actions.\n */\n actionBrowser: 'action-browser',\n /**\n * The Node.js bundle layer for the API routes.\n */\n apiNode: 'api-node',\n /**\n * The Edge Lite bundle layer for the API routes.\n */\n apiEdge: 'api-edge',\n /**\n * The layer for the middleware code.\n */\n middleware: 'middleware',\n /**\n * The layer for the instrumentation hooks.\n */\n instrument: 'instrument',\n /**\n * The layer for assets on the edge.\n */\n edgeAsset: 'edge-asset',\n /**\n * The browser client bundle layer for App directory.\n */\n appPagesBrowser: 'app-pages-browser',\n /**\n * The browser client bundle layer for Pages directory.\n */\n pagesDirBrowser: 'pages-dir-browser',\n /**\n * The Edge Lite bundle layer for Pages directory.\n */\n pagesDirEdge: 'pages-dir-edge',\n /**\n * The Node.js bundle layer for Pages directory.\n */\n pagesDirNode: 'pages-dir-node',\n} as const\n\nexport type WebpackLayerName =\n (typeof WEBPACK_LAYERS_NAMES)[keyof typeof WEBPACK_LAYERS_NAMES]\n\nconst WEBPACK_LAYERS = {\n ...WEBPACK_LAYERS_NAMES,\n GROUP: {\n builtinReact: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n serverOnly: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n neutralTarget: [\n // pages api\n WEBPACK_LAYERS_NAMES.apiNode,\n WEBPACK_LAYERS_NAMES.apiEdge,\n ],\n clientOnly: [\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n ],\n bundled: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.shared,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n appPages: [\n // app router pages and layouts\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n },\n}\n\nconst WEBPACK_RESOURCE_QUERIES = {\n edgeSSREntry: '__next_edge_ssr_entry__',\n metadata: '__next_metadata__',\n metadataRoute: '__next_metadata_route__',\n metadataImageMeta: '__next_metadata_image_meta__',\n}\n\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES }\n","import { NEXT_INTERCEPTION_MARKER_PREFIX, NEXT_QUERY_PARAM_PREFIX } from '../../lib/constants';\n/**\n * Converts a Node.js IncomingHttpHeaders object to a Headers object. Any\n * headers with multiple values will be joined with a comma and space. Any\n * headers that have an undefined value will be ignored and others will be\n * coerced to strings.\n *\n * @param nodeHeaders the headers object to convert\n * @returns the converted headers object\n */ export function fromNodeOutgoingHttpHeaders(nodeHeaders) {\n const headers = new Headers();\n for (let [key, value] of Object.entries(nodeHeaders)){\n const values = Array.isArray(value) ? value : [\n value\n ];\n for (let v of values){\n if (typeof v === 'undefined') continue;\n if (typeof v === 'number') {\n v = v.toString();\n }\n headers.append(key, v);\n }\n }\n return headers;\n}\n/*\n Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas\n that are within a single set-cookie field-value, such as in the Expires portion.\n This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2\n Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128\n React Native's fetch does this for *every* header, including set-cookie.\n \n Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25\n Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation\n*/ export function splitCookiesString(cookiesString) {\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while(pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))){\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== '=' && ch !== ';' && ch !== ',';\n }\n while(pos < cookiesString.length){\n start = pos;\n cookiesSeparatorFound = false;\n while(skipWhitespace()){\n ch = cookiesString.charAt(pos);\n if (ch === ',') {\n // ',' is a cookie separator if we have later first '=', not ';' or ','\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while(pos < cookiesString.length && notSpecialChar()){\n pos += 1;\n }\n // currently special character\n if (pos < cookiesString.length && cookiesString.charAt(pos) === '=') {\n // we found cookies separator\n cookiesSeparatorFound = true;\n // pos is inside the next cookie, so back up and return it.\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n // in param ',' or param separator ';',\n // we continue from that comma\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n/**\n * Converts a Headers object to a Node.js OutgoingHttpHeaders object. This is\n * required to support the set-cookie header, which may have multiple values.\n *\n * @param headers the headers object to convert\n * @returns the converted headers object\n */ export function toNodeOutgoingHttpHeaders(headers) {\n const nodeHeaders = {};\n const cookies = [];\n if (headers) {\n for (const [key, value] of headers.entries()){\n if (key.toLowerCase() === 'set-cookie') {\n // We may have gotten a comma joined string of cookies, or multiple\n // set-cookie headers. We need to merge them into one header array\n // to represent all the cookies.\n cookies.push(...splitCookiesString(value));\n nodeHeaders[key] = cookies.length === 1 ? cookies[0] : cookies;\n } else {\n nodeHeaders[key] = value;\n }\n }\n }\n return nodeHeaders;\n}\n/**\n * Validate the correctness of a user-provided URL.\n */ export function validateURL(url) {\n try {\n return String(new URL(String(url)));\n } catch (error) {\n throw Object.defineProperty(new Error(`URL is malformed \"${String(url)}\". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`, {\n cause: error\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E61\",\n enumerable: false,\n configurable: true\n });\n }\n}\n/**\n * Normalizes `nxtP` and `nxtI` query param values to remove the prefix.\n * This function does not mutate the input key.\n */ export function normalizeNextQueryParam(key) {\n const prefixes = [\n NEXT_QUERY_PARAM_PREFIX,\n NEXT_INTERCEPTION_MARKER_PREFIX\n ];\n for (const prefix of prefixes){\n if (key !== prefix && key.startsWith(prefix)) {\n return key.substring(prefix.length);\n }\n }\n return null;\n}\n\n//# sourceMappingURL=utils.js.map","export function detectDomainLocale(domainItems, hostname, detectedLocale) {\n if (!domainItems) return;\n if (detectedLocale) {\n detectedLocale = detectedLocale.toLowerCase();\n }\n for (const item of domainItems){\n // remove port if present\n const domainHostname = item.domain?.split(':', 1)[0].toLowerCase();\n if (hostname === domainHostname || detectedLocale === item.defaultLocale.toLowerCase() || item.locales?.some((locale)=>locale.toLowerCase() === detectedLocale)) {\n return item;\n }\n }\n}\n\n//# sourceMappingURL=detect-domain-locale.js.map","/**\n * Removes the trailing slash for a given route or page path. Preserves the\n * root page. Examples:\n * - `/foo/bar/` -> `/foo/bar`\n * - `/foo/bar` -> `/foo/bar`\n * - `/` -> `/`\n */ export function removeTrailingSlash(route) {\n return route.replace(/\\/$/, '') || '/';\n}\n\n//# sourceMappingURL=remove-trailing-slash.js.map","/**\n * Given a path this function will find the pathname, query and hash and return\n * them. This is useful to parse full paths on the client side.\n * @param path A path to parse e.g. /foo/bar?id=1#hash\n */\nexport function parsePath(path: string) {\n const hashIndex = path.indexOf('#')\n const queryIndex = path.indexOf('?')\n const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex)\n\n if (hasQuery || hashIndex > -1) {\n return {\n pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),\n query: hasQuery\n ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined)\n : '',\n hash: hashIndex > -1 ? path.slice(hashIndex) : '',\n }\n }\n\n return { pathname: path, query: '', hash: '' }\n}\n","import { parsePath } from './parse-path';\n/**\n * Adds the provided prefix to the given path. It first ensures that the path\n * is indeed starting with a slash.\n */ export function addPathPrefix(path, prefix) {\n if (!path.startsWith('/') || !prefix) {\n return path;\n }\n const { pathname, query, hash } = parsePath(path);\n return `${prefix}${pathname}${query}${hash}`;\n}\n\n//# sourceMappingURL=add-path-prefix.js.map","import { parsePath } from './parse-path';\n/**\n * Similarly to `addPathPrefix`, this function adds a suffix at the end on the\n * provided path. It also works only for paths ensuring the argument starts\n * with a slash.\n */ export function addPathSuffix(path, suffix) {\n if (!path.startsWith('/') || !suffix) {\n return path;\n }\n const { pathname, query, hash } = parsePath(path);\n return `${pathname}${suffix}${query}${hash}`;\n}\n\n//# sourceMappingURL=add-path-suffix.js.map","import { parsePath } from './parse-path'\n\n/**\n * Checks if a given path starts with a given prefix. It ensures it matches\n * exactly without containing extra chars. e.g. prefix /docs should replace\n * for /docs, /docs/, /docs/a but not /docsss\n * @param path The path to check.\n * @param prefix The prefix to check against.\n */\nexport function pathHasPrefix(path: string, prefix: string) {\n if (typeof path !== 'string') {\n return false\n }\n\n const { pathname } = parsePath(path)\n return pathname === prefix || pathname.startsWith(prefix + '/')\n}\n","import { removeTrailingSlash } from './remove-trailing-slash';\nimport { addPathPrefix } from './add-path-prefix';\nimport { addPathSuffix } from './add-path-suffix';\nimport { addLocale } from './add-locale';\nexport function formatNextPathnameInfo(info) {\n let pathname = addLocale(info.pathname, info.locale, info.buildId ? undefined : info.defaultLocale, info.ignorePrefix);\n if (info.buildId || !info.trailingSlash) {\n pathname = removeTrailingSlash(pathname);\n }\n if (info.buildId) {\n pathname = addPathSuffix(addPathPrefix(pathname, `/_next/data/${info.buildId}`), info.pathname === '/' ? 'index.json' : '.json');\n }\n pathname = addPathPrefix(pathname, info.basePath);\n return !info.buildId && info.trailingSlash ? !pathname.endsWith('/') ? addPathSuffix(pathname, '/') : pathname : removeTrailingSlash(pathname);\n}\n\n//# sourceMappingURL=format-next-pathname-info.js.map","/**\n * A cache of lowercased locales for each list of locales. This is stored as a\n * WeakMap so if the locales are garbage collected, the cache entry will be\n * removed as well.\n */ const cache = new WeakMap();\n/**\n * For a pathname that may include a locale from a list of locales, it\n * removes the locale from the pathname returning it alongside with the\n * detected locale.\n *\n * @param pathname A pathname that may include a locale.\n * @param locales A list of locales.\n * @returns The detected locale and pathname without locale\n */ export function normalizeLocalePath(pathname, locales) {\n // If locales is undefined, return the pathname as is.\n if (!locales) return {\n pathname\n };\n // Get the cached lowercased locales or create a new cache entry.\n let lowercasedLocales = cache.get(locales);\n if (!lowercasedLocales) {\n lowercasedLocales = locales.map((locale)=>locale.toLowerCase());\n cache.set(locales, lowercasedLocales);\n }\n let detectedLocale;\n // The first segment will be empty, because it has a leading `/`. If\n // there is no further segment, there is no locale (or it's the default).\n const segments = pathname.split('/', 2);\n // If there's no second segment (ie, the pathname is just `/`), there's no\n // locale.\n if (!segments[1]) return {\n pathname\n };\n // The second segment will contain the locale part if any.\n const segment = segments[1].toLowerCase();\n // See if the segment matches one of the locales. If it doesn't, there is\n // no locale (or it's the default).\n const index = lowercasedLocales.indexOf(segment);\n if (index < 0) return {\n pathname\n };\n // Return the case-sensitive locale.\n detectedLocale = locales[index];\n // Remove the `/${locale}` part of the pathname.\n pathname = pathname.slice(detectedLocale.length + 1) || '/';\n return {\n pathname,\n detectedLocale\n };\n}\n\n//# sourceMappingURL=normalize-locale-path.js.map","import { addPathPrefix } from './add-path-prefix';\nimport { pathHasPrefix } from './path-has-prefix';\n/**\n * For a given path and a locale, if the locale is given, it will prefix the\n * locale. The path shouldn't be an API path. If a default locale is given the\n * prefix will be omitted if the locale is already the default locale.\n */ export function addLocale(path, locale, defaultLocale, ignorePrefix) {\n // If no locale was given or the locale is the default locale, we don't need\n // to prefix the path.\n if (!locale || locale === defaultLocale) return path;\n const lower = path.toLowerCase();\n // If the path is an API path or the path already has the locale prefix, we\n // don't need to prefix the path.\n if (!ignorePrefix) {\n if (pathHasPrefix(lower, '/api')) return path;\n if (pathHasPrefix(lower, `/${locale.toLowerCase()}`)) return path;\n }\n // Add the locale prefix to the path.\n return addPathPrefix(path, `/${locale}`);\n}\n\n//# sourceMappingURL=add-locale.js.map","/**\n * Takes an object with a hostname property (like a parsed URL) and some\n * headers that may contain Host and returns the preferred hostname.\n * @param parsed An object containing a hostname property.\n * @param headers A dictionary with headers containing a `host`.\n */ export function getHostname(parsed, headers) {\n // Get the hostname from the headers if it exists, otherwise use the parsed\n // hostname.\n let hostname;\n if (headers?.host && !Array.isArray(headers.host)) {\n hostname = headers.host.toString().split(':', 1)[0];\n } else if (parsed.hostname) {\n hostname = parsed.hostname;\n } else return;\n return hostname.toLowerCase();\n}\n\n//# sourceMappingURL=get-hostname.js.map","import { pathHasPrefix } from './path-has-prefix'\n\n/**\n * Given a path and a prefix it will remove the prefix when it exists in the\n * given path. It ensures it matches exactly without containing extra chars\n * and if the prefix is not there it will be noop.\n *\n * @param path The path to remove the prefix from.\n * @param prefix The prefix to be removed.\n */\nexport function removePathPrefix(path: string, prefix: string): string {\n // If the path doesn't start with the prefix we can return it as is. This\n // protects us from situations where the prefix is a substring of the path\n // prefix such as:\n //\n // For prefix: /blog\n //\n // /blog -> true\n // /blog/ -> true\n // /blog/1 -> true\n // /blogging -> false\n // /blogging/ -> false\n // /blogging/1 -> false\n if (!pathHasPrefix(path, prefix)) {\n return path\n }\n\n // Remove the prefix from the path via slicing.\n const withoutPrefix = path.slice(prefix.length)\n\n // If the path without the prefix starts with a `/` we can return it as is.\n if (withoutPrefix.startsWith('/')) {\n return withoutPrefix\n }\n\n // If the path without the prefix doesn't start with a `/` we need to add it\n // back to the path to make sure it's a valid path.\n return `/${withoutPrefix}`\n}\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n RequestCookies: () => RequestCookies,\n ResponseCookies: () => ResponseCookies,\n parseCookie: () => parseCookie,\n parseSetCookie: () => parseSetCookie,\n stringifyCookie: () => stringifyCookie\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/serialize.ts\nfunction stringifyCookie(c) {\n var _a;\n const attrs = [\n \"path\" in c && c.path && `Path=${c.path}`,\n \"expires\" in c && (c.expires || c.expires === 0) && `Expires=${(typeof c.expires === \"number\" ? new Date(c.expires) : c.expires).toUTCString()}`,\n \"maxAge\" in c && typeof c.maxAge === \"number\" && `Max-Age=${c.maxAge}`,\n \"domain\" in c && c.domain && `Domain=${c.domain}`,\n \"secure\" in c && c.secure && \"Secure\",\n \"httpOnly\" in c && c.httpOnly && \"HttpOnly\",\n \"sameSite\" in c && c.sameSite && `SameSite=${c.sameSite}`,\n \"partitioned\" in c && c.partitioned && \"Partitioned\",\n \"priority\" in c && c.priority && `Priority=${c.priority}`\n ].filter(Boolean);\n const stringified = `${c.name}=${encodeURIComponent((_a = c.value) != null ? _a : \"\")}`;\n return attrs.length === 0 ? stringified : `${stringified}; ${attrs.join(\"; \")}`;\n}\nfunction parseCookie(cookie) {\n const map = /* @__PURE__ */ new Map();\n for (const pair of cookie.split(/; */)) {\n if (!pair)\n continue;\n const splitAt = pair.indexOf(\"=\");\n if (splitAt === -1) {\n map.set(pair, \"true\");\n continue;\n }\n const [key, value] = [pair.slice(0, splitAt), pair.slice(splitAt + 1)];\n try {\n map.set(key, decodeURIComponent(value != null ? value : \"true\"));\n } catch {\n }\n }\n return map;\n}\nfunction parseSetCookie(setCookie) {\n if (!setCookie) {\n return void 0;\n }\n const [[name, value], ...attributes] = parseCookie(setCookie);\n const {\n domain,\n expires,\n httponly,\n maxage,\n path,\n samesite,\n secure,\n partitioned,\n priority\n } = Object.fromEntries(\n attributes.map(([key, value2]) => [\n key.toLowerCase().replace(/-/g, \"\"),\n value2\n ])\n );\n const cookie = {\n name,\n value: decodeURIComponent(value),\n domain,\n ...expires && { expires: new Date(expires) },\n ...httponly && { httpOnly: true },\n ...typeof maxage === \"string\" && { maxAge: Number(maxage) },\n path,\n ...samesite && { sameSite: parseSameSite(samesite) },\n ...secure && { secure: true },\n ...priority && { priority: parsePriority(priority) },\n ...partitioned && { partitioned: true }\n };\n return compact(cookie);\n}\nfunction compact(t) {\n const newT = {};\n for (const key in t) {\n if (t[key]) {\n newT[key] = t[key];\n }\n }\n return newT;\n}\nvar SAME_SITE = [\"strict\", \"lax\", \"none\"];\nfunction parseSameSite(string) {\n string = string.toLowerCase();\n return SAME_SITE.includes(string) ? string : void 0;\n}\nvar PRIORITY = [\"low\", \"medium\", \"high\"];\nfunction parsePriority(string) {\n string = string.toLowerCase();\n return PRIORITY.includes(string) ? string : void 0;\n}\nfunction splitCookiesString(cookiesString) {\n if (!cookiesString)\n return [];\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while (pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))) {\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== \"=\" && ch !== \";\" && ch !== \",\";\n }\n while (pos < cookiesString.length) {\n start = pos;\n cookiesSeparatorFound = false;\n while (skipWhitespace()) {\n ch = cookiesString.charAt(pos);\n if (ch === \",\") {\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while (pos < cookiesString.length && notSpecialChar()) {\n pos += 1;\n }\n if (pos < cookiesString.length && cookiesString.charAt(pos) === \"=\") {\n cookiesSeparatorFound = true;\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n\n// src/request-cookies.ts\nvar RequestCookies = class {\n constructor(requestHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n this._headers = requestHeaders;\n const header = requestHeaders.get(\"cookie\");\n if (header) {\n const parsed = parseCookie(header);\n for (const [name, value] of parsed) {\n this._parsed.set(name, { name, value });\n }\n }\n }\n [Symbol.iterator]() {\n return this._parsed[Symbol.iterator]();\n }\n /**\n * The amount of cookies received from the client\n */\n get size() {\n return this._parsed.size;\n }\n get(...args) {\n const name = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(name);\n }\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed);\n if (!args.length) {\n return all.map(([_, value]) => value);\n }\n const name = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter(([n]) => n === name).map(([_, value]) => value);\n }\n has(name) {\n return this._parsed.has(name);\n }\n set(...args) {\n const [name, value] = args.length === 1 ? [args[0].name, args[0].value] : args;\n const map = this._parsed;\n map.set(name, { name, value });\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value2]) => stringifyCookie(value2)).join(\"; \")\n );\n return this;\n }\n /**\n * Delete the cookies matching the passed name or names in the request.\n */\n delete(names) {\n const map = this._parsed;\n const result = !Array.isArray(names) ? map.delete(names) : names.map((name) => map.delete(name));\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value]) => stringifyCookie(value)).join(\"; \")\n );\n return result;\n }\n /**\n * Delete all the cookies in the cookies in the request.\n */\n clear() {\n this.delete(Array.from(this._parsed.keys()));\n return this;\n }\n /**\n * Format the cookies in the request as a string for logging\n */\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map((v) => `${v.name}=${encodeURIComponent(v.value)}`).join(\"; \");\n }\n};\n\n// src/response-cookies.ts\nvar ResponseCookies = class {\n constructor(responseHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n var _a, _b, _c;\n this._headers = responseHeaders;\n const setCookie = (_c = (_b = (_a = responseHeaders.getSetCookie) == null ? void 0 : _a.call(responseHeaders)) != null ? _b : responseHeaders.get(\"set-cookie\")) != null ? _c : [];\n const cookieStrings = Array.isArray(setCookie) ? setCookie : splitCookiesString(setCookie);\n for (const cookieString of cookieStrings) {\n const parsed = parseSetCookie(cookieString);\n if (parsed)\n this._parsed.set(parsed.name, parsed);\n }\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-get CookieStore#get} without the Promise.\n */\n get(...args) {\n const key = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(key);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-getAll CookieStore#getAll} without the Promise.\n */\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed.values());\n if (!args.length) {\n return all;\n }\n const key = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter((c) => c.name === key);\n }\n has(name) {\n return this._parsed.has(name);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.\n */\n set(...args) {\n const [name, value, cookie] = args.length === 1 ? [args[0].name, args[0].value, args[0]] : args;\n const map = this._parsed;\n map.set(name, normalizeCookie({ name, value, ...cookie }));\n replace(map, this._headers);\n return this;\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.\n */\n delete(...args) {\n const [name, options] = typeof args[0] === \"string\" ? [args[0]] : [args[0].name, args[0]];\n return this.set({ ...options, name, value: \"\", expires: /* @__PURE__ */ new Date(0) });\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map(stringifyCookie).join(\"; \");\n }\n};\nfunction replace(bag, headers) {\n headers.delete(\"set-cookie\");\n for (const [, value] of bag) {\n const serialized = stringifyCookie(value);\n headers.append(\"set-cookie\", serialized);\n }\n}\nfunction normalizeCookie(cookie = { name: \"\", value: \"\" }) {\n if (typeof cookie.expires === \"number\") {\n cookie.expires = new Date(cookie.expires);\n }\n if (cookie.maxAge) {\n cookie.expires = new Date(Date.now() + cookie.maxAge * 1e3);\n }\n if (cookie.path === null || cookie.path === void 0) {\n cookie.path = \"/\";\n }\n return cookie;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n RequestCookies,\n ResponseCookies,\n parseCookie,\n parseSetCookie,\n stringifyCookie\n});\n","import { normalizeLocalePath } from '../../i18n/normalize-locale-path';\nimport { removePathPrefix } from './remove-path-prefix';\nimport { pathHasPrefix } from './path-has-prefix';\nexport function getNextPathnameInfo(pathname, options) {\n const { basePath, i18n, trailingSlash } = options.nextConfig ?? {};\n const info = {\n pathname,\n trailingSlash: pathname !== '/' ? pathname.endsWith('/') : trailingSlash\n };\n if (basePath && pathHasPrefix(info.pathname, basePath)) {\n info.pathname = removePathPrefix(info.pathname, basePath);\n info.basePath = basePath;\n }\n let pathnameNoDataPrefix = info.pathname;\n if (info.pathname.startsWith('/_next/data/') && info.pathname.endsWith('.json')) {\n const paths = info.pathname.replace(/^\\/_next\\/data\\//, '').replace(/\\.json$/, '').split('/');\n const buildId = paths[0];\n info.buildId = buildId;\n pathnameNoDataPrefix = paths[1] !== 'index' ? `/${paths.slice(1).join('/')}` : '/';\n // update pathname with normalized if enabled although\n // we use normalized to populate locale info still\n if (options.parseData === true) {\n info.pathname = pathnameNoDataPrefix;\n }\n }\n // If provided, use the locale route normalizer to detect the locale instead\n // of the function below.\n if (i18n) {\n let result = options.i18nProvider ? options.i18nProvider.analyze(info.pathname) : normalizeLocalePath(info.pathname, i18n.locales);\n info.locale = result.detectedLocale;\n info.pathname = result.pathname ?? info.pathname;\n if (!result.detectedLocale && info.buildId) {\n result = options.i18nProvider ? options.i18nProvider.analyze(pathnameNoDataPrefix) : normalizeLocalePath(pathnameNoDataPrefix, i18n.locales);\n if (result.detectedLocale) {\n info.locale = result.detectedLocale;\n }\n }\n }\n return info;\n}\n\n//# sourceMappingURL=get-next-pathname-info.js.map","import { detectDomainLocale } from '../../shared/lib/i18n/detect-domain-locale';\nimport { formatNextPathnameInfo } from '../../shared/lib/router/utils/format-next-pathname-info';\nimport { getHostname } from '../../shared/lib/get-hostname';\nimport { getNextPathnameInfo } from '../../shared/lib/router/utils/get-next-pathname-info';\nconst REGEX_LOCALHOST_HOSTNAME = /(?!^https?:\\/\\/)(127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\\[::1\\]|localhost)/;\nfunction parseURL(url, base) {\n return new URL(String(url).replace(REGEX_LOCALHOST_HOSTNAME, 'localhost'), base && String(base).replace(REGEX_LOCALHOST_HOSTNAME, 'localhost'));\n}\nconst Internal = Symbol('NextURLInternal');\nexport class NextURL {\n constructor(input, baseOrOpts, opts){\n let base;\n let options;\n if (typeof baseOrOpts === 'object' && 'pathname' in baseOrOpts || typeof baseOrOpts === 'string') {\n base = baseOrOpts;\n options = opts || {};\n } else {\n options = opts || baseOrOpts || {};\n }\n this[Internal] = {\n url: parseURL(input, base ?? options.base),\n options: options,\n basePath: ''\n };\n this.analyze();\n }\n analyze() {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig, _this_Internal_domainLocale, _this_Internal_options_nextConfig_i18n1, _this_Internal_options_nextConfig1;\n const info = getNextPathnameInfo(this[Internal].url.pathname, {\n nextConfig: this[Internal].options.nextConfig,\n parseData: !process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,\n i18nProvider: this[Internal].options.i18nProvider\n });\n const hostname = getHostname(this[Internal].url, this[Internal].options.headers);\n this[Internal].domainLocale = this[Internal].options.i18nProvider ? this[Internal].options.i18nProvider.detectDomainLocale(hostname) : detectDomainLocale((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.domains, hostname);\n const defaultLocale = ((_this_Internal_domainLocale = this[Internal].domainLocale) == null ? void 0 : _this_Internal_domainLocale.defaultLocale) || ((_this_Internal_options_nextConfig1 = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n1 = _this_Internal_options_nextConfig1.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n1.defaultLocale);\n this[Internal].url.pathname = info.pathname;\n this[Internal].defaultLocale = defaultLocale;\n this[Internal].basePath = info.basePath ?? '';\n this[Internal].buildId = info.buildId;\n this[Internal].locale = info.locale ?? defaultLocale;\n this[Internal].trailingSlash = info.trailingSlash;\n }\n formatPathname() {\n return formatNextPathnameInfo({\n basePath: this[Internal].basePath,\n buildId: this[Internal].buildId,\n defaultLocale: !this[Internal].options.forceLocale ? this[Internal].defaultLocale : undefined,\n locale: this[Internal].locale,\n pathname: this[Internal].url.pathname,\n trailingSlash: this[Internal].trailingSlash\n });\n }\n formatSearch() {\n return this[Internal].url.search;\n }\n get buildId() {\n return this[Internal].buildId;\n }\n set buildId(buildId) {\n this[Internal].buildId = buildId;\n }\n get locale() {\n return this[Internal].locale ?? '';\n }\n set locale(locale) {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig;\n if (!this[Internal].locale || !((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.locales.includes(locale))) {\n throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale \"${locale}\"`), \"__NEXT_ERROR_CODE\", {\n value: \"E597\",\n enumerable: false,\n configurable: true\n });\n }\n this[Internal].locale = locale;\n }\n get defaultLocale() {\n return this[Internal].defaultLocale;\n }\n get domainLocale() {\n return this[Internal].domainLocale;\n }\n get searchParams() {\n return this[Internal].url.searchParams;\n }\n get host() {\n return this[Internal].url.host;\n }\n set host(value) {\n this[Internal].url.host = value;\n }\n get hostname() {\n return this[Internal].url.hostname;\n }\n set hostname(value) {\n this[Internal].url.hostname = value;\n }\n get port() {\n return this[Internal].url.port;\n }\n set port(value) {\n this[Internal].url.port = value;\n }\n get protocol() {\n return this[Internal].url.protocol;\n }\n set protocol(value) {\n this[Internal].url.protocol = value;\n }\n get href() {\n const pathname = this.formatPathname();\n const search = this.formatSearch();\n return `${this.protocol}//${this.host}${pathname}${search}${this.hash}`;\n }\n set href(url) {\n this[Internal].url = parseURL(url);\n this.analyze();\n }\n get origin() {\n return this[Internal].url.origin;\n }\n get pathname() {\n return this[Internal].url.pathname;\n }\n set pathname(value) {\n this[Internal].url.pathname = value;\n }\n get hash() {\n return this[Internal].url.hash;\n }\n set hash(value) {\n this[Internal].url.hash = value;\n }\n get search() {\n return this[Internal].url.search;\n }\n set search(value) {\n this[Internal].url.search = value;\n }\n get password() {\n return this[Internal].url.password;\n }\n set password(value) {\n this[Internal].url.password = value;\n }\n get username() {\n return this[Internal].url.username;\n }\n set username(value) {\n this[Internal].url.username = value;\n }\n get basePath() {\n return this[Internal].basePath;\n }\n set basePath(value) {\n this[Internal].basePath = value.startsWith('/') ? value : `/${value}`;\n }\n toString() {\n return this.href;\n }\n toJSON() {\n return this.href;\n }\n [Symbol.for('edge-runtime.inspect.custom')]() {\n return {\n href: this.href,\n origin: this.origin,\n protocol: this.protocol,\n username: this.username,\n password: this.password,\n host: this.host,\n hostname: this.hostname,\n port: this.port,\n pathname: this.pathname,\n search: this.search,\n searchParams: this.searchParams,\n hash: this.hash\n };\n }\n clone() {\n return new NextURL(String(this), this[Internal].options);\n }\n}\n\n//# sourceMappingURL=next-url.js.map","export { RequestCookies, ResponseCookies, stringifyCookie } from 'next/dist/compiled/@edge-runtime/cookies';\n\n//# sourceMappingURL=cookies.js.map","import { getRequestMeta } from '../../../request-meta';\nimport { fromNodeOutgoingHttpHeaders } from '../../utils';\nimport { NextRequest } from '../request';\nimport { isNodeNextRequest, isWebNextRequest } from '../../../base-http/helpers';\nexport const ResponseAbortedName = 'ResponseAborted';\nexport class ResponseAborted extends Error {\n constructor(...args){\n super(...args), this.name = ResponseAbortedName;\n }\n}\n/**\n * Creates an AbortController tied to the closing of a ServerResponse (or other\n * appropriate Writable).\n *\n * If the `close` event is fired before the `finish` event, then we'll send the\n * `abort` signal.\n */ export function createAbortController(response) {\n const controller = new AbortController();\n // If `finish` fires first, then `res.end()` has been called and the close is\n // just us finishing the stream on our side. If `close` fires first, then we\n // know the client disconnected before we finished.\n response.once('close', ()=>{\n if (response.writableFinished) return;\n controller.abort(new ResponseAborted());\n });\n return controller;\n}\n/**\n * Creates an AbortSignal tied to the closing of a ServerResponse (or other\n * appropriate Writable).\n *\n * This cannot be done with the request (IncomingMessage or Readable) because\n * the `abort` event will not fire if to data has been fully read (because that\n * will \"close\" the readable stream and nothing fires after that).\n */ export function signalFromNodeResponse(response) {\n const { errored, destroyed } = response;\n if (errored || destroyed) {\n return AbortSignal.abort(errored ?? new ResponseAborted());\n }\n const { signal } = createAbortController(response);\n return signal;\n}\nexport class NextRequestAdapter {\n static fromBaseNextRequest(request, signal) {\n if (// The type check here ensures that `req` is correctly typed, and the\n // environment variable check provides dead code elimination.\n process.env.NEXT_RUNTIME === 'edge' && isWebNextRequest(request)) {\n return NextRequestAdapter.fromWebNextRequest(request);\n } else if (// The type check here ensures that `req` is correctly typed, and the\n // environment variable check provides dead code elimination.\n process.env.NEXT_RUNTIME !== 'edge' && isNodeNextRequest(request)) {\n return NextRequestAdapter.fromNodeNextRequest(request, signal);\n } else {\n throw Object.defineProperty(new Error('Invariant: Unsupported NextRequest type'), \"__NEXT_ERROR_CODE\", {\n value: \"E345\",\n enumerable: false,\n configurable: true\n });\n }\n }\n static fromNodeNextRequest(request, signal) {\n // HEAD and GET requests can not have a body.\n let body = null;\n if (request.method !== 'GET' && request.method !== 'HEAD' && request.body) {\n // @ts-expect-error - this is handled by undici, when streams/web land use it instead\n body = request.body;\n }\n let url;\n if (request.url.startsWith('http')) {\n url = new URL(request.url);\n } else {\n // Grab the full URL from the request metadata.\n const base = getRequestMeta(request, 'initURL');\n if (!base || !base.startsWith('http')) {\n // Because the URL construction relies on the fact that the URL provided\n // is absolute, we need to provide a base URL. We can't use the request\n // URL because it's relative, so we use a dummy URL instead.\n url = new URL(request.url, 'http://n');\n } else {\n url = new URL(request.url, base);\n }\n }\n return new NextRequest(url, {\n method: request.method,\n headers: fromNodeOutgoingHttpHeaders(request.headers),\n duplex: 'half',\n signal,\n // geo\n // ip\n // nextConfig\n // body can not be passed if request was aborted\n // or we get a Request body was disturbed error\n ...signal.aborted ? {} : {\n body\n }\n });\n }\n static fromWebNextRequest(request) {\n // HEAD and GET requests can not have a body.\n let body = null;\n if (request.method !== 'GET' && request.method !== 'HEAD') {\n body = request.body;\n }\n return new NextRequest(request.url, {\n method: request.method,\n headers: fromNodeOutgoingHttpHeaders(request.headers),\n duplex: 'half',\n signal: request.request.signal,\n // geo\n // ip\n // nextConfig\n // body can not be passed if request was aborted\n // or we get a Request body was disturbed error\n ...request.request.signal.aborted ? {} : {\n body\n }\n });\n }\n}\n\n//# sourceMappingURL=next-request.js.map","// Combined load times for loading client components\nlet clientComponentLoadStart = 0;\nlet clientComponentLoadTimes = 0;\nlet clientComponentLoadCount = 0;\nexport function wrapClientComponentLoader(ComponentMod) {\n if (!('performance' in globalThis)) {\n return ComponentMod.__next_app__;\n }\n return {\n require: (...args)=>{\n const startTime = performance.now();\n if (clientComponentLoadStart === 0) {\n clientComponentLoadStart = startTime;\n }\n try {\n clientComponentLoadCount += 1;\n return ComponentMod.__next_app__.require(...args);\n } finally{\n clientComponentLoadTimes += performance.now() - startTime;\n }\n },\n loadChunk: (...args)=>{\n const startTime = performance.now();\n const result = ComponentMod.__next_app__.loadChunk(...args);\n // Avoid wrapping `loadChunk`'s result in an extra promise in case something like React depends on its identity.\n // We only need to know when it's settled.\n result.finally(()=>{\n clientComponentLoadTimes += performance.now() - startTime;\n });\n return result;\n }\n };\n}\nexport function getClientComponentLoaderMetrics(options = {}) {\n const metrics = clientComponentLoadStart === 0 ? undefined : {\n clientComponentLoadStart,\n clientComponentLoadTimes,\n clientComponentLoadCount\n };\n if (options.reset) {\n clientComponentLoadStart = 0;\n clientComponentLoadTimes = 0;\n clientComponentLoadCount = 0;\n }\n return metrics;\n}\n\n//# sourceMappingURL=client-component-renderer-logger.js.map","export class PageSignatureError extends Error {\n constructor({ page }){\n super(`The middleware \"${page}\" accepts an async API directly with the form:\n \n export function middleware(request, event) {\n return NextResponse.redirect('/new-location')\n }\n \n Read more: https://nextjs.org/docs/messages/middleware-new-signature\n `);\n }\n}\nexport class RemovedPageError extends Error {\n constructor(){\n super(`The request.page has been deprecated in favour of \\`URLPattern\\`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n `);\n }\n}\nexport class RemovedUAError extends Error {\n constructor(){\n super(`The request.ua has been removed in favour of \\`userAgent\\` function.\n Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n `);\n }\n}\n\n//# sourceMappingURL=error.js.map","import { ResponseAbortedName, createAbortController } from './web/spec-extension/adapters/next-request';\nimport { DetachedPromise } from '../lib/detached-promise';\nimport { getTracer } from './lib/trace/tracer';\nimport { NextNodeServerSpan } from './lib/trace/constants';\nimport { getClientComponentLoaderMetrics } from './client-component-renderer-logger';\nexport function isAbortError(e) {\n return (e == null ? void 0 : e.name) === 'AbortError' || (e == null ? void 0 : e.name) === ResponseAbortedName;\n}\nfunction createWriterFromResponse(res, waitUntilForEnd) {\n let started = false;\n // Create a promise that will resolve once the response has drained. See\n // https://nodejs.org/api/stream.html#stream_event_drain\n let drained = new DetachedPromise();\n function onDrain() {\n drained.resolve();\n }\n res.on('drain', onDrain);\n // If the finish event fires, it means we shouldn't block and wait for the\n // drain event.\n res.once('close', ()=>{\n res.off('drain', onDrain);\n drained.resolve();\n });\n // Create a promise that will resolve once the response has finished. See\n // https://nodejs.org/api/http.html#event-finish_1\n const finished = new DetachedPromise();\n res.once('finish', ()=>{\n finished.resolve();\n });\n // Create a writable stream that will write to the response.\n return new WritableStream({\n write: async (chunk)=>{\n // You'd think we'd want to use `start` instead of placing this in `write`\n // but this ensures that we don't actually flush the headers until we've\n // started writing chunks.\n if (!started) {\n started = true;\n if ('performance' in globalThis && process.env.NEXT_OTEL_PERFORMANCE_PREFIX) {\n const metrics = getClientComponentLoaderMetrics();\n if (metrics) {\n performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`, {\n start: metrics.clientComponentLoadStart,\n end: metrics.clientComponentLoadStart + metrics.clientComponentLoadTimes\n });\n }\n }\n res.flushHeaders();\n getTracer().trace(NextNodeServerSpan.startResponse, {\n spanName: 'start response'\n }, ()=>undefined);\n }\n try {\n const ok = res.write(chunk);\n // Added by the `compression` middleware, this is a function that will\n // flush the partially-compressed response to the client.\n if ('flush' in res && typeof res.flush === 'function') {\n res.flush();\n }\n // If the write returns false, it means there's some backpressure, so\n // wait until it's streamed before continuing.\n if (!ok) {\n await drained.promise;\n // Reset the drained promise so that we can wait for the next drain event.\n drained = new DetachedPromise();\n }\n } catch (err) {\n res.end();\n throw Object.defineProperty(new Error('failed to write chunk to response', {\n cause: err\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E321\",\n enumerable: false,\n configurable: true\n });\n }\n },\n abort: (err)=>{\n if (res.writableFinished) return;\n res.destroy(err);\n },\n close: async ()=>{\n // if a waitUntil promise was passed, wait for it to resolve before\n // ending the response.\n if (waitUntilForEnd) {\n await waitUntilForEnd;\n }\n if (res.writableFinished) return;\n res.end();\n return finished.promise;\n }\n });\n}\nexport async function pipeToNodeResponse(readable, res, waitUntilForEnd) {\n try {\n // If the response has already errored, then just return now.\n const { errored, destroyed } = res;\n if (errored || destroyed) return;\n // Create a new AbortController so that we can abort the readable if the\n // client disconnects.\n const controller = createAbortController(res);\n const writer = createWriterFromResponse(res, waitUntilForEnd);\n await readable.pipeTo(writer, {\n signal: controller.signal\n });\n } catch (err) {\n // If this isn't related to an abort error, re-throw it.\n if (isAbortError(err)) return;\n throw Object.defineProperty(new Error('failed to pipe response', {\n cause: err\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E180\",\n enumerable: false,\n configurable: true\n });\n }\n}\n\n//# sourceMappingURL=pipe-readable.js.map","import { NextURL } from '../next-url';\nimport { toNodeOutgoingHttpHeaders, validateURL } from '../utils';\nimport { RemovedUAError, RemovedPageError } from '../error';\nimport { RequestCookies } from './cookies';\nexport const INTERNALS = Symbol('internal request');\n/**\n * This class extends the [Web `Request` API](https://developer.mozilla.org/docs/Web/API/Request) with additional convenience methods.\n *\n * Read more: [Next.js Docs: `NextRequest`](https://nextjs.org/docs/app/api-reference/functions/next-request)\n */ export class NextRequest extends Request {\n constructor(input, init = {}){\n const url = typeof input !== 'string' && 'url' in input ? input.url : String(input);\n validateURL(url);\n // node Request instance requires duplex option when a body\n // is present or it errors, we don't handle this for\n // Request being passed in since it would have already\n // errored if this wasn't configured\n if (process.env.NEXT_RUNTIME !== 'edge') {\n if (init.body && init.duplex !== 'half') {\n init.duplex = 'half';\n }\n }\n if (input instanceof Request) super(input, init);\n else super(url, init);\n const nextUrl = new NextURL(url, {\n headers: toNodeOutgoingHttpHeaders(this.headers),\n nextConfig: init.nextConfig\n });\n this[INTERNALS] = {\n cookies: new RequestCookies(this.headers),\n nextUrl,\n url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? url : nextUrl.toString()\n };\n }\n [Symbol.for('edge-runtime.inspect.custom')]() {\n return {\n cookies: this.cookies,\n nextUrl: this.nextUrl,\n url: this.url,\n // rest of props come from Request\n bodyUsed: this.bodyUsed,\n cache: this.cache,\n credentials: this.credentials,\n destination: this.destination,\n headers: Object.fromEntries(this.headers),\n integrity: this.integrity,\n keepalive: this.keepalive,\n method: this.method,\n mode: this.mode,\n redirect: this.redirect,\n referrer: this.referrer,\n referrerPolicy: this.referrerPolicy,\n signal: this.signal\n };\n }\n get cookies() {\n return this[INTERNALS].cookies;\n }\n get nextUrl() {\n return this[INTERNALS].nextUrl;\n }\n /**\n * @deprecated\n * `page` has been deprecated in favour of `URLPattern`.\n * Read more: https://nextjs.org/docs/messages/middleware-request-page\n */ get page() {\n throw new RemovedPageError();\n }\n /**\n * @deprecated\n * `ua` has been removed in favour of \\`userAgent\\` function.\n * Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n */ get ua() {\n throw new RemovedUAError();\n }\n get url() {\n return this[INTERNALS].url;\n }\n}\n\n//# sourceMappingURL=request.js.map","/**\n * This file provides some helpers that should be used in conjunction with\n * explicit environment checks. When combined with the environment checks, it\n * will ensure that the correct typings are used as well as enable code\n * elimination.\n */ /**\n * Type guard to determine if a request is a WebNextRequest. This does not\n * actually check the type of the request, but rather the runtime environment.\n * It's expected that when the runtime environment is the edge runtime, that any\n * base request is a WebNextRequest.\n */ export const isWebNextRequest = (req)=>process.env.NEXT_RUNTIME === 'edge';\n/**\n * Type guard to determine if a response is a WebNextResponse. This does not\n * actually check the type of the response, but rather the runtime environment.\n * It's expected that when the runtime environment is the edge runtime, that any\n * base response is a WebNextResponse.\n */ export const isWebNextResponse = (res)=>process.env.NEXT_RUNTIME === 'edge';\n/**\n * Type guard to determine if a request is a NodeNextRequest. This does not\n * actually check the type of the request, but rather the runtime environment.\n * It's expected that when the runtime environment is the node runtime, that any\n * base request is a NodeNextRequest.\n */ export const isNodeNextRequest = (req)=>process.env.NEXT_RUNTIME !== 'edge';\n/**\n * Type guard to determine if a response is a NodeNextResponse. This does not\n * actually check the type of the response, but rather the runtime environment.\n * It's expected that when the runtime environment is the node runtime, that any\n * base response is a NodeNextResponse.\n */ export const isNodeNextResponse = (res)=>process.env.NEXT_RUNTIME !== 'edge';\n\n//# sourceMappingURL=helpers.js.map","export enum RedirectStatusCode {\n SeeOther = 303,\n TemporaryRedirect = 307,\n PermanentRedirect = 308,\n}\n","import type { SchedulerFn } from './scheduler'\n\nimport { DetachedPromise } from './detached-promise'\n\ntype CacheKeyFn = (\n key: K\n) => PromiseLike | C\n\ntype BatcherOptions = {\n cacheKeyFn?: CacheKeyFn\n schedulerFn?: SchedulerFn\n}\n\ntype WorkFnContext = {\n resolve: (value: V | PromiseLike) => void\n key: K\n}\n\ntype WorkFn = (context: WorkFnContext) => Promise\n\n/**\n * A wrapper for a function that will only allow one call to the function to\n * execute at a time.\n */\nexport class Batcher {\n private readonly pending = new Map>()\n\n protected constructor(\n private readonly cacheKeyFn?: CacheKeyFn,\n /**\n * A function that will be called to schedule the wrapped function to be\n * executed. This defaults to a function that will execute the function\n * immediately.\n */\n private readonly schedulerFn: SchedulerFn = (fn) => fn()\n ) {}\n\n /**\n * Creates a new instance of PendingWrapper. If the key extends a string or\n * number, the key will be used as the cache key. If the key is an object, a\n * cache key function must be provided.\n */\n public static create(\n options?: BatcherOptions\n ): Batcher\n public static create(\n options: BatcherOptions &\n Required, 'cacheKeyFn'>>\n ): Batcher\n public static create(\n options?: BatcherOptions\n ): Batcher {\n return new Batcher(options?.cacheKeyFn, options?.schedulerFn)\n }\n\n /**\n * Wraps a function in a promise that will be resolved or rejected only once\n * for a given key. This will allow multiple calls to the function to be\n * made, but only one will be executed at a time. The result of the first\n * call will be returned to all callers.\n *\n * @param key the key to use for the cache\n * @param fn the function to wrap\n * @returns a promise that resolves to the result of the function\n */\n public async batch(key: K, fn: WorkFn): Promise {\n const cacheKey = (this.cacheKeyFn ? await this.cacheKeyFn(key) : key) as C\n if (cacheKey === null) {\n return fn({ resolve: (value) => Promise.resolve(value), key })\n }\n\n const pending = this.pending.get(cacheKey)\n if (pending) return pending\n\n const { promise, resolve, reject } = new DetachedPromise()\n this.pending.set(cacheKey, promise)\n\n this.schedulerFn(async () => {\n try {\n const result = await fn({ resolve, key })\n\n // Resolving a promise multiple times is a no-op, so we can safely\n // resolve all pending promises with the same result.\n resolve(result)\n } catch (err) {\n reject(err)\n } finally {\n this.pending.delete(cacheKey)\n }\n })\n\n return promise\n }\n}\n","import type { OutgoingHttpHeaders } from 'http'\nimport type RenderResult from '../render-result'\nimport type { CacheControl, Revalidate } from '../lib/cache-control'\nimport type { RouteKind } from '../route-kind'\n\nexport interface ResponseCacheBase {\n get(\n key: string | null,\n responseGenerator: ResponseGenerator,\n context: {\n isOnDemandRevalidate?: boolean\n isPrefetch?: boolean\n incrementalCache: IncrementalCache\n /**\n * This is a hint to the cache to help it determine what kind of route\n * this is so it knows where to look up the cache entry from. If not\n * provided it will test the filesystem to check.\n */\n routeKind: RouteKind\n\n /**\n * True if this is a fallback request.\n */\n isFallback?: boolean\n\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean\n }\n ): Promise\n}\n\n// The server components HMR cache might store other data as well in the future,\n// at which point this should be refactored to a discriminated union type.\nexport interface ServerComponentsHmrCache {\n get(key: string): CachedFetchData | undefined\n set(key: string, data: CachedFetchData): void\n}\n\nexport type CachedFetchData = {\n headers: Record\n body: string\n url: string\n status?: number\n}\n\nexport const enum CachedRouteKind {\n APP_PAGE = 'APP_PAGE',\n APP_ROUTE = 'APP_ROUTE',\n PAGES = 'PAGES',\n FETCH = 'FETCH',\n REDIRECT = 'REDIRECT',\n IMAGE = 'IMAGE',\n}\n\nexport interface CachedFetchValue {\n kind: CachedRouteKind.FETCH\n data: CachedFetchData\n // tags are only present with file-system-cache\n // fetch cache stores tags outside of cache entry\n tags?: string[]\n revalidate: number\n}\n\nexport interface CachedRedirectValue {\n kind: CachedRouteKind.REDIRECT\n props: Object\n}\n\nexport interface CachedAppPageValue {\n kind: CachedRouteKind.APP_PAGE\n // this needs to be a RenderResult so since renderResponse\n // expects that type instead of a string\n html: RenderResult\n rscData: Buffer | undefined\n status: number | undefined\n postponed: string | undefined\n headers: OutgoingHttpHeaders | undefined\n segmentData: Map | undefined\n}\n\nexport interface CachedPageValue {\n kind: CachedRouteKind.PAGES\n // this needs to be a RenderResult so since renderResponse\n // expects that type instead of a string\n html: RenderResult\n pageData: Object\n status: number | undefined\n headers: OutgoingHttpHeaders | undefined\n}\n\nexport interface CachedRouteValue {\n kind: CachedRouteKind.APP_ROUTE\n // this needs to be a RenderResult so since renderResponse\n // expects that type instead of a string\n body: Buffer\n status: number\n headers: OutgoingHttpHeaders\n}\n\nexport interface CachedImageValue {\n kind: CachedRouteKind.IMAGE\n etag: string\n upstreamEtag: string\n buffer: Buffer\n extension: string\n isMiss?: boolean\n isStale?: boolean\n}\n\nexport interface IncrementalCachedAppPageValue {\n kind: CachedRouteKind.APP_PAGE\n // this needs to be a string since the cache expects to store\n // the string value\n html: string\n rscData: Buffer | undefined\n headers: OutgoingHttpHeaders | undefined\n postponed: string | undefined\n status: number | undefined\n segmentData: Map | undefined\n}\n\nexport interface IncrementalCachedPageValue {\n kind: CachedRouteKind.PAGES\n // this needs to be a string since the cache expects to store\n // the string value\n html: string\n pageData: Object\n headers: OutgoingHttpHeaders | undefined\n status: number | undefined\n}\n\nexport interface IncrementalResponseCacheEntry {\n cacheControl?: CacheControl\n /**\n * timestamp in milliseconds to revalidate after\n */\n revalidateAfter?: Revalidate\n /**\n * `-1` here dictates a blocking revalidate should be used\n */\n isStale?: boolean | -1\n isMiss?: boolean\n value: Exclude | null\n}\n\nexport interface IncrementalFetchCacheEntry {\n /**\n * `-1` here dictates a blocking revalidate should be used\n */\n isStale?: boolean | -1\n value: CachedFetchValue\n}\n\nexport type IncrementalCacheEntry =\n | IncrementalResponseCacheEntry\n | IncrementalFetchCacheEntry\n\nexport type IncrementalCacheValue =\n | CachedRedirectValue\n | IncrementalCachedPageValue\n | IncrementalCachedAppPageValue\n | CachedImageValue\n | CachedFetchValue\n | CachedRouteValue\n\nexport type ResponseCacheValue =\n | CachedRedirectValue\n | CachedPageValue\n | CachedAppPageValue\n | CachedImageValue\n | CachedRouteValue\n\nexport type ResponseCacheEntry = {\n cacheControl?: CacheControl\n value: ResponseCacheValue | null\n isStale?: boolean | -1\n isMiss?: boolean\n}\n\n/**\n * @param hasResolved whether the responseGenerator has resolved it's promise\n * @param previousCacheEntry the previous cache entry if it exists or the current\n */\nexport type ResponseGenerator = (state: {\n hasResolved: boolean\n previousCacheEntry?: IncrementalResponseCacheEntry | null\n isRevalidating?: boolean\n span?: any\n\n /**\n * When true, this indicates that the response generator is being called in a\n * context where the response must be generated statically.\n *\n * CRITICAL: This should only currently be used when revalidating due to a\n * dynamic RSC request.\n */\n forceStaticRender?: boolean\n}) => Promise\n\nexport const enum IncrementalCacheKind {\n APP_PAGE = 'APP_PAGE',\n APP_ROUTE = 'APP_ROUTE',\n PAGES = 'PAGES',\n FETCH = 'FETCH',\n IMAGE = 'IMAGE',\n}\n\nexport interface GetIncrementalFetchCacheContext {\n kind: IncrementalCacheKind.FETCH\n revalidate?: Revalidate\n fetchUrl?: string\n fetchIdx?: number\n tags?: string[]\n softTags?: string[]\n}\n\nexport interface GetIncrementalResponseCacheContext {\n kind: Exclude\n\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean\n\n /**\n * True if this is a fallback request.\n */\n isFallback: boolean\n}\n\nexport interface SetIncrementalFetchCacheContext {\n fetchCache: true\n fetchUrl?: string\n fetchIdx?: number\n tags?: string[]\n isImplicitBuildTimeCache?: boolean\n}\n\nexport interface SetIncrementalResponseCacheContext {\n fetchCache?: false\n cacheControl?: CacheControl\n\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean\n\n /**\n * True if this is a fallback request.\n */\n isFallback?: boolean\n}\n\nexport interface IncrementalResponseCache {\n get(\n cacheKey: string,\n ctx: GetIncrementalResponseCacheContext\n ): Promise\n set(\n key: string,\n data: Exclude | null,\n ctx: SetIncrementalResponseCacheContext\n ): Promise\n}\n\nexport interface IncrementalCache extends IncrementalResponseCache {\n get(\n cacheKey: string,\n ctx: GetIncrementalFetchCacheContext\n ): Promise\n get(\n cacheKey: string,\n ctx: GetIncrementalResponseCacheContext\n ): Promise\n set(\n key: string,\n data: CachedFetchValue | null,\n ctx: SetIncrementalFetchCacheContext\n ): Promise\n set(\n key: string,\n data: Exclude | null,\n ctx: SetIncrementalResponseCacheContext\n ): Promise\n revalidateTag(\n tags: string | string[],\n durations?: { expire?: number }\n ): Promise\n}\n","import { Batcher } from '../../lib/batcher';\nimport { LRUCache } from '../lib/lru-cache';\nimport { warnOnce } from '../../build/output/log';\nimport { scheduleOnNextTick } from '../../lib/scheduler';\nimport { fromResponseCacheEntry, routeKindToIncrementalCacheKind, toResponseCacheEntry } from './utils';\n/**\n * Parses an environment variable as a positive integer, returning the fallback\n * if the value is missing, not a number, or not positive.\n */ function parsePositiveInt(envValue, fallback) {\n if (!envValue) return fallback;\n const parsed = parseInt(envValue, 10);\n return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;\n}\n/**\n * Default TTL (in milliseconds) for minimal mode response cache entries.\n * Used for cache hit validation as a fallback for providers that don't\n * send the x-invocation-id header yet.\n *\n * 10 seconds chosen because:\n * - Long enough to dedupe rapid successive requests (e.g., page + data)\n * - Short enough to not serve stale data across unrelated requests\n *\n * Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_TTL` environment variable.\n */ const DEFAULT_TTL_MS = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_TTL, 10000);\n/**\n * Default maximum number of entries in the response cache.\n * Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE` environment variable.\n */ const DEFAULT_MAX_SIZE = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE, 150);\n/**\n * Separator used in compound cache keys to join pathname and invocationID.\n * Using null byte (\\0) since it cannot appear in valid URL paths or UUIDs.\n */ const KEY_SEPARATOR = '\\0';\n/**\n * Sentinel value used for TTL-based cache entries (when invocationID is undefined).\n * Chosen to be a clearly reserved marker for internal cache keys.\n */ const TTL_SENTINEL = '__ttl_sentinel__';\n/**\n * Creates a compound cache key from pathname and invocationID.\n */ function createCacheKey(pathname, invocationID) {\n return `${pathname}${KEY_SEPARATOR}${invocationID ?? TTL_SENTINEL}`;\n}\n/**\n * Extracts the invocationID from a compound cache key.\n * Returns undefined if the key used TTL_SENTINEL.\n */ function extractInvocationID(compoundKey) {\n const separatorIndex = compoundKey.lastIndexOf(KEY_SEPARATOR);\n if (separatorIndex === -1) return undefined;\n const invocationID = compoundKey.slice(separatorIndex + 1);\n return invocationID === TTL_SENTINEL ? undefined : invocationID;\n}\nexport * from './types';\nexport default class ResponseCache {\n constructor(minimal_mode, maxSize = DEFAULT_MAX_SIZE, ttl = DEFAULT_TTL_MS){\n this.getBatcher = Batcher.create({\n // Ensure on-demand revalidate doesn't block normal requests, it should be\n // safe to run an on-demand revalidate for the same key as a normal request.\n cacheKeyFn: ({ key, isOnDemandRevalidate })=>`${key}-${isOnDemandRevalidate ? '1' : '0'}`,\n // We wait to do any async work until after we've added our promise to\n // `pendingResponses` to ensure that any any other calls will reuse the\n // same promise until we've fully finished our work.\n schedulerFn: scheduleOnNextTick\n });\n this.revalidateBatcher = Batcher.create({\n // We wait to do any async work until after we've added our promise to\n // `pendingResponses` to ensure that any any other calls will reuse the\n // same promise until we've fully finished our work.\n schedulerFn: scheduleOnNextTick\n });\n /**\n * Set of invocation IDs that have had cache entries evicted.\n * Used to detect when the cache size may be too small.\n * Bounded to prevent memory growth.\n */ this.evictedInvocationIDs = new Set();\n this.minimal_mode = minimal_mode;\n this.maxSize = maxSize;\n this.ttl = ttl;\n // Create the LRU cache with eviction tracking\n this.cache = new LRUCache(maxSize, undefined, (compoundKey)=>{\n const invocationID = extractInvocationID(compoundKey);\n if (invocationID) {\n // Bound to 100 entries to prevent unbounded memory growth.\n // FIFO eviction is acceptable here because:\n // 1. Invocations are short-lived (single request lifecycle), so older\n // invocations are unlikely to still be active after 100 newer ones\n // 2. This warning mechanism is best-effort for developer guidance—\n // missing occasional eviction warnings doesn't affect correctness\n // 3. If a long-running invocation is somehow evicted and then has\n // another cache entry evicted, it will simply be re-added\n if (this.evictedInvocationIDs.size >= 100) {\n const first = this.evictedInvocationIDs.values().next().value;\n if (first) this.evictedInvocationIDs.delete(first);\n }\n this.evictedInvocationIDs.add(invocationID);\n }\n });\n }\n /**\n * Gets the response cache entry for the given key.\n *\n * @param key - The key to get the response cache entry for.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param context - The context for the get request.\n * @returns The response cache entry.\n */ async get(key, responseGenerator, context) {\n // If there is no key for the cache, we can't possibly look this up in the\n // cache so just return the result of the response generator.\n if (!key) {\n return responseGenerator({\n hasResolved: false,\n previousCacheEntry: null\n });\n }\n // Check minimal mode cache before doing any other work.\n if (this.minimal_mode) {\n const cacheKey = createCacheKey(key, context.invocationID);\n const cachedItem = this.cache.get(cacheKey);\n if (cachedItem) {\n // With invocationID: exact match found - always a hit\n // With TTL mode: must check expiration\n if (context.invocationID !== undefined) {\n return toResponseCacheEntry(cachedItem.entry);\n }\n // TTL mode: check expiration\n const now = Date.now();\n if (cachedItem.expiresAt > now) {\n return toResponseCacheEntry(cachedItem.entry);\n }\n // TTL expired - clean up\n this.cache.remove(cacheKey);\n }\n // Warn if this invocation had entries evicted - indicates cache may be too small.\n if (context.invocationID && this.evictedInvocationIDs.has(context.invocationID)) {\n warnOnce(`Response cache entry was evicted for invocation ${context.invocationID}. ` + `Consider increasing NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE (current: ${this.maxSize}).`);\n }\n }\n const { incrementalCache, isOnDemandRevalidate = false, isFallback = false, isRoutePPREnabled = false, isPrefetch = false, waitUntil, routeKind, invocationID } = context;\n const response = await this.getBatcher.batch({\n key,\n isOnDemandRevalidate\n }, ({ resolve })=>{\n const promise = this.handleGet(key, responseGenerator, {\n incrementalCache,\n isOnDemandRevalidate,\n isFallback,\n isRoutePPREnabled,\n isPrefetch,\n routeKind,\n invocationID\n }, resolve);\n // We need to ensure background revalidates are passed to waitUntil.\n if (waitUntil) waitUntil(promise);\n return promise;\n });\n return toResponseCacheEntry(response);\n }\n /**\n * Handles the get request for the response cache.\n *\n * @param key - The key to get the response cache entry for.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param context - The context for the get request.\n * @param resolve - The resolve function to use to resolve the response cache entry.\n * @returns The response cache entry.\n */ async handleGet(key, responseGenerator, context, resolve) {\n let previousIncrementalCacheEntry = null;\n let resolved = false;\n try {\n // Get the previous cache entry if not in minimal mode\n previousIncrementalCacheEntry = !this.minimal_mode ? await context.incrementalCache.get(key, {\n kind: routeKindToIncrementalCacheKind(context.routeKind),\n isRoutePPREnabled: context.isRoutePPREnabled,\n isFallback: context.isFallback\n }) : null;\n if (previousIncrementalCacheEntry && !context.isOnDemandRevalidate) {\n resolve(previousIncrementalCacheEntry);\n resolved = true;\n if (!previousIncrementalCacheEntry.isStale || context.isPrefetch) {\n // The cached value is still valid, so we don't need to update it yet.\n return previousIncrementalCacheEntry;\n }\n }\n // Revalidate the cache entry\n const incrementalResponseCacheEntry = await this.revalidate(key, context.incrementalCache, context.isRoutePPREnabled, context.isFallback, responseGenerator, previousIncrementalCacheEntry, previousIncrementalCacheEntry !== null && !context.isOnDemandRevalidate, undefined, context.invocationID);\n // Handle null response\n if (!incrementalResponseCacheEntry) {\n // Remove the cache item if it was set so we don't use it again.\n if (this.minimal_mode) {\n const cacheKey = createCacheKey(key, context.invocationID);\n this.cache.remove(cacheKey);\n }\n return null;\n }\n // Resolve for on-demand revalidation or if not already resolved\n if (context.isOnDemandRevalidate && !resolved) {\n return incrementalResponseCacheEntry;\n }\n return incrementalResponseCacheEntry;\n } catch (err) {\n // If we've already resolved the cache entry, we can't reject as we\n // already resolved the cache entry so log the error here.\n if (resolved) {\n console.error(err);\n return null;\n }\n throw err;\n }\n }\n /**\n * Revalidates the cache entry for the given key.\n *\n * @param key - The key to revalidate the cache entry for.\n * @param incrementalCache - The incremental cache to use to revalidate the cache entry.\n * @param isRoutePPREnabled - Whether the route is PPR enabled.\n * @param isFallback - Whether the route is a fallback.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param previousIncrementalCacheEntry - The previous cache entry to use to revalidate the cache entry.\n * @param hasResolved - Whether the response has been resolved.\n * @param waitUntil - Optional function to register background work.\n * @param invocationID - The invocation ID for cache key scoping.\n * @returns The revalidated cache entry.\n */ async revalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, waitUntil, invocationID) {\n return this.revalidateBatcher.batch(key, ()=>{\n const promise = this.handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID);\n // We need to ensure background revalidates are passed to waitUntil.\n if (waitUntil) waitUntil(promise);\n return promise;\n });\n }\n async handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID) {\n try {\n // Generate the response cache entry using the response generator.\n const responseCacheEntry = await responseGenerator({\n hasResolved,\n previousCacheEntry: previousIncrementalCacheEntry,\n isRevalidating: true\n });\n if (!responseCacheEntry) {\n return null;\n }\n // Convert the response cache entry to an incremental response cache entry.\n const incrementalResponseCacheEntry = await fromResponseCacheEntry({\n ...responseCacheEntry,\n isMiss: !previousIncrementalCacheEntry\n });\n // We want to persist the result only if it has a cache control value\n // defined.\n if (incrementalResponseCacheEntry.cacheControl) {\n if (this.minimal_mode) {\n // Set TTL expiration for cache hit validation. Entries are validated\n // by invocationID when available, with TTL as a fallback for providers\n // that don't send x-invocation-id. Memory is managed by LRU eviction.\n const cacheKey = createCacheKey(key, invocationID);\n this.cache.set(cacheKey, {\n entry: incrementalResponseCacheEntry,\n expiresAt: Date.now() + this.ttl\n });\n } else {\n await incrementalCache.set(key, incrementalResponseCacheEntry.value, {\n cacheControl: incrementalResponseCacheEntry.cacheControl,\n isRoutePPREnabled,\n isFallback\n });\n }\n }\n return incrementalResponseCacheEntry;\n } catch (err) {\n // When a path is erroring we automatically re-set the existing cache\n // with new revalidate and expire times to prevent non-stop retrying.\n if (previousIncrementalCacheEntry == null ? void 0 : previousIncrementalCacheEntry.cacheControl) {\n const revalidate = Math.min(Math.max(previousIncrementalCacheEntry.cacheControl.revalidate || 3, 3), 30);\n const expire = previousIncrementalCacheEntry.cacheControl.expire === undefined ? undefined : Math.max(revalidate + 3, previousIncrementalCacheEntry.cacheControl.expire);\n await incrementalCache.set(key, previousIncrementalCacheEntry.value, {\n cacheControl: {\n revalidate: revalidate,\n expire: expire\n },\n isRoutePPREnabled,\n isFallback\n });\n }\n // We haven't resolved yet, so let's throw to indicate an error.\n throw err;\n }\n }\n}\n\n//# sourceMappingURL=index.js.map","import { CachedRouteKind, IncrementalCacheKind } from './types';\nimport RenderResult from '../render-result';\nimport { RouteKind } from '../route-kind';\nimport { HTML_CONTENT_TYPE_HEADER } from '../../lib/constants';\nexport async function fromResponseCacheEntry(cacheEntry) {\n var _cacheEntry_value, _cacheEntry_value1;\n return {\n ...cacheEntry,\n value: ((_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) === CachedRouteKind.PAGES ? {\n kind: CachedRouteKind.PAGES,\n html: await cacheEntry.value.html.toUnchunkedString(true),\n pageData: cacheEntry.value.pageData,\n headers: cacheEntry.value.headers,\n status: cacheEntry.value.status\n } : ((_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind) === CachedRouteKind.APP_PAGE ? {\n kind: CachedRouteKind.APP_PAGE,\n html: await cacheEntry.value.html.toUnchunkedString(true),\n postponed: cacheEntry.value.postponed,\n rscData: cacheEntry.value.rscData,\n headers: cacheEntry.value.headers,\n status: cacheEntry.value.status,\n segmentData: cacheEntry.value.segmentData\n } : cacheEntry.value\n };\n}\nexport async function toResponseCacheEntry(response) {\n var _response_value, _response_value1;\n if (!response) return null;\n return {\n isMiss: response.isMiss,\n isStale: response.isStale,\n cacheControl: response.cacheControl,\n value: ((_response_value = response.value) == null ? void 0 : _response_value.kind) === CachedRouteKind.PAGES ? {\n kind: CachedRouteKind.PAGES,\n html: RenderResult.fromStatic(response.value.html, HTML_CONTENT_TYPE_HEADER),\n pageData: response.value.pageData,\n headers: response.value.headers,\n status: response.value.status\n } : ((_response_value1 = response.value) == null ? void 0 : _response_value1.kind) === CachedRouteKind.APP_PAGE ? {\n kind: CachedRouteKind.APP_PAGE,\n html: RenderResult.fromStatic(response.value.html, HTML_CONTENT_TYPE_HEADER),\n rscData: response.value.rscData,\n headers: response.value.headers,\n status: response.value.status,\n postponed: response.value.postponed,\n segmentData: response.value.segmentData\n } : response.value\n };\n}\nexport function routeKindToIncrementalCacheKind(routeKind) {\n switch(routeKind){\n case RouteKind.PAGES:\n return IncrementalCacheKind.PAGES;\n case RouteKind.APP_PAGE:\n return IncrementalCacheKind.APP_PAGE;\n case RouteKind.IMAGE:\n return IncrementalCacheKind.IMAGE;\n case RouteKind.APP_ROUTE:\n return IncrementalCacheKind.APP_ROUTE;\n case RouteKind.PAGES_API:\n // Pages Router API routes are not cached in the incremental cache.\n throw Object.defineProperty(new Error(`Unexpected route kind ${routeKind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E64\",\n enumerable: false,\n configurable: true\n });\n default:\n return routeKind;\n }\n}\n\n//# sourceMappingURL=utils.js.map","import { chainStreams, streamFromBuffer, streamFromString, streamToString } from './stream-utils/node-web-streams-helper';\nimport { isAbortError, pipeToNodeResponse } from './pipe-readable';\nimport { InvariantError } from '../shared/lib/invariant-error';\nexport default class RenderResult {\n static #_ = /**\n * A render result that represents an empty response. This is used to\n * represent a response that was not found or was already sent.\n */ this.EMPTY = new RenderResult(null, {\n metadata: {},\n contentType: null\n });\n /**\n * Creates a new RenderResult instance from a static response.\n *\n * @param value the static response value\n * @param contentType the content type of the response\n * @returns a new RenderResult instance\n */ static fromStatic(value, contentType) {\n return new RenderResult(value, {\n metadata: {},\n contentType\n });\n }\n constructor(response, { contentType, waitUntil, metadata }){\n this.response = response;\n this.contentType = contentType;\n this.metadata = metadata;\n this.waitUntil = waitUntil;\n }\n assignMetadata(metadata) {\n Object.assign(this.metadata, metadata);\n }\n /**\n * Returns true if the response is null. It can be null if the response was\n * not found or was already sent.\n */ get isNull() {\n return this.response === null;\n }\n /**\n * Returns false if the response is a string. It can be a string if the page\n * was prerendered. If it's not, then it was generated dynamically.\n */ get isDynamic() {\n return typeof this.response !== 'string';\n }\n toUnchunkedString(stream = false) {\n if (this.response === null) {\n // If the response is null, return an empty string. This behavior is\n // intentional as we're now providing the `RenderResult.EMPTY` value.\n return '';\n }\n if (typeof this.response !== 'string') {\n if (!stream) {\n throw Object.defineProperty(new InvariantError('dynamic responses cannot be unchunked. This is a bug in Next.js'), \"__NEXT_ERROR_CODE\", {\n value: \"E732\",\n enumerable: false,\n configurable: true\n });\n }\n return streamToString(this.readable);\n }\n return this.response;\n }\n /**\n * Returns a readable stream of the response.\n */ get readable() {\n if (this.response === null) {\n // If the response is null, return an empty stream. This behavior is\n // intentional as we're now providing the `RenderResult.EMPTY` value.\n return new ReadableStream({\n start (controller) {\n controller.close();\n }\n });\n }\n if (typeof this.response === 'string') {\n return streamFromString(this.response);\n }\n if (Buffer.isBuffer(this.response)) {\n return streamFromBuffer(this.response);\n }\n // If the response is an array of streams, then chain them together.\n if (Array.isArray(this.response)) {\n return chainStreams(...this.response);\n }\n return this.response;\n }\n /**\n * Coerces the response to an array of streams. This will convert the response\n * to an array of streams if it is not already one.\n *\n * @returns An array of streams\n */ coerce() {\n if (this.response === null) {\n // If the response is null, return an empty stream. This behavior is\n // intentional as we're now providing the `RenderResult.EMPTY` value.\n return [];\n }\n if (typeof this.response === 'string') {\n return [\n streamFromString(this.response)\n ];\n } else if (Array.isArray(this.response)) {\n return this.response;\n } else if (Buffer.isBuffer(this.response)) {\n return [\n streamFromBuffer(this.response)\n ];\n } else {\n return [\n this.response\n ];\n }\n }\n /**\n * Unshifts a new stream to the response. This will convert the response to an\n * array of streams if it is not already one and will add the new stream to\n * the start of the array. When this response is piped, all of the streams\n * will be piped one after the other.\n *\n * @param readable The new stream to unshift\n */ unshift(readable) {\n // Coerce the response to an array of streams.\n this.response = this.coerce();\n // Add the new stream to the start of the array.\n this.response.unshift(readable);\n }\n /**\n * Chains a new stream to the response. This will convert the response to an\n * array of streams if it is not already one and will add the new stream to\n * the end. When this response is piped, all of the streams will be piped\n * one after the other.\n *\n * @param readable The new stream to chain\n */ push(readable) {\n // Coerce the response to an array of streams.\n this.response = this.coerce();\n // Add the new stream to the end of the array.\n this.response.push(readable);\n }\n /**\n * Pipes the response to a writable stream. This will close/cancel the\n * writable stream if an error is encountered. If this doesn't throw, then\n * the writable stream will be closed or aborted.\n *\n * @param writable Writable stream to pipe the response to\n */ async pipeTo(writable) {\n try {\n await this.readable.pipeTo(writable, {\n // We want to close the writable stream ourselves so that we can wait\n // for the waitUntil promise to resolve before closing it. If an error\n // is encountered, we'll abort the writable stream if we swallowed the\n // error.\n preventClose: true\n });\n // If there is a waitUntil promise, wait for it to resolve before\n // closing the writable stream.\n if (this.waitUntil) await this.waitUntil;\n // Close the writable stream.\n await writable.close();\n } catch (err) {\n // If this is an abort error, we should abort the writable stream (as we\n // took ownership of it when we started piping). We don't need to re-throw\n // because we handled the error.\n if (isAbortError(err)) {\n // Abort the writable stream if an error is encountered.\n await writable.abort(err);\n return;\n }\n // We're not aborting the writer here as when this method throws it's not\n // clear as to how so the caller should assume it's their responsibility\n // to clean up the writer.\n throw err;\n }\n }\n /**\n * Pipes the response to a node response. This will close/cancel the node\n * response if an error is encountered.\n *\n * @param res\n */ async pipeToNodeResponse(res) {\n await pipeToNodeResponse(this.readable, res, this.waitUntil);\n }\n}\n\n//# sourceMappingURL=render-result.js.map"],"names":["RouteKind","ReflectAdapter","get","target","prop","receiver","value","Reflect","bind","set","has","deleteProperty","scheduleOnNextTick","cb","Promise","resolve","then","process","env","NEXT_RUNTIME","setTimeout","nextTick","scheduleImmediate","setImmediate","atLeastOneTask","waitAtLeastOneReactRenderTask","r","InvariantError","Error","constructor","message","options","endsWith","name","RSC_HEADER","ACTION_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_HMR_REFRESH_HEADER","NEXT_HMR_REFRESH_HASH_COOKIE","NEXT_URL","RSC_CONTENT_TYPE_HEADER","FLIGHT_HEADERS","NEXT_RSC_UNION_QUERY","NEXT_ROUTER_STALE_TIME_HEADER","NEXT_DID_POSTPONE_HEADER","NEXT_REWRITTEN_PATH_HEADER","NEXT_REWRITTEN_QUERY_HEADER","NEXT_IS_PRERENDER_HEADER","NEXT_ACTION_NOT_FOUND_HEADER","NEXT_REQUEST_ID_HEADER","NEXT_HTML_REQUEST_ID_HEADER","NEXT_ACTION_REVALIDATED_HEADER","globalThis","stdout","enabled","NO_COLOR","FORCE_COLOR","isTTY","CI","TERM","replaceClose","str","close","replace","index","start","substring","end","length","nextIndex","indexOf","formatter","open","String","input","string","reset","s","bold","dim","italic","underline","inverse","hidden","strikethrough","black","red","green","yellow","blue","magenta","purple","cyan","white","gray","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","LRUNode","key","data","size","prev","next","SentinelNode","LRUCache","maxSize","calculateSize","onEvict","cache","Map","totalSize","head","tail","addToHead","node","removeNode","moveToHead","removeTail","lastNode","console","warn","existing","newNode","delete","undefined","Symbol","iterator","current","remove","currentSize","prefixes","wait","error","ready","info","event","trace","LOGGING_METHOD","log","prefixedLog","prefixType","shift","consoleMethod","prefix","bootstrap","warnOnceCache","warnOnce","join","errorOnceCache","errorOnce","getSegmentValue","segment","Array","isArray","isGroupSegment","isParallelRouteSegment","startsWith","addSearchParamsIfPageSegment","searchParams","isPageSegment","includes","PAGE_SEGMENT_KEY","stringifiedQuery","JSON","stringify","computeSelectedLayoutSegment","segments","parallelRouteKey","rawSegment","DEFAULT_SEGMENT_KEY","getSelectedLayoutSegmentPath","tree","first","segmentPath","parallelRoutes","children","Object","values","segmentValue","push","NOT_FOUND_SEGMENT_KEY","DetachedPromise","reject","promise","res","rej","NEXT_REQUEST_META","for","getRequestMeta","req","meta","setRequestMeta","addRequestMeta","request","removeRequestMeta","TEXT_PLAIN_CONTENT_TYPE_HEADER","HTML_CONTENT_TYPE_HEADER","JSON_CONTENT_TYPE_HEADER","NEXT_QUERY_PARAM_PREFIX","NEXT_INTERCEPTION_MARKER_PREFIX","MATCHED_PATH_HEADER","PRERENDER_REVALIDATE_HEADER","PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER","RSC_SEGMENTS_DIR_SUFFIX","RSC_SEGMENT_SUFFIX","RSC_SUFFIX","ACTION_SUFFIX","NEXT_DATA_SUFFIX","NEXT_META_SUFFIX","NEXT_BODY_SUFFIX","NEXT_CACHE_TAGS_HEADER","NEXT_CACHE_REVALIDATED_TAGS_HEADER","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER","NEXT_RESUME_HEADER","NEXT_CACHE_TAG_MAX_ITEMS","NEXT_CACHE_TAG_MAX_LENGTH","NEXT_CACHE_SOFT_TAG_MAX_LENGTH","NEXT_CACHE_IMPLICIT_TAG_ID","CACHE_ONE_YEAR","INFINITE_CACHE","MIDDLEWARE_FILENAME","MIDDLEWARE_LOCATION_REGEXP","PROXY_FILENAME","PROXY_LOCATION_REGEXP","INSTRUMENTATION_HOOK_FILENAME","PAGES_DIR_ALIAS","DOT_NEXT_ALIAS","ROOT_DIR_ALIAS","APP_DIR_ALIAS","RSC_MOD_REF_PROXY_ALIAS","RSC_ACTION_VALIDATE_ALIAS","RSC_ACTION_PROXY_ALIAS","RSC_CACHE_WRAPPER_ALIAS","RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS","RSC_ACTION_ENCRYPTION_ALIAS","RSC_ACTION_CLIENT_WRAPPER_ALIAS","PUBLIC_DIR_MIDDLEWARE_CONFLICT","SSG_GET_INITIAL_PROPS_CONFLICT","SERVER_PROPS_GET_INIT_PROPS_CONFLICT","SERVER_PROPS_SSG_CONFLICT","STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR","SERVER_PROPS_EXPORT_ERROR","GSP_NO_RETURNED_VALUE","GSSP_NO_RETURNED_VALUE","UNSTABLE_REVALIDATE_RENAME_ERROR","GSSP_COMPONENT_MEMBER_ERROR","NON_STANDARD_NODE_ENV","SSG_FALLBACK_EXPORT_ERROR","ESLINT_DEFAULT_DIRS","SERVER_RUNTIME","edge","experimentalEdge","nodejs","WEB_SOCKET_MAX_RECONNECTIONS","WEBPACK_LAYERS_NAMES","shared","reactServerComponents","serverSideRendering","actionBrowser","apiNode","apiEdge","middleware","instrument","edgeAsset","appPagesBrowser","pagesDirBrowser","pagesDirEdge","pagesDirNode","WEBPACK_LAYERS","GROUP","builtinReact","serverOnly","neutralTarget","clientOnly","bundled","appPages","WEBPACK_RESOURCE_QUERIES","edgeSSREntry","metadata","metadataRoute","metadataImageMeta","parsePath","path","hashIndex","queryIndex","hasQuery","pathname","query","hash","slice","pathHasPrefix","removePathPrefix","withoutPrefix","RedirectStatusCode","Batcher","cacheKeyFn","schedulerFn","fn","pending","create","batch","cacheKey","result","err","CachedRouteKind","IncrementalCacheKind"],"mappings":"uCAAO,IAAWA,EAAAA,GAGf,IAHeA,GAwBjB,AArBE,EAAA,AAHeA,GAGf,CAAA,OAHeA,CAOf,EAAA,AAPeA,OAOf,EAAA,CAAA,YAKA,EAAA,OAAA,CAAA,CAAA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ACrC,CACJ,EAGW,IAAI,0EElOR,OAAM6J,EAKXhK,aAAc,CACZ,IAAId,EACA+K,EAGJ,IAAI,CAACC,OAAO,CAAG,IAAIjL,QAAW,CAACkL,EAAKC,KAClClL,EAAUiL,EACVF,EAASG,CACX,GAIA,IAAI,CAAClL,OAAO,CAAGA,EACf,IAAI,CAAC+K,MAAM,CAAGA,CAChB,CACF,8DC1BA,EAAA,CAAA,CAAA,OACA,EAAA,CAAA,CAAA,OACA,EAAA,CAAA,CAAA,OACA,EAAA,CAAA,CAAA,OGHO,IAAM,EAAe,CAExB,QAAS,CAEL,KAAM,IAAI,WAAW,CACjB,GACA,IACA,IACA,IACA,IACH,EAED,KAAM,IAAI,WAAW,CACjB,GACA,GACA,IACA,IACA,IACH,CACL,EACA,OAAQ,CAEJ,KAAM,IAAI,WAAW,CACjB,GACA,GACA,IACA,IACA,GACA,IACA,GACH,EAED,KAAM,IAAI,WAAW,CACjB,GACA,GACA,GACA,IACA,IACA,IACA,GACH,EAED,KAAM,IAAI,WAAW,CACjB,GACA,GACA,IACA,IACA,IACA,IACA,GACH,EAED,cAAe,IAAI,WAAW,CAC1B,GACA,GACA,GACA,IACA,IACA,IACA,GACA,GACA,GACA,IACA,IACA,IACA,IACA,GACH,CACL,EACA,KAAM,CAIF,UAAW,IAAI,WAAW,CACtB,GACA,IACA,IACA,IACA,GACA,GACA,IACA,GACA,IACA,IACA,GACA,GACA,IACA,IACA,IACA,IACA,IACA,GACA,IACA,GACA,IACA,IACA,IACA,IACA,GACH,CACL,CACJ,EH3FA,CG6FA,QH7FS,IAIT,4BGyFwC,KH/FxC,EAAA,CAAA,CAAA,OAUA,IAAM,EAAU,IAAI,YACb,SAAS,EAAa,GAAG,CAAO,EAGnC,GAAuB,GAAG,CAAtB,EAAQ,MAAM,CACd,OAAO,IAAI,eAAe,CACtB,MAAO,CAAU,EACb,EAAW,KAAK,EACpB,CACJ,GAGJ,GAAuB,GAAG,CAAtB,EAAQ,MAAM,CACd,OAAO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ACA,EAAA,CAAA,CAAA,ODoB2B,EAAiB,QAAQ,GAAG,CAAC,+BAA+B,CAAE,KAI5D,EAAiB,QAAQ,GAAG,CAAC,oCAAoC,CAAE","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_4ebb36b4._.js b/.next/server/chunks/ssr/549ce_next_dist_4ebb36b4._.js deleted file mode 100644 index 341a826..0000000 --- a/.next/server/chunks/ssr/549ce_next_dist_4ebb36b4._.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports=[72353,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored["react-ssr"].ReactDOM},17995,a=>{"use strict";let b={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},c=new Set(Object.values(b)),d="NEXT_HTTP_ERROR_FALLBACK";function e(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,e]=a.digest.split(";");return b===d&&c.has(Number(e))}function f(a){return Number(a.digest.split(";")[1])}function g(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}a.s(["HTTPAccessErrorStatus",0,b,"HTTP_ERROR_FALLBACK_ERROR_CODE",0,d,"getAccessFallbackErrorTypeByStatus",()=>g,"getAccessFallbackHTTPStatus",()=>f,"isHTTPAccessFallbackError",()=>e])},22366,47758,73893,a=>{"use strict";var b,c,d=a.i(17995),e=((b={})[b.SeeOther=303]="SeeOther",b[b.TemporaryRedirect=307]="TemporaryRedirect",b[b.PermanentRedirect=308]="PermanentRedirect",b);a.s(["RedirectStatusCode",()=>e],47758);var f=((c={}).push="push",c.replace="replace",c);function g(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,d]=b,f=b.slice(2,-2).join(";"),g=Number(b.at(-2));return"NEXT_REDIRECT"===c&&("replace"===d||"push"===d)&&"string"==typeof f&&!isNaN(g)&&g in e}function h(a){return g(a)||(0,d.isHTTPAccessFallbackError)(a)}a.s(["RedirectType",()=>f,"isRedirectError",()=>g],73893),a.s(["isNextRouterError",()=>h],22366)},97897,a=>{"use strict";a.s(["METADATA_BOUNDARY_NAME",0,"__next_metadata_boundary__","OUTLET_BOUNDARY_NAME",0,"__next_outlet_boundary__","ROOT_LAYOUT_BOUNDARY_NAME",0,"__next_root_layout_boundary__","VIEWPORT_BOUNDARY_NAME",0,"__next_viewport_boundary__"])},50686,a=>{"use strict";class b extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}a.s(["InvariantError",()=>b])},73920,32227,45218,76088,72386,a=>{"use strict";var b,c=a.i(28091);let d="DYNAMIC_SERVER_USAGE";class e extends Error{constructor(a){super(`Dynamic server usage: ${a}`),this.description=a,this.digest=d}}function f(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===d}a.s(["DynamicServerError",()=>e,"isDynamicServerError",()=>f],32227);class g extends Error{constructor(...a){super(...a),this.code="NEXT_STATIC_GEN_BAILOUT"}}a.s(["StaticGenBailoutError",()=>g],45218);var h=a.i(32319),i=a.i(56704);function j(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===k}let k="HANGING_PROMISE_REJECTION";class l extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest=k}}let m=new WeakMap;function n(a,b,c){if(a.aborted)return Promise.reject(new l(b,c));{let d=new Promise((d,e)=>{let f=e.bind(null,new l(b,c)),g=m.get(a);if(g)g.push(f);else{let b=[f];m.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a{setTimeout(()=>{b(a)},0)})}a.s(["isHangingPromiseRejectionError",()=>j,"makeDevtoolsIOAwarePromise",()=>p,"makeHangingPromise",()=>n],76088);var q=a.i(97897);let r=a=>{Promise.resolve().then(()=>{process.nextTick(a)})},s="BAILOUT_TO_CLIENT_SIDE_RENDERING";class t extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=s}}function u(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===s}a.s(["BailoutToCSRError",()=>t,"isBailoutToCSRError",()=>u],72386);var v=a.i(50686);let w="function"==typeof c.default.unstable_postpone;function x(a){return{isDebugDynamicAccesses:a,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function y(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function z(a){var b;return null==(b=a.dynamicAccesses[0])?void 0:b.expression}function A(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw Object.defineProperty(new g(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)switch(b.type){case"prerender-ppr":return H(a.route,c,b.dynamicTracking);case"prerender-legacy":b.revalidate=0;let d=Object.defineProperty(new e(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d}}}function B(a,b,c){let d=Object.defineProperty(new e(`Route ${b.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.revalidate=0,b.dynamicUsageDescription=a,b.dynamicUsageStack=d.stack,d}function C(a){switch(a.type){case"cache":case"unstable-cache":case"private-cache":return}}function D(a,b,c){let d=M(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`);c.controller.abort(d);let e=c.dynamicTracking;e&&e.dynamicAccesses.push({stack:e.isDebugDynamicAccesses?Error().stack:void 0,expression:b})}function E(a,b,c,d){let e=d.dynamicTracking;D(a,b,d),e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}function F(a,b,c,d){if(!1===d.controller.signal.aborted){D(a,b,d);let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}throw M(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`)}function G({reason:a,route:b}){let c=h.workUnitAsyncStorage.getStore();H(b,a,c&&"prerender-ppr"===c.type?c.dynamicTracking:null)}function H(a,b,d){(function(){if(!w)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),d&&d.dynamicAccesses.push({stack:d.isDebugDynamicAccesses?Error().stack:void 0,expression:b}),c.default.unstable_postpone(I(a,b))}function I(a,b){return`Route ${a} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function J(a){return"object"==typeof a&&null!==a&&"string"==typeof a.message&&K(a.message)}function K(a){return a.includes("needs to bail out of prerendering at this point because it used")&&a.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===K(I("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let L="NEXT_PRERENDER_INTERRUPTED";function M(a){let b=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return b.digest=L,b}function N(a){return"object"==typeof a&&null!==a&&a.digest===L&&"name"in a&&"message"in a&&a instanceof Error}function O(a){return a.length>0}function P(a,b){return a.dynamicAccesses.push(...b.dynamicAccesses),a.dynamicAccesses}function Q(a){return a.filter(a=>"string"==typeof a.stack&&a.stack.length>0).map(({expression:a,stack:b})=>(b=b.split("\n").slice(4).filter(a=>!(a.includes("node_modules/next/")||a.includes(" ()")||a.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${a}: -${b}`))}function R(){let a=new AbortController;return a.abort(Object.defineProperty(new t("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),a.signal}function S(a){switch(a.type){case"prerender":case"prerender-runtime":let b=new AbortController;if(a.cacheSignal)a.cacheSignal.inputReady().then(()=>{b.abort()});else{let c=(0,h.getRuntimeStagePromise)(a);c?c.then(()=>r(()=>b.abort())):r(()=>b.abort())}return b.signal;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return}}function T(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})}function U(a){let b=i.workAsyncStorage.getStore(),d=h.workUnitAsyncStorage.getStore();if(b&&d)switch(d.type){case"prerender-client":case"prerender":{let e=d.fallbackRouteParams;e&&e.size>0&&c.default.use(n(d.renderSignal,b.route,a));break}case"prerender-ppr":{let c=d.fallbackRouteParams;if(c&&c.size>0)return H(b.route,a,d.dynamicTracking);break}case"prerender-runtime":throw Object.defineProperty(new v.InvariantError(`\`${a}\` was called during a runtime prerender. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new v.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0})}}function V(a){let b=i.workAsyncStorage.getStore(),d=h.workUnitAsyncStorage.getStore();if(b)switch(!d&&(0,h.throwForMissingRequestStore)(a),d.type){case"prerender-client":c.default.use(n(d.renderSignal,b.route,a));break;case"prerender-legacy":case"prerender-ppr":if(b.forceStatic)return;throw Object.defineProperty(new t(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new v.InvariantError(`\`${a}\` was called from a Server Component. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new v.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"request":return}}let W=/\n\s+at Suspense \(\)/,X=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${q.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),Y=RegExp(`\\n\\s+at ${q.METADATA_BOUNDARY_NAME}[\\n\\s]`),Z=RegExp(`\\n\\s+at ${q.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),$=RegExp(`\\n\\s+at ${q.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function _(a,b,c,d){if(!$.test(b)){if(Y.test(b)){c.hasDynamicMetadata=!0;return}if(Z.test(b)){c.hasDynamicViewport=!0;return}if(X.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(W.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=ac(`Route "${a.route}": Uncached data was accessed outside of . This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,b);return void c.dynamicErrors.push(e)}}}function aa(a,b,c,d){if(!$.test(b)){if(Y.test(b)){c.dynamicMetadata=ac(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,b);return}if(Z.test(b)){let d=ac(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,b);c.dynamicErrors.push(d);return}if(X.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(W.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=ac(`Route "${a.route}": Uncached data or \`connection()\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,b);return void c.dynamicErrors.push(e)}}}function ab(a,b,c,d){if(!$.test(b)){if(Y.test(b)){c.dynamicMetadata=ac(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,b);return}if(Z.test(b)){let d=ac(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,b);c.dynamicErrors.push(d);return}if(X.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(W.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=ac(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,b);return void c.dynamicErrors.push(e)}}}function ac(a,b){let c=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return c.stack=c.name+": "+a+b,c}var ad=((b={})[b.Full=0]="Full",b[b.Empty=1]="Empty",b[b.Errored=2]="Errored",b);function ae(a,b){console.error(b),a.dev||(a.hasReadableErrorStacks?console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error.`):console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`))}function af(a,b,c,d){if(d.syncDynamicErrorWithStack)throw ae(a,d.syncDynamicErrorWithStack),new g;if(0!==b){if(c.hasSuspenseAboveBody)return;let d=c.dynamicErrors;if(d.length>0){for(let b=0;b0)return d;if(1===b)return[Object.defineProperty(new v.InvariantError(`Route "${a.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===c.hasAllowedDynamic&&0===c.dynamicErrors.length&&c.dynamicMetadata)return[c.dynamicMetadata];return[]}function ah(a,b){return a.runtimeStagePromise?a.runtimeStagePromise.then(()=>b):b}a.s(["Postpone",()=>G,"PreludeState",()=>ad,"abortAndThrowOnSynchronousRequestDataAccess",()=>F,"abortOnSynchronousPlatformIOAccess",()=>E,"accessedDynamicData",()=>O,"annotateDynamicAccess",()=>T,"consumeDynamicAccess",()=>P,"createDynamicTrackingState",()=>x,"createDynamicValidationState",()=>y,"createHangingInputAbortSignal",()=>S,"createRenderInBrowserAbortSignal",()=>R,"delayUntilRuntimeStage",()=>ah,"formatDynamicAPIAccesses",()=>Q,"getFirstDynamicReason",()=>z,"getStaticShellDisallowedDynamicReasons",()=>ag,"isDynamicPostpone",()=>J,"isPrerenderInterruptedError",()=>N,"logDisallowedDynamicError",()=>ae,"markCurrentScopeAsDynamic",()=>A,"postponeWithTracking",()=>H,"throwIfDisallowedDynamic",()=>af,"throwToInterruptStaticGeneration",()=>B,"trackAllowedDynamicAccess",()=>_,"trackDynamicDataInDynamicRender",()=>C,"trackDynamicHoleInRuntimeShell",()=>aa,"trackDynamicHoleInStaticShell",()=>ab,"useDynamicRouteParams",()=>U,"useDynamicSearchParams",()=>V],73920)},91300,a=>{"use strict";var b=a.i(76088);let c=Symbol.for("react.postpone");var d=a.i(72386),e=a.i(22366),f=a.i(73920),g=a.i(32227);a.s(["unstable_rethrow",()=>function a(h){if((0,e.isNextRouterError)(h)||(0,d.isBailoutToCSRError)(h)||(0,g.isDynamicServerError)(h)||(0,f.isDynamicPostpone)(h)||"object"==typeof h&&null!==h&&h.$$typeof===c||(0,b.isHangingPromiseRejectionError)(h)||(0,f.isPrerenderInterruptedError)(h))throw h;h instanceof Error&&"cause"in h&&a(h.cause)}],91300)},40182,38776,46455,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(42481);function e(){return!function(){{let{workUnitAsyncStorage:b}=a.r(32319),c=b.getStore();if(!c)return!1;switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":let d=c.fallbackRouteParams;return!!d&&d.size>0}return!1}}()?(0,c.useContext)(d.PathnameContext):null}a.s(["useUntrackedPathname",()=>e],38776);var f=a.i(17995);a.s([],46455);var g=a.i(97442);class h extends c.default.Component{constructor(a){super(a),this.state={triggeredStatus:void 0,previousPathname:a.pathname}}componentDidCatch(){}static getDerivedStateFromError(a){if((0,f.isHTTPAccessFallbackError)(a))return{triggeredStatus:(0,f.getAccessFallbackHTTPStatus)(a)};throw a}static getDerivedStateFromProps(a,b){return a.pathname!==b.previousPathname&&b.triggeredStatus?{triggeredStatus:void 0,previousPathname:a.pathname}:{triggeredStatus:b.triggeredStatus,previousPathname:a.pathname}}render(){let{notFound:a,forbidden:c,unauthorized:d,children:e}=this.props,{triggeredStatus:g}=this.state,h={[f.HTTPAccessErrorStatus.NOT_FOUND]:a,[f.HTTPAccessErrorStatus.FORBIDDEN]:c,[f.HTTPAccessErrorStatus.UNAUTHORIZED]:d};if(g){let i=g===f.HTTPAccessErrorStatus.NOT_FOUND&&a,j=g===f.HTTPAccessErrorStatus.FORBIDDEN&&c,k=g===f.HTTPAccessErrorStatus.UNAUTHORIZED&&d;return i||j||k?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("meta",{name:"robots",content:"noindex"}),!1,h[g]]}):e}return e}}function i({notFound:a,forbidden:d,unauthorized:f,children:i}){let j=e(),k=(0,c.useContext)(g.MissingSlotContext);return a||d||f?(0,b.jsx)(h,{pathname:j,notFound:a,forbidden:d,unauthorized:f,missingSlots:k,children:i}):(0,b.jsx)(b.Fragment,{children:i})}a.s(["HTTPAccessFallbackBoundary",()=>i],40182)},19130,91613,28803,48185,a=>{"use strict";function b(a,b){if(a.includes(c)){let a=JSON.stringify(b);return"{}"!==a?c+"?"+a:c}return a}let c="__PAGE__",d="__DEFAULT__";function e(a){if("string"==typeof a)return a.startsWith(c)?c:"/_not-found"===a?"_not-found":h(a);let b=a[0];return"$"+a[2]+"$"+h(b)}function f(a,b,c){return a+"/"+("children"===b?c:`@${h(b)}/${c}`)}a.s(["DEFAULT_SEGMENT_KEY",0,d,"PAGE_SEGMENT_KEY",0,c,"addSearchParamsIfPageSegment",()=>b],91613);let g=/^[a-zA-Z0-9\-_@]+$/;function h(a){return g.test(a)?a:"!"+btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}a.s(["HEAD_REQUEST_KEY",0,"/_head","ROOT_SEGMENT_REQUEST_KEY",0,"","appendSegmentRequestKeyPart",()=>f,"createSegmentRequestKeyPart",()=>e],28803);let i="_rsc",j="x-nextjs-rewritten-path",k="x-nextjs-rewritten-query";function l(a){let b=a.headers.get(k);return null!==b?""===b?"":"?"+b:q(new URL(a.url)).search}function m(a){return a.headers.get(j)??q(new URL(a.url)).pathname}function n(a,b,c){switch(a){case"c":return cencodeURIComponent(a)):[];case"ci(..)(..)":case"ci(.)":case"ci(..)":case"ci(...)":{let d=a.length-2;return c0===b?encodeURIComponent(a.slice(d)):encodeURIComponent(a)):[]}case"oc":return cencodeURIComponent(a)):null;case"d":if(c>=b.length)return"";return encodeURIComponent(b[c]);case"di(..)(..)":case"di(.)":case"di(..)":case"di(...)":{let d=a.length-2;if(c>=b.length)return"";return encodeURIComponent(b[c].slice(d))}default:return""}}function o(a){return!(""===a||a.startsWith(c)||"("===a[0]&&a.endsWith(")"))&&a!==d&&"/_not-found"!==a}function p(a,c){return"string"==typeof a?b(a,Object.fromEntries(new URLSearchParams(c))):null===a?"":a.join("/")}function q(a){let b=new URL(a);return b.searchParams.delete(i),b}function r(a,b){return"c"===b||"oc"===b?a.split("/"):a}function s(a){let b={};for(let[c,d]of a.entries())void 0===b[c]?b[c]=d:Array.isArray(b[c])?b[c].push(d):b[c]=[b[c],d];return b}a.s(["NEXT_DID_POSTPONE_HEADER",0,"x-nextjs-postponed","NEXT_REWRITTEN_PATH_HEADER",0,j,"NEXT_REWRITTEN_QUERY_HEADER",0,k,"NEXT_ROUTER_PREFETCH_HEADER",0,"next-router-prefetch","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER",0,"next-router-segment-prefetch","NEXT_ROUTER_STALE_TIME_HEADER",0,"x-nextjs-stale-time","NEXT_ROUTER_STATE_TREE_HEADER",0,"next-router-state-tree","NEXT_RSC_UNION_QUERY",0,i,"NEXT_URL",0,"next-url","RSC_CONTENT_TYPE_HEADER",0,"text/x-component","RSC_HEADER",0,"rsc"],48185),a.s(["doesStaticSegmentAppearInURL",()=>o,"getCacheKeyForDynamicParam",()=>p,"getParamValueFromCacheKey",()=>r,"getRenderedPathname",()=>m,"getRenderedSearch",()=>l,"parseDynamicParamFromURLPart",()=>n,"urlSearchParamsToParsedUrlQuery",()=>s],19130)},22082,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored["react-ssr"].ReactServerDOMTurbopackClient},23324,a=>{"use strict";function b(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}a.s(["createPromiseWithResolvers",()=>b])},26852,a=>{"use strict";var b,c=a.i(78352),d=a.i(28091),e=a.i(72353),f=a.i(97442);let g={then:()=>{}};var h=d,i=a.i(38776),j=a.i(22366);let k=a.r(56704).workAsyncStorage;function l({error:a}){if(k){let b=k.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}return null}/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i.source;class m extends h.default.Component{constructor(a){super(a),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(a){if((0,j.isNextRouterError)(a))throw a;return{error:a}}static getDerivedStateFromProps(a,b){let{error:c}=b;return a.pathname!==b.previousPathname&&b.error?{error:null,previousPathname:a.pathname}:{error:b.error,previousPathname:a.pathname}}render(){return this.state.error&&1?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(l,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,c.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}}function n({errorComponent:a,errorStyles:b,errorScripts:d,children:e}){let f=(0,i.useUntrackedPathname)();return a?(0,c.jsx)(m,{pathname:f,errorComponent:a,errorStyles:b,errorScripts:d,children:e}):(0,c.jsx)(c.Fragment,{children:e})}a.i(46455);var o=d,p=a.i(42481),q=a.i(91613);a.i(70676);URLSearchParams,a.i(47758);var r=a.i(73893);a.r(20635).actionAsyncStorage;var s=a.i(17995);function t(){let a=(0,d.useContext)(f.AppRouterContext);if(null===a)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return a}function u({redirect:a,reset:b,redirectType:c}){let d=t();return(0,o.useEffect)(()=>{o.default.startTransition(()=>{c===r.RedirectType.push?d.push(a,{}):d.replace(a,{}),b()})},[a,c,b,d]),null}s.HTTP_ERROR_FALLBACK_ERROR_CODE,s.HTTP_ERROR_FALLBACK_ERROR_CODE,s.HTTP_ERROR_FALLBACK_ERROR_CODE,a.r(91300).unstable_rethrow,a.r(73920).useDynamicRouteParams,a.r(73920).useDynamicSearchParams;class v extends o.default.Component{constructor(a){super(a),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(a){if((0,r.isRedirectError)(a)){let b=(0,r.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null,c=function(a){if(!(0,r.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}(a);return"handled"in a?{redirect:null,redirectType:null}:{redirect:b,redirectType:c}}throw a}render(){let{redirect:a,redirectType:b}=this.state;return null!==a&&null!==b?(0,c.jsx)(u,{redirect:a,redirectType:b,reset:()=>this.setState({redirect:null})}):this.props.children}}function w({children:a}){let b=t();return(0,c.jsx)(v,{router:b,children:a})}var x=a.i(40182);function y(a,b=!1){return Array.isArray(a)?`${a[0]}|${a[1]}|${a[2]}`:b&&a.startsWith(q.PAGE_SEGMENT_KEY)?q.PAGE_SEGMENT_KEY:a}var z=a.i(19130),A=a.i(22082);a.i(48185),A.createFromReadableStream,A.createFromFetch;var B=((b={})[b.Intent=2]="Intent",b[b.Default=1]="Default",b[b.Background=0]="Background",b);function C(){return{parent:null,key:null,value:null,map:null,prev:null,next:null,size:0}}"function"==typeof requestIdleCallback&&requestIdleCallback,a.i(28803),"function"==typeof queueMicrotask&&queueMicrotask;let D="function"==typeof WeakMap?new WeakMap:new Map,E=new Set;"function"==typeof IntersectionObserver&&new IntersectionObserver(function(a){for(let b of a){let a=b.intersectionRatio>0;!function(a,b){let c=D.get(a);void 0!==c&&(c.isVisible=b,b?E.add(c):E.delete(c),B.Default)}(b.target,a)}},{rootMargin:"200px"}),a.i(23324),C(),C();let F=Symbol();e.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;let G=["bottom","height","left","right","top","width","x","y"];function H(a,b){let c=a.getBoundingClientRect();return c.top>=0&&c.top<=b}class I extends d.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...a){super(...a),this.handlePotentialScroll=()=>{let{focusAndScrollRef:a,segmentPath:b}=this.props;if(a.apply){if(0!==a.segmentPaths.length&&!a.segmentPaths.some(a=>b.every((b,c)=>{var d,e;return d=b,e=a[c],"string"==typeof d?"string"==typeof e&&d===e:"string"!=typeof e&&d[0]===e[0]&&d[1]===e[1]})))return;let c=null,d=a.hashFragment;if(d&&(c="top"===d?document.body:document.getElementById(d)??document.getElementsByName(d)[0]),c||(c=null),!(c instanceof Element))return;for(;!(c instanceof HTMLElement)||function(a){if(["sticky","fixed"].includes(getComputedStyle(a).position))return!0;let b=a.getBoundingClientRect();return G.every(a=>0===b[a])}(c);){if(null===c.nextElementSibling)return;c=c.nextElementSibling}a.apply=!1,a.hashFragment=null,a.segmentPaths=[],function(a,b={}){if(b.onlyHashChange)return a();let c=document.documentElement;if("smooth"!==c.dataset.scrollBehavior)return a();let d=c.style.scrollBehavior;c.style.scrollBehavior="auto",b.dontForceLayout||c.getClientRects(),a(),c.style.scrollBehavior=d}(()=>{if(d)return void c.scrollIntoView();let a=document.documentElement,b=a.clientHeight;!H(c,b)&&(a.scrollTop=0,H(c,b)||c.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:a.onlyHashChange}),a.onlyHashChange=!1,c.focus()}}}}function J({segmentPath:a,children:b}){let e=(0,d.useContext)(f.GlobalLayoutRouterContext);if(!e)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,c.jsx)(I,{segmentPath:a,focusAndScrollRef:e.focusAndScrollRef,children:b})}function K({tree:a,segmentPath:b,debugNameContext:e,cacheNode:h,params:i,url:j,isActive:k}){let l,m=(0,d.useContext)(f.GlobalLayoutRouterContext);if((0,d.useContext)(p.NavigationPromisesContext),!m)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let n=null!==h?h:(0,d.use)(g),o=null!==n.prefetchRsc?n.prefetchRsc:n.rsc,q=(0,d.useDeferredValue)(n.rsc,o);if(q&&"object"==typeof q&&q.tag===F){let a=(0,d.use)(q);null===a&&(0,d.use)(g),l=a}else null===q&&(0,d.use)(g),l=q;let r=l;return(0,c.jsx)(f.LayoutRouterContext.Provider,{value:{parentTree:a,parentCacheNode:n,parentSegmentPath:b,parentParams:i,debugNameContext:e,url:j,isActive:k},children:r})}function L({name:a,loading:b,children:e}){let f;if(f="object"==typeof b&&null!==b&&"function"==typeof b.then?(0,d.use)(b):b){let b=f[0],g=f[1],h=f[2];return(0,c.jsx)(d.Suspense,{name:a,fallback:(0,c.jsxs)(c.Fragment,{children:[g,h,b]}),children:e})}return(0,c.jsx)(c.Fragment,{children:e})}function M({parallelRouterKey:a,error:b,errorStyles:e,errorScripts:h,templateStyles:i,templateScripts:j,template:k,notFound:l,forbidden:m,unauthorized:o,segmentViewBoundaries:p}){let q=(0,d.useContext)(f.LayoutRouterContext);if(!q)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:r,parentCacheNode:s,parentSegmentPath:t,parentParams:u,url:v,isActive:A,debugNameContext:B}=q,C=s.parallelRoutes,D=C.get(a);D||(D=new Map,C.set(a,D));let E=r[0],F=null===t?[a]:t.concat([E,a]),G=r[1][a];void 0===G&&(0,d.use)(g);let H=y(G[0],!0),I=function(a,b){let[c,e]=(0,d.useState)(()=>({tree:a,stateKey:b,next:null}));if(c.tree===a)return c;let f={tree:a,stateKey:b,next:null},g=1,h=c,i=f;for(;null!==h&&g<1;){if(h.stateKey===b){i.next=h.next;break}{g++;let a={tree:h.tree,stateKey:h.stateKey,next:null};i.next=a,i=a}h=h.next}return e(f),f}(G,H),M=[];do{let a=I.tree,d=I.stateKey,g=a[0],p=y(g),q=D.get(p)??null,r=u;if(Array.isArray(g)){let a=g[0],b=g[1],c=g[2],d=(0,z.getParamValueFromCacheKey)(b,c);null!==d&&(r={...u,[a]:d})}let t=function(a){if("/"===a)return"/";if("string"==typeof a)if("(slot)"===a)return;else return a+"/";return a[1]+"/"}(g),C=t??B,E=void 0===t?void 0:B,G=s.loading,N=(0,c.jsxs)(f.TemplateContext.Provider,{value:(0,c.jsxs)(J,{segmentPath:F,children:[(0,c.jsx)(n,{errorComponent:b,errorStyles:e,errorScripts:h,children:(0,c.jsx)(L,{name:E,loading:G,children:(0,c.jsx)(x.HTTPAccessFallbackBoundary,{notFound:l,forbidden:m,unauthorized:o,children:(0,c.jsxs)(w,{children:[(0,c.jsx)(K,{url:v,tree:a,params:r,cacheNode:q,segmentPath:F,debugNameContext:C,isActive:A&&d===H}),null]})})})}),null]}),children:[i,j,k]},d);M.push(N),I=I.next}while(null!==I)return M}a.s(["default",()=>M],26852)},50425,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(97442);function e(){let a=(0,c.useContext)(d.TemplateContext);return(0,b.jsx)(b.Fragment,{children:a})}a.s(["default",()=>e])},59214,52908,22806,55025,a=>{"use strict";class b{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}a.s(["ReflectAdapter",()=>b],59214);let c=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function d(a,b){return c.test(b)?`\`${a}.${b}\``:`\`${a}[${JSON.stringify(b)}]\``}function e(a,b){let c=JSON.stringify(b);return`\`Reflect.has(${a}, ${c})\`, \`${c} in ${a}\`, or similar`}let f=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule"]);a.s(["describeHasCheckingStringProperty",()=>e,"describeStringPropertyAccess",()=>d,"wellKnownProperties",0,f],52908);var g,h=a.i(28091);let i={current:null},j="function"==typeof h.cache?h.cache:a=>a,k=console.warn;function l(a){return function(...b){k(a(...b))}}j(a=>{try{k(i.current)}finally{i.current=null}}),a.s(["createDedupedByCallsiteServerErrorLoggerDev",()=>l],22806),a.i(50686),a.i(23324);var m=((g={})[g.Before=1]="Before",g[g.Static=2]="Static",g[g.Runtime=3]="Runtime",g[g.Dynamic=4]="Dynamic",g[g.Abandoned=5]="Abandoned",g);a.s(["RenderStage",()=>m],55025)},32806,a=>{"use strict";var b=a.i(59214),c=a.i(73920),d=a.i(32319),e=a.i(50686),f=a.i(76088),g=a.i(22806),h=a.i(52908),i=a.i(45218);function j(a,b){let c=d.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return m(b,c);case"prerender-runtime":throw Object.defineProperty(new e.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new e.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"request":return n(a,b,c)}(0,d.throwInvariantForMissingStore)()}function k(a,b){let f=d.workUnitAsyncStorage.getStore();if(f)switch(f.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return m(b,f);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new e.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"prerender-runtime":var g,h;return g=a,h=f,(0,c.delayUntilRuntimeStage)(h,r(g));case"request":return n(a,b,f)}(0,d.throwInvariantForMissingStore)()}function l(a){if(a.forceStatic)return Promise.resolve({});let b=d.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"prerender":case"prerender-client":return(0,f.makeHangingPromise)(b.renderSignal,a.route,"`searchParams`");case"prerender-runtime":throw Object.defineProperty(new e.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new e.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,d.throwInvariantForMissingStore)()}function m(a,d){if(a.forceStatic)return Promise.resolve({});switch(d.type){case"prerender":case"prerender-client":var e=a,g=d;let h=o.get(g);if(h)return h;let j=(0,f.makeHangingPromise)(g.renderSignal,e.route,"`searchParams`"),k=new Proxy(j,{get(a,d,e){if(Object.hasOwn(j,d))return b.ReflectAdapter.get(a,d,e);switch(d){case"then":return(0,c.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",g),b.ReflectAdapter.get(a,d,e);case"status":return(0,c.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",g),b.ReflectAdapter.get(a,d,e);default:return b.ReflectAdapter.get(a,d,e)}}});return o.set(g,k),k;case"prerender-ppr":case"prerender-legacy":var l=a,m=d;let n=o.get(l);if(n)return n;let p=Promise.resolve({}),q=new Proxy(p,{get(a,d,e){if(Object.hasOwn(p,d))return b.ReflectAdapter.get(a,d,e);if("string"==typeof d&&"then"===d){let a="`await searchParams`, `searchParams.then`, or similar";if(l.dynamicShouldError){var f=l.route;throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${f} with \`dynamic = "error"\` couldn't be rendered statically because it used ${a}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}"prerender-ppr"===m.type?(0,c.postponeWithTracking)(l.route,a,m.dynamicTracking):(0,c.throwToInterruptStaticGeneration)(a,l,m)}return b.ReflectAdapter.get(a,d,e)}});return o.set(l,q),q;default:return d}}function n(a,b,c){return b.forceStatic?Promise.resolve({}):r(a)}a.i(24725),a.i(55025);let o=new WeakMap,p=new WeakMap;function q(a){let c=p.get(a);if(c)return c;let d=Promise.resolve({}),e=new Proxy(d,{get:function c(e,f,g){return Object.hasOwn(d,f)||"string"!=typeof f||"then"!==f&&h.wellKnownProperties.has(f)||function(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}(a,c),b.ReflectAdapter.get(e,f,g)}});return p.set(a,e),e}function r(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),c}(0,g.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})}),a.s(["createPrerenderSearchParamsForClientPage",()=>l,"createSearchParamsFromClient",()=>j,"createServerSearchParamsForMetadata",0,k,"createServerSearchParamsForServerPage",()=>k,"makeErroringSearchParamsForUseCache",()=>q],32806)},85428,a=>{"use strict";var b=a.i(56704),c=a.i(59214),d=a.i(73920),e=a.i(32319),f=a.i(50686),g=a.i(52908),h=a.i(76088),i=a.i(22806),j=a.i(43285);function k(a,b){let c=e.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return o(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new f.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new f.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"request":return s(a)}(0,e.throwInvariantForMissingStore)()}function l(a,b){let c=e.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return o(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new f.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"prerender-runtime":return p(a,c);case"request":return s(a)}(0,e.throwInvariantForMissingStore)()}function m(a,b){let c=e.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return o(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new f.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"prerender-runtime":return p(a,c);case"request":return s(a)}(0,e.throwInvariantForMissingStore)()}function n(a){let c=b.workAsyncStorage.getStore();if(!c)throw Object.defineProperty(new f.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let d=e.workUnitAsyncStorage.getStore();if(d)switch(d.type){case"prerender":case"prerender-client":let g=d.fallbackRouteParams;if(g){for(let b in a)if(g.has(b))return(0,h.makeHangingPromise)(d.renderSignal,c.route,"`params`")}break;case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new f.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0})}return Promise.resolve(a)}function o(a,b,c){switch(c.type){case"prerender":case"prerender-client":{let d=c.fallbackRouteParams;if(d){for(let e in a)if(d.has(e))return function(a,b,c){let d=q.get(a);if(d)return d;let e=new Proxy((0,h.makeHangingPromise)(c.renderSignal,b.route,"`params`"),r);return q.set(a,e),e}(a,b,c)}break}case"prerender-ppr":{let e=c.fallbackRouteParams;if(e){for(let f in a)if(e.has(f))return function(a,b,c,e){let f=q.get(a);if(f)return f;let h={...a},i=Promise.resolve(h);return q.set(a,i),Object.keys(a).forEach(a=>{g.wellKnownProperties.has(a)||b.has(a)&&Object.defineProperty(h,a,{get(){let b=(0,g.describeStringPropertyAccess)("params",a);"prerender-ppr"===e.type?(0,d.postponeWithTracking)(c.route,b,e.dynamicTracking):(0,d.throwToInterruptStaticGeneration)(b,c,e)},enumerable:!0})}),i}(a,e,b,c)}}}return s(a)}function p(a,b){return(0,d.delayUntilRuntimeStage)(b,s(a))}a.i(55025);let q=new WeakMap,r={get:function(a,b,d){if("then"===b||"catch"===b||"finally"===b){let e=c.ReflectAdapter.get(a,b,d);return({[b]:(...b)=>{let c=j.dynamicAccessAsyncStorage.getStore();return c&&c.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(e.apply(a,b),r)}})[b]}return c.ReflectAdapter.get(a,b,d)}};function s(a){let b=q.get(a);if(b)return b;let c=Promise.resolve(a);return q.set(a,c),c}(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})}),a.s(["createParamsFromClient",()=>k,"createPrerenderParamsForClientSegment",()=>n,"createServerParamsForMetadata",0,m,"createServerParamsForRoute",()=>l,"createServerParamsForServerSegment",()=>m])},64166,a=>{"use strict";var b=a.i(78352),c=a.i(50686),d=a.i(97442),e=a.i(28091),f=a.i(19130),g=a.i(42481);function h({Component:h,serverProvidedParams:i}){let j,k;if(null!==i)j=i.searchParams,k=i.params;else{let a=(0,e.use)(d.LayoutRouterContext);k=null!==a?a.parentParams:{},j=(0,f.urlSearchParamsToParsedUrlQuery)((0,e.use)(g.SearchParamsContext))}{let d,e,{workAsyncStorage:f}=a.r(56704),g=f.getStore();if(!g)throw Object.defineProperty(new c.InvariantError("Expected workStore to exist when handling searchParams in a client Page."),"__NEXT_ERROR_CODE",{value:"E564",enumerable:!1,configurable:!0});let{createSearchParamsFromClient:i}=a.r(32806);d=i(j,g);let{createParamsFromClient:l}=a.r(85428);return e=l(k,g),(0,b.jsx)(h,{params:e,searchParams:d})}}a.s(["ClientPageRoot",()=>h])},18936,a=>{"use strict";var b=a.i(78352),c=a.i(50686),d=a.i(97442),e=a.i(28091);function f({Component:f,slots:g,serverProvidedParams:h}){let i;if(null!==h)i=h.params;else{let a=(0,e.use)(d.LayoutRouterContext);i=null!==a?a.parentParams:{}}{let d,{workAsyncStorage:e}=a.r(56704),h=e.getStore();if(!h)throw Object.defineProperty(new c.InvariantError("Expected workStore to exist when handling params in a client segment such as a Layout or Template."),"__NEXT_ERROR_CODE",{value:"E600",enumerable:!1,configurable:!0});let{createParamsFromClient:j}=a.r(85428);return d=j(i,h),(0,b.jsx)(f,{...g,params:d})}}a.s(["ClientSegmentRoot",()=>f])},40158,a=>{"use strict";var b=a.i(78352);a.s(["IconMark",0,()=>(0,b.jsx)("meta",{name:"«nxt-icon»"})])},81947,a=>{"use strict";var b=a.i(97897);let c={[b.METADATA_BOUNDARY_NAME]:function({children:a}){return a},[b.VIEWPORT_BOUNDARY_NAME]:function({children:a}){return a},[b.OUTLET_BOUNDARY_NAME]:function({children:a}){return a},[b.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:a}){return a}},d=c[b.METADATA_BOUNDARY_NAME.slice(0)],e=c[b.VIEWPORT_BOUNDARY_NAME.slice(0)],f=c[b.OUTLET_BOUNDARY_NAME.slice(0)],g=c[b.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)];a.s(["MetadataBoundary",0,d,"OutletBoundary",0,f,"RootLayoutBoundary",0,g,"ViewportBoundary",0,e])}]; - -//# sourceMappingURL=549ce_next_dist_4ebb36b4._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_4ebb36b4._.js.map b/.next/server/chunks/ssr/549ce_next_dist_4ebb36b4._.js.map deleted file mode 100644 index 521d01b..0000000 --- a/.next/server/chunks/ssr/549ce_next_dist_4ebb36b4._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/http-access-fallback/http-access-fallback.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/is-next-router-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/redirect-status-code.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/redirect-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/framework/boundary-constants.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/invariant-error.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/dynamic-rendering.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/hooks-server-context.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/static-generation-bailout.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/dynamic-rendering-utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/scheduler.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/router-utils/is-postpone.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/unstable-rethrow.server.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/utils/warn-once.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/navigation-untracked.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/app-router-headers.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/segment.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/segment-cache/segment-value-encoding.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/route-params.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/promise-with-resolvers.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/handle-isr-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/error-boundary.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/disable-smooth-scroll.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/readonly-url-search-params.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/redirect.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/not-found.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/redirect-boundary.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/app-find-source-map-url.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/app-build-id.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/set-cache-busting-search-param.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/fetch-server-response.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/unrecognized-action-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/create-href-from-url.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/router-reducer-types.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/match-segments.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/is-navigating-to-new-root-layout.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/bfcache.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/is-bot.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/forbidden.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/unauthorized.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/handle-mutable.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/lru.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/create-router-cache-key.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/cache-busting-search-param.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/navigation.react-server.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/cache-map.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/cache-key.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/navigation.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/vary-path.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/use-action-queue.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/deployment-id.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/nav-failure-handler.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/interception-routes.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/types.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/unresolved-thenable.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/compute-changed-path.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/app-call-server.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/links.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/html-bots.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/is-thenable.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/app-router-types.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/unstable-rethrow.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/flight-data-helpers.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/hash.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/scheduler.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/reducers/navigate-reducer.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/router-reducer/ppr-navigations.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/navigation.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/segment-cache/cache.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/router/utils/app-paths.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/render-from-template-context.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/create-deduped-by-callsite-server-error-logger.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/staged-rendering.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/web/spec-extension/adapters/reflect.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/request/utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/request/search-params.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/request/params.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/client-page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/client-segment.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/metadata/generate/icon-mark.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/framework/boundary-components.tsx"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactDOM\n","export const HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401,\n}\n\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus))\n\nexport const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK'\n\nexport type HTTPAccessFallbackError = Error & {\n digest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`\n}\n\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */\nexport function isHTTPAccessFallbackError(\n error: unknown\n): error is HTTPAccessFallbackError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n const [prefix, httpStatus] = error.digest.split(';')\n\n return (\n prefix === HTTP_ERROR_FALLBACK_ERROR_CODE &&\n ALLOWED_CODES.has(Number(httpStatus))\n )\n}\n\nexport function getAccessFallbackHTTPStatus(\n error: HTTPAccessFallbackError\n): number {\n const httpStatus = error.digest.split(';')[1]\n return Number(httpStatus)\n}\n\nexport function getAccessFallbackErrorTypeByStatus(\n status: number\n): 'not-found' | 'forbidden' | 'unauthorized' | undefined {\n switch (status) {\n case 401:\n return 'unauthorized'\n case 403:\n return 'forbidden'\n case 404:\n return 'not-found'\n default:\n return\n }\n}\n","import { isHTTPAccessFallbackError } from './http-access-fallback/http-access-fallback';\nimport { isRedirectError } from './redirect-error';\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */ export function isNextRouterError(error) {\n return isRedirectError(error) || isHTTPAccessFallbackError(error);\n}\n\n//# sourceMappingURL=is-next-router-error.js.map","export var RedirectStatusCode = /*#__PURE__*/ function(RedirectStatusCode) {\n RedirectStatusCode[RedirectStatusCode[\"SeeOther\"] = 303] = \"SeeOther\";\n RedirectStatusCode[RedirectStatusCode[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n RedirectStatusCode[RedirectStatusCode[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n return RedirectStatusCode;\n}({});\n\n//# sourceMappingURL=redirect-status-code.js.map","import { RedirectStatusCode } from './redirect-status-code';\nexport const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT';\nexport var RedirectType = /*#__PURE__*/ function(RedirectType) {\n RedirectType[\"push\"] = \"push\";\n RedirectType[\"replace\"] = \"replace\";\n return RedirectType;\n}({});\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */ export function isRedirectError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const digest = error.digest.split(';');\n const [errorCode, type] = digest;\n const destination = digest.slice(2, -2).join(';');\n const status = digest.at(-2);\n const statusCode = Number(status);\n return errorCode === REDIRECT_ERROR_CODE && (type === 'replace' || type === 'push') && typeof destination === 'string' && !isNaN(statusCode) && statusCode in RedirectStatusCode;\n}\n\n//# sourceMappingURL=redirect-error.js.map","export const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__'\nexport const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__'\nexport const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__'\nexport const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__'\n","export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */ // Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react';\nimport { DynamicServerError } from '../../client/components/hooks-server-context';\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { getRuntimeStagePromise, throwForMissingRequestStore, workUnitAsyncStorage } from './work-unit-async-storage.external';\nimport { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { makeHangingPromise } from '../dynamic-rendering-utils';\nimport { METADATA_BOUNDARY_NAME, VIEWPORT_BOUNDARY_NAME, OUTLET_BOUNDARY_NAME, ROOT_LAYOUT_BOUNDARY_NAME } from '../../lib/framework/boundary-constants';\nimport { scheduleOnNextTick } from '../../lib/scheduler';\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nconst hasPostpone = typeof React.unstable_postpone === 'function';\nexport function createDynamicTrackingState(isDebugDynamicAccesses) {\n return {\n isDebugDynamicAccesses,\n dynamicAccesses: [],\n syncDynamicErrorWithStack: null\n };\n}\nexport function createDynamicValidationState() {\n return {\n hasSuspenseAboveBody: false,\n hasDynamicMetadata: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: []\n };\n}\nexport function getFirstDynamicReason(trackingState) {\n var _trackingState_dynamicAccesses_;\n return (_trackingState_dynamicAccesses_ = trackingState.dynamicAccesses[0]) == null ? void 0 : _trackingState_dynamicAccesses_.expression;\n}\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */ export function markCurrentScopeAsDynamic(store, workUnitStore, expression) {\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'request':\n break;\n default:\n workUnitStore;\n }\n }\n // If we're forcing dynamic rendering or we're forcing static rendering, we\n // don't need to do anything here because the entire page is already dynamic\n // or it's static and it should not throw or postpone here.\n if (store.forceDynamic || store.forceStatic) return;\n if (store.dynamicShouldError) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E553\",\n enumerable: false,\n configurable: true\n });\n }\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-ppr':\n return postponeWithTracking(store.route, expression, workUnitStore.dynamicTracking);\n case 'prerender-legacy':\n workUnitStore.revalidate = 0;\n // We aren't prerendering, but we are generating a static page. We need\n // to bail out of static generation.\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E550\",\n enumerable: false,\n configurable: true\n });\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n default:\n workUnitStore;\n }\n }\n}\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */ export function throwToInterruptStaticGeneration(expression, store, prerenderStore) {\n // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E558\",\n enumerable: false,\n configurable: true\n });\n prerenderStore.revalidate = 0;\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n}\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */ export function trackDynamicDataInDynamicRender(workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n break;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n default:\n workUnitStore;\n }\n}\nfunction abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore) {\n const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`;\n const error = createPrerenderInterruptedError(reason);\n prerenderStore.controller.abort(error);\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function abortOnSynchronousPlatformIOAccess(route, expression, errorWithStack, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n}\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */ export function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {\n const prerenderSignal = prerenderStore.controller.signal;\n if (prerenderSignal.aborted === false) {\n // TODO it would be better to move this aborted check into the callsite so we can avoid making\n // the error object when it isn't relevant to the aborting of the prerender however\n // since we need the throw semantics regardless of whether we abort it is easier to land\n // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n // to ideal implementation\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n }\n throw createPrerenderInterruptedError(`Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`);\n}\nexport function Postpone({ reason, route }) {\n const prerenderStore = workUnitAsyncStorage.getStore();\n const dynamicTracking = prerenderStore && prerenderStore.type === 'prerender-ppr' ? prerenderStore.dynamicTracking : null;\n postponeWithTracking(route, reason, dynamicTracking);\n}\nexport function postponeWithTracking(route, expression, dynamicTracking) {\n assertPostpone();\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n React.unstable_postpone(createPostponeReason(route, expression));\n}\nfunction createPostponeReason(route, expression) {\n return `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` + `React throws this special object to indicate where. It should not be caught by ` + `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;\n}\nexport function isDynamicPostpone(err) {\n if (typeof err === 'object' && err !== null && typeof err.message === 'string') {\n return isDynamicPostponeReason(err.message);\n }\n return false;\n}\nfunction isDynamicPostponeReason(reason) {\n return reason.includes('needs to bail out of prerendering at this point because it used') && reason.includes('Learn more: https://nextjs.org/docs/messages/ppr-caught-error');\n}\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n throw Object.defineProperty(new Error('Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'), \"__NEXT_ERROR_CODE\", {\n value: \"E296\",\n enumerable: false,\n configurable: true\n });\n}\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED';\nfunction createPrerenderInterruptedError(message) {\n const error = Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = NEXT_PRERENDER_INTERRUPTED;\n return error;\n}\nexport function isPrerenderInterruptedError(error) {\n return typeof error === 'object' && error !== null && error.digest === NEXT_PRERENDER_INTERRUPTED && 'name' in error && 'message' in error && error instanceof Error;\n}\nexport function accessedDynamicData(dynamicAccesses) {\n return dynamicAccesses.length > 0;\n}\nexport function consumeDynamicAccess(serverDynamic, clientDynamic) {\n // We mutate because we only call this once we are no longer writing\n // to the dynamicTrackingState and it's more efficient than creating a new\n // array.\n serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses);\n return serverDynamic.dynamicAccesses;\n}\nexport function formatDynamicAPIAccesses(dynamicAccesses) {\n return dynamicAccesses.filter((access)=>typeof access.stack === 'string' && access.stack.length > 0).map(({ expression, stack })=>{\n stack = stack.split('\\n')// Remove the \"Error: \" prefix from the first line of the stack trace as\n // well as the first 4 lines of the stack trace which is the distance\n // from the user code and the `new Error().stack` call.\n .slice(4).filter((line)=>{\n // Exclude Next.js internals from the stack trace.\n if (line.includes('node_modules/next/')) {\n return false;\n }\n // Exclude anonymous functions from the stack trace.\n if (line.includes(' ()')) {\n return false;\n }\n // Exclude Node.js internals from the stack trace.\n if (line.includes(' (node:')) {\n return false;\n }\n return true;\n }).join('\\n');\n return `Dynamic API Usage Debug - ${expression}:\\n${stack}`;\n });\n}\nfunction assertPostpone() {\n if (!hasPostpone) {\n throw Object.defineProperty(new Error(`Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`), \"__NEXT_ERROR_CODE\", {\n value: \"E224\",\n enumerable: false,\n configurable: true\n });\n }\n}\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */ export function createRenderInBrowserAbortSignal() {\n const controller = new AbortController();\n controller.abort(Object.defineProperty(new BailoutToCSRError('Render in Browser'), \"__NEXT_ERROR_CODE\", {\n value: \"E721\",\n enumerable: false,\n configurable: true\n }));\n return controller.signal;\n}\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */ export function createHangingInputAbortSignal(workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n const controller = new AbortController();\n if (workUnitStore.cacheSignal) {\n // If we have a cacheSignal it means we're in a prospective render. If\n // the input we're waiting on is coming from another cache, we do want\n // to wait for it so that we can resolve this cache entry too.\n workUnitStore.cacheSignal.inputReady().then(()=>{\n controller.abort();\n });\n } else {\n // Otherwise we're in the final render and we should already have all\n // our caches filled.\n // If the prerender uses stages, we have wait until the runtime stage,\n // at which point all runtime inputs will be resolved.\n // (otherwise, a runtime prerender might consider `cookies()` hanging\n // even though they'd resolve in the next task.)\n //\n // We might still be waiting on some microtasks so we\n // wait one tick before giving up. When we give up, we still want to\n // render the content of this cache as deeply as we can so that we can\n // suspend as deeply as possible in the tree or not at all if we don't\n // end up waiting for the input.\n const runtimeStagePromise = getRuntimeStagePromise(workUnitStore);\n if (runtimeStagePromise) {\n runtimeStagePromise.then(()=>scheduleOnNextTick(()=>controller.abort()));\n } else {\n scheduleOnNextTick(()=>controller.abort());\n }\n }\n return controller.signal;\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n return undefined;\n default:\n workUnitStore;\n }\n}\nexport function annotateDynamicAccess(expression, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function useDynamicRouteParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workStore && workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-client':\n case 'prerender':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n // We are in a prerender with cacheComponents semantics. We are going to\n // hang here and never resolve. This will cause the currently\n // rendering component to effectively be a dynamic hole.\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return postponeWithTracking(workStore.route, expression, workUnitStore.dynamicTracking);\n }\n break;\n }\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E771\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-legacy':\n case 'request':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n}\nexport function useDynamicSearchParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (!workStore) {\n // We assume pages router context and just return\n return;\n }\n if (!workUnitStore) {\n throwForMissingRequestStore(expression);\n }\n switch(workUnitStore.type){\n case 'prerender-client':\n {\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n break;\n }\n case 'prerender-legacy':\n case 'prerender-ppr':\n {\n if (workStore.forceStatic) {\n return;\n }\n throw Object.defineProperty(new BailoutToCSRError(expression), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n }\n case 'prerender':\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E795\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'unstable-cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n return;\n default:\n workUnitStore;\n }\n}\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(\\)/;\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags = 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6';\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n// at Suspense ()\n// at __next_root_layout_boundary__ ()\n//\n// Or with other components in between (but not body/html/implicit-body):\n// at Suspense ()\n// at SomeComponent ()\n// at __next_root_layout_boundary__ ()\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(`\\\\n\\\\s+at Suspense \\\\(\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`);\nconst hasMetadataRegex = new RegExp(`\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasViewportRegex = new RegExp(`\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`);\nexport function trackAllowedDynamicAccess(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n dynamicValidation.hasDynamicMetadata = true;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n dynamicValidation.hasDynamicViewport = true;\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Uncached data was accessed outside of ` + '. This delays the entire page from rendering, resulting in a ' + 'slow user experience. Learn more: ' + 'https://nextjs.org/docs/messages/blocking-route';\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\nexport function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\nexport function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n */ function createErrorWithComponentOrOwnerStack(message, componentStack) {\n const ownerStack = process.env.NODE_ENV !== 'production' && React.captureOwnerStack ? React.captureOwnerStack() : null;\n const error = Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n //\n error.stack = error.name + ': ' + message + (ownerStack || componentStack);\n return error;\n}\nexport var PreludeState = /*#__PURE__*/ function(PreludeState) {\n PreludeState[PreludeState[\"Full\"] = 0] = \"Full\";\n PreludeState[PreludeState[\"Empty\"] = 1] = \"Empty\";\n PreludeState[PreludeState[\"Errored\"] = 2] = \"Errored\";\n return PreludeState;\n}({});\nexport function logDisallowedDynamicError(workStore, error) {\n console.error(error);\n if (!workStore.dev) {\n if (workStore.hasReadableErrorStacks) {\n console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.`);\n } else {\n console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.\n - Rerun the production build with \\`next build --debug-prerender\\` to generate better stack traces.`);\n }\n }\n}\nexport function throwIfDisallowedDynamic(workStore, prelude, dynamicValidation, serverDynamic) {\n if (serverDynamic.syncDynamicErrorWithStack) {\n logDisallowedDynamicError(workStore, serverDynamic.syncDynamicErrorWithStack);\n throw new StaticGenBailoutError();\n }\n if (prelude !== 0) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return;\n }\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n for(let i = 0; i < dynamicErrors.length; i++){\n logDisallowedDynamicError(workStore, dynamicErrors[i]);\n }\n throw new StaticGenBailoutError();\n }\n // If we got this far then the only other thing that could be blocking\n // the root is dynamic Viewport. If this is dynamic then\n // you need to opt into that by adding a Suspense boundary above the body\n // to indicate your are ok with fully dynamic rendering.\n if (dynamicValidation.hasDynamicViewport) {\n console.error(`Route \"${workStore.route}\" has a \\`generateViewport\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`);\n throw new StaticGenBailoutError();\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n console.error(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`);\n throw new StaticGenBailoutError();\n }\n } else {\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.hasDynamicMetadata) {\n console.error(`Route \"${workStore.route}\" has a \\`generateMetadata\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`);\n throw new StaticGenBailoutError();\n }\n }\n}\nexport function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return [];\n }\n if (prelude !== 0) {\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n return [\n Object.defineProperty(new InvariantError(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`), \"__NEXT_ERROR_CODE\", {\n value: \"E936\",\n enumerable: false,\n configurable: true\n })\n ];\n }\n } else {\n // We have a prelude but we might still have dynamic metadata without any other dynamic access\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {\n return [\n dynamicValidation.dynamicMetadata\n ];\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return [];\n}\nexport function delayUntilRuntimeStage(prerenderStore, result) {\n if (prerenderStore.runtimeStagePromise) {\n return prerenderStore.runtimeStagePromise.then(()=>result);\n }\n return result;\n}\n\n//# sourceMappingURL=dynamic-rendering.js.map","const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';\nexport class DynamicServerError extends Error {\n constructor(description){\n super(`Dynamic server usage: ${description}`), this.description = description, this.digest = DYNAMIC_ERROR_CODE;\n }\n}\nexport function isDynamicServerError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {\n return false;\n }\n return err.digest === DYNAMIC_ERROR_CODE;\n}\n\n//# sourceMappingURL=hooks-server-context.js.map","const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT';\nexport class StaticGenBailoutError extends Error {\n constructor(...args){\n super(...args), this.code = NEXT_STATIC_GEN_BAILOUT;\n }\n}\nexport function isStaticGenBailoutError(error) {\n if (typeof error !== 'object' || error === null || !('code' in error)) {\n return false;\n }\n return error.code === NEXT_STATIC_GEN_BAILOUT;\n}\n\n//# sourceMappingURL=static-generation-bailout.js.map","// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING';\n/** An error that should be thrown when we want to bail out to client-side rendering. */ export class BailoutToCSRError extends Error {\n constructor(reason){\n super(`Bail out to client-side rendering: ${reason}`), this.reason = reason, this.digest = BAILOUT_TO_CSR;\n }\n}\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */ export function isBailoutToCSRError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === BAILOUT_TO_CSR;\n}\n\n//# sourceMappingURL=bailout-to-csr.js.map","export function isHangingPromiseRejectionError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === HANGING_PROMISE_REJECTION;\n}\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION';\nclass HangingPromiseRejectionError extends Error {\n constructor(route, expression){\n super(`During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`), this.route = route, this.expression = expression, this.digest = HANGING_PROMISE_REJECTION;\n }\n}\nconst abortListenersBySignal = new WeakMap();\n/**\n * This function constructs a promise that will never resolve. This is primarily\n * useful for cacheComponents where we use promise resolution timing to determine which\n * parts of a render can be included in a prerender.\n *\n * @internal\n */ export function makeHangingPromise(signal, route, expression) {\n if (signal.aborted) {\n return Promise.reject(new HangingPromiseRejectionError(route, expression));\n } else {\n const hangingPromise = new Promise((_, reject)=>{\n const boundRejection = reject.bind(null, new HangingPromiseRejectionError(route, expression));\n let currentListeners = abortListenersBySignal.get(signal);\n if (currentListeners) {\n currentListeners.push(boundRejection);\n } else {\n const listeners = [\n boundRejection\n ];\n abortListenersBySignal.set(signal, listeners);\n signal.addEventListener('abort', ()=>{\n for(let i = 0; i < listeners.length; i++){\n listeners[i]();\n }\n }, {\n once: true\n });\n }\n });\n // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject);\n return hangingPromise;\n }\n}\nfunction ignoreReject() {}\nexport function makeDevtoolsIOAwarePromise(underlying, requestStore, stage) {\n if (requestStore.stagedRendering) {\n // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n return requestStore.stagedRendering.delayUntilStage(stage, undefined, underlying);\n }\n // in React DevTools if we resolve in a setTimeout we will observe\n // the promise resolution as something that can suspend a boundary or root.\n return new Promise((resolve)=>{\n // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n setTimeout(()=>{\n resolve(underlying);\n }, 0);\n });\n}\n\n//# sourceMappingURL=dynamic-rendering-utils.js.map","/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */ export const scheduleOnNextTick = (cb)=>{\n // We use Promise.resolve().then() here so that the operation is scheduled at\n // the end of the promise job queue, we then add it to the next process tick\n // to ensure it's evaluated afterwards.\n //\n // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n //\n Promise.resolve().then(()=>{\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0);\n } else {\n process.nextTick(cb);\n }\n });\n};\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */ export const scheduleImmediate = (cb)=>{\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0);\n } else {\n setImmediate(cb);\n }\n};\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */ export function atLeastOneTask() {\n return new Promise((resolve)=>scheduleImmediate(resolve));\n}\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */ export function waitAtLeastOneReactRenderTask() {\n if (process.env.NEXT_RUNTIME === 'edge') {\n return new Promise((r)=>setTimeout(r, 0));\n } else {\n return new Promise((r)=>setImmediate(r));\n }\n}\n\n//# sourceMappingURL=scheduler.js.map","const REACT_POSTPONE_TYPE = Symbol.for('react.postpone');\nexport function isPostpone(error) {\n return typeof error === 'object' && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;\n}\n\n//# sourceMappingURL=is-postpone.js.map","import { isHangingPromiseRejectionError } from '../../server/dynamic-rendering-utils';\nimport { isPostpone } from '../../server/lib/router-utils/is-postpone';\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { isNextRouterError } from './is-next-router-error';\nimport { isDynamicPostpone, isPrerenderInterruptedError } from '../../server/app-render/dynamic-rendering';\nimport { isDynamicServerError } from './hooks-server-context';\nexport function unstable_rethrow(error) {\n if (isNextRouterError(error) || isBailoutToCSRError(error) || isDynamicServerError(error) || isDynamicPostpone(error) || isPostpone(error) || isHangingPromiseRejectionError(error) || isPrerenderInterruptedError(error)) {\n throw error;\n }\n if (error instanceof Error && 'cause' in error) {\n unstable_rethrow(error.cause);\n }\n}\n\n//# sourceMappingURL=unstable-rethrow.server.js.map","let warnOnce = (_)=>{};\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set();\n warnOnce = (msg)=>{\n if (!warnings.has(msg)) {\n console.warn(msg);\n }\n warnings.add(msg);\n };\n}\nexport { warnOnce };\n\n//# sourceMappingURL=warn-once.js.map","'use client';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\n/**\n * HTTPAccessFallbackBoundary is a boundary that catches errors and renders a\n * fallback component for HTTP errors.\n *\n * It receives the status code, and determine if it should render fallbacks for few HTTP 4xx errors.\n *\n * e.g. 404\n * 404 represents not found, and the fallback component pair contains the component and its styles.\n *\n */ import React, { useContext } from 'react';\nimport { useUntrackedPathname } from '../navigation-untracked';\nimport { HTTPAccessErrorStatus, getAccessFallbackHTTPStatus, getAccessFallbackErrorTypeByStatus, isHTTPAccessFallbackError } from './http-access-fallback';\nimport { warnOnce } from '../../../shared/lib/utils/warn-once';\nimport { MissingSlotContext } from '../../../shared/lib/app-router-context.shared-runtime';\nclass HTTPAccessFallbackErrorBoundary extends React.Component {\n constructor(props){\n super(props);\n this.state = {\n triggeredStatus: undefined,\n previousPathname: props.pathname\n };\n }\n componentDidCatch() {\n if (process.env.NODE_ENV === 'development' && this.props.missingSlots && this.props.missingSlots.size > 0 && // A missing children slot is the typical not-found case, so no need to warn\n !this.props.missingSlots.has('children')) {\n let warningMessage = 'No default component was found for a parallel route rendered on this page. Falling back to nearest NotFound boundary.\\n' + 'Learn more: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#defaultjs\\n\\n';\n const formattedSlots = Array.from(this.props.missingSlots).sort((a, b)=>a.localeCompare(b)).map((slot)=>`@${slot}`).join(', ');\n warningMessage += 'Missing slots: ' + formattedSlots;\n warnOnce(warningMessage);\n }\n }\n static getDerivedStateFromError(error) {\n if (isHTTPAccessFallbackError(error)) {\n const httpStatus = getAccessFallbackHTTPStatus(error);\n return {\n triggeredStatus: httpStatus\n };\n }\n // Re-throw if error is not for 404\n throw error;\n }\n static getDerivedStateFromProps(props, state) {\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */ if (props.pathname !== state.previousPathname && state.triggeredStatus) {\n return {\n triggeredStatus: undefined,\n previousPathname: props.pathname\n };\n }\n return {\n triggeredStatus: state.triggeredStatus,\n previousPathname: props.pathname\n };\n }\n render() {\n const { notFound, forbidden, unauthorized, children } = this.props;\n const { triggeredStatus } = this.state;\n const errorComponents = {\n [HTTPAccessErrorStatus.NOT_FOUND]: notFound,\n [HTTPAccessErrorStatus.FORBIDDEN]: forbidden,\n [HTTPAccessErrorStatus.UNAUTHORIZED]: unauthorized\n };\n if (triggeredStatus) {\n const isNotFound = triggeredStatus === HTTPAccessErrorStatus.NOT_FOUND && notFound;\n const isForbidden = triggeredStatus === HTTPAccessErrorStatus.FORBIDDEN && forbidden;\n const isUnauthorized = triggeredStatus === HTTPAccessErrorStatus.UNAUTHORIZED && unauthorized;\n // If there's no matched boundary in this layer, keep throwing the error by rendering the children\n if (!(isNotFound || isForbidden || isUnauthorized)) {\n return children;\n }\n return /*#__PURE__*/ _jsxs(_Fragment, {\n children: [\n /*#__PURE__*/ _jsx(\"meta\", {\n name: \"robots\",\n content: \"noindex\"\n }),\n process.env.NODE_ENV === 'development' && /*#__PURE__*/ _jsx(\"meta\", {\n name: \"boundary-next-error\",\n content: getAccessFallbackErrorTypeByStatus(triggeredStatus)\n }),\n errorComponents[triggeredStatus]\n ]\n });\n }\n return children;\n }\n}\nexport function HTTPAccessFallbackBoundary({ notFound, forbidden, unauthorized, children }) {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these error can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname();\n const missingSlots = useContext(MissingSlotContext);\n const hasErrorFallback = !!(notFound || forbidden || unauthorized);\n if (hasErrorFallback) {\n return /*#__PURE__*/ _jsx(HTTPAccessFallbackErrorBoundary, {\n pathname: pathname,\n notFound: notFound,\n forbidden: forbidden,\n unauthorized: unauthorized,\n missingSlots: missingSlots,\n children: children\n });\n }\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: children\n });\n}\n\n//# sourceMappingURL=error-boundary.js.map","import { useContext } from 'react';\nimport { PathnameContext } from '../../shared/lib/hooks-client-context.shared-runtime';\n/**\n * This checks to see if the current render has any unknown route parameters that\n * would cause the pathname to be dynamic. It's used to trigger a different\n * render path in the error boundary.\n *\n * @returns true if there are any unknown route parameters, false otherwise\n */ function hasFallbackRouteParams() {\n if (typeof window === 'undefined') {\n // AsyncLocalStorage should not be included in the client bundle.\n const { workUnitAsyncStorage } = require('../../server/app-render/work-unit-async-storage.external');\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (!workUnitStore) return false;\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n const fallbackParams = workUnitStore.fallbackRouteParams;\n return fallbackParams ? fallbackParams.size > 0 : false;\n case 'prerender-legacy':\n case 'request':\n case 'prerender-runtime':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n return false;\n }\n return false;\n}\n/**\n * This returns a `null` value if there are any unknown route parameters, and\n * otherwise returns the pathname from the context. This is an alternative to\n * `usePathname` that is used in the error boundary to avoid rendering the\n * error boundary when there are unknown route parameters. This doesn't throw\n * when accessed with unknown route parameters.\n *\n * @returns\n *\n * @internal\n */ export function useUntrackedPathname() {\n // If there are any unknown route parameters we would typically throw\n // an error, but this internal method allows us to return a null value instead\n // for components that do not propagate the pathname to the static shell (like\n // the error boundary).\n if (hasFallbackRouteParams()) {\n return null;\n }\n // This shouldn't cause any issues related to conditional rendering because\n // the environment will be consistent for the render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useContext(PathnameContext);\n}\n\n//# sourceMappingURL=navigation-untracked.js.map","export const RSC_HEADER = 'rsc';\nexport const ACTION_HEADER = 'next-action';\n// TODO: Instead of sending the full router state, we only need to send the\n// segment path. Saves bytes. Then we could also use this field for segment\n// prefetches, which also need to specify a particular segment.\nexport const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree';\nexport const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch';\n// This contains the path to the segment being prefetched.\n// TODO: If we change next-router-state-tree to be a segment path, we can use\n// that instead. Then next-router-prefetch and next-router-segment-prefetch can\n// be merged into a single enum.\nexport const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER = 'next-router-segment-prefetch';\nexport const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh';\nexport const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__';\nexport const NEXT_URL = 'next-url';\nexport const RSC_CONTENT_TYPE_HEADER = 'text/x-component';\nexport const FLIGHT_HEADERS = [\n RSC_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER\n];\nexport const NEXT_RSC_UNION_QUERY = '_rsc';\nexport const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time';\nexport const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed';\nexport const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path';\nexport const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query';\nexport const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender';\nexport const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found';\nexport const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id';\nexport const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id';\n// TODO: Should this include nextjs in the name, like the others?\nexport const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated';\n\n//# sourceMappingURL=app-router-headers.js.map","export function getSegmentValue(segment) {\n return Array.isArray(segment) ? segment[1] : segment;\n}\nexport function isGroupSegment(segment) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')');\n}\nexport function isParallelRouteSegment(segment) {\n return segment.startsWith('@') && segment !== '@children';\n}\nexport function addSearchParamsIfPageSegment(segment, searchParams) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY);\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams);\n return stringifiedQuery !== '{}' ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery : PAGE_SEGMENT_KEY;\n }\n return segment;\n}\nexport function computeSelectedLayoutSegment(segments, parallelRouteKey) {\n if (!segments || segments.length === 0) {\n return null;\n }\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment = parallelRouteKey === 'children' ? segments[0] : segments[segments.length - 1];\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;\n}\n/** Get the canonical parameters from the current level to the leaf node. */ export function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {\n let node;\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey];\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1];\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];\n }\n if (!node) return segmentPath;\n const segment = node[0];\n let segmentValue = getSegmentValue(segment);\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath;\n }\n segmentPath.push(segmentValue);\n return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);\n}\nexport const PAGE_SEGMENT_KEY = '__PAGE__';\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__';\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found';\n\n//# sourceMappingURL=segment.js.map","import { PAGE_SEGMENT_KEY } from '../segment';\nexport const ROOT_SEGMENT_REQUEST_KEY = '';\nexport const HEAD_REQUEST_KEY = '/_head';\nexport function createSegmentRequestKeyPart(segment) {\n if (typeof segment === 'string') {\n if (segment.startsWith(PAGE_SEGMENT_KEY)) {\n // The Flight Router State type sometimes includes the search params in\n // the page segment. However, the Segment Cache tracks this as a separate\n // key. So, we strip the search params here, and then add them back when\n // the cache entry is turned back into a FlightRouterState. This is an\n // unfortunate consequence of the FlightRouteState being used both as a\n // transport type and as a cache key; we'll address this once more of the\n // Segment Cache implementation has settled.\n // TODO: We should hoist the search params out of the FlightRouterState\n // type entirely, This is our plan for dynamic route params, too.\n return PAGE_SEGMENT_KEY;\n }\n const safeName = // TODO: FlightRouterState encodes Not Found routes as \"/_not-found\".\n // But params typically don't include the leading slash. We should use\n // a different encoding to avoid this special case.\n segment === '/_not-found' ? '_not-found' : encodeToFilesystemAndURLSafeString(segment);\n // Since this is not a dynamic segment, it's fully encoded. It does not\n // need to be \"hydrated\" with a param value.\n return safeName;\n }\n const name = segment[0];\n const paramType = segment[2];\n const safeName = encodeToFilesystemAndURLSafeString(name);\n const encodedName = '$' + paramType + '$' + safeName;\n return encodedName;\n}\nexport function appendSegmentRequestKeyPart(parentRequestKey, parallelRouteKey, childRequestKeyPart) {\n // Aside from being filesystem safe, segment keys are also designed so that\n // each segment and parallel route creates its own subdirectory. Roughly in\n // the same shape as the source app directory. This is mostly just for easier\n // debugging (you can open up the build folder and navigate the output); if\n // we wanted to do we could just use a flat structure.\n // Omit the parallel route key for children, since this is the most\n // common case. Saves some bytes (and it's what the app directory does).\n const slotKey = parallelRouteKey === 'children' ? childRequestKeyPart : `@${encodeToFilesystemAndURLSafeString(parallelRouteKey)}/${childRequestKeyPart}`;\n return parentRequestKey + '/' + slotKey;\n}\n// Define a regex pattern to match the most common characters found in a route\n// param. It excludes anything that might not be cross-platform filesystem\n// compatible, like |. It does not need to be precise because the fallback is to\n// just base64url-encode the whole parameter, which is fine; we just don't do it\n// by default for compactness, and for easier debugging.\nconst simpleParamValueRegex = /^[a-zA-Z0-9\\-_@]+$/;\nfunction encodeToFilesystemAndURLSafeString(value) {\n if (simpleParamValueRegex.test(value)) {\n return value;\n }\n // If there are any unsafe characters, base64url-encode the entire value.\n // We also add a ! prefix so it doesn't collide with the simple case.\n const base64url = btoa(value).replace(/\\+/g, '-') // Replace '+' with '-'\n .replace(/\\//g, '_') // Replace '/' with '_'\n .replace(/=+$/, '') // Remove trailing '='\n ;\n return '!' + base64url;\n}\nexport function convertSegmentPathToStaticExportFilename(segmentPath) {\n return `__next${segmentPath.replace(/\\//g, '.')}.txt`;\n}\n\n//# sourceMappingURL=segment-value-encoding.js.map","import { addSearchParamsIfPageSegment, DEFAULT_SEGMENT_KEY, PAGE_SEGMENT_KEY } from '../shared/lib/segment';\nimport { ROOT_SEGMENT_REQUEST_KEY } from '../shared/lib/segment-cache/segment-value-encoding';\nimport { NEXT_REWRITTEN_PATH_HEADER, NEXT_REWRITTEN_QUERY_HEADER, NEXT_RSC_UNION_QUERY } from './components/app-router-headers';\nexport function getRenderedSearch(response) {\n // If the server performed a rewrite, the search params used to render the\n // page will be different from the params in the request URL. In this case,\n // the response will include a header that gives the rewritten search query.\n const rewrittenQuery = response.headers.get(NEXT_REWRITTEN_QUERY_HEADER);\n if (rewrittenQuery !== null) {\n return rewrittenQuery === '' ? '' : '?' + rewrittenQuery;\n }\n // If the header is not present, there was no rewrite, so we use the search\n // query of the response URL.\n return urlToUrlWithoutFlightMarker(new URL(response.url)).search;\n}\nexport function getRenderedPathname(response) {\n // If the server performed a rewrite, the pathname used to render the\n // page will be different from the pathname in the request URL. In this case,\n // the response will include a header that gives the rewritten pathname.\n const rewrittenPath = response.headers.get(NEXT_REWRITTEN_PATH_HEADER);\n return rewrittenPath ?? urlToUrlWithoutFlightMarker(new URL(response.url)).pathname;\n}\nexport function parseDynamicParamFromURLPart(paramType, pathnameParts, partIndex) {\n // This needs to match the behavior in get-dynamic-param.ts.\n switch(paramType){\n // Catchalls\n case 'c':\n {\n // Catchalls receive all the remaining URL parts. If there are no\n // remaining pathname parts, return an empty array.\n return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s)=>encodeURIComponent(s)) : [];\n }\n // Catchall intercepted\n case 'ci(..)(..)':\n case 'ci(.)':\n case 'ci(..)':\n case 'ci(...)':\n {\n const prefix = paramType.length - 2;\n return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s, i)=>{\n if (i === 0) {\n return encodeURIComponent(s.slice(prefix));\n }\n return encodeURIComponent(s);\n }) : [];\n }\n // Optional catchalls\n case 'oc':\n {\n // Optional catchalls receive all the remaining URL parts, unless this is\n // the end of the pathname, in which case they return null.\n return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s)=>encodeURIComponent(s)) : null;\n }\n // Dynamic\n case 'd':\n {\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return '';\n }\n return encodeURIComponent(pathnameParts[partIndex]);\n }\n // Dynamic intercepted\n case 'di(..)(..)':\n case 'di(.)':\n case 'di(..)':\n case 'di(...)':\n {\n const prefix = paramType.length - 2;\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return '';\n }\n return encodeURIComponent(pathnameParts[partIndex].slice(prefix));\n }\n default:\n paramType;\n return '';\n }\n}\nexport function doesStaticSegmentAppearInURL(segment) {\n // This is not a parameterized segment; however, we need to determine\n // whether or not this segment appears in the URL. For example, this route\n // groups do not appear in the URL, so they should be skipped. Any other\n // special cases must be handled here.\n // TODO: Consider encoding this directly into the router tree instead of\n // inferring it on the client based on the segment type. Something like\n // a `doesAppearInURL` flag in FlightRouterState.\n if (segment === ROOT_SEGMENT_REQUEST_KEY || // For some reason, the loader tree sometimes includes extra __PAGE__\n // \"layouts\" when part of a parallel route. But it's not a leaf node.\n // Otherwise, we wouldn't need this special case because pages are\n // always leaf nodes.\n // TODO: Investigate why the loader produces these fake page segments.\n segment.startsWith(PAGE_SEGMENT_KEY) || // Route groups.\n segment[0] === '(' && segment.endsWith(')') || segment === DEFAULT_SEGMENT_KEY || segment === '/_not-found') {\n return false;\n } else {\n // All other segment types appear in the URL\n return true;\n }\n}\nexport function getCacheKeyForDynamicParam(paramValue, renderedSearch) {\n // This needs to match the logic in get-dynamic-param.ts, until we're able to\n // unify the various implementations so that these are always computed on\n // the client.\n if (typeof paramValue === 'string') {\n // TODO: Refactor or remove this helper function to accept a string rather\n // than the whole segment type. Also we can probably just append the\n // search string instead of turning it into JSON.\n const pageSegmentWithSearchParams = addSearchParamsIfPageSegment(paramValue, Object.fromEntries(new URLSearchParams(renderedSearch)));\n return pageSegmentWithSearchParams;\n } else if (paramValue === null) {\n return '';\n } else {\n return paramValue.join('/');\n }\n}\nexport function urlToUrlWithoutFlightMarker(url) {\n const urlWithoutFlightParameters = new URL(url);\n urlWithoutFlightParameters.searchParams.delete(NEXT_RSC_UNION_QUERY);\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export' && urlWithoutFlightParameters.pathname.endsWith('.txt')) {\n const { pathname } = urlWithoutFlightParameters;\n const length = pathname.endsWith('/index.txt') ? 10 : 4;\n // Slice off `/index.txt` or `.txt` from the end of the pathname\n urlWithoutFlightParameters.pathname = pathname.slice(0, -length);\n }\n }\n return urlWithoutFlightParameters;\n}\nexport function getParamValueFromCacheKey(paramCacheKey, paramType) {\n // Turn the cache key string sent by the server (as part of FlightRouterState)\n // into a value that can be passed to `useParams` and client components.\n const isCatchAll = paramType === 'c' || paramType === 'oc';\n if (isCatchAll) {\n // Catch-all param keys are a concatenation of the path segments.\n // See equivalent logic in `getSelectedParams`.\n // TODO: We should just pass the array directly, rather than concatenate\n // it to a string and then split it back to an array. It needs to be an\n // array in some places, like when passing a key React, but we can convert\n // it at runtime in those places.\n return paramCacheKey.split('/');\n }\n return paramCacheKey;\n}\nexport function urlSearchParamsToParsedUrlQuery(searchParams) {\n // Converts a URLSearchParams object to the same type used by the server when\n // creating search params props, i.e. the type returned by Node's\n // \"querystring\" module.\n const result = {};\n for (const [key, value] of searchParams.entries()){\n if (result[key] === undefined) {\n result[key] = value;\n } else if (Array.isArray(result[key])) {\n result[key].push(value);\n } else {\n result[key] = [\n result[key],\n value\n ];\n }\n }\n return result;\n}\n\n//# sourceMappingURL=route-params.js.map","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactServerDOMTurbopackClient\n","export function createPromiseWithResolvers(): PromiseWithResolvers {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve: (value: T | PromiseLike) => void\n let reject: (reason: any) => void\n const promise = new Promise((res, rej) => {\n resolve = res\n reject = rej\n })\n return { resolve: resolve!, reject: reject!, promise }\n}\n","'use client';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport React, { Activity, useContext, use, Suspense, useDeferredValue } from 'react';\nimport ReactDOM from 'react-dom';\nimport { LayoutRouterContext, GlobalLayoutRouterContext, TemplateContext } from '../../shared/lib/app-router-context.shared-runtime';\nimport { unresolvedThenable } from './unresolved-thenable';\nimport { ErrorBoundary } from './error-boundary';\nimport { matchSegment } from './match-segments';\nimport { disableSmoothScrollDuringRouteTransition } from '../../shared/lib/router/utils/disable-smooth-scroll';\nimport { RedirectBoundary } from './redirect-boundary';\nimport { HTTPAccessFallbackBoundary } from './http-access-fallback/error-boundary';\nimport { createRouterCacheKey } from './router-reducer/create-router-cache-key';\nimport { useRouterBFCache } from './bfcache';\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths';\nimport { NavigationPromisesContext } from '../../shared/lib/hooks-client-context.shared-runtime';\nimport { getParamValueFromCacheKey } from '../route-params';\nimport { isDeferredRsc } from './router-reducer/ppr-navigations';\nconst __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n// TODO-APP: Replace with new React API for finding dom nodes without a `ref` when available\n/**\n * Wraps ReactDOM.findDOMNode with additional logic to hide React Strict Mode warning\n */ function findDOMNode(instance) {\n // Tree-shake for server bundle\n if (typeof window === 'undefined') return null;\n // __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode is null during module init.\n // We need to lazily reference it.\n const internal_reactDOMfindDOMNode = __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode;\n return internal_reactDOMfindDOMNode(instance);\n}\nconst rectProperties = [\n 'bottom',\n 'height',\n 'left',\n 'right',\n 'top',\n 'width',\n 'x',\n 'y'\n];\n/**\n * Check if a HTMLElement is hidden or fixed/sticky position\n */ function shouldSkipElement(element) {\n // we ignore fixed or sticky positioned elements since they'll likely pass the \"in-viewport\" check\n // and will result in a situation we bail on scroll because of something like a fixed nav,\n // even though the actual page content is offscreen\n if ([\n 'sticky',\n 'fixed'\n ].includes(getComputedStyle(element).position)) {\n return true;\n }\n // Uses `getBoundingClientRect` to check if the element is hidden instead of `offsetParent`\n // because `offsetParent` doesn't consider document/body\n const rect = element.getBoundingClientRect();\n return rectProperties.every((item)=>rect[item] === 0);\n}\n/**\n * Check if the top corner of the HTMLElement is in the viewport.\n */ function topOfElementInViewport(element, viewportHeight) {\n const rect = element.getBoundingClientRect();\n return rect.top >= 0 && rect.top <= viewportHeight;\n}\n/**\n * Find the DOM node for a hash fragment.\n * If `top` the page has to scroll to the top of the page. This mirrors the browser's behavior.\n * If the hash fragment is an id, the page has to scroll to the element with that id.\n * If the hash fragment is a name, the page has to scroll to the first element with that name.\n */ function getHashFragmentDomNode(hashFragment) {\n // If the hash fragment is `top` the page has to scroll to the top of the page.\n if (hashFragment === 'top') {\n return document.body;\n }\n // If the hash fragment is an id, the page has to scroll to the element with that id.\n return document.getElementById(hashFragment) ?? // If the hash fragment is a name, the page has to scroll to the first element with that name.\n document.getElementsByName(hashFragment)[0];\n}\nclass InnerScrollAndFocusHandler extends React.Component {\n componentDidMount() {\n this.handlePotentialScroll();\n }\n componentDidUpdate() {\n // Because this property is overwritten in handlePotentialScroll it's fine to always run it when true as it'll be set to false for subsequent renders.\n if (this.props.focusAndScrollRef.apply) {\n this.handlePotentialScroll();\n }\n }\n render() {\n return this.props.children;\n }\n constructor(...args){\n super(...args), this.handlePotentialScroll = ()=>{\n // Handle scroll and focus, it's only applied once in the first useEffect that triggers that changed.\n const { focusAndScrollRef, segmentPath } = this.props;\n if (focusAndScrollRef.apply) {\n // segmentPaths is an array of segment paths that should be scrolled to\n // if the current segment path is not in the array, the scroll is not applied\n // unless the array is empty, in which case the scroll is always applied\n if (focusAndScrollRef.segmentPaths.length !== 0 && !focusAndScrollRef.segmentPaths.some((scrollRefSegmentPath)=>segmentPath.every((segment, index)=>matchSegment(segment, scrollRefSegmentPath[index])))) {\n return;\n }\n let domNode = null;\n const hashFragment = focusAndScrollRef.hashFragment;\n if (hashFragment) {\n domNode = getHashFragmentDomNode(hashFragment);\n }\n // `findDOMNode` is tricky because it returns just the first child if the component is a fragment.\n // This already caused a bug where the first child was a in head.\n if (!domNode) {\n domNode = findDOMNode(this);\n }\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (!(domNode instanceof Element)) {\n return;\n }\n // Verify if the element is a HTMLElement and if we want to consider it for scroll behavior.\n // If the element is skipped, try to select the next sibling and try again.\n while(!(domNode instanceof HTMLElement) || shouldSkipElement(domNode)){\n if (process.env.NODE_ENV !== 'production') {\n if (domNode.parentElement?.localName === 'head') {\n // TODO: We enter this state when metadata was rendered as part of the page or via Next.js.\n // This is always a bug in Next.js and caused by React hoisting metadata.\n // We need to replace `findDOMNode` in favor of Fragment Refs (when available) so that we can skip over metadata.\n }\n }\n // No siblings found that match the criteria are found, so handle scroll higher up in the tree instead.\n if (domNode.nextElementSibling === null) {\n return;\n }\n domNode = domNode.nextElementSibling;\n }\n // State is mutated to ensure that the focus and scroll is applied only once.\n focusAndScrollRef.apply = false;\n focusAndScrollRef.hashFragment = null;\n focusAndScrollRef.segmentPaths = [];\n disableSmoothScrollDuringRouteTransition(()=>{\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n ;\n domNode.scrollIntoView();\n return;\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement;\n const viewportHeight = htmlElement.clientHeight;\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(domNode, viewportHeight)) {\n return;\n }\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0;\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(domNode, viewportHeight)) {\n // Scroll into view doesn't scroll horizontally by default when not needed\n ;\n domNode.scrollIntoView();\n }\n }, {\n // We will force layout by querying domNode position\n dontForceLayout: true,\n onlyHashChange: focusAndScrollRef.onlyHashChange\n });\n // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition`\n focusAndScrollRef.onlyHashChange = false;\n // Set focus on the element\n domNode.focus();\n }\n };\n }\n}\nfunction ScrollAndFocusHandler({ segmentPath, children }) {\n const context = useContext(GlobalLayoutRouterContext);\n if (!context) {\n throw Object.defineProperty(new Error('invariant global layout router not mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E473\",\n enumerable: false,\n configurable: true\n });\n }\n return /*#__PURE__*/ _jsx(InnerScrollAndFocusHandler, {\n segmentPath: segmentPath,\n focusAndScrollRef: context.focusAndScrollRef,\n children: children\n });\n}\n/**\n * InnerLayoutRouter handles rendering the provided segment based on the cache.\n */ function InnerLayoutRouter({ tree, segmentPath, debugNameContext, cacheNode: maybeCacheNode, params, url, isActive }) {\n const context = useContext(GlobalLayoutRouterContext);\n const parentNavPromises = useContext(NavigationPromisesContext);\n if (!context) {\n throw Object.defineProperty(new Error('invariant global layout router not mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E473\",\n enumerable: false,\n configurable: true\n });\n }\n const cacheNode = maybeCacheNode !== null ? maybeCacheNode : //\n // This should only be reachable for inactive/hidden segments, during\n // prerendering The active segment should always be consistent with the\n // CacheNode tree. Regardless, if we don't have a matching CacheNode, we\n // must suspend rather than render nothing, to prevent showing an\n // inconsistent route.\n use(unresolvedThenable);\n // `rsc` represents the renderable node for this segment.\n // If this segment has a `prefetchRsc`, it's the statically prefetched data.\n // We should use that on initial render instead of `rsc`. Then we'll switch\n // to `rsc` when the dynamic response streams in.\n //\n // If no prefetch data is available, then we go straight to rendering `rsc`.\n const resolvedPrefetchRsc = cacheNode.prefetchRsc !== null ? cacheNode.prefetchRsc : cacheNode.rsc;\n // We use `useDeferredValue` to handle switching between the prefetched and\n // final values. The second argument is returned on initial render, then it\n // re-renders with the first argument.\n const rsc = useDeferredValue(cacheNode.rsc, resolvedPrefetchRsc);\n // `rsc` is either a React node or a promise for a React node, except we\n // special case `null` to represent that this segment's data is missing. If\n // it's a promise, we need to unwrap it so we can determine whether or not the\n // data is missing.\n let resolvedRsc;\n if (isDeferredRsc(rsc)) {\n const unwrappedRsc = use(rsc);\n if (unwrappedRsc === null) {\n // If the promise was resolved to `null`, it means the data for this\n // segment was not returned by the server. Suspend indefinitely. When this\n // happens, the router is responsible for triggering a new state update to\n // un-suspend this segment.\n use(unresolvedThenable);\n }\n resolvedRsc = unwrappedRsc;\n } else {\n // This is not a deferred RSC promise. Don't need to unwrap it.\n if (rsc === null) {\n use(unresolvedThenable);\n }\n resolvedRsc = rsc;\n }\n // In dev, we create a NavigationPromisesContext containing the instrumented promises that provide\n // `useSelectedLayoutSegment` and `useSelectedLayoutSegments`.\n // Promises are cached outside of render to survive suspense retries.\n let navigationPromises = null;\n if (process.env.NODE_ENV !== 'production') {\n const { createNestedLayoutNavigationPromises } = require('./navigation-devtools');\n navigationPromises = createNestedLayoutNavigationPromises(tree, parentNavPromises);\n }\n let children = resolvedRsc;\n if (navigationPromises) {\n children = /*#__PURE__*/ _jsx(NavigationPromisesContext.Provider, {\n value: navigationPromises,\n children: resolvedRsc\n });\n }\n children = // The layout router context narrows down tree and childNodes at each level.\n /*#__PURE__*/ _jsx(LayoutRouterContext.Provider, {\n value: {\n parentTree: tree,\n parentCacheNode: cacheNode,\n parentSegmentPath: segmentPath,\n parentParams: params,\n debugNameContext: debugNameContext,\n // TODO-APP: overriding of url for parallel routes\n url: url,\n isActive: isActive\n },\n children: children\n });\n return children;\n}\n/**\n * Renders suspense boundary with the provided \"loading\" property as the fallback.\n * If no loading property is provided it renders the children without a suspense boundary.\n */ function LoadingBoundary({ name, loading, children }) {\n // If loading is a promise, unwrap it. This happens in cases where we haven't\n // yet received the loading data from the server — which includes whether or\n // not this layout has a loading component at all.\n //\n // It's OK to suspend here instead of inside the fallback because this\n // promise will resolve simultaneously with the data for the segment itself.\n // So it will never suspend for longer than it would have if we didn't use\n // a Suspense fallback at all.\n let loadingModuleData;\n if (typeof loading === 'object' && loading !== null && typeof loading.then === 'function') {\n const promiseForLoading = loading;\n loadingModuleData = use(promiseForLoading);\n } else {\n loadingModuleData = loading;\n }\n if (loadingModuleData) {\n const loadingRsc = loadingModuleData[0];\n const loadingStyles = loadingModuleData[1];\n const loadingScripts = loadingModuleData[2];\n return /*#__PURE__*/ _jsx(Suspense, {\n name: name,\n fallback: /*#__PURE__*/ _jsxs(_Fragment, {\n children: [\n loadingStyles,\n loadingScripts,\n loadingRsc\n ]\n }),\n children: children\n });\n }\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: children\n });\n}\n/**\n * OuterLayoutRouter handles the current segment as well as rendering of other segments.\n * It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes.\n */ export default function OuterLayoutRouter({ parallelRouterKey, error, errorStyles, errorScripts, templateStyles, templateScripts, template, notFound, forbidden, unauthorized, segmentViewBoundaries }) {\n const context = useContext(LayoutRouterContext);\n if (!context) {\n throw Object.defineProperty(new Error('invariant expected layout router to be mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E56\",\n enumerable: false,\n configurable: true\n });\n }\n const { parentTree, parentCacheNode, parentSegmentPath, parentParams, url, isActive, debugNameContext } = context;\n // Get the CacheNode for this segment by reading it from the parent segment's\n // child map.\n const parentParallelRoutes = parentCacheNode.parallelRoutes;\n let segmentMap = parentParallelRoutes.get(parallelRouterKey);\n // If the parallel router cache node does not exist yet, create it.\n // This writes to the cache when there is no item in the cache yet. It never *overwrites* existing cache items which is why it's safe in concurrent mode.\n if (!segmentMap) {\n segmentMap = new Map();\n parentParallelRoutes.set(parallelRouterKey, segmentMap);\n }\n const parentTreeSegment = parentTree[0];\n const segmentPath = parentSegmentPath === null ? // path. This has led to a bunch of special cases scattered throughout\n // the code. We should clean this up.\n [\n parallelRouterKey\n ] : parentSegmentPath.concat([\n parentTreeSegment,\n parallelRouterKey\n ]);\n // The \"state\" key of a segment is the one passed to React — it represents the\n // identity of the UI tree. Whenever the state key changes, the tree is\n // recreated and the state is reset. In the App Router model, search params do\n // not cause state to be lost, so two segments with the same segment path but\n // different search params should have the same state key.\n //\n // The \"cache\" key of a segment, however, *does* include the search params, if\n // it's possible that the segment accessed the search params on the server.\n // (This only applies to page segments; layout segments cannot access search\n // params on the server.)\n const activeTree = parentTree[1][parallelRouterKey];\n if (activeTree === undefined) {\n // Could not find a matching segment. The client tree is inconsistent with\n // the server tree. Suspend indefinitely; the router will have already\n // detected the inconsistency when handling the server response, and\n // triggered a refresh of the page to recover.\n use(unresolvedThenable);\n }\n const activeSegment = activeTree[0];\n const activeStateKey = createRouterCacheKey(activeSegment, true) // no search params\n ;\n // At each level of the route tree, not only do we render the currently\n // active segment — we also render the last N segments that were active at\n // this level inside a hidden boundary, to preserve their state\n // if or when the user navigates to them again.\n //\n // bfcacheEntry is a linked list of FlightRouterStates.\n let bfcacheEntry = useRouterBFCache(activeTree, activeStateKey);\n let children = [];\n do {\n const tree = bfcacheEntry.tree;\n const stateKey = bfcacheEntry.stateKey;\n const segment = tree[0];\n const cacheKey = createRouterCacheKey(segment);\n // Read segment path from the parallel router cache node.\n const cacheNode = segmentMap.get(cacheKey) ?? null;\n /*\n - Error boundary\n - Only renders error boundary if error component is provided.\n - Rendered for each segment to ensure they have their own error state.\n - When gracefully degrade for bots, skip rendering error boundary.\n - Loading boundary\n - Only renders suspense boundary if loading components is provided.\n - Rendered for each segment to ensure they have their own loading state.\n - Passed to the router during rendering to ensure it can be immediately rendered when suspending on a Flight fetch.\n */ let segmentBoundaryTriggerNode = null;\n let segmentViewStateNode = null;\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentBoundaryTriggerNode, SegmentViewStateNode } = require('../../next-devtools/userspace/app/segment-explorer-node');\n const pagePrefix = normalizeAppPath(url);\n segmentViewStateNode = /*#__PURE__*/ _jsx(SegmentViewStateNode, {\n page: pagePrefix\n }, pagePrefix);\n segmentBoundaryTriggerNode = /*#__PURE__*/ _jsx(_Fragment, {\n children: /*#__PURE__*/ _jsx(SegmentBoundaryTriggerNode, {})\n });\n }\n let params = parentParams;\n if (Array.isArray(segment)) {\n // This segment contains a route param. Accumulate these as we traverse\n // down the router tree. The result represents the set of params that\n // the layout/page components are permitted to access below this point.\n const paramName = segment[0];\n const paramCacheKey = segment[1];\n const paramType = segment[2];\n const paramValue = getParamValueFromCacheKey(paramCacheKey, paramType);\n if (paramValue !== null) {\n params = {\n ...parentParams,\n [paramName]: paramValue\n };\n }\n }\n const debugName = getBoundaryDebugNameFromSegment(segment);\n // `debugNameContext` represents the nearest non-\"virtual\" parent segment.\n // `getBoundaryDebugNameFromSegment` returns undefined for virtual segments.\n // So if `debugName` is undefined, the context is passed through unchanged.\n const childDebugNameContext = debugName ?? debugNameContext;\n // In practical terms, clicking this name in the Suspense DevTools\n // should select the child slots of that layout.\n //\n // So the name we apply to the Activity boundary is actually based on\n // the nearest parent segments.\n //\n // We skip over \"virtual\" parents, i.e. ones inserted by Next.js that\n // don't correspond to application-defined code.\n const isVirtual = debugName === undefined;\n const debugNameToDisplay = isVirtual ? undefined : debugNameContext;\n // TODO: The loading module data for a segment is stored on the parent, then\n // applied to each of that parent segment's parallel route slots. In the\n // simple case where there's only one parallel route (the `children` slot),\n // this is no different from if the loading module data where stored on the\n // child directly. But I'm not sure this actually makes sense when there are\n // multiple parallel routes. It's not a huge issue because you always have\n // the option to define a narrower loading boundary for a particular slot. But\n // this sort of smells like an implementation accident to me.\n const loadingModuleData = parentCacheNode.loading;\n let child = /*#__PURE__*/ _jsxs(TemplateContext.Provider, {\n value: /*#__PURE__*/ _jsxs(ScrollAndFocusHandler, {\n segmentPath: segmentPath,\n children: [\n /*#__PURE__*/ _jsx(ErrorBoundary, {\n errorComponent: error,\n errorStyles: errorStyles,\n errorScripts: errorScripts,\n children: /*#__PURE__*/ _jsx(LoadingBoundary, {\n name: debugNameToDisplay,\n loading: loadingModuleData,\n children: /*#__PURE__*/ _jsx(HTTPAccessFallbackBoundary, {\n notFound: notFound,\n forbidden: forbidden,\n unauthorized: unauthorized,\n children: /*#__PURE__*/ _jsxs(RedirectBoundary, {\n children: [\n /*#__PURE__*/ _jsx(InnerLayoutRouter, {\n url: url,\n tree: tree,\n params: params,\n cacheNode: cacheNode,\n segmentPath: segmentPath,\n debugNameContext: childDebugNameContext,\n isActive: isActive && stateKey === activeStateKey\n }),\n segmentBoundaryTriggerNode\n ]\n })\n })\n })\n }),\n segmentViewStateNode\n ]\n }),\n children: [\n templateStyles,\n templateScripts,\n template\n ]\n }, stateKey);\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentStateProvider } = require('../../next-devtools/userspace/app/segment-explorer-node');\n child = /*#__PURE__*/ _jsxs(SegmentStateProvider, {\n children: [\n child,\n segmentViewBoundaries\n ]\n }, stateKey);\n }\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n child = /*#__PURE__*/ _jsx(Activity, {\n name: debugNameToDisplay,\n mode: stateKey === activeStateKey ? 'visible' : 'hidden',\n children: child\n }, stateKey);\n }\n children.push(child);\n bfcacheEntry = bfcacheEntry.next;\n }while (bfcacheEntry !== null);\n return children;\n}\nfunction getBoundaryDebugNameFromSegment(segment) {\n if (segment === '/') {\n // Reached the root\n return '/';\n }\n if (typeof segment === 'string') {\n if (isVirtualLayout(segment)) {\n return undefined;\n } else {\n return segment + '/';\n }\n }\n const paramCacheKey = segment[1];\n return paramCacheKey + '/';\n}\nfunction isVirtualLayout(segment) {\n return(// This is inserted by the loader. We should consider encoding these\n // in a more special way instead of checking the name, to distinguish them\n // from app-defined groups.\n segment === '(slot)');\n}\n\n//# sourceMappingURL=layout-router.js.map","const workAsyncStorage = typeof window === 'undefined' ? require('../../server/app-render/work-async-storage.external').workAsyncStorage : undefined;\n// if we are revalidating we want to re-throw the error so the\n// function crashes so we can maintain our previous cache\n// instead of caching the error page\nexport function HandleISRError({ error }) {\n if (workAsyncStorage) {\n const store = workAsyncStorage.getStore();\n if (store?.isStaticGeneration) {\n if (error) {\n console.error(error);\n }\n throw error;\n }\n }\n return null;\n}\n\n//# sourceMappingURL=handle-isr-error.js.map","'use client';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport React from 'react';\nimport { useUntrackedPathname } from './navigation-untracked';\nimport { isNextRouterError } from './is-next-router-error';\nimport { handleHardNavError } from './nav-failure-handler';\nimport { HandleISRError } from './handle-isr-error';\nimport { isBot } from '../../shared/lib/router/utils/is-bot';\nconst isBotUserAgent = typeof window !== 'undefined' && isBot(window.navigator.userAgent);\nexport class ErrorBoundaryHandler extends React.Component {\n constructor(props){\n super(props), this.reset = ()=>{\n this.setState({\n error: null\n });\n };\n this.state = {\n error: null,\n previousPathname: this.props.pathname\n };\n }\n static getDerivedStateFromError(error) {\n if (isNextRouterError(error)) {\n // Re-throw if an expected internal Next.js router error occurs\n // this means it should be handled by a different boundary (such as a NotFound boundary in a parent segment)\n throw error;\n }\n return {\n error\n };\n }\n static getDerivedStateFromProps(props, state) {\n const { error } = state;\n // if we encounter an error while\n // a navigation is pending we shouldn't render\n // the error boundary and instead should fallback\n // to a hard navigation to attempt recovering\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n if (error && handleHardNavError(error)) {\n // clear error so we don't render anything\n return {\n error: null,\n previousPathname: props.pathname\n };\n }\n }\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */ if (props.pathname !== state.previousPathname && state.error) {\n return {\n error: null,\n previousPathname: props.pathname\n };\n }\n return {\n error: state.error,\n previousPathname: props.pathname\n };\n }\n // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version.\n render() {\n //When it's bot request, segment level error boundary will keep rendering the children,\n // the final error will be caught by the root error boundary and determine wether need to apply graceful degrade.\n if (this.state.error && !isBotUserAgent) {\n return /*#__PURE__*/ _jsxs(_Fragment, {\n children: [\n /*#__PURE__*/ _jsx(HandleISRError, {\n error: this.state.error\n }),\n this.props.errorStyles,\n this.props.errorScripts,\n /*#__PURE__*/ _jsx(this.props.errorComponent, {\n error: this.state.error,\n reset: this.reset\n })\n ]\n });\n }\n return this.props.children;\n }\n}\n/**\n * Handles errors through `getDerivedStateFromError`.\n * Renders the provided error component and provides a way to `reset` the error boundary state.\n */ /**\n * Renders error boundary with the provided \"errorComponent\" property as the fallback.\n * If no \"errorComponent\" property is provided it renders the children without an error boundary.\n */ export function ErrorBoundary({ errorComponent, errorStyles, errorScripts, children }) {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these errors can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname();\n if (errorComponent) {\n return /*#__PURE__*/ _jsx(ErrorBoundaryHandler, {\n pathname: pathname,\n errorComponent: errorComponent,\n errorStyles: errorStyles,\n errorScripts: errorScripts,\n children: children\n });\n }\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: children\n });\n}\n\n//# sourceMappingURL=error-boundary.js.map","import { warnOnce } from '../../utils/warn-once';\n/**\n * Run function with `scroll-behavior: auto` applied to ``.\n * This css change will be reverted after the function finishes.\n */ export function disableSmoothScrollDuringRouteTransition(fn, options = {}) {\n // if only the hash is changed, we don't need to disable smooth scrolling\n // we only care to prevent smooth scrolling when navigating to a new page to avoid jarring UX\n if (options.onlyHashChange) {\n fn();\n return;\n }\n const htmlElement = document.documentElement;\n const hasDataAttribute = htmlElement.dataset.scrollBehavior === 'smooth';\n if (!hasDataAttribute) {\n // Warn if smooth scrolling is detected but no data attribute is present\n if (process.env.NODE_ENV === 'development' && getComputedStyle(htmlElement).scrollBehavior === 'smooth') {\n warnOnce('Detected `scroll-behavior: smooth` on the `` element. To disable smooth scrolling during route transitions, ' + 'add `data-scroll-behavior=\"smooth\"` to your element. ' + 'Learn more: https://nextjs.org/docs/messages/missing-data-scroll-behavior');\n }\n // No smooth scrolling configured, run directly without style manipulation\n fn();\n return;\n }\n // Proceed with temporarily disabling smooth scrolling\n const existing = htmlElement.style.scrollBehavior;\n htmlElement.style.scrollBehavior = 'auto';\n if (!options.dontForceLayout) {\n // In Chrome-based browsers we need to force reflow before calling `scrollTo`.\n // Otherwise it will not pickup the change in scrollBehavior\n // More info here: https://github.com/vercel/next.js/issues/40719#issuecomment-1336248042\n htmlElement.getClientRects();\n }\n fn();\n htmlElement.style.scrollBehavior = existing;\n}\n\n//# sourceMappingURL=disable-smooth-scroll.js.map","/**\n * ReadonlyURLSearchParams implementation shared between client and server.\n * This file is intentionally not marked as 'use client' or 'use server'\n * so it can be imported by both environments.\n */ /** @internal */ class ReadonlyURLSearchParamsError extends Error {\n constructor(){\n super('Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams');\n }\n}\n/**\n * A read-only version of URLSearchParams that throws errors when mutation methods are called.\n * This ensures that the URLSearchParams returned by useSearchParams() cannot be mutated.\n */ export class ReadonlyURLSearchParams extends URLSearchParams {\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ append() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ delete() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ set() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ sort() {\n throw new ReadonlyURLSearchParamsError();\n }\n}\n\n//# sourceMappingURL=readonly-url-search-params.js.map","import { RedirectStatusCode } from './redirect-status-code';\nimport { RedirectType, isRedirectError, REDIRECT_ERROR_CODE } from './redirect-error';\nconst actionAsyncStorage = typeof window === 'undefined' ? require('../../server/app-render/action-async-storage.external').actionAsyncStorage : undefined;\nexport function getRedirectError(url, type, statusCode = RedirectStatusCode.TemporaryRedirect) {\n const error = Object.defineProperty(new Error(REDIRECT_ERROR_CODE), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = `${REDIRECT_ERROR_CODE};${type};${url};${statusCode};`;\n return error;\n}\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 307/303 to the caller.\n * - In a Server Action, type defaults to 'push' and 'replace' elsewhere.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */ export function redirect(/** The URL to redirect to */ url, type) {\n type ??= actionAsyncStorage?.getStore()?.isAction ? RedirectType.push : RedirectType.replace;\n throw getRedirectError(url, type, RedirectStatusCode.TemporaryRedirect);\n}\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 308/303 to the caller.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */ export function permanentRedirect(/** The URL to redirect to */ url, type = RedirectType.replace) {\n throw getRedirectError(url, type, RedirectStatusCode.PermanentRedirect);\n}\nexport function getURLFromRedirectError(error) {\n if (!isRedirectError(error)) return null;\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(';').slice(2, -2).join(';');\n}\nexport function getRedirectTypeFromError(error) {\n if (!isRedirectError(error)) {\n throw Object.defineProperty(new Error('Not a redirect error'), \"__NEXT_ERROR_CODE\", {\n value: \"E260\",\n enumerable: false,\n configurable: true\n });\n }\n return error.digest.split(';', 2)[1];\n}\nexport function getRedirectStatusCodeFromError(error) {\n if (!isRedirectError(error)) {\n throw Object.defineProperty(new Error('Not a redirect error'), \"__NEXT_ERROR_CODE\", {\n value: \"E260\",\n enumerable: false,\n configurable: true\n });\n }\n return Number(error.digest.split(';').at(-2));\n}\n\n//# sourceMappingURL=redirect.js.map","import { HTTP_ERROR_FALLBACK_ERROR_CODE } from './http-access-fallback/http-access-fallback';\n/**\n * This function allows you to render the [not-found.js file](https://nextjs.org/docs/app/api-reference/file-conventions/not-found)\n * within a route segment as well as inject a tag.\n *\n * `notFound()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a `` meta tag and set the status code to 404.\n * - In a Route Handler or Server Action, it will serve a 404 to the caller.\n *\n * Read more: [Next.js Docs: `notFound`](https://nextjs.org/docs/app/api-reference/functions/not-found)\n */ const DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};404`;\nexport function notFound() {\n const error = Object.defineProperty(new Error(DIGEST), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = DIGEST;\n throw error;\n}\n\n//# sourceMappingURL=not-found.js.map","'use client';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport React, { useEffect } from 'react';\nimport { useRouter } from './navigation';\nimport { getRedirectTypeFromError, getURLFromRedirectError } from './redirect';\nimport { RedirectType, isRedirectError } from './redirect-error';\nfunction HandleRedirect({ redirect, reset, redirectType }) {\n const router = useRouter();\n useEffect(()=>{\n React.startTransition(()=>{\n if (redirectType === RedirectType.push) {\n router.push(redirect, {});\n } else {\n router.replace(redirect, {});\n }\n reset();\n });\n }, [\n redirect,\n redirectType,\n reset,\n router\n ]);\n return null;\n}\nexport class RedirectErrorBoundary extends React.Component {\n constructor(props){\n super(props);\n this.state = {\n redirect: null,\n redirectType: null\n };\n }\n static getDerivedStateFromError(error) {\n if (isRedirectError(error)) {\n const url = getURLFromRedirectError(error);\n const redirectType = getRedirectTypeFromError(error);\n if ('handled' in error) {\n // The redirect was already handled. We'll still catch the redirect error\n // so that we can remount the subtree, but we don't actually need to trigger the\n // router.push.\n return {\n redirect: null,\n redirectType: null\n };\n }\n return {\n redirect: url,\n redirectType\n };\n }\n // Re-throw if error is not for redirect\n throw error;\n }\n // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version.\n render() {\n const { redirect, redirectType } = this.state;\n if (redirect !== null && redirectType !== null) {\n return /*#__PURE__*/ _jsx(HandleRedirect, {\n redirect: redirect,\n redirectType: redirectType,\n reset: ()=>this.setState({\n redirect: null\n })\n });\n }\n return this.props.children;\n }\n}\nexport function RedirectBoundary({ children }) {\n const router = useRouter();\n return /*#__PURE__*/ _jsx(RedirectErrorBoundary, {\n router: router,\n children: children\n });\n}\n\n//# sourceMappingURL=redirect-boundary.js.map","const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';\nconst pathname = `${basePath}/__nextjs_source-map`;\nexport const findSourceMapURL = process.env.NODE_ENV === 'development' ? function findSourceMapURL(filename) {\n if (filename === '') {\n return null;\n }\n if (filename.startsWith(document.location.origin) && filename.includes('/_next/static')) {\n // This is a request for a client chunk. This can only happen when\n // using Turbopack. In this case, since we control how those source\n // maps are generated, we can safely assume that the sourceMappingURL\n // is relative to the filename, with an added `.map` extension. The\n // browser can just request this file, and it gets served through the\n // normal dev server, without the need to route this through\n // the `/__nextjs_source-map` dev middleware.\n return `${filename}.map`;\n }\n const url = new URL(pathname, document.location.origin);\n url.searchParams.set('filename', filename);\n return url.href;\n} : undefined;\n\n//# sourceMappingURL=app-find-source-map-url.js.map","// This gets assigned as a side-effect during app initialization. Because it\n// represents the build used to create the JS bundle, it should never change\n// after being set, so we store it in a global variable.\n//\n// When performing RSC requests, if the incoming data has a different build ID,\n// we perform an MPA navigation/refresh to load the updated build and ensure\n// that the client and server in sync.\n// Starts as an empty string. In practice, because setAppBuildId is called\n// during initialization before hydration starts, this will always get\n// reassigned to the actual build ID before it's ever needed by a navigation.\n// If for some reasons it didn't, due to a bug or race condition, then on\n// navigation the build comparision would fail and trigger an MPA navigation.\nlet globalBuildId = '';\nexport function setAppBuildId(buildId) {\n globalBuildId = buildId;\n}\nexport function getAppBuildId() {\n return globalBuildId;\n}\n\n//# sourceMappingURL=app-build-id.js.map","'use client';\nimport { computeCacheBustingSearchParam } from '../../../shared/lib/router/utils/cache-busting-search-param';\nimport { NEXT_ROUTER_PREFETCH_HEADER, NEXT_ROUTER_SEGMENT_PREFETCH_HEADER, NEXT_ROUTER_STATE_TREE_HEADER, NEXT_URL, NEXT_RSC_UNION_QUERY } from '../app-router-headers';\n/**\n * Mutates the provided URL by adding a cache-busting search parameter for CDNs that don't\n * support custom headers. This helps avoid caching conflicts by making each request unique.\n *\n * Rather than relying on the Vary header which some CDNs ignore, we append a search param\n * to create a unique URL that forces a fresh request.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * Note: This function mutates the input URL directly and does not return anything.\n *\n * TODO: Since we need to use a search param anyway, we could simplify by removing the custom\n * headers approach entirely and just use search params.\n */ export const setCacheBustingSearchParam = (url, headers)=>{\n const uniqueCacheKey = computeCacheBustingSearchParam(headers[NEXT_ROUTER_PREFETCH_HEADER], headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER], headers[NEXT_ROUTER_STATE_TREE_HEADER], headers[NEXT_URL]);\n setCacheBustingSearchParamWithHash(url, uniqueCacheKey);\n};\n/**\n * Sets a cache-busting search parameter on a URL using a provided hash value.\n *\n * This function performs the same logic as `setCacheBustingSearchParam` but accepts\n * a pre-computed hash instead of computing it from headers.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * hash: \"abc123\"\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * If the hash is null, we will set `_rsc` search param without a value.\n * Like this: https://example.com/path?query=1&_rsc\n *\n * Note: This function mutates the input URL directly and does not return anything.\n */ export const setCacheBustingSearchParamWithHash = (url, hash)=>{\n /**\n * Note that we intentionally do not use `url.searchParams.set` here:\n *\n * const url = new URL('https://example.com/search?q=custom%20spacing');\n * url.searchParams.set('_rsc', 'abc123');\n * console.log(url.toString()); // Outputs: https://example.com/search?q=custom+spacing&_rsc=abc123\n * ^ <--- this is causing confusion\n * This is in fact intended based on https://url.spec.whatwg.org/#interface-urlsearchparams, but\n * we want to preserve the %20 as %20 if that's what the user passed in, hence the custom\n * logic below.\n */ const existingSearch = url.search;\n const rawQuery = existingSearch.startsWith('?') ? existingSearch.slice(1) : existingSearch;\n // Always remove any existing cache busting param and add a fresh one to ensure\n // we have the correct value based on current request headers\n const pairs = rawQuery.split('&').filter((pair)=>pair && !pair.startsWith(`${NEXT_RSC_UNION_QUERY}=`));\n if (hash.length > 0) {\n pairs.push(`${NEXT_RSC_UNION_QUERY}=${hash}`);\n } else {\n pairs.push(`${NEXT_RSC_UNION_QUERY}`);\n }\n url.search = pairs.length ? `?${pairs.join('&')}` : '';\n};\n\n//# sourceMappingURL=set-cache-busting-search-param.js.map","'use client';\n// TODO: Explicitly import from client.browser\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { createFromReadableStream as createFromReadableStreamBrowser, createFromFetch as createFromFetchBrowser } from 'react-server-dom-webpack/client';\nimport { NEXT_ROUTER_STATE_TREE_HEADER, NEXT_RSC_UNION_QUERY, NEXT_URL, RSC_HEADER, RSC_CONTENT_TYPE_HEADER, NEXT_HMR_REFRESH_HEADER, NEXT_DID_POSTPONE_HEADER, NEXT_ROUTER_STALE_TIME_HEADER, NEXT_HTML_REQUEST_ID_HEADER, NEXT_REQUEST_ID_HEADER } from '../app-router-headers';\nimport { callServer } from '../../app-call-server';\nimport { findSourceMapURL } from '../../app-find-source-map-url';\nimport { normalizeFlightData, prepareFlightRouterStateForRequest } from '../../flight-data-helpers';\nimport { getAppBuildId } from '../../app-build-id';\nimport { setCacheBustingSearchParam } from './set-cache-busting-search-param';\nimport { getRenderedSearch, urlToUrlWithoutFlightMarker } from '../../route-params';\nimport { getDeploymentId } from '../../../shared/lib/deployment-id';\nconst createFromReadableStream = createFromReadableStreamBrowser;\nconst createFromFetch = createFromFetchBrowser;\nlet createDebugChannel;\nif (process.env.NODE_ENV !== 'production' && process.env.__NEXT_REACT_DEBUG_CHANNEL) {\n createDebugChannel = require('../../dev/debug-channel').createDebugChannel;\n}\nfunction doMpaNavigation(url) {\n return urlToUrlWithoutFlightMarker(new URL(url, location.origin)).toString();\n}\nlet isPageUnloading = false;\nif (typeof window !== 'undefined') {\n // Track when the page is unloading, e.g. due to reloading the page or\n // performing hard navigations. This allows us to suppress error logging when\n // the browser cancels in-flight requests during page unload.\n window.addEventListener('pagehide', ()=>{\n isPageUnloading = true;\n });\n // Reset the flag on pageshow, e.g. when navigating back and the JavaScript\n // execution context is restored by the browser.\n window.addEventListener('pageshow', ()=>{\n isPageUnloading = false;\n });\n}\n/**\n * Fetch the flight data for the provided url. Takes in the current router state\n * to decide what to render server-side.\n */ export async function fetchServerResponse(url, options) {\n const { flightRouterState, nextUrl } = options;\n const headers = {\n // Enable flight response\n [RSC_HEADER]: '1',\n // Provide the current router state\n [NEXT_ROUTER_STATE_TREE_HEADER]: prepareFlightRouterStateForRequest(flightRouterState, options.isHmrRefresh)\n };\n if (process.env.NODE_ENV === 'development' && options.isHmrRefresh) {\n headers[NEXT_HMR_REFRESH_HEADER] = '1';\n }\n if (nextUrl) {\n headers[NEXT_URL] = nextUrl;\n }\n // In static export mode, we need to modify the URL to request the .txt file,\n // but we should preserve the original URL for the canonical URL and error handling.\n const originalUrl = url;\n try {\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n // In \"output: export\" mode, we can't rely on headers to distinguish\n // between HTML and RSC requests. Instead, we append an extra prefix\n // to the request.\n url = new URL(url);\n if (url.pathname.endsWith('/')) {\n url.pathname += 'index.txt';\n } else {\n url.pathname += '.txt';\n }\n }\n }\n // Typically, during a navigation, we decode the response using Flight's\n // `createFromFetch` API, which accepts a `fetch` promise.\n // TODO: Remove this check once the old PPR flag is removed\n const isLegacyPPR = process.env.__NEXT_PPR && !process.env.__NEXT_CACHE_COMPONENTS;\n const shouldImmediatelyDecode = !isLegacyPPR;\n const res = await createFetch(url, headers, 'auto', shouldImmediatelyDecode);\n const responseUrl = urlToUrlWithoutFlightMarker(new URL(res.url));\n const canonicalUrl = res.redirected ? responseUrl : originalUrl;\n const contentType = res.headers.get('content-type') || '';\n const interception = !!res.headers.get('vary')?.includes(NEXT_URL);\n const postponed = !!res.headers.get(NEXT_DID_POSTPONE_HEADER);\n const staleTimeHeaderSeconds = res.headers.get(NEXT_ROUTER_STALE_TIME_HEADER);\n const staleTime = staleTimeHeaderSeconds !== null ? parseInt(staleTimeHeaderSeconds, 10) * 1000 : -1;\n let isFlightResponse = contentType.startsWith(RSC_CONTENT_TYPE_HEADER);\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n if (!isFlightResponse) {\n isFlightResponse = contentType.startsWith('text/plain');\n }\n }\n }\n // If fetch returns something different than flight response handle it like a mpa navigation\n // If the fetch was not 200, we also handle it like a mpa navigation\n if (!isFlightResponse || !res.ok || !res.body) {\n // in case the original URL came with a hash, preserve it before redirecting to the new URL\n if (url.hash) {\n responseUrl.hash = url.hash;\n }\n return doMpaNavigation(responseUrl.toString());\n }\n // We may navigate to a page that requires a different Webpack runtime.\n // In prod, every page will have the same Webpack runtime.\n // In dev, the Webpack runtime is minimal for each page.\n // We need to ensure the Webpack runtime is updated before executing client-side JS of the new page.\n // TODO: This needs to happen in the Flight Client.\n // Or Webpack needs to include the runtime update in the Flight response as\n // a blocking script.\n if (process.env.NODE_ENV !== 'production' && !process.env.TURBOPACK) {\n await require('../../dev/hot-reloader/app/hot-reloader-app').waitForWebpackRuntimeHotUpdate();\n }\n let flightResponsePromise = res.flightResponse;\n if (flightResponsePromise === null) {\n // Typically, `createFetch` would have already started decoding the\n // Flight response. If it hasn't, though, we need to decode it now.\n // TODO: This should only be reachable if legacy PPR is enabled (i.e. PPR\n // without Cache Components). Remove this branch once legacy PPR\n // is deleted.\n const flightStream = postponed ? createUnclosingPrefetchStream(res.body) : res.body;\n flightResponsePromise = createFromNextReadableStream(flightStream, headers);\n }\n const flightResponse = await flightResponsePromise;\n if (getAppBuildId() !== flightResponse.b) {\n return doMpaNavigation(res.url);\n }\n const normalizedFlightData = normalizeFlightData(flightResponse.f);\n if (typeof normalizedFlightData === 'string') {\n return doMpaNavigation(normalizedFlightData);\n }\n return {\n flightData: normalizedFlightData,\n canonicalUrl: canonicalUrl,\n renderedSearch: getRenderedSearch(res),\n couldBeIntercepted: interception,\n prerendered: flightResponse.S,\n postponed,\n staleTime,\n debugInfo: flightResponsePromise._debugInfo ?? null\n };\n } catch (err) {\n if (!isPageUnloading) {\n console.error(`Failed to fetch RSC payload for ${originalUrl}. Falling back to browser navigation.`, err);\n }\n // If fetch fails handle it like a mpa navigation\n // TODO-APP: Add a test for the case where a CORS request fails, e.g. external url redirect coming from the response.\n // See https://github.com/vercel/next.js/issues/43605#issuecomment-1451617521 for a reproduction.\n return originalUrl.toString();\n }\n}\nexport async function createFetch(url, headers, fetchPriority, shouldImmediatelyDecode, signal) {\n // TODO: In output: \"export\" mode, the headers do nothing. Omit them (and the\n // cache busting search param) from the request so they're\n // maximally cacheable.\n if (process.env.__NEXT_TEST_MODE && fetchPriority !== null) {\n headers['Next-Test-Fetch-Priority'] = fetchPriority;\n }\n const deploymentId = getDeploymentId();\n if (deploymentId) {\n headers['x-deployment-id'] = deploymentId;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (self.__next_r) {\n headers[NEXT_HTML_REQUEST_ID_HEADER] = self.__next_r;\n }\n // Create a new request ID for the server action request. The server uses\n // this to tag debug information sent via WebSocket to the client, which\n // then routes those chunks to the debug channel associated with this ID.\n headers[NEXT_REQUEST_ID_HEADER] = crypto.getRandomValues(new Uint32Array(1))[0].toString(16);\n }\n const fetchOptions = {\n // Backwards compat for older browsers. `same-origin` is the default in modern browsers.\n credentials: 'same-origin',\n headers,\n priority: fetchPriority || undefined,\n signal\n };\n // `fetchUrl` is slightly different from `url` because we add a cache-busting\n // search param to it. This should not leak outside of this function, so we\n // track them separately.\n let fetchUrl = new URL(url);\n setCacheBustingSearchParam(fetchUrl, headers);\n let fetchPromise = fetch(fetchUrl, fetchOptions);\n // Immediately pass the fetch promise to the Flight client so that the debug\n // info includes the latency from the client to the server. The internal timer\n // in React starts as soon as `createFromFetch` is called.\n //\n // The only case where we don't do this is during a prefetch, because we have\n // to do some extra processing of the response stream (see\n // `createUnclosingPrefetchStream`). But this is fine, because a top-level\n // prefetch response never blocks a navigation; if it hasn't already been\n // written into the cache by the time the navigation happens, the router will\n // go straight to a dynamic request.\n let flightResponsePromise = shouldImmediatelyDecode ? createFromNextFetch(fetchPromise, headers) : null;\n let browserResponse = await fetchPromise;\n // If the server responds with a redirect (e.g. 307), and the redirected\n // location does not contain the cache busting search param set in the\n // original request, the response is likely invalid — when following the\n // redirect, the browser forwards the request headers, but since the cache\n // busting search param is missing, the server will reject the request due to\n // a mismatch.\n //\n // Ideally, we would be able to intercept the redirect response and perform it\n // manually, instead of letting the browser automatically follow it, but this\n // is not allowed by the fetch API.\n //\n // So instead, we must \"replay\" the redirect by fetching the new location\n // again, but this time we'll append the cache busting search param to prevent\n // a mismatch.\n //\n // TODO: We can optimize Next.js's built-in middleware APIs by returning a\n // custom status code, to prevent the browser from automatically following it.\n //\n // This does not affect Server Action-based redirects; those are encoded\n // differently, as part of the Flight body. It only affects redirects that\n // occur in a middleware or a third-party proxy.\n let redirected = browserResponse.redirected;\n if (process.env.__NEXT_CLIENT_VALIDATE_RSC_REQUEST_HEADERS) {\n // This is to prevent a redirect loop. Same limit used by Chrome.\n const MAX_REDIRECTS = 20;\n for(let n = 0; n < MAX_REDIRECTS; n++){\n if (!browserResponse.redirected) {\n break;\n }\n const responseUrl = new URL(browserResponse.url, fetchUrl);\n if (responseUrl.origin !== fetchUrl.origin) {\n break;\n }\n if (responseUrl.searchParams.get(NEXT_RSC_UNION_QUERY) === fetchUrl.searchParams.get(NEXT_RSC_UNION_QUERY)) {\n break;\n }\n // The RSC request was redirected. Assume the response is invalid.\n //\n // Append the cache busting search param to the redirected URL and\n // fetch again.\n // TODO: We should abort the previous request.\n fetchUrl = new URL(responseUrl);\n setCacheBustingSearchParam(fetchUrl, headers);\n fetchPromise = fetch(fetchUrl, fetchOptions);\n flightResponsePromise = shouldImmediatelyDecode ? createFromNextFetch(fetchPromise, headers) : null;\n browserResponse = await fetchPromise;\n // We just performed a manual redirect, so this is now true.\n redirected = true;\n }\n }\n // Remove the cache busting search param from the response URL, to prevent it\n // from leaking outside of this function.\n const responseUrl = new URL(browserResponse.url, fetchUrl);\n responseUrl.searchParams.delete(NEXT_RSC_UNION_QUERY);\n const rscResponse = {\n url: responseUrl.href,\n // This is true if any redirects occurred, either automatically by the\n // browser, or manually by us. So it's different from\n // `browserResponse.redirected`, which only tells us whether the browser\n // followed a redirect, and only for the last response in the chain.\n redirected,\n // These can be copied from the last browser response we received. We\n // intentionally only expose the subset of fields that are actually used\n // elsewhere in the codebase.\n ok: browserResponse.ok,\n headers: browserResponse.headers,\n body: browserResponse.body,\n status: browserResponse.status,\n // This is the exact promise returned by `createFromFetch`. It contains\n // debug information that we need to transfer to any derived promises that\n // are later rendered by React.\n flightResponse: flightResponsePromise\n };\n return rscResponse;\n}\nexport function createFromNextReadableStream(flightStream, requestHeaders) {\n return createFromReadableStream(flightStream, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders)\n });\n}\nfunction createFromNextFetch(promiseForResponse, requestHeaders) {\n return createFromFetch(promiseForResponse, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders)\n });\n}\nfunction createUnclosingPrefetchStream(originalFlightStream) {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n const reader = originalFlightStream.getReader();\n return new ReadableStream({\n async pull (controller) {\n while(true){\n const { done, value } = await reader.read();\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value);\n continue;\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream.\n return;\n }\n }\n });\n}\n\n//# sourceMappingURL=fetch-server-response.js.map","export class UnrecognizedActionError extends Error {\n constructor(...args){\n super(...args);\n this.name = 'UnrecognizedActionError';\n }\n}\n/**\n * Check whether a server action call failed because the server action was not recognized by the server.\n * This can happen if the client and the server are not from the same deployment.\n *\n * Example usage:\n * ```ts\n * try {\n * await myServerAction();\n * } catch (err) {\n * if (unstable_isUnrecognizedActionError(err)) {\n * // The client is from a different deployment than the server.\n * // Reloading the page will fix this mismatch.\n * window.alert(\"Please refresh the page and try again\");\n * return;\n * }\n * }\n * ```\n * */ export function unstable_isUnrecognizedActionError(error) {\n return !!(error && typeof error === 'object' && error instanceof UnrecognizedActionError);\n}\n\n//# sourceMappingURL=unrecognized-action-error.js.map","export function createHrefFromUrl(url, includeHash = true) {\n return url.pathname + url.search + (includeHash ? url.hash : '');\n}\n\n//# sourceMappingURL=create-href-from-url.js.map","export const ACTION_REFRESH = 'refresh';\nexport const ACTION_NAVIGATE = 'navigate';\nexport const ACTION_RESTORE = 'restore';\nexport const ACTION_SERVER_PATCH = 'server-patch';\nexport const ACTION_HMR_REFRESH = 'hmr-refresh';\nexport const ACTION_SERVER_ACTION = 'server-action';\n/**\n * PrefetchKind defines the type of prefetching that should be done.\n * - `auto` - if the page is dynamic, prefetch the page data partially, if static prefetch the page data fully.\n * - `full` - prefetch the page data fully.\n */ export var PrefetchKind = /*#__PURE__*/ function(PrefetchKind) {\n PrefetchKind[\"AUTO\"] = \"auto\";\n PrefetchKind[\"FULL\"] = \"full\";\n return PrefetchKind;\n}({});\n\n//# sourceMappingURL=router-reducer-types.js.map","export const matchSegment = (existingSegment, segment)=>{\n // segment is either Array or string\n if (typeof existingSegment === 'string') {\n if (typeof segment === 'string') {\n // Common case: segment is just a string\n return existingSegment === segment;\n }\n return false;\n }\n if (typeof segment === 'string') {\n return false;\n }\n return existingSegment[0] === segment[0] && existingSegment[1] === segment[1];\n};\n\n//# sourceMappingURL=match-segments.js.map","export function isNavigatingToNewRootLayout(currentTree, nextTree) {\n // Compare segments\n const currentTreeSegment = currentTree[0];\n const nextTreeSegment = nextTree[0];\n // If any segment is different before we find the root layout, the root layout has changed.\n // E.g. /same/(group1)/layout.js -> /same/(group2)/layout.js\n // First segment is 'same' for both, keep looking. (group1) changed to (group2) before the root layout was found, it must have changed.\n if (Array.isArray(currentTreeSegment) && Array.isArray(nextTreeSegment)) {\n // Compare dynamic param name and type but ignore the value, different values would not affect the current root layout\n // /[name] - /slug1 and /slug2, both values (slug1 & slug2) still has the same layout /[name]/layout.js\n if (currentTreeSegment[0] !== nextTreeSegment[0] || currentTreeSegment[2] !== nextTreeSegment[2]) {\n return true;\n }\n } else if (currentTreeSegment !== nextTreeSegment) {\n return true;\n }\n // Current tree root layout found\n if (currentTree[4]) {\n // If the next tree doesn't have the root layout flag, it must have changed.\n return !nextTree[4];\n }\n // Current tree didn't have its root layout here, must have changed.\n if (nextTree[4]) {\n return true;\n }\n // We can't assume it's `parallelRoutes.children` here in case the root layout is `app/@something/layout.js`\n // But it's not possible to be more than one parallelRoutes before the root layout is found\n // TODO-APP: change to traverse all parallel routes\n const currentTreeChild = Object.values(currentTree[1])[0];\n const nextTreeChild = Object.values(nextTree[1])[0];\n if (!currentTreeChild || !nextTreeChild) return true;\n return isNavigatingToNewRootLayout(currentTreeChild, nextTreeChild);\n}\n\n//# sourceMappingURL=is-navigating-to-new-root-layout.js.map","import { useState } from 'react';\n// When the flag is disabled, only track the currently active tree\nconst MAX_BF_CACHE_ENTRIES = process.env.__NEXT_CACHE_COMPONENTS ? 3 : 1;\n/**\n * Keeps track of the most recent N trees (FlightRouterStates) that were active\n * at a certain segment level. E.g. for a segment \"/a/b/[param]\", this hook\n * tracks the last N param values that the router rendered for N.\n *\n * The result of this hook precisely determines the number and order of\n * trees that are rendered in parallel at their segment level.\n *\n * The purpose of this cache is to we can preserve the React and DOM state of\n * some number of inactive trees, by rendering them in an boundary.\n * That means it would not make sense for the the lifetime of the cache to be\n * any longer than the lifetime of the React tree; e.g. if the hook were\n * unmounted, then the React tree would be, too. So, we use React state to\n * manage it.\n *\n * Note that we don't store the RSC data for the cache entries in this hook —\n * the data for inactive segments is stored in the parent CacheNode, which\n * *does* have a longer lifetime than the React tree. This hook only determines\n * which of those trees should have their *state* preserved, by .\n */ export function useRouterBFCache(activeTree, activeStateKey) {\n // The currently active entry. The entries form a linked list, sorted in\n // order of most recently active. This allows us to reuse parts of the list\n // without cloning, unless there's a reordering or removal.\n // TODO: Once we start tracking back/forward history at each route level,\n // we should use the history order instead. In other words, when traversing\n // to an existing entry as a result of a popstate event, we should maintain\n // the existing order instead of moving it to the front of the list. I think\n // an initial implementation of this could be to pass an incrementing id\n // to history.pushState/replaceState, then use that here for ordering.\n const [prevActiveEntry, setPrevActiveEntry] = useState(()=>{\n const initialEntry = {\n tree: activeTree,\n stateKey: activeStateKey,\n next: null\n };\n return initialEntry;\n });\n if (prevActiveEntry.tree === activeTree) {\n // Fast path. The active tree hasn't changed, so we can reuse the\n // existing state.\n return prevActiveEntry;\n }\n // The route tree changed. Note that this doesn't mean that the tree changed\n // *at this level* — the change may be due to a child route. Either way, we\n // need to either add or update the router tree in the bfcache.\n //\n // The rest of the code looks more complicated than it actually is because we\n // can't mutate the state in place; we have to copy-on-write.\n // Create a new entry for the active cache key. This is the head of the new\n // linked list.\n const newActiveEntry = {\n tree: activeTree,\n stateKey: activeStateKey,\n next: null\n };\n // We need to append the old list onto the new list. If the head of the new\n // list was already present in the cache, then we'll need to clone everything\n // that came before it. Then we can reuse the rest.\n let n = 1;\n let oldEntry = prevActiveEntry;\n let clonedEntry = newActiveEntry;\n while(oldEntry !== null && n < MAX_BF_CACHE_ENTRIES){\n if (oldEntry.stateKey === activeStateKey) {\n // Fast path. This entry in the old list that corresponds to the key that\n // is now active. We've already placed a clone of this entry at the front\n // of the new list. We can reuse the rest of the old list without cloning.\n // NOTE: We don't need to worry about eviction in this case because we\n // haven't increased the size of the cache, and we assume the max size\n // is constant across renders. If we were to change it to a dynamic limit,\n // then the implementation would need to account for that.\n clonedEntry.next = oldEntry.next;\n break;\n } else {\n // Clone the entry and append it to the list.\n n++;\n const entry = {\n tree: oldEntry.tree,\n stateKey: oldEntry.stateKey,\n next: null\n };\n clonedEntry.next = entry;\n clonedEntry = entry;\n }\n oldEntry = oldEntry.next;\n }\n setPrevActiveEntry(newActiveEntry);\n return newActiveEntry;\n}\n\n//# sourceMappingURL=bfcache.js.map","import { HTML_LIMITED_BOT_UA_RE } from './html-bots';\n// Bot crawler that will spin up a headless browser and execute JS.\n// Only the main Googlebot search crawler executes JavaScript, not other Google crawlers.\n// x-ref: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers\n// This regex specifically matches \"Googlebot\" but NOT \"Mediapartners-Google\", \"AdsBot-Google\", etc.\nconst HEADLESS_BROWSER_BOT_UA_RE = /Googlebot(?!-)|Googlebot$/i;\nexport const HTML_LIMITED_BOT_UA_RE_STRING = HTML_LIMITED_BOT_UA_RE.source;\nexport { HTML_LIMITED_BOT_UA_RE };\nfunction isDomBotUA(userAgent) {\n return HEADLESS_BROWSER_BOT_UA_RE.test(userAgent);\n}\nfunction isHtmlLimitedBotUA(userAgent) {\n return HTML_LIMITED_BOT_UA_RE.test(userAgent);\n}\nexport function isBot(userAgent) {\n return isDomBotUA(userAgent) || isHtmlLimitedBotUA(userAgent);\n}\nexport function getBotType(userAgent) {\n if (isDomBotUA(userAgent)) {\n return 'dom';\n }\n if (isHtmlLimitedBotUA(userAgent)) {\n return 'html';\n }\n return undefined;\n}\n\n//# sourceMappingURL=is-bot.js.map","import { HTTP_ERROR_FALLBACK_ERROR_CODE } from './http-access-fallback/http-access-fallback';\n// TODO: Add `forbidden` docs\n/**\n * @experimental\n * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)\n * within a route segment as well as inject a tag.\n *\n * `forbidden()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)\n */ const DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};403`;\nexport function forbidden() {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw Object.defineProperty(new Error(`\\`forbidden()\\` is experimental and only allowed to be enabled when \\`experimental.authInterrupts\\` is enabled.`), \"__NEXT_ERROR_CODE\", {\n value: \"E488\",\n enumerable: false,\n configurable: true\n });\n }\n const error = Object.defineProperty(new Error(DIGEST), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = DIGEST;\n throw error;\n}\n\n//# sourceMappingURL=forbidden.js.map","import { HTTP_ERROR_FALLBACK_ERROR_CODE } from './http-access-fallback/http-access-fallback';\n// TODO: Add `unauthorized` docs\n/**\n * @experimental\n * This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized)\n * within a route segment as well as inject a tag.\n *\n * `unauthorized()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n *\n * Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized)\n */ const DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};401`;\nexport function unauthorized() {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw Object.defineProperty(new Error(`\\`unauthorized()\\` is experimental and only allowed to be used when \\`experimental.authInterrupts\\` is enabled.`), \"__NEXT_ERROR_CODE\", {\n value: \"E411\",\n enumerable: false,\n configurable: true\n });\n }\n const error = Object.defineProperty(new Error(DIGEST), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = DIGEST;\n throw error;\n}\n\n//# sourceMappingURL=unauthorized.js.map","import { computeChangedPath } from './compute-changed-path';\nfunction isNotUndefined(value) {\n return typeof value !== 'undefined';\n}\nexport function handleMutable(state, mutable) {\n // shouldScroll is true by default, can override to false.\n const shouldScroll = mutable.shouldScroll ?? true;\n let previousNextUrl = state.previousNextUrl;\n let nextUrl = state.nextUrl;\n if (isNotUndefined(mutable.patchedTree)) {\n // If we received a patched tree, we need to compute the changed path.\n const changedPath = computeChangedPath(state.tree, mutable.patchedTree);\n if (changedPath) {\n // If the tree changed, we need to update the nextUrl\n previousNextUrl = nextUrl;\n nextUrl = changedPath;\n } else if (!nextUrl) {\n // if the tree ends up being the same (ie, no changed path), and we don't have a nextUrl, then we should use the canonicalUrl\n nextUrl = state.canonicalUrl;\n }\n // otherwise this will be a no-op and continue to use the existing nextUrl\n }\n return {\n // Set href.\n canonicalUrl: mutable.canonicalUrl ?? state.canonicalUrl,\n renderedSearch: mutable.renderedSearch ?? state.renderedSearch,\n pushRef: {\n pendingPush: isNotUndefined(mutable.pendingPush) ? mutable.pendingPush : state.pushRef.pendingPush,\n mpaNavigation: isNotUndefined(mutable.mpaNavigation) ? mutable.mpaNavigation : state.pushRef.mpaNavigation,\n preserveCustomHistoryState: isNotUndefined(mutable.preserveCustomHistoryState) ? mutable.preserveCustomHistoryState : state.pushRef.preserveCustomHistoryState\n },\n // All navigation requires scroll and focus management to trigger.\n focusAndScrollRef: {\n apply: shouldScroll ? isNotUndefined(mutable?.scrollableSegments) ? true : state.focusAndScrollRef.apply : false,\n onlyHashChange: mutable.onlyHashChange || false,\n hashFragment: shouldScroll ? // #top is handled in layout-router.\n mutable.hashFragment && mutable.hashFragment !== '' ? decodeURIComponent(mutable.hashFragment.slice(1)) : state.focusAndScrollRef.hashFragment : null,\n segmentPaths: shouldScroll ? mutable?.scrollableSegments ?? state.focusAndScrollRef.segmentPaths : []\n },\n // Apply cache.\n cache: mutable.cache ? mutable.cache : state.cache,\n // Apply patched router state.\n tree: isNotUndefined(mutable.patchedTree) ? mutable.patchedTree : state.tree,\n nextUrl,\n previousNextUrl: previousNextUrl,\n debugInfo: mutable.collectedDebugInfo ?? null\n };\n}\n\n//# sourceMappingURL=handle-mutable.js.map","import { deleteMapEntry } from './cache-map';\n// We use an LRU for memory management. We must update this whenever we add or\n// remove a new cache entry, or when an entry changes size.\nlet head = null;\nlet didScheduleCleanup = false;\nlet lruSize = 0;\n// TODO: I chose the max size somewhat arbitrarily. Consider setting this based\n// on navigator.deviceMemory, or some other heuristic. We should make this\n// customizable via the Next.js config, too.\nconst maxLruSize = 50 * 1024 * 1024 // 50 MB\n;\nexport function lruPut(node) {\n if (head === node) {\n // Already at the head\n return;\n }\n const prev = node.prev;\n const next = node.next;\n if (next === null || prev === null) {\n // This is an insertion\n lruSize += node.size;\n // Whenever we add an entry, we need to check if we've exceeded the\n // max size. We don't evict entries immediately; they're evicted later in\n // an asynchronous task.\n ensureCleanupIsScheduled();\n } else {\n // This is a move. Remove from its current position.\n prev.next = next;\n next.prev = prev;\n }\n // Move to the front of the list\n if (head === null) {\n // This is the first entry\n node.prev = node;\n node.next = node;\n } else {\n // Add to the front of the list\n const tail = head.prev;\n node.prev = tail;\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n tail.next = node;\n }\n node.next = head;\n head.prev = node;\n }\n head = node;\n}\nexport function updateLruSize(node, newNodeSize) {\n // This is a separate function from `put` so that we can resize the entry\n // regardless of whether it's currently being tracked by the LRU.\n const prevNodeSize = node.size;\n node.size = newNodeSize;\n if (node.next === null) {\n // This entry is not currently being tracked by the LRU.\n return;\n }\n // Update the total LRU size\n lruSize = lruSize - prevNodeSize + newNodeSize;\n ensureCleanupIsScheduled();\n}\nexport function deleteFromLru(deleted) {\n const next = deleted.next;\n const prev = deleted.prev;\n if (next !== null && prev !== null) {\n lruSize -= deleted.size;\n deleted.next = null;\n deleted.prev = null;\n // Remove from the list\n if (head === deleted) {\n // Update the head\n if (next === head) {\n // This was the last entry\n head = null;\n } else {\n head = next;\n prev.next = next;\n next.prev = prev;\n }\n } else {\n prev.next = next;\n next.prev = prev;\n }\n } else {\n // Already deleted\n }\n}\nfunction ensureCleanupIsScheduled() {\n if (didScheduleCleanup || lruSize <= maxLruSize) {\n return;\n }\n didScheduleCleanup = true;\n requestCleanupCallback(cleanup);\n}\nfunction cleanup() {\n didScheduleCleanup = false;\n // Evict entries until we're at 90% capacity. We can assume this won't\n // infinite loop because even if `maxLruSize` were 0, eventually\n // `deleteFromLru` sets `head` to `null` when we run out entries.\n const ninetyPercentMax = maxLruSize * 0.9;\n while(lruSize > ninetyPercentMax && head !== null){\n const tail = head.prev;\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n // Delete the entry from the map. In turn, this will remove it from\n // the LRU.\n deleteMapEntry(tail);\n }\n }\n}\nconst requestCleanupCallback = typeof requestIdleCallback === 'function' ? requestIdleCallback : (cb)=>setTimeout(cb, 0);\n\n//# sourceMappingURL=lru.js.map","import { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment';\nexport function createRouterCacheKey(segment, withoutSearchParameters = false) {\n // if the segment is an array, it means it's a dynamic segment\n // for example, ['lang', 'en', 'd']. We need to convert it to a string to store it as a cache node key.\n if (Array.isArray(segment)) {\n return `${segment[0]}|${segment[1]}|${segment[2]}`;\n }\n // Page segments might have search parameters, ie __PAGE__?foo=bar\n // When `withoutSearchParameters` is true, we only want to return the page segment\n if (withoutSearchParameters && segment.startsWith(PAGE_SEGMENT_KEY)) {\n return PAGE_SEGMENT_KEY;\n }\n return segment;\n}\n\n//# sourceMappingURL=create-router-cache-key.js.map","import { hexHash } from '../../hash';\nexport function computeCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {\n if ((prefetchHeader === undefined || prefetchHeader === '0') && segmentPrefetchHeader === undefined && stateTreeHeader === undefined && nextUrlHeader === undefined) {\n return '';\n }\n return hexHash([\n prefetchHeader || '0',\n segmentPrefetchHeader || '0',\n stateTreeHeader || '0',\n nextUrlHeader || '0'\n ].join(','));\n}\n\n//# sourceMappingURL=cache-busting-search-param.js.map","import { ReadonlyURLSearchParams } from './readonly-url-search-params';\nexport function unstable_isUnrecognizedActionError() {\n throw Object.defineProperty(new Error('`unstable_isUnrecognizedActionError` can only be used on the client.'), \"__NEXT_ERROR_CODE\", {\n value: \"E776\",\n enumerable: false,\n configurable: true\n });\n}\nexport { redirect, permanentRedirect } from './redirect';\nexport { RedirectType } from './redirect-error';\nexport { notFound } from './not-found';\nexport { forbidden } from './forbidden';\nexport { unauthorized } from './unauthorized';\nexport { unstable_rethrow } from './unstable-rethrow';\nexport { ReadonlyURLSearchParams };\n\n//# sourceMappingURL=navigation.react-server.js.map","import { lruPut, updateLruSize, deleteFromLru } from './lru';\nexport const Fallback = {};\n// This is a special internal key that is used for \"revalidation\" entries. It's\n// an implementation detail that shouldn't leak outside of this module.\nconst Revalidation = {};\nexport function createCacheMap() {\n const cacheMap = {\n parent: null,\n key: null,\n value: null,\n map: null,\n // LRU-related fields\n prev: null,\n next: null,\n size: 0\n };\n return cacheMap;\n}\nfunction getOrInitialize(cacheMap, keys, isRevalidation) {\n // Go through each level of keys until we find the entry that matches, or\n // create a new entry if one doesn't exist.\n //\n // This function will only return entries that match the keypath _exactly_.\n // Unlike getWithFallback, it will not access fallback entries unless it's\n // explicitly part of the keypath.\n let entry = cacheMap;\n let remainingKeys = keys;\n let key = null;\n while(true){\n const previousKey = key;\n if (remainingKeys !== null) {\n key = remainingKeys.value;\n remainingKeys = remainingKeys.parent;\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath. The \"normal\" entry is its parent.\n // However, if the parent entry is currently empty, we don't need to store\n // this as a revalidation entry. Just insert the revalidation into the\n // normal slot.\n if (entry.value === null) {\n return entry;\n }\n // Otheriwse, create a child entry.\n key = Revalidation;\n } else {\n break;\n }\n let map = entry.map;\n if (map !== null) {\n const existingEntry = map.get(key);\n if (existingEntry !== undefined) {\n // Found a match. Keep going.\n entry = existingEntry;\n continue;\n }\n } else {\n map = new Map();\n entry.map = map;\n }\n // No entry exists yet at this level. Create a new one.\n const newEntry = {\n parent: entry,\n key,\n value: null,\n map: null,\n // LRU-related fields\n prev: null,\n next: null,\n size: 0\n };\n map.set(key, newEntry);\n entry = newEntry;\n }\n return entry;\n}\nexport function getFromCacheMap(now, currentCacheVersion, rootEntry, keys, isRevalidation) {\n const entry = getEntryWithFallbackImpl(now, currentCacheVersion, rootEntry, keys, isRevalidation, 0);\n if (entry === null || entry.value === null) {\n return null;\n }\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry);\n return entry.value;\n}\nexport function isValueExpired(now, currentCacheVersion, value) {\n return value.staleAt <= now || value.version < currentCacheVersion;\n}\nfunction lazilyEvictIfNeeded(now, currentCacheVersion, entry) {\n // We have a matching entry, but before we can return it, we need to check if\n // it's still fresh. Otherwise it should be treated the same as a cache miss.\n if (entry.value === null) {\n // This entry has no value, so there's nothing to evict.\n return entry;\n }\n const value = entry.value;\n if (isValueExpired(now, currentCacheVersion, value)) {\n // The value expired. Lazily evict it from the cache, and return null. This\n // is conceptually the same as a cache miss.\n deleteMapEntry(entry);\n return null;\n }\n // The matched entry has not expired. Return it.\n return entry;\n}\nfunction getEntryWithFallbackImpl(now, currentCacheVersion, entry, keys, isRevalidation, previousKey) {\n // This is similar to getExactEntry, but if an exact match is not found for\n // a key, it will return the fallback entry instead. This is recursive at\n // every level, e.g. an entry with keypath [a, Fallback, c, Fallback] is\n // valid match for [a, b, c, d].\n //\n // It will return the most specific match available.\n let key;\n let remainingKeys;\n if (keys !== null) {\n key = keys.value;\n remainingKeys = keys.parent;\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath.\n key = Revalidation;\n remainingKeys = null;\n } else {\n // There are no more keys. This is the terminal entry.\n // TODO: When performing a lookup during a navigation, as opposed to a\n // prefetch, we may want to skip entries that are Pending if there's also\n // a Fulfilled fallback entry. Tricky to say, though, since if it's\n // already pending, it's likely to stream in soon. Maybe we could do this\n // just on slow connections and offline mode.\n return lazilyEvictIfNeeded(now, currentCacheVersion, entry);\n }\n const map = entry.map;\n if (map !== null) {\n const existingEntry = map.get(key);\n if (existingEntry !== undefined) {\n // Found an exact match for this key. Keep searching.\n const result = getEntryWithFallbackImpl(now, currentCacheVersion, existingEntry, remainingKeys, isRevalidation, key);\n if (result !== null) {\n return result;\n }\n }\n // No match found for this key. Check if there's a fallback.\n const fallbackEntry = map.get(Fallback);\n if (fallbackEntry !== undefined) {\n // Found a fallback for this key. Keep searching.\n return getEntryWithFallbackImpl(now, currentCacheVersion, fallbackEntry, remainingKeys, isRevalidation, key);\n }\n }\n return null;\n}\nexport function setInCacheMap(cacheMap, keys, value, isRevalidation) {\n // Add a value to the map at the given keypath. If the value is already\n // part of the map, it's removed from its previous keypath. (NOTE: This is\n // unlike a regular JS map, but the behavior is intentional.)\n const entry = getOrInitialize(cacheMap, keys, isRevalidation);\n setMapEntryValue(entry, value);\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry);\n updateLruSize(entry, value.size);\n}\nfunction setMapEntryValue(entry, value) {\n if (entry.value !== null) {\n // There's already a value at the given keypath. Disconnect the old value\n // from the map. We're not calling `deleteMapEntry` here because the\n // entry itself is still in the map. We just want to overwrite its value.\n dropRef(entry.value);\n entry.value = null;\n }\n // This value may already be in the map at a different keypath.\n // Grab a reference before we overwrite it.\n const oldEntry = value.ref;\n entry.value = value;\n value.ref = entry;\n updateLruSize(entry, value.size);\n if (oldEntry !== null && oldEntry !== entry && oldEntry.value === value) {\n // This value is already in the map at a different keypath in the map.\n // Values only exist at a single keypath at a time. Remove it from the\n // previous keypath.\n //\n // Note that only the internal map entry is garbage collected; we don't\n // call `dropRef` here because it's still in the map, just\n // at a new keypath (the one we just set, above).\n deleteMapEntry(oldEntry);\n }\n}\nexport function deleteFromCacheMap(value) {\n const entry = value.ref;\n if (entry === null) {\n // This value is not a member of any map.\n return;\n }\n dropRef(value);\n deleteMapEntry(entry);\n}\nfunction dropRef(value) {\n // Drop the value from the map by setting its `ref` backpointer to\n // null. This is a separate operation from `deleteMapEntry` because when\n // re-keying a value we need to be able to delete the old, internal map\n // entry without garbage collecting the value itself.\n value.ref = null;\n}\nexport function deleteMapEntry(entry) {\n // Delete the entry from the cache.\n entry.value = null;\n deleteFromLru(entry);\n // Check if we can garbage collect the entry.\n const map = entry.map;\n if (map === null) {\n // Since this entry has no value, and also no child entries, we can\n // garbage collect it. Remove it from its parent, and keep garbage\n // collecting the parents until we reach a non-empty entry.\n let parent = entry.parent;\n let key = entry.key;\n while(parent !== null){\n const parentMap = parent.map;\n if (parentMap !== null) {\n parentMap.delete(key);\n if (parentMap.size === 0) {\n // We just removed the last entry in the parent map.\n parent.map = null;\n if (parent.value === null) {\n // The parent node has no child entries, nor does it have a value\n // on itself. It can be garbage collected. Keep going.\n key = parent.key;\n parent = parent.parent;\n continue;\n }\n }\n }\n break;\n }\n } else {\n // Check if there's a revalidating entry. If so, promote it to a\n // \"normal\" entry, since the normal one was just deleted.\n const revalidatingEntry = map.get(Revalidation);\n if (revalidatingEntry !== undefined && revalidatingEntry.value !== null) {\n setMapEntryValue(entry, revalidatingEntry.value);\n }\n }\n}\nexport function setSizeInCacheMap(value, size) {\n const entry = value.ref;\n if (entry === null) {\n // This value is not a member of any map.\n return;\n }\n // Except during initialization (when the size is set to 0), this is the only\n // place the `size` field should be updated, to ensure it's in sync with the\n // the LRU.\n value.size = size;\n updateLruSize(entry, size);\n}\n\n//# sourceMappingURL=cache-map.js.map","// TypeScript trick to simulate opaque types, like in Flow.\nexport function createCacheKey(originalHref, nextUrl) {\n const originalUrl = new URL(originalHref);\n const cacheKey = {\n pathname: originalUrl.pathname,\n search: originalUrl.search,\n nextUrl: nextUrl\n };\n return cacheKey;\n}\n\n//# sourceMappingURL=cache-key.js.map","import React, { useContext, useMemo, use } from 'react';\nimport { AppRouterContext, LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime';\nimport { SearchParamsContext, PathnameContext, PathParamsContext, NavigationPromisesContext, ReadonlyURLSearchParams } from '../../shared/lib/hooks-client-context.shared-runtime';\nimport { computeSelectedLayoutSegment, getSelectedLayoutSegmentPath } from '../../shared/lib/segment';\nconst useDynamicRouteParams = typeof window === 'undefined' ? require('../../server/app-render/dynamic-rendering').useDynamicRouteParams : undefined;\nconst useDynamicSearchParams = typeof window === 'undefined' ? require('../../server/app-render/dynamic-rendering').useDynamicSearchParams : undefined;\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you *read* the current URL's search parameters.\n *\n * Learn more about [`URLSearchParams` on MDN](https://developer.mozilla.org/docs/Web/API/URLSearchParams)\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useSearchParams } from 'next/navigation'\n *\n * export default function Page() {\n * const searchParams = useSearchParams()\n * searchParams.get('foo') // returns 'bar' when ?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSearchParams`](https://nextjs.org/docs/app/api-reference/functions/use-search-params)\n */ // Client components API\nexport function useSearchParams() {\n useDynamicSearchParams?.('useSearchParams()');\n const searchParams = useContext(SearchParamsContext);\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = useMemo(()=>{\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null;\n }\n return new ReadonlyURLSearchParams(searchParams);\n }, [\n searchParams\n ]);\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n return use(navigationPromises.searchParams);\n }\n }\n return readonlySearchParams;\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the current URL's pathname.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { usePathname } from 'next/navigation'\n *\n * export default function Page() {\n * const pathname = usePathname() // returns \"/dashboard\" on /dashboard?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `usePathname`](https://nextjs.org/docs/app/api-reference/functions/use-pathname)\n */ // Client components API\nexport function usePathname() {\n useDynamicRouteParams?.('usePathname()');\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n const pathname = useContext(PathnameContext);\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n return use(navigationPromises.pathname);\n }\n }\n return pathname;\n}\n// Client components API\nexport { ServerInsertedHTMLContext, useServerInsertedHTML } from '../../shared/lib/server-inserted-html.shared-runtime';\n/**\n *\n * This hook allows you to programmatically change routes inside [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components).\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useRouter } from 'next/navigation'\n *\n * export default function Page() {\n * const router = useRouter()\n * // ...\n * router.push('/dashboard') // Navigate to /dashboard\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useRouter`](https://nextjs.org/docs/app/api-reference/functions/use-router)\n */ // Client components API\nexport function useRouter() {\n const router = useContext(AppRouterContext);\n if (router === null) {\n throw Object.defineProperty(new Error('invariant expected app router to be mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E238\",\n enumerable: false,\n configurable: true\n });\n }\n return router;\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read a route's dynamic params filled in by the current URL.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useParams } from 'next/navigation'\n *\n * export default function Page() {\n * // on /dashboard/[team] where pathname is /dashboard/nextjs\n * const { team } = useParams() // team === \"nextjs\"\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useParams`](https://nextjs.org/docs/app/api-reference/functions/use-params)\n */ // Client components API\nexport function useParams() {\n useDynamicRouteParams?.('useParams()');\n const params = useContext(PathParamsContext);\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n return use(navigationPromises.params);\n }\n }\n return params;\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segments **below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n *\n * import { useSelectedLayoutSegments } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segments = useSelectedLayoutSegments()\n *\n * return (\n *
    \n * {segments.map((segment, index) => (\n *
  • {segment}
  • \n * ))}\n *
\n * )\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegments`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segments)\n */ // Client components API\nexport function useSelectedLayoutSegments(parallelRouteKey = 'children') {\n useDynamicRouteParams?.('useSelectedLayoutSegments()');\n const context = useContext(LayoutRouterContext);\n // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts\n if (!context) return null;\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey);\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise);\n }\n }\n }\n return getSelectedLayoutSegmentPath(context.parentTree, parallelRouteKey);\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segment **one level below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n * import { useSelectedLayoutSegment } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segment = useSelectedLayoutSegment()\n *\n * return

Active segment: {segment}

\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegment`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segment)\n */ // Client components API\nexport function useSelectedLayoutSegment(parallelRouteKey = 'children') {\n useDynamicRouteParams?.('useSelectedLayoutSegment()');\n const navigationPromises = useContext(NavigationPromisesContext);\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && navigationPromises && 'use' in React) {\n const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey);\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise);\n }\n }\n return computeSelectedLayoutSegment(selectedLayoutSegments, parallelRouteKey);\n}\nexport { unstable_isUnrecognizedActionError } from './unrecognized-action-error';\n// Shared components APIs\nexport { // We need the same class that was used to instantiate the context value\n// Otherwise instanceof checks will fail in usercode\nReadonlyURLSearchParams, };\nexport { notFound, forbidden, unauthorized, redirect, permanentRedirect, RedirectType, unstable_rethrow } from './navigation.react-server';\n\n//# sourceMappingURL=navigation.js.map","import { FetchStrategy } from './types';\nimport { Fallback } from './cache-map';\nimport { HEAD_REQUEST_KEY } from '../../../shared/lib/segment-cache/segment-value-encoding';\nexport function getRouteVaryPath(pathname, search, nextUrl) {\n // requestKey -> searchParams -> nextUrl\n const varyPath = {\n value: pathname,\n parent: {\n value: search,\n parent: {\n value: nextUrl,\n parent: null\n }\n }\n };\n return varyPath;\n}\nexport function getFulfilledRouteVaryPath(pathname, search, nextUrl, couldBeIntercepted) {\n // This is called when a route's data is fulfilled. The cache entry will be\n // re-keyed based on which inputs the response varies by.\n // requestKey -> searchParams -> nextUrl\n const varyPath = {\n value: pathname,\n parent: {\n value: search,\n parent: {\n value: couldBeIntercepted ? nextUrl : Fallback,\n parent: null\n }\n }\n };\n return varyPath;\n}\nexport function appendLayoutVaryPath(parentPath, cacheKey) {\n const varyPathPart = {\n value: cacheKey,\n parent: parentPath\n };\n return varyPathPart;\n}\nexport function finalizeLayoutVaryPath(requestKey, varyPath) {\n const layoutVaryPath = {\n value: requestKey,\n parent: varyPath\n };\n return layoutVaryPath;\n}\nexport function finalizePageVaryPath(requestKey, renderedSearch, varyPath) {\n // Unlike layouts, a page segment's vary path also includes the search string.\n // requestKey -> searchParams -> pathParams\n const pageVaryPath = {\n value: requestKey,\n parent: {\n value: renderedSearch,\n parent: varyPath\n }\n };\n return pageVaryPath;\n}\nexport function finalizeMetadataVaryPath(pageRequestKey, renderedSearch, varyPath) {\n // The metadata \"segment\" is not a real segment because it doesn't exist in\n // the normal structure of the route tree, but in terms of caching, it\n // behaves like a page segment because it varies by all the same params as\n // a page.\n //\n // To keep the protocol for querying the server simple, the request key for\n // the metadata does not include any path information. It's unnecessary from\n // the server's perspective, because unlike page segments, there's only one\n // metadata response per URL, i.e. there's no need to distinguish multiple\n // parallel pages.\n //\n // However, this means the metadata request key is insufficient for\n // caching the the metadata in the client cache, because on the client we\n // use the request key to distinguish the metadata entry from all other\n // page's metadata entries.\n //\n // So instead we create a simulated request key based on the page segment.\n // Conceptually this is equivalent to the request key the server would have\n // assigned the metadata segment if it treated it as part of the actual\n // route structure.\n // If there are multiple parallel pages, we use whichever is the first one.\n // This is fine because the only difference between request keys for\n // different parallel pages are things like route groups and parallel\n // route slots. As long as it's always the same one, it doesn't matter.\n const pageVaryPath = {\n // Append the actual metadata request key to the page request key. Note\n // that we're not using a separate vary path part; it's unnecessary because\n // these are not conceptually separate inputs.\n value: pageRequestKey + HEAD_REQUEST_KEY,\n parent: {\n value: renderedSearch,\n parent: varyPath\n }\n };\n return pageVaryPath;\n}\nexport function getSegmentVaryPathForRequest(fetchStrategy, tree) {\n // This is used for storing pending requests in the cache. We want to choose\n // the most generic vary path based on the strategy used to fetch it, i.e.\n // static/PPR versus runtime prefetching, so that it can be reused as much\n // as possible.\n //\n // We may be able to re-key the response to something even more generic once\n // we receive it — for example, if the server tells us that the response\n // doesn't vary on a particular param — but even before we send the request,\n // we know some params are reusable based on the fetch strategy alone. For\n // example, a static prefetch will never vary on search params.\n //\n // The original vary path with all the params filled in is stored on the\n // route tree object. We will clone this one to create a new vary path\n // where certain params are replaced with Fallback.\n //\n // This result of this function is not stored anywhere. It's only used to\n // access the cache a single time.\n //\n // TODO: Rather than create a new list object just to access the cache, the\n // plan is to add the concept of a \"vary mask\". This will represent all the\n // params that can be treated as Fallback. (Or perhaps the inverse.)\n const originalVaryPath = tree.varyPath;\n // Only page segments (and the special \"metadata\" segment, which is treated\n // like a page segment for the purposes of caching) may contain search\n // params. There's no reason to include them in the vary path otherwise.\n if (tree.isPage) {\n // Only a runtime prefetch will include search params in the vary path.\n // Static prefetches never include search params, so they can be reused\n // across all possible search param values.\n const doesVaryOnSearchParams = fetchStrategy === FetchStrategy.Full || fetchStrategy === FetchStrategy.PPRRuntime;\n if (!doesVaryOnSearchParams) {\n // The response from the the server will not vary on search params. Clone\n // the end of the original vary path to replace the search params\n // with Fallback.\n //\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with Fallback\n const searchParamsVaryPath = originalVaryPath.parent;\n const pathParamsVaryPath = searchParamsVaryPath.parent;\n const patchedVaryPath = {\n value: originalVaryPath.value,\n parent: {\n value: Fallback,\n parent: pathParamsVaryPath\n }\n };\n return patchedVaryPath;\n }\n }\n // The request does vary on search params. We don't need to modify anything.\n return originalVaryPath;\n}\nexport function clonePageVaryPathWithNewSearchParams(originalVaryPath, newSearch) {\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with newSearch\n const searchParamsVaryPath = originalVaryPath.parent;\n const clonedVaryPath = {\n value: originalVaryPath.value,\n parent: {\n value: newSearch,\n parent: searchParamsVaryPath.parent\n }\n };\n return clonedVaryPath;\n}\n\n//# sourceMappingURL=vary-path.js.map","import React, { use, useMemo } from 'react';\nimport { isThenable } from '../../shared/lib/is-thenable';\n// The app router state lives outside of React, so we can import the dispatch\n// method directly wherever we need it, rather than passing it around via props\n// or context.\nlet dispatch = null;\nexport function dispatchAppRouterAction(action) {\n if (dispatch === null) {\n throw Object.defineProperty(new Error('Internal Next.js error: Router action dispatched before initialization.'), \"__NEXT_ERROR_CODE\", {\n value: \"E668\",\n enumerable: false,\n configurable: true\n });\n }\n dispatch(action);\n}\nconst __DEV__ = process.env.NODE_ENV !== 'production';\nconst promisesWithDebugInfo = __DEV__ ? new WeakMap() : null;\nexport function useActionQueue(actionQueue) {\n const [state, setState] = React.useState(actionQueue.state);\n // Because of a known issue that requires to decode Flight streams inside the\n // render phase, we have to be a bit clever and assign the dispatch method to\n // a module-level variable upon initialization. The useState hook in this\n // module only exists to synchronize state that lives outside of React.\n // Ideally, what we'd do instead is pass the state as a prop to root.render;\n // this is conceptually how we're modeling the app router state, despite the\n // weird implementation details.\n if (process.env.NODE_ENV !== 'production') {\n const { useAppDevRenderingIndicator } = require('../../next-devtools/userspace/use-app-dev-rendering-indicator');\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const appDevRenderingIndicator = useAppDevRenderingIndicator();\n dispatch = (action)=>{\n appDevRenderingIndicator(()=>{\n actionQueue.dispatch(action, setState);\n });\n };\n } else {\n dispatch = (action)=>actionQueue.dispatch(action, setState);\n }\n // When navigating to a non-prefetched route, then App Router state will be\n // blocked until the server responds. We need to transfer the `_debugInfo`\n // from the underlying Flight response onto the top-level promise that is\n // passed to React (via `use`) so that the latency is accurately represented\n // in the React DevTools.\n const stateWithDebugInfo = useMemo(()=>{\n if (!__DEV__) {\n return state;\n }\n if (isThenable(state)) {\n // useMemo can't be used to cache a Promise since the memoized value is thrown\n // away when we suspend. So we use a WeakMap to cache the Promise with debug info.\n let promiseWithDebugInfo = promisesWithDebugInfo.get(state);\n if (promiseWithDebugInfo === undefined) {\n const debugInfo = [];\n promiseWithDebugInfo = Promise.resolve(state).then((asyncState)=>{\n if (asyncState.debugInfo !== null) {\n debugInfo.push(...asyncState.debugInfo);\n }\n return asyncState;\n });\n promiseWithDebugInfo._debugInfo = debugInfo;\n promisesWithDebugInfo.set(state, promiseWithDebugInfo);\n }\n return promiseWithDebugInfo;\n }\n return state;\n }, [\n state\n ]);\n return isThenable(stateWithDebugInfo) ? use(stateWithDebugInfo) : stateWithDebugInfo;\n}\n\n//# sourceMappingURL=use-action-queue.js.map","// This could also be a variable instead of a function, but some unit tests want to change the ID at\n// runtime. Even though that would never happen in a real deployment.\nexport function getDeploymentId() {\n return process.env.NEXT_DEPLOYMENT_ID;\n}\nexport function getDeploymentIdQueryOrEmptyString() {\n let deploymentId = getDeploymentId();\n if (deploymentId) {\n return `?dpl=${deploymentId}`;\n }\n return '';\n}\n\n//# sourceMappingURL=deployment-id.js.map","import { useEffect } from 'react';\nimport { createHrefFromUrl } from './router-reducer/create-href-from-url';\nexport function handleHardNavError(error) {\n if (error && typeof window !== 'undefined' && window.next.__pendingUrl && createHrefFromUrl(new URL(window.location.href)) !== createHrefFromUrl(window.next.__pendingUrl)) {\n console.error(`Error occurred during navigation, falling back to hard navigation`, error);\n window.location.href = window.next.__pendingUrl.toString();\n return true;\n }\n return false;\n}\nexport function useNavFailureHandler() {\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n // this if is only for DCE of the feature flag not conditional\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(()=>{\n const uncaughtExceptionHandler = (evt)=>{\n const error = 'reason' in evt ? evt.reason : evt.error;\n // if we have an unhandled exception/rejection during\n // a navigation we fall back to a hard navigation to\n // attempt recovering to a good state\n handleHardNavError(error);\n };\n window.addEventListener('unhandledrejection', uncaughtExceptionHandler);\n window.addEventListener('error', uncaughtExceptionHandler);\n return ()=>{\n window.removeEventListener('error', uncaughtExceptionHandler);\n window.removeEventListener('unhandledrejection', uncaughtExceptionHandler);\n };\n }, []);\n }\n}\n\n//# sourceMappingURL=nav-failure-handler.js.map","import { normalizeAppPath } from './app-paths';\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n '(..)(..)',\n '(.)',\n '(..)',\n '(...)'\n];\nexport function isInterceptionRouteAppPath(path) {\n // TODO-APP: add more serious validation\n return path.split('/').find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined;\n}\nexport function extractInterceptionRouteInformation(path) {\n let interceptingRoute;\n let marker;\n let interceptedRoute;\n for (const segment of path.split('/')){\n marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));\n if (marker) {\n ;\n [interceptingRoute, interceptedRoute] = path.split(marker, 2);\n break;\n }\n }\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Must be in the format //(..|...|..)(..)/`), \"__NEXT_ERROR_CODE\", {\n value: \"E269\",\n enumerable: false,\n configurable: true\n });\n }\n interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n ;\n switch(marker){\n case '(.)':\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === '/') {\n interceptedRoute = `/${interceptedRoute}`;\n } else {\n interceptedRoute = interceptingRoute + '/' + interceptedRoute;\n }\n break;\n case '(..)':\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === '/') {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`), \"__NEXT_ERROR_CODE\", {\n value: \"E207\",\n enumerable: false,\n configurable: true\n });\n }\n interceptedRoute = interceptingRoute.split('/').slice(0, -1).concat(interceptedRoute).join('/');\n break;\n case '(...)':\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = '/' + interceptedRoute;\n break;\n case '(..)(..)':\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n const splitInterceptingRoute = interceptingRoute.split('/');\n if (splitInterceptingRoute.length <= 2) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`), \"__NEXT_ERROR_CODE\", {\n value: \"E486\",\n enumerable: false,\n configurable: true\n });\n }\n interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join('/');\n break;\n default:\n throw Object.defineProperty(new Error('Invariant: unexpected marker'), \"__NEXT_ERROR_CODE\", {\n value: \"E112\",\n enumerable: false,\n configurable: true\n });\n }\n return {\n interceptingRoute,\n interceptedRoute\n };\n}\n\n//# sourceMappingURL=interception-routes.js.map","/**\n * Shared types and constants for the Segment Cache.\n */ export var NavigationResultTag = /*#__PURE__*/ function(NavigationResultTag) {\n NavigationResultTag[NavigationResultTag[\"MPA\"] = 0] = \"MPA\";\n NavigationResultTag[NavigationResultTag[\"Success\"] = 1] = \"Success\";\n NavigationResultTag[NavigationResultTag[\"NoOp\"] = 2] = \"NoOp\";\n NavigationResultTag[NavigationResultTag[\"Async\"] = 3] = \"Async\";\n return NavigationResultTag;\n}({});\n/**\n * The priority of the prefetch task. Higher numbers are higher priority.\n */ export var PrefetchPriority = /*#__PURE__*/ function(PrefetchPriority) {\n /**\n * Assigned to the most recently hovered/touched link. Special network\n * bandwidth is reserved for this task only. There's only ever one Intent-\n * priority task at a time; when a new Intent task is scheduled, the previous\n * one is bumped down to Default.\n */ PrefetchPriority[PrefetchPriority[\"Intent\"] = 2] = \"Intent\";\n /**\n * The default priority for prefetch tasks.\n */ PrefetchPriority[PrefetchPriority[\"Default\"] = 1] = \"Default\";\n /**\n * Assigned to tasks when they spawn non-blocking background work, like\n * revalidating a partially cached entry to see if more data is available.\n */ PrefetchPriority[PrefetchPriority[\"Background\"] = 0] = \"Background\";\n return PrefetchPriority;\n}({});\nexport var FetchStrategy = /*#__PURE__*/ function(FetchStrategy) {\n // Deliberately ordered so we can easily compare two segments\n // and determine if one segment is \"more specific\" than another\n // (i.e. if it's likely that it contains more data)\n FetchStrategy[FetchStrategy[\"LoadingBoundary\"] = 0] = \"LoadingBoundary\";\n FetchStrategy[FetchStrategy[\"PPR\"] = 1] = \"PPR\";\n FetchStrategy[FetchStrategy[\"PPRRuntime\"] = 2] = \"PPRRuntime\";\n FetchStrategy[FetchStrategy[\"Full\"] = 3] = \"Full\";\n return FetchStrategy;\n}({});\n\n//# sourceMappingURL=types.js.map","/**\n * Create a \"Thenable\" that does not resolve. This is used to suspend indefinitely when data is not available yet.\n */ export const unresolvedThenable = {\n then: ()=>{}\n};\n\n//# sourceMappingURL=unresolved-thenable.js.map","import { INTERCEPTION_ROUTE_MARKERS } from '../../../shared/lib/router/utils/interception-routes';\nimport { isGroupSegment, DEFAULT_SEGMENT_KEY, PAGE_SEGMENT_KEY } from '../../../shared/lib/segment';\nimport { matchSegment } from '../match-segments';\nconst removeLeadingSlash = (segment)=>{\n return segment[0] === '/' ? segment.slice(1) : segment;\n};\nconst segmentToPathname = (segment)=>{\n if (typeof segment === 'string') {\n // 'children' is not a valid path -- it's technically a parallel route that corresponds with the current segment's page\n // if we don't skip it, then the computed pathname might be something like `/children` which doesn't make sense.\n if (segment === 'children') return '';\n return segment;\n }\n return segment[1];\n};\nfunction normalizeSegments(segments) {\n return segments.reduce((acc, segment)=>{\n segment = removeLeadingSlash(segment);\n if (segment === '' || isGroupSegment(segment)) {\n return acc;\n }\n return `${acc}/${segment}`;\n }, '') || '/';\n}\nexport function extractPathFromFlightRouterState(flightRouterState) {\n const segment = Array.isArray(flightRouterState[0]) ? flightRouterState[0][1] : flightRouterState[0];\n if (segment === DEFAULT_SEGMENT_KEY || INTERCEPTION_ROUTE_MARKERS.some((m)=>segment.startsWith(m))) return undefined;\n if (segment.startsWith(PAGE_SEGMENT_KEY)) return '';\n const segments = [\n segmentToPathname(segment)\n ];\n const parallelRoutes = flightRouterState[1] ?? {};\n const childrenPath = parallelRoutes.children ? extractPathFromFlightRouterState(parallelRoutes.children) : undefined;\n if (childrenPath !== undefined) {\n segments.push(childrenPath);\n } else {\n for (const [key, value] of Object.entries(parallelRoutes)){\n if (key === 'children') continue;\n const childPath = extractPathFromFlightRouterState(value);\n if (childPath !== undefined) {\n segments.push(childPath);\n }\n }\n }\n return normalizeSegments(segments);\n}\nfunction computeChangedPathImpl(treeA, treeB) {\n const [segmentA, parallelRoutesA] = treeA;\n const [segmentB, parallelRoutesB] = treeB;\n const normalizedSegmentA = segmentToPathname(segmentA);\n const normalizedSegmentB = segmentToPathname(segmentB);\n if (INTERCEPTION_ROUTE_MARKERS.some((m)=>normalizedSegmentA.startsWith(m) || normalizedSegmentB.startsWith(m))) {\n return '';\n }\n if (!matchSegment(segmentA, segmentB)) {\n // once we find where the tree changed, we compute the rest of the path by traversing the tree\n return extractPathFromFlightRouterState(treeB) ?? '';\n }\n for(const parallelRouterKey in parallelRoutesA){\n if (parallelRoutesB[parallelRouterKey]) {\n const changedPath = computeChangedPathImpl(parallelRoutesA[parallelRouterKey], parallelRoutesB[parallelRouterKey]);\n if (changedPath !== null) {\n return `${segmentToPathname(segmentB)}/${changedPath}`;\n }\n }\n }\n return null;\n}\nexport function computeChangedPath(treeA, treeB) {\n const changedPath = computeChangedPathImpl(treeA, treeB);\n if (changedPath == null || changedPath === '/') {\n return changedPath;\n }\n // lightweight normalization to remove route groups\n return normalizeSegments(changedPath.split('/'));\n}\n/**\n * Recursively extracts dynamic parameters from FlightRouterState.\n */ export function getSelectedParams(currentTree, params = {}) {\n const parallelRoutes = currentTree[1];\n for (const parallelRoute of Object.values(parallelRoutes)){\n const segment = parallelRoute[0];\n const isDynamicParameter = Array.isArray(segment);\n const segmentValue = isDynamicParameter ? segment[1] : segment;\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) continue;\n // Ensure catchAll and optional catchall are turned into an array\n const isCatchAll = isDynamicParameter && (segment[2] === 'c' || segment[2] === 'oc');\n if (isCatchAll) {\n params[segment[0]] = segment[1].split('/');\n } else if (isDynamicParameter) {\n params[segment[0]] = segment[1];\n }\n params = getSelectedParams(parallelRoute, params);\n }\n return params;\n}\n\n//# sourceMappingURL=compute-changed-path.js.map","import { startTransition } from 'react';\nimport { ACTION_SERVER_ACTION } from './components/router-reducer/router-reducer-types';\nimport { dispatchAppRouterAction } from './components/use-action-queue';\nexport async function callServer(actionId, actionArgs) {\n return new Promise((resolve, reject)=>{\n startTransition(()=>{\n dispatchAppRouterAction({\n type: ACTION_SERVER_ACTION,\n actionId,\n actionArgs,\n resolve,\n reject\n });\n });\n });\n}\n\n//# sourceMappingURL=app-call-server.js.map","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */ export function ensureLeadingSlash(path) {\n return path.startsWith('/') ? path : `/${path}`;\n}\n\n//# sourceMappingURL=ensure-leading-slash.js.map","import { FetchStrategy, PrefetchPriority } from './segment-cache/types';\nimport { createCacheKey } from './segment-cache/cache-key';\nimport { schedulePrefetchTask as scheduleSegmentPrefetchTask, cancelPrefetchTask, reschedulePrefetchTask, isPrefetchTaskDirty } from './segment-cache/scheduler';\nimport { startTransition } from 'react';\n// Tracks the most recently navigated link instance. When null, indicates\n// the current navigation was not initiated by a link click.\nlet linkForMostRecentNavigation = null;\n// Status object indicating link is pending\nexport const PENDING_LINK_STATUS = {\n pending: true\n};\n// Status object indicating link is idle\nexport const IDLE_LINK_STATUS = {\n pending: false\n};\n// Updates the loading state when navigating between links\n// - Resets the previous link's loading state\n// - Sets the new link's loading state\n// - Updates tracking of current navigation\nexport function setLinkForCurrentNavigation(link) {\n startTransition(()=>{\n linkForMostRecentNavigation?.setOptimisticLinkStatus(IDLE_LINK_STATUS);\n link?.setOptimisticLinkStatus(PENDING_LINK_STATUS);\n linkForMostRecentNavigation = link;\n });\n}\n// Unmounts the current link instance from navigation tracking\nexport function unmountLinkForCurrentNavigation(link) {\n if (linkForMostRecentNavigation === link) {\n linkForMostRecentNavigation = null;\n }\n}\n// Use a WeakMap to associate a Link instance with its DOM element. This is\n// used by the IntersectionObserver to track the link's visibility.\nconst prefetchable = typeof WeakMap === 'function' ? new WeakMap() : new Map();\n// A Set of the currently visible links. We re-prefetch visible links after a\n// cache invalidation, or when the current URL changes. It's a separate data\n// structure from the WeakMap above because only the visible links need to\n// be enumerated.\nconst prefetchableAndVisible = new Set();\n// A single IntersectionObserver instance shared by all components.\nconst observer = typeof IntersectionObserver === 'function' ? new IntersectionObserver(handleIntersect, {\n rootMargin: '200px'\n}) : null;\nfunction observeVisibility(element, instance) {\n const existingInstance = prefetchable.get(element);\n if (existingInstance !== undefined) {\n // This shouldn't happen because each component should have its own\n // anchor tag instance, but it's defensive coding to avoid a memory leak in\n // case there's a logical error somewhere else.\n unmountPrefetchableInstance(element);\n }\n // Only track prefetchable links that have a valid prefetch URL\n prefetchable.set(element, instance);\n if (observer !== null) {\n observer.observe(element);\n }\n}\nfunction coercePrefetchableUrl(href) {\n if (typeof window !== 'undefined') {\n const { createPrefetchURL } = require('./app-router-utils');\n try {\n return createPrefetchURL(href);\n } catch {\n // createPrefetchURL sometimes throws an error if an invalid URL is\n // provided, though I'm not sure if it's actually necessary.\n // TODO: Consider removing the throw from the inner function, or change it\n // to reportError. Or maybe the error isn't even necessary for automatic\n // prefetches, just navigations.\n const reportErrorFn = typeof reportError === 'function' ? reportError : console.error;\n reportErrorFn(`Cannot prefetch '${href}' because it cannot be converted to a URL.`);\n return null;\n }\n } else {\n return null;\n }\n}\nexport function mountLinkInstance(element, href, router, fetchStrategy, prefetchEnabled, setOptimisticLinkStatus) {\n if (prefetchEnabled) {\n const prefetchURL = coercePrefetchableUrl(href);\n if (prefetchURL !== null) {\n const instance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus\n };\n // We only observe the link's visibility if it's prefetchable. For\n // example, this excludes links to external URLs.\n observeVisibility(element, instance);\n return instance;\n }\n }\n // If the link is not prefetchable, we still create an instance so we can\n // track its optimistic state (i.e. useLinkStatus).\n const instance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: null,\n setOptimisticLinkStatus\n };\n return instance;\n}\nexport function mountFormInstance(element, href, router, fetchStrategy) {\n const prefetchURL = coercePrefetchableUrl(href);\n if (prefetchURL === null) {\n // This href is not prefetchable, so we don't track it.\n // TODO: We currently observe/unobserve a form every time its href changes.\n // For Links, this isn't a big deal because the href doesn't usually change,\n // but for forms it's extremely common. We should optimize this.\n return;\n }\n const instance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus: null\n };\n observeVisibility(element, instance);\n}\nexport function unmountPrefetchableInstance(element) {\n const instance = prefetchable.get(element);\n if (instance !== undefined) {\n prefetchable.delete(element);\n prefetchableAndVisible.delete(instance);\n const prefetchTask = instance.prefetchTask;\n if (prefetchTask !== null) {\n cancelPrefetchTask(prefetchTask);\n }\n }\n if (observer !== null) {\n observer.unobserve(element);\n }\n}\nfunction handleIntersect(entries) {\n for (const entry of entries){\n // Some extremely old browsers or polyfills don't reliably support\n // isIntersecting so we check intersectionRatio instead. (Do we care? Not\n // really. But whatever this is fine.)\n const isVisible = entry.intersectionRatio > 0;\n onLinkVisibilityChanged(entry.target, isVisible);\n }\n}\nexport function onLinkVisibilityChanged(element, isVisible) {\n if (process.env.NODE_ENV !== 'production') {\n // Prefetching on viewport is disabled in development for performance\n // reasons, because it requires compiling the target page.\n // TODO: Investigate re-enabling this.\n return;\n }\n const instance = prefetchable.get(element);\n if (instance === undefined) {\n return;\n }\n instance.isVisible = isVisible;\n if (isVisible) {\n prefetchableAndVisible.add(instance);\n } else {\n prefetchableAndVisible.delete(instance);\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Default);\n}\nexport function onNavigationIntent(element, unstable_upgradeToDynamicPrefetch) {\n const instance = prefetchable.get(element);\n if (instance === undefined) {\n return;\n }\n // Prefetch the link on hover/touchstart.\n if (instance !== undefined) {\n if (process.env.__NEXT_DYNAMIC_ON_HOVER && unstable_upgradeToDynamicPrefetch) {\n // Switch to a full prefetch\n instance.fetchStrategy = FetchStrategy.Full;\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Intent);\n }\n}\nfunction rescheduleLinkPrefetch(instance, priority) {\n // Ensures that app-router-instance is not compiled in the server bundle\n if (typeof window !== 'undefined') {\n const existingPrefetchTask = instance.prefetchTask;\n if (!instance.isVisible) {\n // Cancel any in-progress prefetch task. (If it already finished then this\n // is a no-op.)\n if (existingPrefetchTask !== null) {\n cancelPrefetchTask(existingPrefetchTask);\n }\n // We don't need to reset the prefetchTask to null upon cancellation; an\n // old task object can be rescheduled with reschedulePrefetchTask. This is a\n // micro-optimization but also makes the code simpler (don't need to\n // worry about whether an old task object is stale).\n return;\n }\n const { getCurrentAppRouterState } = require('./app-router-instance');\n const appRouterState = getCurrentAppRouterState();\n if (appRouterState !== null) {\n const treeAtTimeOfPrefetch = appRouterState.tree;\n if (existingPrefetchTask === null) {\n // Initiate a prefetch task.\n const nextUrl = appRouterState.nextUrl;\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl);\n instance.prefetchTask = scheduleSegmentPrefetchTask(cacheKey, treeAtTimeOfPrefetch, instance.fetchStrategy, priority, null);\n } else {\n // We already have an old task object that we can reschedule. This is\n // effectively the same as canceling the old task and creating a new one.\n reschedulePrefetchTask(existingPrefetchTask, treeAtTimeOfPrefetch, instance.fetchStrategy, priority);\n }\n }\n }\n}\nexport function pingVisibleLinks(nextUrl, tree) {\n // For each currently visible link, cancel the existing prefetch task (if it\n // exists) and schedule a new one. This is effectively the same as if all the\n // visible links left and then re-entered the viewport.\n //\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n for (const instance of prefetchableAndVisible){\n const task = instance.prefetchTask;\n if (task !== null && !isPrefetchTaskDirty(task, nextUrl, tree)) {\n continue;\n }\n // Something changed. Cancel the existing prefetch task and schedule a\n // new one.\n if (task !== null) {\n cancelPrefetchTask(task);\n }\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl);\n instance.prefetchTask = scheduleSegmentPrefetchTask(cacheKey, tree, instance.fetchStrategy, PrefetchPriority.Default, null);\n }\n}\n\n//# sourceMappingURL=links.js.map","// This regex contains the bots that we need to do a blocking render for and can't safely stream the response\n// due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent.\n// Note: The pattern [\\w-]+-Google captures all Google crawlers with \"-Google\" suffix (e.g., Mediapartners-Google, AdsBot-Google, Storebot-Google)\n// as well as crawlers starting with \"Google-\" (e.g., Google-PageRenderer, Google-InspectionTool)\nexport const HTML_LIMITED_BOT_UA_RE = /[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i;\n\n//# sourceMappingURL=html-bots.js.map","/**\n * Check to see if a value is Thenable.\n *\n * @param promise the maybe-thenable value\n * @returns true if the value is thenable\n */ export function isThenable(promise) {\n return promise !== null && typeof promise === 'object' && 'then' in promise && typeof promise.then === 'function';\n}\n\n//# sourceMappingURL=is-thenable.js.map","/**\n * App Router types - Client-safe types for the Next.js App Router\n *\n * This file contains type definitions that can be safely imported\n * by both client-side and server-side code without circular dependencies.\n */ export var HasLoadingBoundary = /*#__PURE__*/ function(HasLoadingBoundary) {\n // There is a loading boundary in this particular segment\n HasLoadingBoundary[HasLoadingBoundary[\"SegmentHasLoadingBoundary\"] = 1] = \"SegmentHasLoadingBoundary\";\n // There is a loading boundary somewhere in the subtree (but not in\n // this segment)\n HasLoadingBoundary[HasLoadingBoundary[\"SubtreeHasLoadingBoundary\"] = 2] = \"SubtreeHasLoadingBoundary\";\n // There is no loading boundary in this segment or any of its descendants\n HasLoadingBoundary[HasLoadingBoundary[\"SubtreeHasNoLoadingBoundary\"] = 3] = \"SubtreeHasNoLoadingBoundary\";\n return HasLoadingBoundary;\n}({});\n\n//# sourceMappingURL=app-router-types.js.map","/**\n * This function should be used to rethrow internal Next.js errors so that they can be handled by the framework.\n * When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling.\n * This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing.\n *\n * Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow)\n */ export const unstable_rethrow = typeof window === 'undefined' ? require('./unstable-rethrow.server').unstable_rethrow : require('./unstable-rethrow.browser').unstable_rethrow;\n\n//# sourceMappingURL=unstable-rethrow.js.map","import { PAGE_SEGMENT_KEY } from '../shared/lib/segment';\nimport { getCacheKeyForDynamicParam, parseDynamicParamFromURLPart, doesStaticSegmentAppearInURL, getRenderedPathname, getRenderedSearch } from './route-params';\nimport { createHrefFromUrl } from './components/router-reducer/create-href-from-url';\n// TODO: We should only have to export `normalizeFlightData`, however because the initial flight data\n// that gets passed to `createInitialRouterState` doesn't conform to the `FlightDataPath` type (it's missing the root segment)\n// we're currently exporting it so we can use it directly. This should be fixed as part of the unification of\n// the different ways we express `FlightSegmentPath`.\nexport function getFlightDataPartsFromPath(flightDataPath) {\n // Pick the last 4 items from the `FlightDataPath` to get the [tree, seedData, viewport, isHeadPartial].\n const flightDataPathLength = 4;\n // tree, seedData, and head are *always* the last three items in the `FlightDataPath`.\n const [tree, seedData, head, isHeadPartial] = flightDataPath.slice(-flightDataPathLength);\n // The `FlightSegmentPath` is everything except the last three items. For a root render, it won't be present.\n const segmentPath = flightDataPath.slice(0, -flightDataPathLength);\n return {\n // TODO: Unify these two segment path helpers. We are inconsistently pushing an empty segment (\"\")\n // to the start of the segment path in some places which makes it hard to use solely the segment path.\n // Look for \"// TODO-APP: remove ''\" in the codebase.\n pathToSegment: segmentPath.slice(0, -1),\n segmentPath,\n // if the `FlightDataPath` corresponds with the root, there'll be no segment path,\n // in which case we default to ''.\n segment: segmentPath[segmentPath.length - 1] ?? '',\n tree,\n seedData,\n head,\n isHeadPartial,\n isRootRender: flightDataPath.length === flightDataPathLength\n };\n}\nexport function createInitialRSCPayloadFromFallbackPrerender(response, fallbackInitialRSCPayload) {\n // This is a static fallback page. In order to hydrate the page, we need to\n // parse the client params from the URL, but to account for the possibility\n // that the page was rewritten, we need to check the response headers\n // for x-nextjs-rewritten-path or x-nextjs-rewritten-query headers. Since\n // we can't access the headers of the initial document response, the client\n // performs a fetch request to the current location. Since it's possible that\n // the fetch request will be dynamically rewritten to a different path than\n // the initial document, this fetch request delivers _all_ the hydration data\n // for the page; it was not inlined into the document, like it normally\n // would be.\n //\n // TODO: Consider treating the case where fetch is rewritten to a different\n // path from the document as a special deopt case. We should optimistically\n // assume this won't happen, inline the data into the document, and perform\n // a minimal request (like a HEAD or range request) to verify that the\n // response matches. Tricky to get right because we need to account for\n // all the different deployment environments we support, like output:\n // \"export\" mode, where we currently don't assume that custom response\n // headers are present.\n // Patch the Flight data sent by the server with the correct params parsed\n // from the URL + response object.\n const renderedPathname = getRenderedPathname(response);\n const renderedSearch = getRenderedSearch(response);\n const canonicalUrl = createHrefFromUrl(new URL(location.href));\n const originalFlightDataPath = fallbackInitialRSCPayload.f[0];\n const originalFlightRouterState = originalFlightDataPath[0];\n return {\n b: fallbackInitialRSCPayload.b,\n c: canonicalUrl.split('/'),\n q: renderedSearch,\n i: fallbackInitialRSCPayload.i,\n f: [\n [\n fillInFallbackFlightRouterState(originalFlightRouterState, renderedPathname, renderedSearch),\n originalFlightDataPath[1],\n originalFlightDataPath[2],\n originalFlightDataPath[2]\n ]\n ],\n m: fallbackInitialRSCPayload.m,\n G: fallbackInitialRSCPayload.G,\n S: fallbackInitialRSCPayload.S\n };\n}\nfunction fillInFallbackFlightRouterState(flightRouterState, renderedPathname, renderedSearch) {\n const pathnameParts = renderedPathname.split('/').filter((p)=>p !== '');\n const index = 0;\n return fillInFallbackFlightRouterStateImpl(flightRouterState, renderedSearch, pathnameParts, index);\n}\nfunction fillInFallbackFlightRouterStateImpl(flightRouterState, renderedSearch, pathnameParts, pathnamePartsIndex) {\n const originalSegment = flightRouterState[0];\n let newSegment;\n let doesAppearInURL;\n if (typeof originalSegment === 'string') {\n newSegment = originalSegment;\n doesAppearInURL = doesStaticSegmentAppearInURL(originalSegment);\n } else {\n const paramName = originalSegment[0];\n const paramType = originalSegment[2];\n const paramValue = parseDynamicParamFromURLPart(paramType, pathnameParts, pathnamePartsIndex);\n const cacheKey = getCacheKeyForDynamicParam(paramValue, renderedSearch);\n newSegment = [\n paramName,\n cacheKey,\n paramType\n ];\n doesAppearInURL = true;\n }\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = doesAppearInURL ? pathnamePartsIndex + 1 : pathnamePartsIndex;\n const children = flightRouterState[1];\n const newChildren = {};\n for(let key in children){\n const childFlightRouterState = children[key];\n newChildren[key] = fillInFallbackFlightRouterStateImpl(childFlightRouterState, renderedSearch, pathnameParts, childPathnamePartsIndex);\n }\n const newState = [\n newSegment,\n newChildren,\n null,\n flightRouterState[3],\n flightRouterState[4]\n ];\n return newState;\n}\nexport function getNextFlightSegmentPath(flightSegmentPath) {\n // Since `FlightSegmentPath` is a repeated tuple of `Segment` and `ParallelRouteKey`, we slice off two items\n // to get the next segment path.\n return flightSegmentPath.slice(2);\n}\nexport function normalizeFlightData(flightData) {\n // FlightData can be a string when the server didn't respond with a proper flight response,\n // or when a redirect happens, to signal to the client that it needs to perform an MPA navigation.\n if (typeof flightData === 'string') {\n return flightData;\n }\n return flightData.map((flightDataPath)=>getFlightDataPartsFromPath(flightDataPath));\n}\n/**\n * This function is used to prepare the flight router state for the request.\n * It removes markers that are not needed by the server, and are purely used\n * for stashing state on the client.\n * @param flightRouterState - The flight router state to prepare.\n * @param isHmrRefresh - Whether this is an HMR refresh request.\n * @returns The prepared flight router state.\n */ export function prepareFlightRouterStateForRequest(flightRouterState, isHmrRefresh) {\n // HMR requests need the complete, unmodified state for proper functionality\n if (isHmrRefresh) {\n return encodeURIComponent(JSON.stringify(flightRouterState));\n }\n return encodeURIComponent(JSON.stringify(stripClientOnlyDataFromFlightRouterState(flightRouterState)));\n}\n/**\n * Recursively strips client-only data from FlightRouterState while preserving\n * server-needed information for proper rendering decisions.\n */ function stripClientOnlyDataFromFlightRouterState(flightRouterState) {\n const [segment, parallelRoutes, _url, refreshMarker, isRootLayout, hasLoadingBoundary] = flightRouterState;\n // __PAGE__ segments are always fetched from the server, so there's\n // no need to send them up\n const cleanedSegment = stripSearchParamsFromPageSegment(segment);\n // Recursively process parallel routes\n const cleanedParallelRoutes = {};\n for (const [key, childState] of Object.entries(parallelRoutes)){\n cleanedParallelRoutes[key] = stripClientOnlyDataFromFlightRouterState(childState);\n }\n const result = [\n cleanedSegment,\n cleanedParallelRoutes,\n null,\n shouldPreserveRefreshMarker(refreshMarker) ? refreshMarker : null\n ];\n // Append optional fields if present\n if (isRootLayout !== undefined) {\n result[4] = isRootLayout;\n }\n if (hasLoadingBoundary !== undefined) {\n result[5] = hasLoadingBoundary;\n }\n return result;\n}\n/**\n * Strips search parameters from __PAGE__ segments to prevent sensitive\n * client-side data from being sent to the server.\n */ function stripSearchParamsFromPageSegment(segment) {\n if (typeof segment === 'string' && segment.startsWith(PAGE_SEGMENT_KEY + '?')) {\n return PAGE_SEGMENT_KEY;\n }\n return segment;\n}\n/**\n * Determines whether the refresh marker should be sent to the server\n * Client-only markers like 'refresh' are stripped, while server-needed markers\n * like 'refetch' and 'inside-shared-layout' are preserved.\n */ function shouldPreserveRefreshMarker(refreshMarker) {\n return Boolean(refreshMarker && refreshMarker !== 'refresh');\n}\n\n//# sourceMappingURL=flight-data-helpers.js.map","// http://www.cse.yorku.ca/~oz/hash.html\n// More specifically, 32-bit hash via djbxor\n// (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765)\n// This is due to number type differences between rust for turbopack to js number types,\n// where rust does not have easy way to repreesnt js's 53-bit float number type for the matching\n// overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation\n// as can gaurantee determinstic output from 32bit hash.\nexport function djb2Hash(str) {\n let hash = 5381;\n for(let i = 0; i < str.length; i++){\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash + char & 0xffffffff;\n }\n return hash >>> 0;\n}\nexport function hexHash(str) {\n return djb2Hash(str).toString(36).slice(0, 5);\n}\n\n//# sourceMappingURL=hash.js.map","import { HasLoadingBoundary } from '../../../shared/lib/app-router-types';\nimport { matchSegment } from '../match-segments';\nimport { readOrCreateRouteCacheEntry, readOrCreateSegmentCacheEntry, fetchRouteOnCacheMiss, fetchSegmentOnCacheMiss, EntryStatus, fetchSegmentPrefetchesUsingDynamicRequest, convertRouteTreeToFlightRouterState, readOrCreateRevalidatingSegmentEntry, upsertSegmentEntry, upgradeToPendingSegment, waitForSegmentCacheEntry, overwriteRevalidatingSegmentCacheEntry, canNewFetchStrategyProvideMoreContent } from './cache';\nimport { getSegmentVaryPathForRequest } from './vary-path';\nimport { createCacheKey } from './cache-key';\nimport { FetchStrategy, PrefetchPriority } from './types';\nimport { getCurrentCacheVersion } from './cache';\nimport { addSearchParamsIfPageSegment, PAGE_SEGMENT_KEY } from '../../../shared/lib/segment';\nconst scheduleMicrotask = typeof queueMicrotask === 'function' ? queueMicrotask : (fn)=>Promise.resolve().then(fn).catch((error)=>setTimeout(()=>{\n throw error;\n }));\nconst taskHeap = [];\nlet inProgressRequests = 0;\nlet sortIdCounter = 0;\nlet didScheduleMicrotask = false;\n// The most recently hovered (or touched, etc) link, i.e. the most recent task\n// scheduled at Intent priority. There's only ever a single task at Intent\n// priority at a time. We reserve special network bandwidth for this task only.\nlet mostRecentlyHoveredLink = null;\n// CDN cache propagation delay after revalidation (in milliseconds)\nconst REVALIDATION_COOLDOWN_MS = 300;\n// Timeout handle for the revalidation cooldown. When non-null, prefetch\n// requests are blocked to allow CDN cache propagation.\nlet revalidationCooldownTimeoutHandle = null;\n/**\n * Called by the cache when revalidation occurs. Starts a cooldown period\n * during which prefetch requests are blocked to allow CDN cache propagation.\n */ export function startRevalidationCooldown() {\n // Clear any existing timeout in case multiple revalidations happen\n // in quick succession.\n if (revalidationCooldownTimeoutHandle !== null) {\n clearTimeout(revalidationCooldownTimeoutHandle);\n }\n // Schedule the cooldown to expire after the delay.\n revalidationCooldownTimeoutHandle = setTimeout(()=>{\n revalidationCooldownTimeoutHandle = null;\n // Retry the prefetch queue now that the cooldown has expired.\n ensureWorkIsScheduled();\n }, REVALIDATION_COOLDOWN_MS);\n}\n/**\n * Initiates a prefetch task for the given URL. If a prefetch for the same URL\n * is already in progress, this will bump it to the top of the queue.\n *\n * This is not a user-facing function. By the time this is called, the href is\n * expected to be validated and normalized.\n *\n * @param key The RouteCacheKey to prefetch.\n * @param treeAtTimeOfPrefetch The app's current FlightRouterState\n * @param fetchStrategy Whether to prefetch dynamic data, in addition to\n * static data. This is used by ``.\n */ export function schedulePrefetchTask(key, treeAtTimeOfPrefetch, fetchStrategy, priority, onInvalidate) {\n // Spawn a new prefetch task\n const task = {\n key,\n treeAtTimeOfPrefetch,\n cacheVersion: getCurrentCacheVersion(),\n priority,\n phase: 1,\n hasBackgroundWork: false,\n spawnedRuntimePrefetches: null,\n fetchStrategy,\n sortId: sortIdCounter++,\n isCanceled: false,\n onInvalidate,\n _heapIndex: -1\n };\n trackMostRecentlyHoveredLink(task);\n heapPush(taskHeap, task);\n // Schedule an async task to process the queue.\n //\n // The main reason we process the queue in an async task is for batching.\n // It's common for a single JS task/event to trigger multiple prefetches.\n // By deferring to a microtask, we only process the queue once per JS task.\n // If they have different priorities, it also ensures they are processed in\n // the optimal order.\n ensureWorkIsScheduled();\n return task;\n}\nexport function cancelPrefetchTask(task) {\n // Remove the prefetch task from the queue. If the task already completed,\n // then this is a no-op.\n //\n // We must also explicitly mark the task as canceled so that a blocked task\n // does not get added back to the queue when it's pinged by the network.\n task.isCanceled = true;\n heapDelete(taskHeap, task);\n}\nexport function reschedulePrefetchTask(task, treeAtTimeOfPrefetch, fetchStrategy, priority) {\n // Bump the prefetch task to the top of the queue, as if it were a fresh\n // task. This is essentially the same as canceling the task and scheduling\n // a new one, except it reuses the original object.\n //\n // The primary use case is to increase the priority of a Link-initated\n // prefetch on hover.\n // Un-cancel the task, in case it was previously canceled.\n task.isCanceled = false;\n task.phase = 1;\n // Assign a new sort ID to move it ahead of all other tasks at the same\n // priority level. (Higher sort IDs are processed first.)\n task.sortId = sortIdCounter++;\n task.priority = // If this task is the most recently hovered link, maintain its\n // Intent priority, even if the rescheduled priority is lower.\n task === mostRecentlyHoveredLink ? PrefetchPriority.Intent : priority;\n task.treeAtTimeOfPrefetch = treeAtTimeOfPrefetch;\n task.fetchStrategy = fetchStrategy;\n trackMostRecentlyHoveredLink(task);\n if (task._heapIndex !== -1) {\n // The task is already in the queue.\n heapResift(taskHeap, task);\n } else {\n heapPush(taskHeap, task);\n }\n ensureWorkIsScheduled();\n}\nexport function isPrefetchTaskDirty(task, nextUrl, tree) {\n // This is used to quickly bail out of a prefetch task if the result is\n // guaranteed to not have changed since the task was initiated. This is\n // strictly an optimization — theoretically, if it always returned true, no\n // behavior should change because a full prefetch task will effectively\n // perform the same checks.\n const currentCacheVersion = getCurrentCacheVersion();\n return task.cacheVersion !== currentCacheVersion || task.treeAtTimeOfPrefetch !== tree || task.key.nextUrl !== nextUrl;\n}\nfunction trackMostRecentlyHoveredLink(task) {\n // Track the mostly recently hovered link, i.e. the most recently scheduled\n // task at Intent priority. There must only be one such task at a time.\n if (task.priority === PrefetchPriority.Intent && task !== mostRecentlyHoveredLink) {\n if (mostRecentlyHoveredLink !== null) {\n // Bump the previously hovered link's priority down to Default.\n if (mostRecentlyHoveredLink.priority !== PrefetchPriority.Background) {\n mostRecentlyHoveredLink.priority = PrefetchPriority.Default;\n heapResift(taskHeap, mostRecentlyHoveredLink);\n }\n }\n mostRecentlyHoveredLink = task;\n }\n}\nfunction ensureWorkIsScheduled() {\n if (didScheduleMicrotask) {\n // Already scheduled a task to process the queue\n return;\n }\n didScheduleMicrotask = true;\n scheduleMicrotask(processQueueInMicrotask);\n}\n/**\n * Checks if we've exceeded the maximum number of concurrent prefetch requests,\n * to avoid saturating the browser's internal network queue. This is a\n * cooperative limit — prefetch tasks should check this before issuing\n * new requests.\n *\n * Also checks if we're within the revalidation cooldown window, during which\n * prefetch requests are delayed to allow CDN cache propagation.\n */ function hasNetworkBandwidth(task) {\n // Check if we're within the revalidation cooldown window\n if (revalidationCooldownTimeoutHandle !== null) {\n // We're within the cooldown window. Return false to prevent prefetching.\n // When the cooldown expires, the timeout will call ensureWorkIsScheduled()\n // to retry the queue.\n return false;\n }\n // TODO: Also check if there's an in-progress navigation. We should never\n // add prefetch requests to the network queue if an actual navigation is\n // taking place, to ensure there's sufficient bandwidth for render-blocking\n // data and resources.\n // TODO: Consider reserving some amount of bandwidth for static prefetches.\n if (task.priority === PrefetchPriority.Intent) {\n // The most recently hovered link is allowed to exceed the default limit.\n //\n // The goal is to always have enough bandwidth to start a new prefetch\n // request when hovering over a link.\n //\n // However, because we don't abort in-progress requests, it's still possible\n // we'll run out of bandwidth. When links are hovered in quick succession,\n // there could be multiple hover requests running simultaneously.\n return inProgressRequests < 12;\n }\n // The default limit is lower than the limit for a hovered link.\n return inProgressRequests < 4;\n}\nfunction spawnPrefetchSubtask(prefetchSubtask) {\n // When the scheduler spawns an async task, we don't await its result.\n // Instead, the async task writes its result directly into the cache, then\n // pings the scheduler to continue.\n //\n // We process server responses streamingly, so the prefetch subtask will\n // likely resolve before we're finished receiving all the data. The subtask\n // result includes a promise that resolves once the network connection is\n // closed. The scheduler uses this to control network bandwidth by tracking\n // and limiting the number of concurrent requests.\n inProgressRequests++;\n return prefetchSubtask.then((result)=>{\n if (result === null) {\n // The prefetch task errored before it could start processing the\n // network stream. Assume the connection is closed.\n onPrefetchConnectionClosed();\n return null;\n }\n // Wait for the connection to close before freeing up more bandwidth.\n result.closed.then(onPrefetchConnectionClosed);\n return result.value;\n });\n}\nfunction onPrefetchConnectionClosed() {\n inProgressRequests--;\n // Notify the scheduler that we have more bandwidth, and can continue\n // processing tasks.\n ensureWorkIsScheduled();\n}\n/**\n * Notify the scheduler that we've received new data for an in-progress\n * prefetch. The corresponding task will be added back to the queue (unless the\n * task has been canceled in the meantime).\n */ export function pingPrefetchTask(task) {\n // \"Ping\" a prefetch that's already in progress to notify it of new data.\n if (// Check if prefetch was canceled.\n task.isCanceled || // Check if prefetch is already queued.\n task._heapIndex !== -1) {\n return;\n }\n // Add the task back to the queue.\n heapPush(taskHeap, task);\n ensureWorkIsScheduled();\n}\nfunction processQueueInMicrotask() {\n didScheduleMicrotask = false;\n // We aim to minimize how often we read the current time. Since nearly all\n // functions in the prefetch scheduler are synchronous, we can read the time\n // once and pass it as an argument wherever it's needed.\n const now = Date.now();\n // Process the task queue until we run out of network bandwidth.\n let task = heapPeek(taskHeap);\n while(task !== null && hasNetworkBandwidth(task)){\n task.cacheVersion = getCurrentCacheVersion();\n const exitStatus = pingRoute(now, task);\n // These fields are only valid for a single attempt. Reset them after each\n // iteration of the task queue.\n const hasBackgroundWork = task.hasBackgroundWork;\n task.hasBackgroundWork = false;\n task.spawnedRuntimePrefetches = null;\n switch(exitStatus){\n case 0:\n // The task yielded because there are too many requests in progress.\n // Stop processing tasks until we have more bandwidth.\n return;\n case 1:\n // The task is blocked. It needs more data before it can proceed.\n // Keep the task out of the queue until the server responds.\n heapPop(taskHeap);\n // Continue to the next task\n task = heapPeek(taskHeap);\n continue;\n case 2:\n if (task.phase === 1) {\n // Finished prefetching the route tree. Proceed to prefetching\n // the segments.\n task.phase = 0;\n heapResift(taskHeap, task);\n } else if (hasBackgroundWork) {\n // The task spawned additional background work. Reschedule the task\n // at background priority.\n task.priority = PrefetchPriority.Background;\n heapResift(taskHeap, task);\n } else {\n // The prefetch is complete. Continue to the next task.\n heapPop(taskHeap);\n }\n task = heapPeek(taskHeap);\n continue;\n default:\n exitStatus;\n }\n }\n}\n/**\n * Check this during a prefetch task to determine if background work can be\n * performed. If so, it evaluates to `true`. Otherwise, it returns `false`,\n * while also scheduling a background task to run later. Usage:\n *\n * @example\n * if (background(task)) {\n * // Perform background-pri work\n * }\n */ function background(task) {\n if (task.priority === PrefetchPriority.Background) {\n return true;\n }\n task.hasBackgroundWork = true;\n return false;\n}\nfunction pingRoute(now, task) {\n const key = task.key;\n const route = readOrCreateRouteCacheEntry(now, task, key);\n const exitStatus = pingRootRouteTree(now, task, route);\n if (exitStatus !== 0 && key.search !== '') {\n // If the URL has a non-empty search string, also prefetch the pathname\n // without the search string. We use the searchless route tree as a base for\n // optimistic routing; see requestOptimisticRouteCacheEntry for details.\n //\n // Note that we don't need to prefetch any of the segment data. Just the\n // route tree.\n //\n // TODO: This is a temporary solution; the plan is to replace this by adding\n // a wildcard lookup method to the TupleMap implementation. This is\n // non-trivial to implement because it needs to account for things like\n // fallback route entries, hence this temporary workaround.\n const url = new URL(key.pathname, location.origin);\n const keyWithoutSearch = createCacheKey(url.href, key.nextUrl);\n const routeWithoutSearch = readOrCreateRouteCacheEntry(now, task, keyWithoutSearch);\n switch(routeWithoutSearch.status){\n case EntryStatus.Empty:\n {\n if (background(task)) {\n routeWithoutSearch.status = EntryStatus.Pending;\n spawnPrefetchSubtask(fetchRouteOnCacheMiss(routeWithoutSearch, task, keyWithoutSearch));\n }\n break;\n }\n case EntryStatus.Pending:\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n {\n break;\n }\n default:\n routeWithoutSearch;\n }\n }\n return exitStatus;\n}\nfunction pingRootRouteTree(now, task, route) {\n switch(route.status){\n case EntryStatus.Empty:\n {\n // Route is not yet cached, and there's no request already in progress.\n // Spawn a task to request the route, load it into the cache, and ping\n // the task to continue.\n // TODO: There are multiple strategies in the API for prefetching\n // a route. Currently we've only implemented the main one: per-segment,\n // static-data only.\n //\n // There's also ``\n // which prefetch both static *and* dynamic data.\n // Similarly, we need to fallback to the old, per-page\n // behavior if PPR is disabled for a route (via the incremental opt-in).\n //\n // Those cases will be handled here.\n spawnPrefetchSubtask(fetchRouteOnCacheMiss(route, task, task.key));\n // If the request takes longer than a minute, a subsequent request should\n // retry instead of waiting for this one. When the response is received,\n // this value will be replaced by a new value based on the stale time sent\n // from the server.\n // TODO: We should probably also manually abort the fetch task, to reclaim\n // server bandwidth.\n route.staleAt = now + 60 * 1000;\n // Upgrade to Pending so we know there's already a request in progress\n route.status = EntryStatus.Pending;\n // Intentional fallthrough to the Pending branch\n }\n case EntryStatus.Pending:\n {\n // Still pending. We can't start prefetching the segments until the route\n // tree has loaded. Add the task to the set of blocked tasks so that it\n // is notified when the route tree is ready.\n const blockedTasks = route.blockedTasks;\n if (blockedTasks === null) {\n route.blockedTasks = new Set([\n task\n ]);\n } else {\n blockedTasks.add(task);\n }\n return 1;\n }\n case EntryStatus.Rejected:\n {\n // Route tree failed to load. Treat as a 404.\n return 2;\n }\n case EntryStatus.Fulfilled:\n {\n if (task.phase !== 0) {\n // Do not prefetch segment data until we've entered the segment phase.\n return 2;\n }\n // Recursively fill in the segment tree.\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return 0;\n }\n const tree = route.tree;\n // A task's fetch strategy gets set to `PPR` for any \"auto\" prefetch.\n // If it turned out that the route isn't PPR-enabled, we need to use `LoadingBoundary` instead.\n // We don't need to do this for runtime prefetches, because those are only available in\n // `cacheComponents`, where every route is PPR.\n const fetchStrategy = task.fetchStrategy === FetchStrategy.PPR ? route.isPPREnabled ? FetchStrategy.PPR : FetchStrategy.LoadingBoundary : task.fetchStrategy;\n switch(fetchStrategy){\n case FetchStrategy.PPR:\n {\n // For Cache Components pages, each segment may be prefetched\n // statically or using a runtime request, based on various\n // configurations and heuristics. We'll do this in two passes: first\n // traverse the tree and perform all the static prefetches.\n //\n // Then, if there are any segments that need a runtime request,\n // do another pass to perform a runtime prefetch.\n pingStaticHead(now, task, route);\n const exitStatus = pingSharedPartOfCacheComponentsTree(now, task, route, task.treeAtTimeOfPrefetch, tree);\n if (exitStatus === 0) {\n // Child yielded without finishing.\n return 0;\n }\n const spawnedRuntimePrefetches = task.spawnedRuntimePrefetches;\n if (spawnedRuntimePrefetches !== null) {\n // During the first pass, we discovered segments that require a\n // runtime prefetch. Do a second pass to construct a request tree.\n const spawnedEntries = new Map();\n pingRuntimeHead(now, task, route, spawnedEntries, FetchStrategy.PPRRuntime);\n const requestTree = pingRuntimePrefetches(now, task, route, tree, spawnedRuntimePrefetches, spawnedEntries);\n let needsDynamicRequest = spawnedEntries.size > 0;\n if (needsDynamicRequest) {\n // Perform a dynamic prefetch request and populate the cache with\n // the result.\n spawnPrefetchSubtask(fetchSegmentPrefetchesUsingDynamicRequest(task, route, FetchStrategy.PPRRuntime, requestTree, spawnedEntries));\n }\n }\n return 2;\n }\n case FetchStrategy.Full:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.LoadingBoundary:\n {\n // Prefetch multiple segments using a single dynamic request.\n // TODO: We can consolidate this branch with previous one by modeling\n // it as if the first segment in the new tree has runtime prefetching\n // enabled. Will do this as a follow-up refactor. Might want to remove\n // the special metatdata case below first. In the meantime, it's not\n // really that much duplication, just would be nice to remove one of\n // these codepaths.\n const spawnedEntries = new Map();\n pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy);\n const dynamicRequestTree = diffRouteTreeAgainstCurrent(now, task, route, task.treeAtTimeOfPrefetch, tree, spawnedEntries, fetchStrategy);\n let needsDynamicRequest = spawnedEntries.size > 0;\n if (needsDynamicRequest) {\n spawnPrefetchSubtask(fetchSegmentPrefetchesUsingDynamicRequest(task, route, fetchStrategy, dynamicRequestTree, spawnedEntries));\n }\n return 2;\n }\n default:\n fetchStrategy;\n }\n break;\n }\n default:\n {\n route;\n }\n }\n return 2;\n}\nfunction pingStaticHead(now, task, route) {\n // The Head data for a page (metadata, viewport) is not really a route\n // segment, in the sense that it doesn't appear in the route tree. But we\n // store it in the cache as if it were, using a special key.\n pingStaticSegmentData(now, task, route, readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, route, route.metadata), task.key, route.metadata);\n}\nfunction pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy) {\n pingRouteTreeAndIncludeDynamicData(now, task, route, route.metadata, false, spawnedEntries, // When prefetching the head, there's no difference between Full\n // and LoadingBoundary\n fetchStrategy === FetchStrategy.LoadingBoundary ? FetchStrategy.Full : fetchStrategy);\n}\n// TODO: Rename dynamic -> runtime throughout this module\nfunction pingSharedPartOfCacheComponentsTree(now, task, route, oldTree, newTree) {\n // When Cache Components is enabled (or PPR, or a fully static route when PPR\n // is disabled; those cases are treated equivalently to Cache Components), we\n // start by prefetching each segment individually. Once we reach the \"new\"\n // part of the tree — the part that doesn't exist on the current page — we\n // may choose to switch to a runtime prefetch instead, based on the\n // information sent by the server in the route tree.\n //\n // The traversal starts in the \"shared\" part of the tree. Once we reach the\n // \"new\" part of the tree, we switch to a different traversal,\n // pingNewPartOfCacheComponentsTree.\n // Prefetch this segment's static data.\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, route, newTree);\n pingStaticSegmentData(now, task, route, segment, task.key, newTree);\n // Recursively ping the children.\n const oldTreeChildren = oldTree[1];\n const newTreeChildren = newTree.slots;\n if (newTreeChildren !== null) {\n for(const parallelRouteKey in newTreeChildren){\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return 0;\n }\n const newTreeChild = newTreeChildren[parallelRouteKey];\n const newTreeChildSegment = newTreeChild.segment;\n const oldTreeChild = oldTreeChildren[parallelRouteKey];\n const oldTreeChildSegment = oldTreeChild?.[0];\n let childExitStatus;\n if (oldTreeChildSegment !== undefined && doesCurrentSegmentMatchCachedSegment(route, newTreeChildSegment, oldTreeChildSegment)) {\n // We're still in the \"shared\" part of the tree.\n childExitStatus = pingSharedPartOfCacheComponentsTree(now, task, route, oldTreeChild, newTreeChild);\n } else {\n // We've entered the \"new\" part of the tree. Switch\n // traversal functions.\n childExitStatus = pingNewPartOfCacheComponentsTree(now, task, route, newTreeChild);\n }\n if (childExitStatus === 0) {\n // Child yielded without finishing.\n return 0;\n }\n }\n }\n return 2;\n}\nfunction pingNewPartOfCacheComponentsTree(now, task, route, tree) {\n // We're now prefetching in the \"new\" part of the tree, the part that doesn't\n // exist on the current page. (In other words, we're deeper than the\n // shared layouts.) Segments in here default to being prefetched statically.\n // However, if the server instructs us to, we may switch to a runtime\n // prefetch instead. Traverse the tree and check at each segment.\n if (tree.hasRuntimePrefetch) {\n // This route has a runtime prefetch response. Since we're below the shared\n // layout, everything from this point should be prefetched using a single,\n // combined runtime request, rather than using per-segment static requests.\n // This is true even if some of the child segments are known to be fully\n // static — once we've decided to perform a runtime prefetch, we might as\n // well respond with the static segments in the same roundtrip. (That's how\n // regular navigations work, too.) We'll still skip over segments that are\n // already cached, though.\n //\n // It's the server's responsibility to set a reasonable value of\n // `hasRuntimePrefetch`. Currently it's user-defined, but eventually, the\n // server may send a value of `false` even if the user opts in, if it\n // determines during build that the route is always fully static. There are\n // more optimizations we can do once we implement fallback param\n // tracking, too.\n //\n // Use the task object to collect the segments that need a runtime prefetch.\n // This will signal to the outer task queue that a second traversal is\n // required to construct a request tree.\n if (task.spawnedRuntimePrefetches === null) {\n task.spawnedRuntimePrefetches = new Set([\n tree.requestKey\n ]);\n } else {\n task.spawnedRuntimePrefetches.add(tree.requestKey);\n }\n // Then exit the traversal without prefetching anything further.\n return 2;\n }\n // This segment should not be runtime prefetched. Prefetch its static data.\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, route, tree);\n pingStaticSegmentData(now, task, route, segment, task.key, tree);\n if (tree.slots !== null) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return 0;\n }\n // Recursively ping the children.\n for(const parallelRouteKey in tree.slots){\n const childTree = tree.slots[parallelRouteKey];\n const childExitStatus = pingNewPartOfCacheComponentsTree(now, task, route, childTree);\n if (childExitStatus === 0) {\n // Child yielded without finishing.\n return 0;\n }\n }\n }\n // This segment and all its children have finished prefetching.\n return 2;\n}\nfunction diffRouteTreeAgainstCurrent(now, task, route, oldTree, newTree, spawnedEntries, fetchStrategy) {\n // This is a single recursive traversal that does multiple things:\n // - Finds the parts of the target route (newTree) that are not part of\n // of the current page (oldTree) by diffing them, using the same algorithm\n // as a real navigation.\n // - Constructs a request tree (FlightRouterState) that describes which\n // segments need to be prefetched and which ones are already cached.\n // - Creates a set of pending cache entries for the segments that need to\n // be prefetched, so that a subsequent prefetch task does not request the\n // same segments again.\n const oldTreeChildren = oldTree[1];\n const newTreeChildren = newTree.slots;\n let requestTreeChildren = {};\n if (newTreeChildren !== null) {\n for(const parallelRouteKey in newTreeChildren){\n const newTreeChild = newTreeChildren[parallelRouteKey];\n const newTreeChildSegment = newTreeChild.segment;\n const oldTreeChild = oldTreeChildren[parallelRouteKey];\n const oldTreeChildSegment = oldTreeChild?.[0];\n if (oldTreeChildSegment !== undefined && doesCurrentSegmentMatchCachedSegment(route, newTreeChildSegment, oldTreeChildSegment)) {\n // This segment is already part of the current route. Keep traversing.\n const requestTreeChild = diffRouteTreeAgainstCurrent(now, task, route, oldTreeChild, newTreeChild, spawnedEntries, fetchStrategy);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n } else {\n // This segment is not part of the current route. We're entering a\n // part of the tree that we need to prefetch (unless everything is\n // already cached).\n switch(fetchStrategy){\n case FetchStrategy.LoadingBoundary:\n {\n // When PPR is disabled, we can't prefetch per segment. We must\n // fallback to the old prefetch behavior and send a dynamic request.\n // Only routes that include a loading boundary can be prefetched in\n // this way.\n //\n // This is simlar to a \"full\" prefetch, but we're much more\n // conservative about which segments to include in the request.\n //\n // The server will only render up to the first loading boundary\n // inside new part of the tree. If there's no loading boundary\n // anywhere in the tree, the server will never return any data, so\n // we can skip the request.\n const subtreeHasLoadingBoundary = newTreeChild.hasLoadingBoundary !== HasLoadingBoundary.SubtreeHasNoLoadingBoundary;\n const requestTreeChild = subtreeHasLoadingBoundary ? pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, newTreeChild, null, spawnedEntries) : convertRouteTreeToFlightRouterState(newTreeChild);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n break;\n }\n case FetchStrategy.PPRRuntime:\n {\n // This is a runtime prefetch. Fetch all cacheable data in the tree,\n // not just the static PPR shell.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(now, task, route, newTreeChild, false, spawnedEntries, fetchStrategy);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n break;\n }\n case FetchStrategy.Full:\n {\n // This is a \"full\" prefetch. Fetch all the data in the tree, both\n // static and dynamic. We issue roughly the same request that we\n // would during a real navigation. The goal is that once the\n // navigation occurs, the router should not have to fetch any\n // additional data.\n //\n // Although the response will include dynamic data, opting into a\n // Full prefetch — via — implicitly\n // instructs the cache to treat the response as \"static\", or non-\n // dynamic, since the whole point is to cache it for\n // future navigations.\n //\n // Construct a tree (currently a FlightRouterState) that represents\n // which segments need to be prefetched and which ones are already\n // cached. If the tree is empty, then we can exit. Otherwise, we'll\n // send the request tree to the server and use the response to\n // populate the segment cache.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(now, task, route, newTreeChild, false, spawnedEntries, fetchStrategy);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n break;\n }\n default:\n fetchStrategy;\n }\n }\n }\n }\n const requestTree = [\n newTree.segment,\n requestTreeChildren,\n null,\n null,\n newTree.isRootLayout\n ];\n return requestTree;\n}\nfunction pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, tree, refetchMarkerContext, spawnedEntries) {\n // This function is similar to pingRouteTreeAndIncludeDynamicData, except the\n // server is only going to return a minimal loading state — it will stop\n // rendering at the first loading boundary. Whereas a Full prefetch is\n // intentionally aggressive and tries to pretfetch all the data that will be\n // needed for a navigation, a LoadingBoundary prefetch is much more\n // conservative. For example, it will omit from the request tree any segment\n // that is already cached, regardles of whether it's partial or full. By\n // contrast, a Full prefetch will refetch partial segments.\n // \"inside-shared-layout\" tells the server where to start looking for a\n // loading boundary.\n let refetchMarker = refetchMarkerContext === null ? 'inside-shared-layout' : null;\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, route, tree);\n switch(segment.status){\n case EntryStatus.Empty:\n {\n // This segment is not cached. Add a refetch marker so the server knows\n // to start rendering here.\n // TODO: Instead of a \"refetch\" marker, we could just omit this subtree's\n // FlightRouterState from the request tree. I think this would probably\n // already work even without any updates to the server. For consistency,\n // though, I'll send the full tree and we'll look into this later as part\n // of a larger redesign of the request protocol.\n // Add the pending cache entry to the result map.\n spawnedEntries.set(tree.requestKey, upgradeToPendingSegment(segment, // Set the fetch strategy to LoadingBoundary to indicate that the server\n // might not include it in the pending response. If another route is able\n // to issue a per-segment request, we'll do that in the background.\n FetchStrategy.LoadingBoundary));\n if (refetchMarkerContext !== 'refetch') {\n refetchMarker = refetchMarkerContext = 'refetch';\n } else {\n // There's already a parent with a refetch marker, so we don't need\n // to add another one.\n }\n break;\n }\n case EntryStatus.Fulfilled:\n {\n // The segment is already cached.\n const segmentHasLoadingBoundary = tree.hasLoadingBoundary === HasLoadingBoundary.SegmentHasLoadingBoundary;\n if (segmentHasLoadingBoundary) {\n // This segment has a loading boundary, which means the server won't\n // render its children. So there's nothing left to prefetch along this\n // path. We can bail out.\n return convertRouteTreeToFlightRouterState(tree);\n }\n break;\n }\n case EntryStatus.Pending:\n {\n break;\n }\n case EntryStatus.Rejected:\n {\n break;\n }\n default:\n segment;\n }\n const requestTreeChildren = {};\n if (tree.slots !== null) {\n for(const parallelRouteKey in tree.slots){\n const childTree = tree.slots[parallelRouteKey];\n requestTreeChildren[parallelRouteKey] = pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, childTree, refetchMarkerContext, spawnedEntries);\n }\n }\n const requestTree = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n tree.isRootLayout\n ];\n return requestTree;\n}\nfunction pingRouteTreeAndIncludeDynamicData(now, task, route, tree, isInsideRefetchingParent, spawnedEntries, fetchStrategy) {\n // The tree we're constructing is the same shape as the tree we're navigating\n // to. But even though this is a \"new\" tree, some of the individual segments\n // may be cached as a result of other route prefetches.\n //\n // So we need to find the first uncached segment along each path add an\n // explicit \"refetch\" marker so the server knows where to start rendering.\n // Once the server starts rendering along a path, it keeps rendering the\n // entire subtree.\n const segment = readOrCreateSegmentCacheEntry(now, // Note that `fetchStrategy` might be different from `task.fetchStrategy`,\n // and we have to use the former here.\n // We can have a task with `FetchStrategy.PPR` where some of its segments are configured to\n // always use runtime prefetching (via `export const prefetch`), and those should check for\n // entries that include search params.\n fetchStrategy, route, tree);\n let spawnedSegment = null;\n switch(segment.status){\n case EntryStatus.Empty:\n {\n // This segment is not cached. Include it in the request.\n spawnedSegment = upgradeToPendingSegment(segment, fetchStrategy);\n break;\n }\n case EntryStatus.Fulfilled:\n {\n // The segment is already cached.\n if (segment.isPartial && canNewFetchStrategyProvideMoreContent(segment.fetchStrategy, fetchStrategy)) {\n // The cached segment contains dynamic holes, and was prefetched using a less specific strategy than the current one.\n // This means we're in one of these cases:\n // - we have a static prefetch, and we're doing a runtime prefetch\n // - we have a static or runtime prefetch, and we're doing a Full prefetch (or a navigation).\n // In either case, we need to include it in the request to get a more specific (or full) version.\n spawnedSegment = pingFullSegmentRevalidation(now, route, tree, fetchStrategy);\n }\n break;\n }\n case EntryStatus.Pending:\n case EntryStatus.Rejected:\n {\n // There's either another prefetch currently in progress, or the previous\n // attempt failed. If the new strategy can provide more content, fetch it again.\n if (canNewFetchStrategyProvideMoreContent(segment.fetchStrategy, fetchStrategy)) {\n spawnedSegment = pingFullSegmentRevalidation(now, route, tree, fetchStrategy);\n }\n break;\n }\n default:\n segment;\n }\n const requestTreeChildren = {};\n if (tree.slots !== null) {\n for(const parallelRouteKey in tree.slots){\n const childTree = tree.slots[parallelRouteKey];\n requestTreeChildren[parallelRouteKey] = pingRouteTreeAndIncludeDynamicData(now, task, route, childTree, isInsideRefetchingParent || spawnedSegment !== null, spawnedEntries, fetchStrategy);\n }\n }\n if (spawnedSegment !== null) {\n // Add the pending entry to the result map.\n spawnedEntries.set(tree.requestKey, spawnedSegment);\n }\n // Don't bother to add a refetch marker if one is already present in a parent.\n const refetchMarker = !isInsideRefetchingParent && spawnedSegment !== null ? 'refetch' : null;\n const requestTree = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n tree.isRootLayout\n ];\n return requestTree;\n}\nfunction pingRuntimePrefetches(now, task, route, tree, spawnedRuntimePrefetches, spawnedEntries) {\n // Construct a request tree (FlightRouterState) for a runtime prefetch. If\n // a segment is part of the runtime prefetch, the tree is constructed by\n // diffing against what's already in the prefetch cache. Otherwise, we send\n // a regular FlightRouterState with no special markers.\n //\n // See pingRouteTreeAndIncludeDynamicData for details.\n if (spawnedRuntimePrefetches.has(tree.requestKey)) {\n // This segment needs a runtime prefetch.\n return pingRouteTreeAndIncludeDynamicData(now, task, route, tree, false, spawnedEntries, FetchStrategy.PPRRuntime);\n }\n let requestTreeChildren = {};\n const slots = tree.slots;\n if (slots !== null) {\n for(const parallelRouteKey in slots){\n const childTree = slots[parallelRouteKey];\n requestTreeChildren[parallelRouteKey] = pingRuntimePrefetches(now, task, route, childTree, spawnedRuntimePrefetches, spawnedEntries);\n }\n }\n // This segment is not part of the runtime prefetch. Clone the base tree.\n const requestTree = [\n tree.segment,\n requestTreeChildren,\n null,\n null\n ];\n return requestTree;\n}\nfunction pingStaticSegmentData(now, task, route, segment, routeKey, tree) {\n switch(segment.status){\n case EntryStatus.Empty:\n // Upgrade to Pending so we know there's already a request in progress\n spawnPrefetchSubtask(fetchSegmentOnCacheMiss(route, upgradeToPendingSegment(segment, FetchStrategy.PPR), routeKey, tree));\n break;\n case EntryStatus.Pending:\n {\n // There's already a request in progress. Depending on what kind of\n // request it is, we may want to revalidate it.\n switch(segment.fetchStrategy){\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n break;\n case FetchStrategy.LoadingBoundary:\n // There's a pending request, but because it's using the old\n // prefetching strategy, we can't be sure if it will be fulfilled by\n // the response — it might be inside the loading boundary. Perform\n // a revalidation, but because it's speculative, wait to do it at\n // background priority.\n if (background(task)) {\n // TODO: Instead of speculatively revalidating, consider including\n // `hasLoading` in the route tree prefetch response.\n pingPPRSegmentRevalidation(now, route, routeKey, tree);\n }\n break;\n default:\n segment.fetchStrategy;\n }\n break;\n }\n case EntryStatus.Rejected:\n {\n // The existing entry in the cache was rejected. Depending on how it\n // was originally fetched, we may or may not want to revalidate it.\n switch(segment.fetchStrategy){\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n break;\n case FetchStrategy.LoadingBoundary:\n // There's a rejected entry, but it was fetched using the loading\n // boundary strategy. So the reason it wasn't returned by the server\n // might just be because it was inside a loading boundary. Or because\n // there was a dynamic rewrite. Revalidate it using the per-\n // segment strategy.\n //\n // Because a rejected segment will definitely prevent the segment (and\n // all of its children) from rendering, we perform this revalidation\n // immediately instead of deferring it to a background task.\n pingPPRSegmentRevalidation(now, route, routeKey, tree);\n break;\n default:\n segment.fetchStrategy;\n }\n break;\n }\n case EntryStatus.Fulfilled:\n break;\n default:\n segment;\n }\n// Segments do not have dependent tasks, so once the prefetch is initiated,\n// there's nothing else for us to do (except write the server data into the\n// entry, which is handled by `fetchSegmentOnCacheMiss`).\n}\nfunction pingPPRSegmentRevalidation(now, route, routeKey, tree) {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(now, FetchStrategy.PPR, route, tree);\n switch(revalidatingSegment.status){\n case EntryStatus.Empty:\n // Spawn a prefetch request and upsert the segment into the cache\n // upon completion.\n upsertSegmentOnCompletion(spawnPrefetchSubtask(fetchSegmentOnCacheMiss(route, upgradeToPendingSegment(revalidatingSegment, FetchStrategy.PPR), routeKey, tree)), getSegmentVaryPathForRequest(FetchStrategy.PPR, tree));\n break;\n case EntryStatus.Pending:\n break;\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n break;\n default:\n revalidatingSegment;\n }\n}\nfunction pingFullSegmentRevalidation(now, route, tree, fetchStrategy) {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(now, fetchStrategy, route, tree);\n if (revalidatingSegment.status === EntryStatus.Empty) {\n // During a Full/PPRRuntime prefetch, a single dynamic request is made for all the\n // segments that we need. So we don't initiate a request here directly. By\n // returning a pending entry from this function, it signals to the caller\n // that this segment should be included in the request that's sent to\n // the server.\n const pendingSegment = upgradeToPendingSegment(revalidatingSegment, fetchStrategy);\n upsertSegmentOnCompletion(waitForSegmentCacheEntry(pendingSegment), getSegmentVaryPathForRequest(fetchStrategy, tree));\n return pendingSegment;\n } else {\n // There's already a revalidation in progress.\n const nonEmptyRevalidatingSegment = revalidatingSegment;\n if (canNewFetchStrategyProvideMoreContent(nonEmptyRevalidatingSegment.fetchStrategy, fetchStrategy)) {\n // The existing revalidation was fetched using a less specific strategy.\n // Reset it and start a new revalidation.\n const emptySegment = overwriteRevalidatingSegmentCacheEntry(fetchStrategy, route, tree);\n const pendingSegment = upgradeToPendingSegment(emptySegment, fetchStrategy);\n upsertSegmentOnCompletion(waitForSegmentCacheEntry(pendingSegment), getSegmentVaryPathForRequest(fetchStrategy, tree));\n return pendingSegment;\n }\n switch(nonEmptyRevalidatingSegment.status){\n case EntryStatus.Pending:\n // There's already an in-progress prefetch that includes this segment.\n return null;\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n return null;\n default:\n nonEmptyRevalidatingSegment;\n return null;\n }\n }\n}\nconst noop = ()=>{};\nfunction upsertSegmentOnCompletion(promise, varyPath) {\n // Wait for a segment to finish loading, then upsert it into the cache\n promise.then((fulfilled)=>{\n if (fulfilled !== null) {\n // Received new data. Attempt to replace the existing entry in the cache.\n upsertSegmentEntry(Date.now(), varyPath, fulfilled);\n }\n }, noop);\n}\nfunction doesCurrentSegmentMatchCachedSegment(route, currentSegment, cachedSegment) {\n if (cachedSegment === PAGE_SEGMENT_KEY) {\n // In the FlightRouterState stored by the router, the page segment has the\n // rendered search params appended to the name of the segment. In the\n // prefetch cache, however, this is stored separately. So, when comparing\n // the router's current FlightRouterState to the cached FlightRouterState,\n // we need to make sure we compare both parts of the segment.\n // TODO: This is not modeled clearly. We use the same type,\n // FlightRouterState, for both the CacheNode tree _and_ the prefetch cache\n // _and_ the server response format, when conceptually those are three\n // different things and treated in different ways. We should encode more of\n // this information into the type design so mistakes are less likely.\n return currentSegment === addSearchParamsIfPageSegment(PAGE_SEGMENT_KEY, Object.fromEntries(new URLSearchParams(route.renderedSearch)));\n }\n // Non-page segments are compared using the same function as the server\n return matchSegment(cachedSegment, currentSegment);\n}\n// -----------------------------------------------------------------------------\n// The remainder of the module is a MinHeap implementation. Try not to put any\n// logic below here unless it's related to the heap algorithm. We can extract\n// this to a separate module if/when we need multiple kinds of heaps.\n// -----------------------------------------------------------------------------\nfunction compareQueuePriority(a, b) {\n // Since the queue is a MinHeap, this should return a positive number if b is\n // higher priority than a, and a negative number if a is higher priority\n // than b.\n // `priority` is an integer, where higher numbers are higher priority.\n const priorityDiff = b.priority - a.priority;\n if (priorityDiff !== 0) {\n return priorityDiff;\n }\n // If the priority is the same, check which phase the prefetch is in — is it\n // prefetching the route tree, or the segments? Route trees are prioritized.\n const phaseDiff = b.phase - a.phase;\n if (phaseDiff !== 0) {\n return phaseDiff;\n }\n // Finally, check the insertion order. `sortId` is an incrementing counter\n // assigned to prefetches. We want to process the newest prefetches first.\n return b.sortId - a.sortId;\n}\nfunction heapPush(heap, node) {\n const index = heap.length;\n heap.push(node);\n node._heapIndex = index;\n heapSiftUp(heap, node, index);\n}\nfunction heapPeek(heap) {\n return heap.length === 0 ? null : heap[0];\n}\nfunction heapPop(heap) {\n if (heap.length === 0) {\n return null;\n }\n const first = heap[0];\n first._heapIndex = -1;\n const last = heap.pop();\n if (last !== first) {\n heap[0] = last;\n last._heapIndex = 0;\n heapSiftDown(heap, last, 0);\n }\n return first;\n}\nfunction heapDelete(heap, node) {\n const index = node._heapIndex;\n if (index !== -1) {\n node._heapIndex = -1;\n if (heap.length !== 0) {\n const last = heap.pop();\n if (last !== node) {\n heap[index] = last;\n last._heapIndex = index;\n heapSiftDown(heap, last, index);\n }\n }\n }\n}\nfunction heapResift(heap, node) {\n const index = node._heapIndex;\n if (index !== -1) {\n if (index === 0) {\n heapSiftDown(heap, node, 0);\n } else {\n const parentIndex = index - 1 >>> 1;\n const parent = heap[parentIndex];\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Sift up.\n heapSiftUp(heap, node, index);\n } else {\n // The parent is smaller (or equal). Sift down.\n heapSiftDown(heap, node, index);\n }\n }\n }\n}\nfunction heapSiftUp(heap, node, i) {\n let index = i;\n while(index > 0){\n const parentIndex = index - 1 >>> 1;\n const parent = heap[parentIndex];\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Swap positions.\n heap[parentIndex] = node;\n node._heapIndex = parentIndex;\n heap[index] = parent;\n parent._heapIndex = index;\n index = parentIndex;\n } else {\n // The parent is smaller. Exit.\n return;\n }\n }\n}\nfunction heapSiftDown(heap, node, i) {\n let index = i;\n const length = heap.length;\n const halfLength = length >>> 1;\n while(index < halfLength){\n const leftIndex = (index + 1) * 2 - 1;\n const left = heap[leftIndex];\n const rightIndex = leftIndex + 1;\n const right = heap[rightIndex];\n // If the left or right node is smaller, swap with the smaller of those.\n if (compareQueuePriority(left, node) < 0) {\n if (rightIndex < length && compareQueuePriority(right, left) < 0) {\n heap[index] = right;\n right._heapIndex = index;\n heap[rightIndex] = node;\n node._heapIndex = rightIndex;\n index = rightIndex;\n } else {\n heap[index] = left;\n left._heapIndex = index;\n heap[leftIndex] = node;\n node._heapIndex = leftIndex;\n index = leftIndex;\n }\n } else if (rightIndex < length && compareQueuePriority(right, node) < 0) {\n heap[index] = right;\n right._heapIndex = index;\n heap[rightIndex] = node;\n node._heapIndex = rightIndex;\n index = rightIndex;\n } else {\n // Neither child is smaller. Exit.\n return;\n }\n }\n}\n\n//# sourceMappingURL=scheduler.js.map","import { createHrefFromUrl } from '../create-href-from-url';\nimport { handleMutable } from '../handle-mutable';\nimport { navigate as navigateUsingSegmentCache } from '../../segment-cache/navigation';\nimport { NavigationResultTag } from '../../segment-cache/types';\nimport { getStaleTimeMs } from '../../segment-cache/cache';\nimport { FreshnessPolicy } from '../ppr-navigations';\n// These values are set by `define-env-plugin` (based on `nextConfig.experimental.staleTimes`)\n// and default to 5 minutes (static) / 0 seconds (dynamic)\nexport const DYNAMIC_STALETIME_MS = Number(process.env.__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME) * 1000;\nexport const STATIC_STALETIME_MS = getStaleTimeMs(Number(process.env.__NEXT_CLIENT_ROUTER_STATIC_STALETIME));\nexport function handleExternalUrl(state, mutable, url, pendingPush) {\n mutable.mpaNavigation = true;\n mutable.canonicalUrl = url;\n mutable.pendingPush = pendingPush;\n mutable.scrollableSegments = undefined;\n return handleMutable(state, mutable);\n}\nexport function generateSegmentsFromPatch(flightRouterPatch) {\n const segments = [];\n const [segment, parallelRoutes] = flightRouterPatch;\n if (Object.keys(parallelRoutes).length === 0) {\n return [\n [\n segment\n ]\n ];\n }\n for (const [parallelRouteKey, parallelRoute] of Object.entries(parallelRoutes)){\n for (const childSegment of generateSegmentsFromPatch(parallelRoute)){\n // If the segment is empty, it means we are at the root of the tree\n if (segment === '') {\n segments.push([\n parallelRouteKey,\n ...childSegment\n ]);\n } else {\n segments.push([\n segment,\n parallelRouteKey,\n ...childSegment\n ]);\n }\n }\n }\n return segments;\n}\nexport function handleNavigationResult(url, state, mutable, pendingPush, result) {\n switch(result.tag){\n case NavigationResultTag.MPA:\n {\n // Perform an MPA navigation.\n const newUrl = result.data;\n return handleExternalUrl(state, mutable, newUrl, pendingPush);\n }\n case NavigationResultTag.Success:\n {\n // Received a new result.\n mutable.cache = result.data.cacheNode;\n mutable.patchedTree = result.data.flightRouterState;\n mutable.renderedSearch = result.data.renderedSearch;\n mutable.canonicalUrl = result.data.canonicalUrl;\n // TODO: During a refresh, we don't set the `scrollableSegments`. There's\n // some confusing and subtle logic in `handleMutable` that decides what\n // to do when `shouldScroll` is set but `scrollableSegments` is not. I'm\n // not convinced it's totally coherent but the tests assert on this\n // particular behavior so I've ported the logic as-is from the previous\n // router implementation, for now.\n mutable.scrollableSegments = result.data.scrollableSegments ?? undefined;\n mutable.shouldScroll = result.data.shouldScroll;\n mutable.hashFragment = result.data.hash;\n // Check if the only thing that changed was the hash fragment.\n const oldUrl = new URL(state.canonicalUrl, url);\n const onlyHashChange = // We don't need to compare the origins, because client-driven\n // navigations are always same-origin.\n url.pathname === oldUrl.pathname && url.search === oldUrl.search && url.hash !== oldUrl.hash;\n if (onlyHashChange) {\n // The only updated part of the URL is the hash.\n mutable.onlyHashChange = true;\n mutable.shouldScroll = result.data.shouldScroll;\n mutable.hashFragment = url.hash;\n // Setting this to an empty array triggers a scroll for all new and\n // updated segments. See `ScrollAndFocusHandler` for more details.\n mutable.scrollableSegments = [];\n }\n return handleMutable(state, mutable);\n }\n case NavigationResultTag.Async:\n {\n return result.data.then((asyncResult)=>handleNavigationResult(url, state, mutable, pendingPush, asyncResult), // If the navigation failed, return the current state.\n // TODO: This matches the current behavior but we need to do something\n // better here if the network fails.\n ()=>{\n return state;\n });\n }\n default:\n {\n result;\n return state;\n }\n }\n}\nexport function navigateReducer(state, action) {\n const { url, isExternalUrl, navigateType, shouldScroll } = action;\n const mutable = {};\n const href = createHrefFromUrl(url);\n const pendingPush = navigateType === 'push';\n mutable.preserveCustomHistoryState = false;\n mutable.pendingPush = pendingPush;\n if (isExternalUrl) {\n return handleExternalUrl(state, mutable, url.toString(), pendingPush);\n }\n // Handles case where `` tag is present,\n // which will trigger an MPA navigation.\n if (document.getElementById('__next-page-redirect')) {\n return handleExternalUrl(state, mutable, href, pendingPush);\n }\n // Temporary glue code between the router reducer and the new navigation\n // implementation. Eventually we'll rewrite the router reducer to a\n // state machine.\n const currentUrl = new URL(state.canonicalUrl, location.origin);\n const result = navigateUsingSegmentCache(url, currentUrl, state.cache, state.tree, state.nextUrl, FreshnessPolicy.Default, shouldScroll, mutable);\n return handleNavigationResult(url, state, mutable, pendingPush, result);\n}\n\n//# sourceMappingURL=navigate-reducer.js.map","import { DEFAULT_SEGMENT_KEY, NOT_FOUND_SEGMENT_KEY } from '../../../shared/lib/segment';\nimport { matchSegment } from '../match-segments';\nimport { createHrefFromUrl } from './create-href-from-url';\nimport { createRouterCacheKey } from './create-router-cache-key';\nimport { fetchServerResponse } from './fetch-server-response';\nimport { dispatchAppRouterAction } from '../use-action-queue';\nimport { ACTION_SERVER_PATCH } from './router-reducer-types';\nimport { isNavigatingToNewRootLayout } from './is-navigating-to-new-root-layout';\nimport { DYNAMIC_STALETIME_MS } from './reducers/navigate-reducer';\nimport { convertServerPatchToFullTree } from '../segment-cache/navigation';\nexport var FreshnessPolicy = /*#__PURE__*/ function(FreshnessPolicy) {\n FreshnessPolicy[FreshnessPolicy[\"Default\"] = 0] = \"Default\";\n FreshnessPolicy[FreshnessPolicy[\"Hydration\"] = 1] = \"Hydration\";\n FreshnessPolicy[FreshnessPolicy[\"HistoryTraversal\"] = 2] = \"HistoryTraversal\";\n FreshnessPolicy[FreshnessPolicy[\"RefreshAll\"] = 3] = \"RefreshAll\";\n FreshnessPolicy[FreshnessPolicy[\"HMRRefresh\"] = 4] = \"HMRRefresh\";\n return FreshnessPolicy;\n}({});\nconst noop = ()=>{};\nexport function createInitialCacheNodeForHydration(navigatedAt, initialTree, seedData, seedHead) {\n // Create the initial cache node tree, using the data embedded into the\n // HTML document.\n const accumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null\n };\n const task = createCacheNodeOnNavigation(navigatedAt, initialTree, undefined, 1, seedData, seedHead, null, null, false, null, null, false, accumulation);\n // NOTE: We intentionally don't check if any data needs to be fetched from the\n // server. We assume the initial hydration payload is sufficient to render\n // the page.\n //\n // The completeness of the initial data is an important property that we rely\n // on as a last-ditch mechanism for recovering the app; we must always be able\n // to reload a fresh HTML document to get to a consistent state.\n //\n // In the future, there may be cases where the server intentionally sends\n // partial data and expects the client to fill in the rest, in which case this\n // logic may change. (There already is a similar case where the server sends\n // _no_ hydration data in the HTML document at all, and the client fetches it\n // separately, but that's different because we still end up hydrating with a\n // complete tree.)\n return task.node;\n}\n// Creates a new Cache Node tree (i.e. copy-on-write) that represents the\n// optimistic result of a navigation, using both the current Cache Node tree and\n// data that was prefetched prior to navigation.\n//\n// At the moment we call this function, we haven't yet received the navigation\n// response from the server. It could send back something completely different\n// from the tree that was prefetched — due to rewrites, default routes, parallel\n// routes, etc.\n//\n// But in most cases, it will return the same tree that we prefetched, just with\n// the dynamic holes filled in. So we optimistically assume this will happen,\n// and accept that the real result could be arbitrarily different.\n//\n// We'll reuse anything that was already in the previous tree, since that's what\n// the server does.\n//\n// New segments (ones that don't appear in the old tree) are assigned an\n// unresolved promise. The data for these promises will be fulfilled later, when\n// the navigation response is received.\n//\n// The tree can be rendered immediately after it is created (that's why this is\n// a synchronous function). Any new trees that do not have prefetch data will\n// suspend during rendering, until the dynamic data streams in.\n//\n// Returns a Task object, which contains both the updated Cache Node and a path\n// to the pending subtrees that need to be resolved by the navigation response.\n//\n// A return value of `null` means there were no changes, and the previous tree\n// can be reused without initiating a server request.\nexport function startPPRNavigation(navigatedAt, oldUrl, oldCacheNode, oldRouterState, newRouterState, freshness, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, accumulation) {\n const didFindRootLayout = false;\n const parentNeedsDynamicRequest = false;\n const parentRefreshUrl = null;\n return updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNode !== null ? oldCacheNode : undefined, oldRouterState, newRouterState, freshness, didFindRootLayout, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, null, null, parentNeedsDynamicRequest, parentRefreshUrl, accumulation);\n}\nfunction updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNode, oldRouterState, newRouterState, freshness, didFindRootLayout, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, parentSegmentPath, parentParallelRouteKey, parentNeedsDynamicRequest, parentRefreshUrl, accumulation) {\n // Check if this segment matches the one in the previous route.\n const oldSegment = oldRouterState[0];\n const newSegment = newRouterState[0];\n if (!matchSegment(newSegment, oldSegment)) {\n // This segment does not match the previous route. We're now entering the\n // new part of the target route. Switch to the \"create\" path.\n if (// Check if the route tree changed before we reached a layout. (The\n // highest-level layout in a route tree is referred to as the \"root\"\n // layout.) This could mean that we're navigating between two different\n // root layouts. When this happens, we perform a full-page (MPA-style)\n // navigation.\n //\n // However, the algorithm for deciding where to start rendering a route\n // (i.e. the one performed in order to reach this function) is stricter\n // than the one used to detect a change in the root layout. So just\n // because we're re-rendering a segment outside of the root layout does\n // not mean we should trigger a full-page navigation.\n //\n // Specifically, we handle dynamic parameters differently: two segments\n // are considered the same even if their parameter values are different.\n //\n // Refer to isNavigatingToNewRootLayout for details.\n //\n // Note that we only have to perform this extra traversal if we didn't\n // already discover a root layout in the part of the tree that is\n // unchanged. We also only need to compare the subtree that is not\n // shared. In the common case, this branch is skipped completely.\n !didFindRootLayout && isNavigatingToNewRootLayout(oldRouterState, newRouterState) || // The global Not Found route (app/global-not-found.tsx) is a special\n // case, because it acts like a root layout, but in the router tree, it\n // is rendered in the same position as app/layout.tsx.\n //\n // Any navigation to the global Not Found route should trigger a\n // full-page navigation.\n //\n // TODO: We should probably model this by changing the key of the root\n // segment when this happens. Then the root layout check would work\n // as expected, without a special case.\n newSegment === NOT_FOUND_SEGMENT_KEY) {\n return null;\n }\n if (parentSegmentPath === null || parentParallelRouteKey === null) {\n // The root should never mismatch. If it does, it suggests an internal\n // Next.js error, or a malformed server response. Trigger a full-\n // page navigation.\n return null;\n }\n return createCacheNodeOnNavigation(navigatedAt, newRouterState, oldCacheNode, freshness, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, parentSegmentPath, parentParallelRouteKey, parentNeedsDynamicRequest, accumulation);\n }\n // TODO: The segment paths are tracked so that LayoutRouter knows which\n // segments to scroll to after a navigation. But we should just mark this\n // information on the CacheNode directly. It used to be necessary to do this\n // separately because CacheNodes were created lazily during render, not when\n // rather than when creating the route tree.\n const segmentPath = parentParallelRouteKey !== null && parentSegmentPath !== null ? parentSegmentPath.concat([\n parentParallelRouteKey,\n newSegment\n ]) : [];\n const newRouterStateChildren = newRouterState[1];\n const oldRouterStateChildren = oldRouterState[1];\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null;\n // We're currently traversing the part of the tree that was also part of\n // the previous route. If we discover a root layout, then we don't need to\n // trigger an MPA navigation.\n const isRootLayout = newRouterState[4] === true;\n const childDidFindRootLayout = didFindRootLayout || isRootLayout;\n const oldParallelRoutes = oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined;\n // Clone the current set of segment children, even if they aren't active in\n // the new tree.\n // TODO: We currently retain all the inactive segments indefinitely, until\n // there's an explicit refresh, or a parent layout is lazily refreshed. We\n // rely on this for popstate navigations, which update the Router State Tree\n // but do not eagerly perform a data fetch, because they expect the segment\n // data to already be in the Cache Node tree. For highly static sites that\n // are mostly read-only, this may happen only rarely, causing memory to\n // leak. We should figure out a better model for the lifetime of inactive\n // segments, so we can maintain instant back/forward navigations without\n // leaking memory indefinitely.\n let shouldDropSiblingCaches = false;\n let shouldRefreshDynamicData = false;\n switch(freshness){\n case 0:\n case 2:\n case 1:\n // We should never drop dynamic data in shared layouts, except during\n // a refresh.\n shouldDropSiblingCaches = false;\n shouldRefreshDynamicData = false;\n break;\n case 3:\n case 4:\n shouldDropSiblingCaches = true;\n shouldRefreshDynamicData = true;\n break;\n default:\n freshness;\n break;\n }\n const newParallelRoutes = new Map(shouldDropSiblingCaches ? undefined : oldParallelRoutes);\n // TODO: We're not consistent about how we do this check. Some places\n // check if the segment starts with PAGE_SEGMENT_KEY, but most seem to\n // check if there any any children, which is why I'm doing it here. We\n // should probably encode an empty children set as `null` though. Either\n // way, we should update all the checks to be consistent.\n const isLeafSegment = Object.keys(newRouterStateChildren).length === 0;\n // Get the data for this segment. Since it was part of the previous route,\n // usually we just clone the data from the old CacheNode. However, during a\n // refresh or a revalidation, there won't be any existing CacheNode. So we\n // may need to consult the prefetch cache, like we would for a new segment.\n let newCacheNode;\n let needsDynamicRequest;\n if (oldCacheNode !== undefined && !shouldRefreshDynamicData && // During a same-page navigation, we always refetch the page segments\n !(isLeafSegment && isSamePageNavigation)) {\n // Reuse the existing CacheNode\n const dropPrefetchRsc = false;\n newCacheNode = reuseDynamicCacheNode(dropPrefetchRsc, oldCacheNode, newParallelRoutes);\n needsDynamicRequest = false;\n } else if (seedData !== null && seedData[0] !== null) {\n // If this navigation was the result of an action, then check if the\n // server sent back data in the action response. We should favor using\n // that, rather than performing a separate request. This is both better\n // for performance and it's more likely to be consistent with any\n // writes that were just performed by the action, compared to a\n // separate request.\n const seedRsc = seedData[0];\n const seedLoading = seedData[2];\n const isSeedRscPartial = false;\n const isSeedHeadPartial = seedHead === null;\n newCacheNode = readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt);\n needsDynamicRequest = isLeafSegment && isSeedHeadPartial;\n } else if (prefetchData !== null) {\n // Consult the prefetch cache.\n const prefetchRsc = prefetchData[0];\n const prefetchLoading = prefetchData[2];\n const isPrefetchRSCPartial = prefetchData[3];\n newCacheNode = readCacheNodeFromSeedData(prefetchRsc, prefetchLoading, isPrefetchRSCPartial, prefetchHead, isPrefetchHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt);\n needsDynamicRequest = isPrefetchRSCPartial || isLeafSegment && isPrefetchHeadPartial;\n } else {\n // Spawn a request to fetch new data from the server.\n newCacheNode = spawnNewCacheNode(newParallelRoutes, isLeafSegment, navigatedAt, freshness);\n needsDynamicRequest = true;\n }\n // During a refresh navigation, there's a special case that happens when\n // entering a \"default\" slot. The default slot may not be part of the\n // current route; it may have been reused from an older route. If so,\n // we need to fetch its data from the old route's URL rather than current\n // route's URL. Keep track of this as we traverse the tree.\n const href = newRouterState[2];\n const refreshUrl = typeof href === 'string' && newRouterState[3] === 'refresh' ? // refresh URL as we continue traversing the tree.\n href : parentRefreshUrl;\n // If this segment itself needs to fetch new data from the server, then by\n // definition it is being refreshed. Track its refresh URL so we know which\n // URL to request the data from.\n if (needsDynamicRequest && refreshUrl !== null) {\n accumulateRefreshUrl(accumulation, refreshUrl);\n }\n // As we diff the trees, we may sometimes modify (copy-on-write, not mutate)\n // the Route Tree that was returned by the server — for example, in the case\n // of default parallel routes, we preserve the currently active segment. To\n // avoid mutating the original tree, we clone the router state children along\n // the return path.\n let patchedRouterStateChildren = {};\n let taskChildren = null;\n // Most navigations require a request to fetch additional data from the\n // server, either because the data was not already prefetched, or because the\n // target route contains dynamic data that cannot be prefetched.\n //\n // However, if the target route is fully static, and it's already completely\n // loaded into the segment cache, then we can skip the server request.\n //\n // This starts off as `false`, and is set to `true` if any of the child\n // routes requires a dynamic request.\n let childNeedsDynamicRequest = false;\n // As we traverse the children, we'll construct a FlightRouterState that can\n // be sent to the server to request the dynamic data. If it turns out that\n // nothing in the subtree is dynamic (i.e. childNeedsDynamicRequest is false\n // at the end), then this will be discarded.\n // TODO: We can probably optimize the format of this data structure to only\n // include paths that are dynamic. Instead of reusing the\n // FlightRouterState type.\n let dynamicRequestTreeChildren = {};\n for(let parallelRouteKey in newRouterStateChildren){\n let newRouterStateChild = newRouterStateChildren[parallelRouteKey];\n const oldRouterStateChild = oldRouterStateChildren[parallelRouteKey];\n if (oldRouterStateChild === undefined) {\n // This should never happen, but if it does, it suggests a malformed\n // server response. Trigger a full-page navigation.\n return null;\n }\n const oldSegmentMapChild = oldParallelRoutes !== undefined ? oldParallelRoutes.get(parallelRouteKey) : undefined;\n let seedDataChild = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n let prefetchDataChild = prefetchDataChildren !== null ? prefetchDataChildren[parallelRouteKey] : null;\n let newSegmentChild = newRouterStateChild[0];\n let seedHeadChild = seedHead;\n let prefetchHeadChild = prefetchHead;\n let isPrefetchHeadPartialChild = isPrefetchHeadPartial;\n if (// Skip this branch during a history traversal. We restore the tree that\n // was stashed in the history entry as-is.\n freshness !== 2 && newSegmentChild === DEFAULT_SEGMENT_KEY) {\n // This is a \"default\" segment. These are never sent by the server during\n // a soft navigation; instead, the client reuses whatever segment was\n // already active in that slot on the previous route.\n newRouterStateChild = reuseActiveSegmentInDefaultSlot(oldUrl, oldRouterStateChild);\n newSegmentChild = newRouterStateChild[0];\n // Since we're switching to a different route tree, these are no\n // longer valid, because they correspond to the outer tree.\n seedDataChild = null;\n seedHeadChild = null;\n prefetchDataChild = null;\n prefetchHeadChild = null;\n isPrefetchHeadPartialChild = false;\n }\n const newSegmentKeyChild = createRouterCacheKey(newSegmentChild);\n const oldCacheNodeChild = oldSegmentMapChild !== undefined ? oldSegmentMapChild.get(newSegmentKeyChild) : undefined;\n const taskChild = updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNodeChild, oldRouterStateChild, newRouterStateChild, freshness, childDidFindRootLayout, seedDataChild ?? null, seedHeadChild, prefetchDataChild ?? null, prefetchHeadChild, isPrefetchHeadPartialChild, isSamePageNavigation, segmentPath, parallelRouteKey, parentNeedsDynamicRequest || needsDynamicRequest, refreshUrl, accumulation);\n if (taskChild === null) {\n // One of the child tasks discovered a change to the root layout.\n // Immediately unwind from this recursive traversal. This will trigger a\n // full-page navigation.\n return null;\n }\n // Recursively propagate up the child tasks.\n if (taskChildren === null) {\n taskChildren = new Map();\n }\n taskChildren.set(parallelRouteKey, taskChild);\n const newCacheNodeChild = taskChild.node;\n if (newCacheNodeChild !== null) {\n const newSegmentMapChild = new Map(shouldDropSiblingCaches ? undefined : oldSegmentMapChild);\n newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild);\n newParallelRoutes.set(parallelRouteKey, newSegmentMapChild);\n }\n // The child tree's route state may be different from the prefetched\n // route sent by the server. We need to clone it as we traverse back up\n // the tree.\n const taskChildRoute = taskChild.route;\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute;\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree;\n if (dynamicRequestTreeChild !== null) {\n // Something in the child tree is dynamic.\n childNeedsDynamicRequest = true;\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild;\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute;\n }\n }\n return {\n status: needsDynamicRequest ? 0 : 1,\n route: patchRouterStateWithNewChildren(newRouterState, patchedRouterStateChildren),\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(newRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest),\n refreshUrl,\n children: taskChildren\n };\n}\nfunction createCacheNodeOnNavigation(navigatedAt, newRouterState, oldCacheNode, freshness, seedData, seedHead, prefetchData, prefetchHead, isPrefetchHeadPartial, parentSegmentPath, parentParallelRouteKey, parentNeedsDynamicRequest, accumulation) {\n // Same traversal as updateCacheNodeNavigation, but simpler. We switch to this\n // path once we reach the part of the tree that was not in the previous route.\n // We don't need to diff against the old tree, we just need to create a new\n // one. We also don't need to worry about any refresh-related logic.\n //\n // For the most part, this is a subset of updateCacheNodeOnNavigation, so any\n // change that happens in this function likely needs to be applied to that\n // one, too. However there are some places where the behavior intentionally\n // diverges, which is why we keep them separate.\n const newSegment = newRouterState[0];\n const segmentPath = parentParallelRouteKey !== null && parentSegmentPath !== null ? parentSegmentPath.concat([\n parentParallelRouteKey,\n newSegment\n ]) : [];\n const newRouterStateChildren = newRouterState[1];\n const prefetchDataChildren = prefetchData !== null ? prefetchData[1] : null;\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n const oldParallelRoutes = oldCacheNode !== undefined ? oldCacheNode.parallelRoutes : undefined;\n let shouldDropSiblingCaches = false;\n let shouldRefreshDynamicData = false;\n let dropPrefetchRsc = false;\n switch(freshness){\n case 0:\n // We should never drop dynamic data in sibling caches except during\n // a refresh.\n shouldDropSiblingCaches = false;\n // Only reuse the dynamic data if experimental.staleTimes.dynamic config\n // is set, and the data is not stale. (This is not a recommended API with\n // Cache Components, but it's supported for backwards compatibility. Use\n // cacheLife instead.)\n //\n // DYNAMIC_STALETIME_MS defaults to 0, but it can be increased.\n shouldRefreshDynamicData = oldCacheNode === undefined || navigatedAt - oldCacheNode.navigatedAt >= DYNAMIC_STALETIME_MS;\n dropPrefetchRsc = false;\n break;\n case 1:\n // During hydration, we assume the data sent by the server is both\n // consistent and complete.\n shouldRefreshDynamicData = false;\n shouldDropSiblingCaches = false;\n dropPrefetchRsc = false;\n break;\n case 2:\n // During back/forward navigations, we reuse the dynamic data regardless\n // of how stale it may be.\n shouldRefreshDynamicData = false;\n shouldRefreshDynamicData = false;\n // Only show prefetched data if the dynamic data is still pending. This\n // avoids a flash back to the prefetch state in a case where it's highly\n // likely to have already streamed in.\n //\n // Tehnically, what we're actually checking is whether the dynamic network\n // response was received. But since it's a streaming response, this does\n // not mean that all the dynamic data has fully streamed in. It just means\n // that _some_ of the dynamic data was received. But as a heuristic, we\n // assume that the rest dynamic data will stream in quickly, so it's still\n // better to skip the prefetch state.\n if (oldCacheNode !== undefined) {\n const oldRsc = oldCacheNode.rsc;\n const oldRscDidResolve = !isDeferredRsc(oldRsc) || oldRsc.status !== 'pending';\n dropPrefetchRsc = oldRscDidResolve;\n } else {\n dropPrefetchRsc = false;\n }\n break;\n case 3:\n case 4:\n // Drop all dynamic data.\n shouldRefreshDynamicData = true;\n shouldDropSiblingCaches = true;\n dropPrefetchRsc = false;\n break;\n default:\n freshness;\n break;\n }\n const newParallelRoutes = new Map(shouldDropSiblingCaches ? undefined : oldParallelRoutes);\n const isLeafSegment = Object.keys(newRouterStateChildren).length === 0;\n if (isLeafSegment) {\n // The segment path of every leaf segment (i.e. page) is collected into\n // a result array. This is used by the LayoutRouter to scroll to ensure that\n // new pages are visible after a navigation.\n //\n // This only happens for new pages, not for refreshed pages.\n //\n // TODO: We should use a string to represent the segment path instead of\n // an array. We already use a string representation for the path when\n // accessing the Segment Cache, so we can use the same one.\n if (accumulation.scrollableSegments === null) {\n accumulation.scrollableSegments = [];\n }\n accumulation.scrollableSegments.push(segmentPath);\n }\n let newCacheNode;\n let needsDynamicRequest;\n if (!shouldRefreshDynamicData && oldCacheNode !== undefined) {\n // Reuse the existing CacheNode\n newCacheNode = reuseDynamicCacheNode(dropPrefetchRsc, oldCacheNode, newParallelRoutes);\n needsDynamicRequest = false;\n } else if (seedData !== null && seedData[0] !== null) {\n // If this navigation was the result of an action, then check if the\n // server sent back data in the action response. We should favor using\n // that, rather than performing a separate request. This is both better\n // for performance and it's more likely to be consistent with any\n // writes that were just performed by the action, compared to a\n // separate request.\n const seedRsc = seedData[0];\n const seedLoading = seedData[2];\n const isSeedRscPartial = false;\n const isSeedHeadPartial = seedHead === null && freshness !== 1;\n newCacheNode = readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt);\n needsDynamicRequest = isLeafSegment && isSeedHeadPartial;\n } else if (freshness === 1 && isLeafSegment && seedHead !== null) {\n // This is another weird case related to \"not found\" pages and hydration.\n // There will be a head sent by the server, but no page seed data.\n // TODO: We really should get rid of all these \"not found\" specific quirks\n // and make sure the tree is always consistent.\n const seedRsc = null;\n const seedLoading = null;\n const isSeedRscPartial = false;\n const isSeedHeadPartial = false;\n newCacheNode = readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt);\n needsDynamicRequest = false;\n } else if (freshness !== 1 && prefetchData !== null) {\n // Consult the prefetch cache.\n const prefetchRsc = prefetchData[0];\n const prefetchLoading = prefetchData[2];\n const isPrefetchRSCPartial = prefetchData[3];\n newCacheNode = readCacheNodeFromSeedData(prefetchRsc, prefetchLoading, isPrefetchRSCPartial, prefetchHead, isPrefetchHeadPartial, isLeafSegment, newParallelRoutes, navigatedAt);\n needsDynamicRequest = isPrefetchRSCPartial || isLeafSegment && isPrefetchHeadPartial;\n } else {\n // Spawn a request to fetch new data from the server.\n newCacheNode = spawnNewCacheNode(newParallelRoutes, isLeafSegment, navigatedAt, freshness);\n needsDynamicRequest = true;\n }\n let patchedRouterStateChildren = {};\n let taskChildren = null;\n let childNeedsDynamicRequest = false;\n let dynamicRequestTreeChildren = {};\n for(let parallelRouteKey in newRouterStateChildren){\n const newRouterStateChild = newRouterStateChildren[parallelRouteKey];\n const oldSegmentMapChild = oldParallelRoutes !== undefined ? oldParallelRoutes.get(parallelRouteKey) : undefined;\n const seedDataChild = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n const prefetchDataChild = prefetchDataChildren !== null ? prefetchDataChildren[parallelRouteKey] : null;\n const newSegmentChild = newRouterStateChild[0];\n const newSegmentKeyChild = createRouterCacheKey(newSegmentChild);\n const oldCacheNodeChild = oldSegmentMapChild !== undefined ? oldSegmentMapChild.get(newSegmentKeyChild) : undefined;\n const taskChild = createCacheNodeOnNavigation(navigatedAt, newRouterStateChild, oldCacheNodeChild, freshness, seedDataChild ?? null, seedHead, prefetchDataChild ?? null, prefetchHead, isPrefetchHeadPartial, segmentPath, parallelRouteKey, parentNeedsDynamicRequest || needsDynamicRequest, accumulation);\n if (taskChildren === null) {\n taskChildren = new Map();\n }\n taskChildren.set(parallelRouteKey, taskChild);\n const newCacheNodeChild = taskChild.node;\n if (newCacheNodeChild !== null) {\n const newSegmentMapChild = new Map(shouldDropSiblingCaches ? undefined : oldSegmentMapChild);\n newSegmentMapChild.set(newSegmentKeyChild, newCacheNodeChild);\n newParallelRoutes.set(parallelRouteKey, newSegmentMapChild);\n }\n const taskChildRoute = taskChild.route;\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute;\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree;\n if (dynamicRequestTreeChild !== null) {\n childNeedsDynamicRequest = true;\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild;\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute;\n }\n }\n return {\n status: needsDynamicRequest ? 0 : 1,\n route: patchRouterStateWithNewChildren(newRouterState, patchedRouterStateChildren),\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(newRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest),\n // This route is not part of the current tree, so there's no reason to\n // track the refresh URL.\n refreshUrl: null,\n children: taskChildren\n };\n}\nfunction patchRouterStateWithNewChildren(baseRouterState, newChildren) {\n const clone = [\n baseRouterState[0],\n newChildren\n ];\n // Based on equivalent logic in apply-router-state-patch-to-tree, but should\n // confirm whether we need to copy all of these fields. Not sure the server\n // ever sends, e.g. the refetch marker.\n if (2 in baseRouterState) {\n clone[2] = baseRouterState[2];\n }\n if (3 in baseRouterState) {\n clone[3] = baseRouterState[3];\n }\n if (4 in baseRouterState) {\n clone[4] = baseRouterState[4];\n }\n return clone;\n}\nfunction createDynamicRequestTree(newRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest) {\n // Create a FlightRouterState that instructs the server how to render the\n // requested segment.\n //\n // Or, if neither this segment nor any of the children require a new data,\n // then we return `null` to skip the request.\n let dynamicRequestTree = null;\n if (needsDynamicRequest) {\n dynamicRequestTree = patchRouterStateWithNewChildren(newRouterState, dynamicRequestTreeChildren);\n // The \"refetch\" marker is set on the top-most segment that requires new\n // data. We can omit it if a parent was already marked.\n if (!parentNeedsDynamicRequest) {\n dynamicRequestTree[3] = 'refetch';\n }\n } else if (childNeedsDynamicRequest) {\n // This segment does not request new data, but at least one of its\n // children does.\n dynamicRequestTree = patchRouterStateWithNewChildren(newRouterState, dynamicRequestTreeChildren);\n } else {\n dynamicRequestTree = null;\n }\n return dynamicRequestTree;\n}\nfunction accumulateRefreshUrl(accumulation, refreshUrl) {\n // This is a refresh navigation, and we're inside a \"default\" slot that's\n // not part of the current route; it was reused from an older route. In\n // order to get fresh data for this reused route, we need to issue a\n // separate request using the old route's URL.\n //\n // Track these extra URLs in the accumulated result. Later, we'll construct\n // an appropriate request for each unique URL in the final set. The reason\n // we don't do it immediately here is so we can deduplicate multiple\n // instances of the same URL into a single request. See\n // listenForDynamicRequest for more details.\n const separateRefreshUrls = accumulation.separateRefreshUrls;\n if (separateRefreshUrls === null) {\n accumulation.separateRefreshUrls = new Set([\n refreshUrl\n ]);\n } else {\n separateRefreshUrls.add(refreshUrl);\n }\n}\nfunction reuseActiveSegmentInDefaultSlot(oldUrl, oldRouterState) {\n // This is a \"default\" segment. These are never sent by the server during a\n // soft navigation; instead, the client reuses whatever segment was already\n // active in that slot on the previous route. This means if we later need to\n // refresh the segment, it will have to be refetched from the previous route's\n // URL. We store it in the Flight Router State.\n //\n // TODO: We also mark the segment with a \"refresh\" marker but I think we can\n // get rid of that eventually by making sure we only add URLs to page segments\n // that are reused. Then the presence of the URL alone is enough.\n let reusedRouterState;\n const oldRefreshMarker = oldRouterState[3];\n if (oldRefreshMarker === 'refresh') {\n // This segment was already reused from an even older route. Keep its\n // existing URL and refresh marker.\n reusedRouterState = oldRouterState;\n } else {\n // This segment was not previously reused, and it's not on the new route.\n // So it must have been delivered in the old route.\n reusedRouterState = patchRouterStateWithNewChildren(oldRouterState, oldRouterState[1]);\n reusedRouterState[2] = createHrefFromUrl(oldUrl);\n reusedRouterState[3] = 'refresh';\n }\n return reusedRouterState;\n}\nfunction reuseDynamicCacheNode(dropPrefetchRsc, existingCacheNode, parallelRoutes) {\n // Clone an existing CacheNode's data, with (possibly) new children.\n const cacheNode = {\n rsc: existingCacheNode.rsc,\n prefetchRsc: dropPrefetchRsc ? null : existingCacheNode.prefetchRsc,\n head: existingCacheNode.head,\n prefetchHead: dropPrefetchRsc ? null : existingCacheNode.prefetchHead,\n loading: existingCacheNode.loading,\n parallelRoutes,\n // Don't update the navigatedAt timestamp, since we're reusing\n // existing data.\n navigatedAt: existingCacheNode.navigatedAt\n };\n return cacheNode;\n}\nfunction readCacheNodeFromSeedData(seedRsc, seedLoading, isSeedRscPartial, seedHead, isSeedHeadPartial, isPageSegment, parallelRoutes, navigatedAt) {\n // TODO: Currently this is threaded through the navigation logic using the\n // CacheNodeSeedData type, but in the future this will read directly from\n // the Segment Cache. See readRenderSnapshotFromCache.\n let rsc;\n let prefetchRsc;\n if (isSeedRscPartial) {\n // The prefetched data contains dynamic holes. Create a pending promise that\n // will be fulfilled when the dynamic data is received from the server.\n prefetchRsc = seedRsc;\n rsc = createDeferredRsc();\n } else {\n // The prefetched data is complete. Use it directly.\n prefetchRsc = null;\n rsc = seedRsc;\n }\n // If this is a page segment, also read the head.\n let prefetchHead;\n let head;\n if (isPageSegment) {\n if (isSeedHeadPartial) {\n prefetchHead = seedHead;\n head = createDeferredRsc();\n } else {\n prefetchHead = null;\n head = seedHead;\n }\n } else {\n prefetchHead = null;\n head = null;\n }\n const cacheNode = {\n rsc,\n prefetchRsc,\n head,\n prefetchHead,\n // TODO: Technically, a loading boundary could contain dynamic data. We\n // should have separate `loading` and `prefetchLoading` fields to handle\n // this, like we do for the segment data and head.\n loading: seedLoading,\n parallelRoutes,\n navigatedAt\n };\n return cacheNode;\n}\nfunction spawnNewCacheNode(parallelRoutes, isLeafSegment, navigatedAt, freshness) {\n // We should never spawn network requests during hydration. We must treat the\n // initial payload as authoritative, because the initial page load is used\n // as a last-ditch mechanism for recovering the app.\n //\n // This is also an important safety check because if this leaks into the\n // server rendering path (which theoretically it never should because\n // the server payload should be consistent), the server would hang because\n // these promises would never resolve.\n //\n // TODO: There is an existing case where the global \"not found\" boundary\n // triggers this path. But it does render correctly despite that. That's an\n // unusual render path so it's not surprising, but we should look into\n // modeling it in a more consistent way. See also the /_notFound special\n // case in updateCacheNodeOnNavigation.\n const isHydration = freshness === 1;\n const cacheNode = {\n rsc: !isHydration ? createDeferredRsc() : null,\n prefetchRsc: null,\n head: !isHydration && isLeafSegment ? createDeferredRsc() : null,\n prefetchHead: null,\n loading: !isHydration ? createDeferredRsc() : null,\n parallelRoutes,\n navigatedAt\n };\n return cacheNode;\n}\n// Represents whether the previuos navigation resulted in a route tree mismatch.\n// A mismatch results in a refresh of the page. If there are two successive\n// mismatches, we will fall back to an MPA navigation, to prevent a retry loop.\nlet previousNavigationDidMismatch = false;\n// Writes a dynamic server response into the tree created by\n// updateCacheNodeOnNavigation. All pending promises that were spawned by the\n// navigation will be resolved, either with dynamic data from the server, or\n// `null` to indicate that the data is missing.\n//\n// A `null` value will trigger a lazy fetch during render, which will then patch\n// up the tree using the same mechanism as the non-PPR implementation\n// (serverPatchReducer).\n//\n// Usually, the server will respond with exactly the subset of data that we're\n// waiting for — everything below the nearest shared layout. But technically,\n// the server can return anything it wants.\n//\n// This does _not_ create a new tree; it modifies the existing one in place.\n// Which means it must follow the Suspense rules of cache safety.\nexport function spawnDynamicRequests(task, primaryUrl, nextUrl, freshnessPolicy, accumulation) {\n const dynamicRequestTree = task.dynamicRequestTree;\n if (dynamicRequestTree === null) {\n // This navigation was fully cached. There are no dynamic requests to spawn.\n previousNavigationDidMismatch = false;\n return;\n }\n // This is intentionally not an async function to discourage the caller from\n // awaiting the result. Any subsequent async operations spawned by this\n // function should result in a separate navigation task, rather than\n // block the original one.\n //\n // In this function we spawn (but do not await) all the network requests that\n // block the navigation, and collect the promises. The next function,\n // `finishNavigationTask`, can await the promises in any order without\n // accidentally introducing a network waterfall.\n const primaryRequestPromise = fetchMissingDynamicData(task, dynamicRequestTree, primaryUrl, nextUrl, freshnessPolicy);\n const separateRefreshUrls = accumulation.separateRefreshUrls;\n let refreshRequestPromises = null;\n if (separateRefreshUrls !== null) {\n // There are multiple URLs that we need to request the data from. This\n // happens when a \"default\" parallel route slot is present in the tree, and\n // its data cannot be fetched from the current route. We need to split the\n // combined dynamic request tree into separate requests per URL.\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n // Construct a request tree for each additional refresh URL. This will\n // prune away everything except the parts of the tree that match the\n // given refresh URL.\n refreshRequestPromises = [];\n const canonicalUrl = createHrefFromUrl(primaryUrl);\n for (const refreshUrl of separateRefreshUrls){\n if (refreshUrl === canonicalUrl) {\n continue;\n }\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n // const scopedDynamicRequestTree = splitTaskByURL(task, refreshUrl)\n const scopedDynamicRequestTree = dynamicRequestTree;\n if (scopedDynamicRequestTree !== null) {\n refreshRequestPromises.push(fetchMissingDynamicData(task, scopedDynamicRequestTree, new URL(refreshUrl, location.origin), // TODO: Just noticed that this should actually the Next-Url at the\n // time the refresh URL was set, not the current Next-Url. Need to\n // start tracking this alongside the refresh URL. In the meantime,\n // if a refresh fails due to a mismatch, it will trigger a\n // hard refresh.\n nextUrl, freshnessPolicy));\n }\n }\n }\n // Further async operations are moved into this separate function to\n // discourage sequential network requests.\n const voidPromise = finishNavigationTask(task, nextUrl, primaryRequestPromise, refreshRequestPromises);\n // `finishNavigationTask` is responsible for error handling, so we can attach\n // noop callbacks to this promise.\n voidPromise.then(noop, noop);\n}\nasync function finishNavigationTask(task, nextUrl, primaryRequestPromise, refreshRequestPromises) {\n // Wait for all the requests to finish, or for the first one to fail.\n let exitStatus = await waitForRequestsToFinish(primaryRequestPromise, refreshRequestPromises);\n // Once the all the requests have finished, check the tree for any remaining\n // pending tasks. If anything is still pending, it means the server response\n // does not match the client, and we must refresh to get back to a consistent\n // state. We can skip this step if we already detected a mismatch during the\n // first phase; it doesn't matter in that case because we're going to refresh\n // the whole tree regardless.\n if (exitStatus === 0) {\n exitStatus = abortRemainingPendingTasks(task, null, null);\n }\n switch(exitStatus){\n case 0:\n {\n // The task has completely finished. There's no missing data. Exit.\n previousNavigationDidMismatch = false;\n return;\n }\n case 1:\n {\n // Some data failed to finish loading. Trigger a soft retry.\n // TODO: As an extra precaution against soft retry loops, consider\n // tracking whether a navigation was itself triggered by a retry. If two\n // happen in a row, fall back to a hard retry.\n const isHardRetry = false;\n const primaryRequestResult = await primaryRequestPromise;\n dispatchRetryDueToTreeMismatch(isHardRetry, primaryRequestResult.url, nextUrl, primaryRequestResult.seed, task.route);\n return;\n }\n case 2:\n {\n // Some data failed to finish loading in a non-recoverable way, such as a\n // network error. Trigger an MPA navigation.\n //\n // Hard navigating/refreshing is how we prevent an infinite retry loop\n // caused by a network error — when the network fails, we fall back to the\n // browser behavior for offline navigations. In the future, Next.js may\n // introduce its own custom handling of offline navigations, but that\n // doesn't exist yet.\n const isHardRetry = true;\n const primaryRequestResult = await primaryRequestPromise;\n dispatchRetryDueToTreeMismatch(isHardRetry, primaryRequestResult.url, nextUrl, primaryRequestResult.seed, task.route);\n return;\n }\n default:\n {\n return exitStatus;\n }\n }\n}\nfunction waitForRequestsToFinish(primaryRequestPromise, refreshRequestPromises) {\n // Custom async combinator logic. This could be replaced by Promise.any but\n // we don't assume that's available.\n //\n // Each promise resolves once the server responsds and the data is written\n // into the CacheNode tree. Resolve the combined promise once all the\n // requests finish.\n //\n // Or, resolve as soon as one of the requests fails, without waiting for the\n // others to finish.\n return new Promise((resolve)=>{\n const onFulfill = (result)=>{\n if (result.exitStatus === 0) {\n remainingCount--;\n if (remainingCount === 0) {\n // All the requests finished successfully.\n resolve(0);\n }\n } else {\n // One of the requests failed. Exit with a failing status.\n // NOTE: It's possible for one of the requests to fail with SoftRetry\n // and a later one to fail with HardRetry. In this case, we choose to\n // retry immediately, rather than delay the retry until all the requests\n // finish. If it fails again, we will hard retry on the next\n // attempt, anyway.\n resolve(result.exitStatus);\n }\n };\n // onReject shouldn't ever be called because fetchMissingDynamicData's\n // entire body is wrapped in a try/catch. This is just defensive.\n const onReject = ()=>resolve(2);\n // Attach the listeners to the promises.\n let remainingCount = 1;\n primaryRequestPromise.then(onFulfill, onReject);\n if (refreshRequestPromises !== null) {\n remainingCount += refreshRequestPromises.length;\n refreshRequestPromises.forEach((refreshRequestPromise)=>refreshRequestPromise.then(onFulfill, onReject));\n }\n });\n}\nfunction dispatchRetryDueToTreeMismatch(isHardRetry, retryUrl, retryNextUrl, seed, baseTree) {\n // If this is the second time in a row that a navigation resulted in a\n // mismatch, fall back to a hard (MPA) refresh.\n isHardRetry = isHardRetry || previousNavigationDidMismatch;\n previousNavigationDidMismatch = true;\n const retryAction = {\n type: ACTION_SERVER_PATCH,\n previousTree: baseTree,\n url: retryUrl,\n nextUrl: retryNextUrl,\n seed,\n mpa: isHardRetry\n };\n dispatchAppRouterAction(retryAction);\n}\nasync function fetchMissingDynamicData(task, dynamicRequestTree, url, nextUrl, freshnessPolicy) {\n try {\n const result = await fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n isHmrRefresh: freshnessPolicy === 4\n });\n if (typeof result === 'string') {\n // fetchServerResponse will return an href to indicate that the SPA\n // navigation failed. For example, if the server triggered a hard\n // redirect, or the fetch request errored. Initiate an MPA navigation\n // to the given href.\n return {\n exitStatus: 2,\n url: new URL(result, location.origin),\n seed: null\n };\n }\n const seed = convertServerPatchToFullTree(task.route, result.flightData, result.renderedSearch);\n const didReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(task, seed.tree, seed.data, seed.head, result.debugInfo);\n return {\n exitStatus: didReceiveUnknownParallelRoute ? 1 : 0,\n url: new URL(result.canonicalUrl, location.origin),\n seed\n };\n } catch {\n // This shouldn't happen because fetchServerResponse's entire body is\n // wrapped in a try/catch. If it does, though, it implies the server failed\n // to respond with any tree at all. So we must fall back to a hard retry.\n return {\n exitStatus: 2,\n url: url,\n seed: null\n };\n }\n}\nfunction writeDynamicDataIntoNavigationTask(task, serverRouterState, dynamicData, dynamicHead, debugInfo) {\n if (task.status === 0 && dynamicData !== null) {\n task.status = 1;\n finishPendingCacheNode(task.node, dynamicData, dynamicHead, debugInfo);\n }\n const taskChildren = task.children;\n const serverChildren = serverRouterState[1];\n const dynamicDataChildren = dynamicData !== null ? dynamicData[1] : null;\n // Detect whether the server sends a parallel route slot that the client\n // doesn't know about.\n let didReceiveUnknownParallelRoute = false;\n if (taskChildren !== null) {\n for(const parallelRouteKey in serverChildren){\n const serverRouterStateChild = serverChildren[parallelRouteKey];\n const dynamicDataChild = dynamicDataChildren !== null ? dynamicDataChildren[parallelRouteKey] : null;\n const taskChild = taskChildren.get(parallelRouteKey);\n if (taskChild === undefined) {\n // The server sent a child segment that the client doesn't know about.\n //\n // When we receive an unknown parallel route, we must consider it a\n // mismatch. This is unlike the case where the segment itself\n // mismatches, because multiple routes can be active simultaneously.\n // But a given layout should never have a mismatching set of\n // child slots.\n //\n // Theoretically, this should only happen in development during an HMR\n // refresh, because the set of parallel routes for a layout does not\n // change over the lifetime of a build/deployment. In production, we\n // should have already mismatched on either the build id or the segment\n // path. But as an extra precaution, we validate in prod, too.\n didReceiveUnknownParallelRoute = true;\n } else {\n const taskSegment = taskChild.route[0];\n if (matchSegment(serverRouterStateChild[0], taskSegment) && dynamicDataChild !== null && dynamicDataChild !== undefined) {\n // Found a match for this task. Keep traversing down the task tree.\n const childDidReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(taskChild, serverRouterStateChild, dynamicDataChild, dynamicHead, debugInfo);\n if (childDidReceiveUnknownParallelRoute) {\n didReceiveUnknownParallelRoute = true;\n }\n }\n }\n }\n }\n return didReceiveUnknownParallelRoute;\n}\nfunction finishPendingCacheNode(cacheNode, dynamicData, dynamicHead, debugInfo) {\n // Writes a dynamic response into an existing Cache Node tree. This does _not_\n // create a new tree, it updates the existing tree in-place. So it must follow\n // the Suspense rules of cache safety — it can resolve pending promises, but\n // it cannot overwrite existing data. It can add segments to the tree (because\n // a missing segment will cause the layout router to suspend).\n // but it cannot delete them.\n //\n // We must resolve every promise in the tree, or else it will suspend\n // indefinitely. If we did not receive data for a segment, we will resolve its\n // data promise to `null` to trigger a lazy fetch during render.\n // Use the dynamic data from the server to fulfill the deferred RSC promise\n // on the Cache Node.\n const rsc = cacheNode.rsc;\n const dynamicSegmentData = dynamicData[0];\n if (dynamicSegmentData === null) {\n // This is an empty CacheNode; this particular server request did not\n // render this segment. There may be a separate pending request that will,\n // though, so we won't abort the task until all pending requests finish.\n return;\n }\n if (rsc === null) {\n // This is a lazy cache node. We can overwrite it. This is only safe\n // because we know that the LayoutRouter suspends if `rsc` is `null`.\n cacheNode.rsc = dynamicSegmentData;\n } else if (isDeferredRsc(rsc)) {\n // This is a deferred RSC promise. We can fulfill it with the data we just\n // received from the server. If it was already resolved by a different\n // navigation, then this does nothing because we can't overwrite data.\n rsc.resolve(dynamicSegmentData, debugInfo);\n } else {\n // This is not a deferred RSC promise, nor is it empty, so it must have\n // been populated by a different navigation. We must not overwrite it.\n }\n // If we navigated without a prefetch, then `loading` will be a deferred promise too.\n // Fulfill it using the dynamic response so that we can display the loading boundary.\n const loading = cacheNode.loading;\n if (isDeferredRsc(loading)) {\n const dynamicLoading = dynamicData[2];\n loading.resolve(dynamicLoading, debugInfo);\n }\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved with the dynamic head from\n // the server.\n const head = cacheNode.head;\n if (isDeferredRsc(head)) {\n head.resolve(dynamicHead, debugInfo);\n }\n}\nfunction abortRemainingPendingTasks(task, error, debugInfo) {\n let exitStatus;\n if (task.status === 0) {\n // The data for this segment is still missing.\n task.status = 2;\n abortPendingCacheNode(task.node, error, debugInfo);\n // If the server failed to fulfill the data for this segment, it implies\n // that the route tree received from the server mismatched the tree that\n // was previously prefetched.\n //\n // In an app with fully static routes and no proxy-driven redirects or\n // rewrites, this should never happen, because the route for a URL would\n // always be the same across multiple requests. So, this implies that some\n // runtime routing condition changed, likely in a proxy, without being\n // pushed to the client.\n //\n // When this happens, we treat this the same as a refresh(). The entire\n // tree will be re-rendered from the root.\n if (task.refreshUrl === null) {\n // Trigger a \"soft\" refresh. Essentially the same as calling `refresh()`\n // in a Server Action.\n exitStatus = 1;\n } else {\n // The mismatch was discovered inside an inactive parallel route. This\n // implies the inactive parallel route is no longer reachable at the URL\n // that originally rendered it. Fall back to an MPA refresh.\n // TODO: An alternative could be to trigger a soft refresh but to _not_\n // re-use the inactive parallel routes this time. Similar to what would\n // happen if were to do a hard refrehs, but without the HTML page.\n exitStatus = 2;\n }\n } else {\n // This segment finished. (An error here is treated as Done because they are\n // surfaced to the application during render.)\n exitStatus = 0;\n }\n const taskChildren = task.children;\n if (taskChildren !== null) {\n for (const [, taskChild] of taskChildren){\n const childExitStatus = abortRemainingPendingTasks(taskChild, error, debugInfo);\n // Propagate the exit status up the tree. The statuses are ordered by\n // their precedence.\n if (childExitStatus > exitStatus) {\n exitStatus = childExitStatus;\n }\n }\n }\n return exitStatus;\n}\nfunction abortPendingCacheNode(cacheNode, error, debugInfo) {\n const rsc = cacheNode.rsc;\n if (isDeferredRsc(rsc)) {\n if (error === null) {\n // This will trigger a lazy fetch during render.\n rsc.resolve(null, debugInfo);\n } else {\n // This will trigger an error during rendering.\n rsc.reject(error, debugInfo);\n }\n }\n const loading = cacheNode.loading;\n if (isDeferredRsc(loading)) {\n loading.resolve(null, debugInfo);\n }\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved. If an error was provided, we\n // will not resolve it with an error, since this is rendered at the root of\n // the app. We want the segment to error, not the entire app.\n const head = cacheNode.head;\n if (isDeferredRsc(head)) {\n head.resolve(null, debugInfo);\n }\n}\nconst DEFERRED = Symbol();\n// This type exists to distinguish a DeferredRsc from a Flight promise. It's a\n// compromise to avoid adding an extra field on every Cache Node, which would be\n// awkward because the pre-PPR parts of codebase would need to account for it,\n// too. We can remove it once type Cache Node type is more settled.\nexport function isDeferredRsc(value) {\n return value && typeof value === 'object' && value.tag === DEFERRED;\n}\nfunction createDeferredRsc() {\n // Create an unresolved promise that represents data derived from a Flight\n // response. The promise will be resolved later as soon as we start receiving\n // data from the server, i.e. as soon as the Flight client decodes and returns\n // the top-level response object.\n // The `_debugInfo` field contains profiling information. Promises that are\n // created by Flight already have this info added by React; for any derived\n // promise created by the router, we need to transfer the Flight debug info\n // onto the derived promise.\n //\n // The debug info represents the latency between the start of the navigation\n // and the start of rendering. (It does not represent the time it takes for\n // whole stream to finish.)\n const debugInfo = [];\n let resolve;\n let reject;\n const pendingRsc = new Promise((res, rej)=>{\n resolve = res;\n reject = rej;\n });\n pendingRsc.status = 'pending';\n pendingRsc.resolve = (value, responseDebugInfo)=>{\n if (pendingRsc.status === 'pending') {\n const fulfilledRsc = pendingRsc;\n fulfilledRsc.status = 'fulfilled';\n fulfilledRsc.value = value;\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo);\n }\n resolve(value);\n }\n };\n pendingRsc.reject = (error, responseDebugInfo)=>{\n if (pendingRsc.status === 'pending') {\n const rejectedRsc = pendingRsc;\n rejectedRsc.status = 'rejected';\n rejectedRsc.reason = error;\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo);\n }\n reject(error);\n }\n };\n pendingRsc.tag = DEFERRED;\n pendingRsc._debugInfo = debugInfo;\n return pendingRsc;\n}\n\n//# sourceMappingURL=ppr-navigations.js.map","import { fetchServerResponse } from '../router-reducer/fetch-server-response';\nimport { startPPRNavigation, spawnDynamicRequests, FreshnessPolicy } from '../router-reducer/ppr-navigations';\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url';\nimport { EntryStatus, readRouteCacheEntry, readSegmentCacheEntry, waitForSegmentCacheEntry, requestOptimisticRouteCacheEntry } from './cache';\nimport { createCacheKey } from './cache-key';\nimport { addSearchParamsIfPageSegment } from '../../../shared/lib/segment';\nimport { NavigationResultTag } from './types';\n/**\n * Navigate to a new URL, using the Segment Cache to construct a response.\n *\n * To allow for synchronous navigations whenever possible, this is not an async\n * function. It returns a promise only if there's no matching prefetch in\n * the cache. Otherwise it returns an immediate result and uses Suspense/RSC to\n * stream in any missing data.\n */ export function navigate(url, currentUrl, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, shouldScroll, accumulation) {\n const now = Date.now();\n const href = url.href;\n // We special case navigations to the exact same URL as the current location.\n // It's a common UI pattern for apps to refresh when you click a link to the\n // current page. So when this happens, we refresh the dynamic data in the page\n // segments.\n //\n // Note that this does not apply if the any part of the hash or search query\n // has changed. This might feel a bit weird but it makes more sense when you\n // consider that the way to trigger this behavior is to click the same link\n // multiple times.\n //\n // TODO: We should probably refresh the *entire* route when this case occurs,\n // not just the page segments. Essentially treating it the same as a refresh()\n // triggered by an action, which is the more explicit way of modeling the UI\n // pattern described above.\n //\n // Also note that this only refreshes the dynamic data, not static/ cached\n // data. If the page segment is fully static and prefetched, the request is\n // skipped. (This is also how refresh() works.)\n const isSamePageNavigation = href === currentUrl.href;\n const cacheKey = createCacheKey(href, nextUrl);\n const route = readRouteCacheEntry(now, cacheKey);\n if (route !== null && route.status === EntryStatus.Fulfilled) {\n // We have a matching prefetch.\n const snapshot = readRenderSnapshotFromCache(now, route, route.tree);\n const prefetchFlightRouterState = snapshot.flightRouterState;\n const prefetchSeedData = snapshot.seedData;\n const headSnapshot = readHeadSnapshotFromCache(now, route);\n const prefetchHead = headSnapshot.rsc;\n const isPrefetchHeadPartial = headSnapshot.isPartial;\n // TODO: The \"canonicalUrl\" stored in the cache doesn't include the hash,\n // because hash entries do not vary by hash fragment. However, the one\n // we set in the router state *does* include the hash, and it's used to\n // sync with the actual browser location. To make this less of a refactor\n // hazard, we should always track the hash separately from the rest of\n // the URL.\n const newCanonicalUrl = route.canonicalUrl + url.hash;\n const renderedSearch = route.renderedSearch;\n return navigateUsingPrefetchedRouteTree(now, url, currentUrl, nextUrl, isSamePageNavigation, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, newCanonicalUrl, renderedSearch, freshnessPolicy, shouldScroll);\n }\n // There was no matching route tree in the cache. Let's see if we can\n // construct an \"optimistic\" route tree.\n //\n // Do not construct an optimistic route tree if there was a cache hit, but\n // the entry has a rejected status, since it may have been rejected due to a\n // rewrite or redirect based on the search params.\n //\n // TODO: There are multiple reasons a prefetch might be rejected; we should\n // track them explicitly and choose what to do here based on that.\n if (route === null || route.status !== EntryStatus.Rejected) {\n const optimisticRoute = requestOptimisticRouteCacheEntry(now, url, nextUrl);\n if (optimisticRoute !== null) {\n // We have an optimistic route tree. Proceed with the normal flow.\n const snapshot = readRenderSnapshotFromCache(now, optimisticRoute, optimisticRoute.tree);\n const prefetchFlightRouterState = snapshot.flightRouterState;\n const prefetchSeedData = snapshot.seedData;\n const headSnapshot = readHeadSnapshotFromCache(now, optimisticRoute);\n const prefetchHead = headSnapshot.rsc;\n const isPrefetchHeadPartial = headSnapshot.isPartial;\n const newCanonicalUrl = optimisticRoute.canonicalUrl + url.hash;\n const newRenderedSearch = optimisticRoute.renderedSearch;\n return navigateUsingPrefetchedRouteTree(now, url, currentUrl, nextUrl, isSamePageNavigation, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, newCanonicalUrl, newRenderedSearch, freshnessPolicy, shouldScroll);\n }\n }\n // There's no matching prefetch for this route in the cache.\n let collectedDebugInfo = accumulation.collectedDebugInfo ?? [];\n if (accumulation.collectedDebugInfo === undefined) {\n collectedDebugInfo = accumulation.collectedDebugInfo = [];\n }\n return {\n tag: NavigationResultTag.Async,\n data: navigateDynamicallyWithNoPrefetch(now, url, currentUrl, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, shouldScroll, collectedDebugInfo)\n };\n}\nexport function navigateToSeededRoute(now, url, canonicalUrl, navigationSeed, currentUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, nextUrl, shouldScroll) {\n // A version of navigate() that accepts the target route tree as an argument\n // rather than reading it from the prefetch cache.\n const accumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null\n };\n const isSamePageNavigation = url.href === currentUrl.href;\n const task = startPPRNavigation(now, currentUrl, currentCacheNode, currentFlightRouterState, navigationSeed.tree, freshnessPolicy, navigationSeed.data, navigationSeed.head, null, null, false, isSamePageNavigation, accumulation);\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation);\n return navigationTaskToResult(task, canonicalUrl, navigationSeed.renderedSearch, accumulation.scrollableSegments, shouldScroll, url.hash);\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl\n };\n}\nfunction navigateUsingPrefetchedRouteTree(now, url, currentUrl, nextUrl, isSamePageNavigation, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, canonicalUrl, renderedSearch, freshnessPolicy, shouldScroll) {\n // Recursively construct a prefetch tree by reading from the Segment Cache. To\n // maintain compatibility, we output the same data structures as the old\n // prefetching implementation: FlightRouterState and CacheNodeSeedData.\n // TODO: Eventually updateCacheNodeOnNavigation (or the equivalent) should\n // read from the Segment Cache directly. It's only structured this way for now\n // so we can share code with the old prefetching implementation.\n const accumulation = {\n scrollableSegments: null,\n separateRefreshUrls: null\n };\n const seedData = null;\n const seedHead = null;\n const task = startPPRNavigation(now, currentUrl, currentCacheNode, currentFlightRouterState, prefetchFlightRouterState, freshnessPolicy, seedData, seedHead, prefetchSeedData, prefetchHead, isPrefetchHeadPartial, isSamePageNavigation, accumulation);\n if (task !== null) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation);\n return navigationTaskToResult(task, canonicalUrl, renderedSearch, accumulation.scrollableSegments, shouldScroll, url.hash);\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return {\n tag: NavigationResultTag.MPA,\n data: canonicalUrl\n };\n}\nfunction navigationTaskToResult(task, canonicalUrl, renderedSearch, scrollableSegments, shouldScroll, hash) {\n return {\n tag: NavigationResultTag.Success,\n data: {\n flightRouterState: task.route,\n cacheNode: task.node,\n canonicalUrl,\n renderedSearch,\n scrollableSegments,\n shouldScroll,\n hash\n }\n };\n}\nfunction readRenderSnapshotFromCache(now, route, tree) {\n let childRouterStates = {};\n let childSeedDatas = {};\n const slots = tree.slots;\n if (slots !== null) {\n for(const parallelRouteKey in slots){\n const childTree = slots[parallelRouteKey];\n const childResult = readRenderSnapshotFromCache(now, route, childTree);\n childRouterStates[parallelRouteKey] = childResult.flightRouterState;\n childSeedDatas[parallelRouteKey] = childResult.seedData;\n }\n }\n let rsc = null;\n let loading = null;\n let isPartial = true;\n const segmentEntry = readSegmentCacheEntry(now, tree.varyPath);\n if (segmentEntry !== null) {\n switch(segmentEntry.status){\n case EntryStatus.Fulfilled:\n {\n // Happy path: a cache hit\n rsc = segmentEntry.rsc;\n loading = segmentEntry.loading;\n isPartial = segmentEntry.isPartial;\n break;\n }\n case EntryStatus.Pending:\n {\n // We haven't received data for this segment yet, but there's already\n // an in-progress request. Since it's extremely likely to arrive\n // before the dynamic data response, we might as well use it.\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry);\n rsc = promiseForFulfilledEntry.then((entry)=>entry !== null ? entry.rsc : null);\n loading = promiseForFulfilledEntry.then((entry)=>entry !== null ? entry.loading : null);\n // Because the request is still pending, we typically don't know yet\n // whether the response will be partial. We shouldn't skip this segment\n // during the dynamic navigation request. Otherwise, we might need to\n // do yet another request to fill in the remaining data, creating\n // a waterfall.\n //\n // The one exception is if this segment is being fetched with via\n // prefetch={true} (i.e. the \"force stale\" or \"full\" strategy). If so,\n // we can assume the response will be full. This field is set to `false`\n // for such segments.\n isPartial = segmentEntry.isPartial;\n break;\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break;\n default:\n segmentEntry;\n }\n }\n // The navigation implementation expects the search params to be\n // included in the segment. However, the Segment Cache tracks search\n // params separately from the rest of the segment key. So we need to\n // add them back here.\n //\n // See corresponding comment in convertFlightRouterStateToTree.\n //\n // TODO: What we should do instead is update the navigation diffing\n // logic to compare search params explicitly. This is a temporary\n // solution until more of the Segment Cache implementation has settled.\n const segment = addSearchParamsIfPageSegment(tree.segment, Object.fromEntries(new URLSearchParams(route.renderedSearch)));\n // We don't need this information in a render snapshot, so this can just be a placeholder.\n const hasRuntimePrefetch = false;\n return {\n flightRouterState: [\n segment,\n childRouterStates,\n null,\n null,\n tree.isRootLayout\n ],\n seedData: [\n rsc,\n childSeedDatas,\n loading,\n isPartial,\n hasRuntimePrefetch\n ]\n };\n}\nfunction readHeadSnapshotFromCache(now, route) {\n // Same as readRenderSnapshotFromCache, but for the head\n let rsc = null;\n let isPartial = true;\n const segmentEntry = readSegmentCacheEntry(now, route.metadata.varyPath);\n if (segmentEntry !== null) {\n switch(segmentEntry.status){\n case EntryStatus.Fulfilled:\n {\n rsc = segmentEntry.rsc;\n isPartial = segmentEntry.isPartial;\n break;\n }\n case EntryStatus.Pending:\n {\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry);\n rsc = promiseForFulfilledEntry.then((entry)=>entry !== null ? entry.rsc : null);\n isPartial = segmentEntry.isPartial;\n break;\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n break;\n default:\n segmentEntry;\n }\n }\n return {\n rsc,\n isPartial\n };\n}\n// Used to request all the dynamic data for a route, rather than just a subset,\n// e.g. during a refresh or a revalidation. Typically this gets constructed\n// during the normal flow when diffing the route tree, but for an unprefetched\n// navigation, where we don't know the structure of the target route, we use\n// this instead.\nconst DynamicRequestTreeForEntireRoute = [\n '',\n {},\n null,\n 'refetch'\n];\nasync function navigateDynamicallyWithNoPrefetch(now, url, currentUrl, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, shouldScroll, collectedDebugInfo) {\n // Runs when a navigation happens but there's no cached prefetch we can use.\n // Don't bother to wait for a prefetch response; go straight to a full\n // navigation that contains both static and dynamic data in a single stream.\n // (This is unlike the old navigation implementation, which instead blocks\n // the dynamic request until a prefetch request is received.)\n //\n // To avoid duplication of logic, we're going to pretend that the tree\n // returned by the dynamic request is, in fact, a prefetch tree. Then we can\n // use the same server response to write the actual data into the CacheNode\n // tree. So it's the same flow as the \"happy path\" (prefetch, then\n // navigation), except we use a single server response for both stages.\n let dynamicRequestTree;\n switch(freshnessPolicy){\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n dynamicRequestTree = currentFlightRouterState;\n break;\n case FreshnessPolicy.Hydration:\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n dynamicRequestTree = DynamicRequestTreeForEntireRoute;\n break;\n default:\n freshnessPolicy;\n dynamicRequestTree = currentFlightRouterState;\n break;\n }\n const promiseForDynamicServerResponse = fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl\n });\n const result = await promiseForDynamicServerResponse;\n if (typeof result === 'string') {\n // This is an MPA navigation.\n const newUrl = result;\n return {\n tag: NavigationResultTag.MPA,\n data: newUrl\n };\n }\n const { flightData, canonicalUrl, renderedSearch, debugInfo: debugInfoFromResponse } = result;\n if (debugInfoFromResponse !== null) {\n collectedDebugInfo.push(...debugInfoFromResponse);\n }\n // Since the response format of dynamic requests and prefetches is slightly\n // different, we'll need to massage the data a bit. Create FlightRouterState\n // tree that simulates what we'd receive as the result of a prefetch.\n const navigationSeed = convertServerPatchToFullTree(currentFlightRouterState, flightData, renderedSearch);\n return navigateToSeededRoute(now, url, createHrefFromUrl(canonicalUrl), navigationSeed, currentUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, nextUrl, shouldScroll);\n}\nexport function convertServerPatchToFullTree(currentTree, flightData, renderedSearch) {\n // During a client navigation or prefetch, the server sends back only a patch\n // for the parts of the tree that have changed.\n //\n // This applies the patch to the base tree to create a full representation of\n // the resulting tree.\n //\n // The return type includes a full FlightRouterState tree and a full\n // CacheNodeSeedData tree. (Conceptually these are the same tree, and should\n // eventually be unified, but there's still lots of existing code that\n // operates on FlightRouterState trees alone without the CacheNodeSeedData.)\n //\n // TODO: This similar to what apply-router-state-patch-to-tree does. It\n // will eventually fully replace it. We should get rid of all the remaining\n // places where we iterate over the server patch format. This should also\n // eventually replace normalizeFlightData.\n let baseTree = currentTree;\n let baseData = null;\n let head = null;\n for (const { segmentPath, tree: treePatch, seedData: dataPatch, head: headPatch } of flightData){\n const result = convertServerPatchToFullTreeImpl(baseTree, baseData, treePatch, dataPatch, segmentPath, 0);\n baseTree = result.tree;\n baseData = result.data;\n // This is the same for all patches per response, so just pick an\n // arbitrary one\n head = headPatch;\n }\n return {\n tree: baseTree,\n data: baseData,\n renderedSearch,\n head\n };\n}\nfunction convertServerPatchToFullTreeImpl(baseRouterState, baseData, treePatch, dataPatch, segmentPath, index) {\n if (index === segmentPath.length) {\n // We reached the part of the tree that we need to patch.\n return {\n tree: treePatch,\n data: dataPatch\n };\n }\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n //\n // This path tells us which part of the base tree to apply the tree patch.\n //\n // NOTE: We receive the FlightRouterState patch in the same request as the\n // seed data patch. Therefore we don't need to worry about diffing the segment\n // values; we can assume the server sent us a correct result.\n const updatedParallelRouteKey = segmentPath[index];\n // const segment: Segment = segmentPath[index + 1] <-- Not used, see note above\n const baseTreeChildren = baseRouterState[1];\n const baseSeedDataChildren = baseData !== null ? baseData[1] : null;\n const newTreeChildren = {};\n const newSeedDataChildren = {};\n for(const parallelRouteKey in baseTreeChildren){\n const childBaseRouterState = baseTreeChildren[parallelRouteKey];\n const childBaseSeedData = baseSeedDataChildren !== null ? baseSeedDataChildren[parallelRouteKey] ?? null : null;\n if (parallelRouteKey === updatedParallelRouteKey) {\n const result = convertServerPatchToFullTreeImpl(childBaseRouterState, childBaseSeedData, treePatch, dataPatch, segmentPath, // Advance the index by two and keep cloning until we reach\n // the end of the segment path.\n index + 2);\n newTreeChildren[parallelRouteKey] = result.tree;\n newSeedDataChildren[parallelRouteKey] = result.data;\n } else {\n // This child is not being patched. Copy it over as-is.\n newTreeChildren[parallelRouteKey] = childBaseRouterState;\n newSeedDataChildren[parallelRouteKey] = childBaseSeedData;\n }\n }\n let clonedTree;\n let clonedSeedData;\n // Clone all the fields except the children.\n // Clone the FlightRouterState tree. Based on equivalent logic in\n // apply-router-state-patch-to-tree, but should confirm whether we need to\n // copy all of these fields. Not sure the server ever sends, e.g. the\n // refetch marker.\n clonedTree = [\n baseRouterState[0],\n newTreeChildren\n ];\n if (2 in baseRouterState) {\n clonedTree[2] = baseRouterState[2];\n }\n if (3 in baseRouterState) {\n clonedTree[3] = baseRouterState[3];\n }\n if (4 in baseRouterState) {\n clonedTree[4] = baseRouterState[4];\n }\n // Clone the CacheNodeSeedData tree.\n const isEmptySeedDataPartial = true;\n clonedSeedData = [\n null,\n newSeedDataChildren,\n null,\n isEmptySeedDataPartial,\n false\n ];\n return {\n tree: clonedTree,\n data: clonedSeedData\n };\n}\n\n//# sourceMappingURL=navigation.js.map","import { HasLoadingBoundary } from '../../../shared/lib/app-router-types';\nimport { NEXT_DID_POSTPONE_HEADER, NEXT_ROUTER_PREFETCH_HEADER, NEXT_ROUTER_SEGMENT_PREFETCH_HEADER, NEXT_ROUTER_STALE_TIME_HEADER, NEXT_ROUTER_STATE_TREE_HEADER, NEXT_URL, RSC_CONTENT_TYPE_HEADER, RSC_HEADER } from '../app-router-headers';\nimport { createFetch, createFromNextReadableStream } from '../router-reducer/fetch-server-response';\nimport { pingPrefetchTask, isPrefetchTaskDirty, startRevalidationCooldown } from './scheduler';\nimport { getRouteVaryPath, getFulfilledRouteVaryPath, getSegmentVaryPathForRequest, appendLayoutVaryPath, finalizeLayoutVaryPath, finalizePageVaryPath, clonePageVaryPathWithNewSearchParams, finalizeMetadataVaryPath } from './vary-path';\nimport { getAppBuildId } from '../../app-build-id';\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url';\n// TODO: Rename this module to avoid confusion with other types of cache keys\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key';\nimport { doesStaticSegmentAppearInURL, getCacheKeyForDynamicParam, getRenderedPathname, getRenderedSearch, parseDynamicParamFromURLPart } from '../../route-params';\nimport { createCacheMap, getFromCacheMap, setInCacheMap, setSizeInCacheMap, deleteFromCacheMap, isValueExpired } from './cache-map';\nimport { appendSegmentRequestKeyPart, convertSegmentPathToStaticExportFilename, createSegmentRequestKeyPart, HEAD_REQUEST_KEY, ROOT_SEGMENT_REQUEST_KEY } from '../../../shared/lib/segment-cache/segment-value-encoding';\nimport { normalizeFlightData, prepareFlightRouterStateForRequest } from '../../flight-data-helpers';\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer';\nimport { pingVisibleLinks } from '../links';\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment';\nimport { FetchStrategy } from './types';\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers';\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */ export function getStaleTimeMs(staleTimeSeconds) {\n return Math.max(staleTimeSeconds, 30) * 1000;\n}\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */ export var EntryStatus = /*#__PURE__*/ function(EntryStatus) {\n EntryStatus[EntryStatus[\"Empty\"] = 0] = \"Empty\";\n EntryStatus[EntryStatus[\"Pending\"] = 1] = \"Pending\";\n EntryStatus[EntryStatus[\"Fulfilled\"] = 2] = \"Fulfilled\";\n EntryStatus[EntryStatus[\"Rejected\"] = 3] = \"Rejected\";\n return EntryStatus;\n}({});\nconst isOutputExportMode = process.env.NODE_ENV === 'production' && process.env.__NEXT_CONFIG_OUTPUT === 'export';\nconst MetadataOnlyRequestTree = [\n '',\n {},\n null,\n 'metadata-only'\n];\nlet routeCacheMap = createCacheMap();\nlet segmentCacheMap = createCacheMap();\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners = null;\n// Incrementing counter used to track cache invalidations.\nlet currentCacheVersion = 0;\nexport function getCurrentCacheVersion() {\n return currentCacheVersion;\n}\n/**\n * Used to clear the client prefetch cache when a server action calls\n * revalidatePath or revalidateTag. Eventually we will support only clearing the\n * segments that were actually affected, but there's more work to be done on the\n * server before the client is able to do this correctly.\n */ export function revalidateEntireCache(nextUrl, tree) {\n // Increment the current cache version. This does not eagerly evict anything\n // from the cache, but because all the entries are versioned, and we check\n // the version when reading from the cache, this effectively causes all\n // entries to be evicted lazily. We do it lazily because in the future,\n // actions like revalidateTag or refresh will not evict the entire cache,\n // but rather some subset of the entries.\n currentCacheVersion++;\n // Start a cooldown before re-prefetching to allow CDN cache propagation.\n startRevalidationCooldown();\n // Prefetch all the currently visible links again, to re-fill the cache.\n pingVisibleLinks(nextUrl, tree);\n // Similarly, notify all invalidation listeners (i.e. those passed to\n // `router.prefetch(onInvalidate)`), so they can trigger a new prefetch\n // if needed.\n pingInvalidationListeners(nextUrl, tree);\n}\nfunction attachInvalidationListener(task) {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([\n task\n ]);\n } else {\n invalidationListeners.add(task);\n }\n }\n}\nfunction notifyInvalidationListener(task) {\n const onInvalidate = task.onInvalidate;\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null;\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate();\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error);\n } else {\n console.error(error);\n }\n }\n }\n}\nexport function pingInvalidationListeners(nextUrl, tree) {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners;\n invalidationListeners = null;\n for (const task of tasks){\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task);\n }\n }\n }\n}\nexport function readRouteCacheEntry(now, key) {\n const varyPath = getRouteVaryPath(key.pathname, key.search, key.nextUrl);\n const isRevalidation = false;\n return getFromCacheMap(now, getCurrentCacheVersion(), routeCacheMap, varyPath, isRevalidation);\n}\nexport function readSegmentCacheEntry(now, varyPath) {\n const isRevalidation = false;\n return getFromCacheMap(now, getCurrentCacheVersion(), segmentCacheMap, varyPath, isRevalidation);\n}\nfunction readRevalidatingSegmentCacheEntry(now, varyPath) {\n const isRevalidation = true;\n return getFromCacheMap(now, getCurrentCacheVersion(), segmentCacheMap, varyPath, isRevalidation);\n}\nexport function waitForSegmentCacheEntry(pendingEntry) {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise;\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise = createPromiseWithResolvers();\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise;\n}\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */ export function readOrCreateRouteCacheEntry(now, task, key) {\n attachInvalidationListener(task);\n const existingEntry = readRouteCacheEntry(now, key);\n if (existingEntry !== null) {\n return existingEntry;\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry = {\n canonicalUrl: null,\n status: 0,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n isPPREnabled: false,\n renderedSearch: null,\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentCacheVersion()\n };\n const varyPath = getRouteVaryPath(key.pathname, key.search, key.nextUrl);\n const isRevalidation = false;\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation);\n return pendingEntry;\n}\nexport function requestOptimisticRouteCacheEntry(now, requestedUrl, nextUrl) {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search;\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null;\n }\n const urlWithoutSearchParams = new URL(requestedUrl);\n urlWithoutSearchParams.search = '';\n const routeWithNoSearchParams = readRouteCacheEntry(now, createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl));\n if (routeWithNoSearchParams === null || routeWithNoSearchParams.status !== 2) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null;\n }\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(routeWithNoSearchParams.canonicalUrl, requestedUrl.origin);\n const optimisticCanonicalSearch = canonicalUrlForRouteWithNoSearchParams.search !== '' ? canonicalUrlForRouteWithNoSearchParams.search : requestedSearch;\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch = routeWithNoSearchParams.renderedSearch !== '' ? routeWithNoSearchParams.renderedSearch : requestedSearch;\n const optimisticUrl = new URL(routeWithNoSearchParams.canonicalUrl, location.origin);\n optimisticUrl.search = optimisticCanonicalSearch;\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl);\n const optimisticRouteTree = createOptimisticRouteTree(routeWithNoSearchParams.tree, optimisticRenderedSearch);\n const optimisticMetadataTree = createOptimisticRouteTree(routeWithNoSearchParams.metadata, optimisticRenderedSearch);\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n status: 2,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n isPPREnabled: routeWithNoSearchParams.isPPREnabled,\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version\n };\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry;\n}\nfunction createOptimisticRouteTree(tree, newRenderedSearch) {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n let clonedSlots = null;\n const originalSlots = tree.slots;\n if (originalSlots !== null) {\n clonedSlots = {};\n for(const parallelRouteKey in originalSlots){\n const childTree = originalSlots[parallelRouteKey];\n clonedSlots[parallelRouteKey] = createOptimisticRouteTree(childTree, newRenderedSearch);\n }\n }\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: clonePageVaryPathWithNewSearchParams(tree.varyPath, newRenderedSearch),\n isPage: true,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch\n };\n }\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n isRootLayout: tree.isRootLayout,\n hasLoadingBoundary: tree.hasLoadingBoundary,\n hasRuntimePrefetch: tree.hasRuntimePrefetch\n };\n}\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */ export function readOrCreateSegmentCacheEntry(now, fetchStrategy, route, tree) {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath);\n if (existingEntry !== null) {\n return existingEntry;\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree);\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt);\n const isRevalidation = false;\n setInCacheMap(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);\n return pendingEntry;\n}\nexport function readOrCreateRevalidatingSegmentEntry(now, fetchStrategy, route, tree) {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath);\n if (existingEntry !== null) {\n return existingEntry;\n }\n // Create a pending entry and add it to the cache.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree);\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt);\n const isRevalidation = true;\n setInCacheMap(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);\n return pendingEntry;\n}\nexport function overwriteRevalidatingSegmentCacheEntry(fetchStrategy, route, tree) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree);\n const pendingEntry = createDetachedSegmentCacheEntry(route.staleAt);\n const isRevalidation = true;\n setInCacheMap(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);\n return pendingEntry;\n}\nexport function upsertSegmentEntry(now, varyPath, candidateEntry) {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n if (isValueExpired(now, getCurrentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null;\n }\n const existingEntry = readSegmentCacheEntry(now, varyPath);\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // ``.\n if (// We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n candidateEntry.fetchStrategy !== existingEntry.fetchStrategy && !canNewFetchStrategyProvideMoreContent(existingEntry.fetchStrategy, candidateEntry.fetchStrategy) || // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n !existingEntry.isPartial && candidateEntry.isPartial) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry = candidateEntry;\n rejectedEntry.status = 3;\n rejectedEntry.loading = null;\n rejectedEntry.rsc = null;\n return null;\n }\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry);\n }\n const isRevalidation = false;\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation);\n return candidateEntry;\n}\nexport function createDetachedSegmentCacheEntry(staleAt) {\n const emptyEntry = {\n status: 0,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n loading: null,\n isPartial: true,\n promise: null,\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0\n };\n return emptyEntry;\n}\nexport function upgradeToPendingSegment(emptyEntry, fetchStrategy) {\n const pendingEntry = emptyEntry;\n pendingEntry.status = 1;\n pendingEntry.fetchStrategy = fetchStrategy;\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false;\n }\n // Set the version here, since this is right before the request is initiated.\n // The next time the global cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentCacheVersion();\n return pendingEntry;\n}\nfunction pingBlockedTasks(entry) {\n const blockedTasks = entry.blockedTasks;\n if (blockedTasks !== null) {\n for (const task of blockedTasks){\n pingPrefetchTask(task);\n }\n entry.blockedTasks = null;\n }\n}\nfunction fulfillRouteCacheEntry(entry, tree, metadataVaryPath, staleAt, couldBeIntercepted, canonicalUrl, renderedSearch, isPPREnabled) {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n isRootLayout: false,\n hasLoadingBoundary: HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n hasRuntimePrefetch: false\n };\n const fulfilledEntry = entry;\n fulfilledEntry.status = 2;\n fulfilledEntry.tree = tree;\n fulfilledEntry.metadata = metadata;\n fulfilledEntry.staleAt = staleAt;\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted;\n fulfilledEntry.canonicalUrl = canonicalUrl;\n fulfilledEntry.renderedSearch = renderedSearch;\n fulfilledEntry.isPPREnabled = isPPREnabled;\n pingBlockedTasks(entry);\n return fulfilledEntry;\n}\nfunction fulfillSegmentCacheEntry(segmentCacheEntry, rsc, loading, staleAt, isPartial) {\n const fulfilledEntry = segmentCacheEntry;\n fulfilledEntry.status = 2;\n fulfilledEntry.rsc = rsc;\n fulfilledEntry.loading = loading;\n fulfilledEntry.staleAt = staleAt;\n fulfilledEntry.isPartial = isPartial;\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry);\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null;\n }\n return fulfilledEntry;\n}\nfunction rejectRouteCacheEntry(entry, staleAt) {\n const rejectedEntry = entry;\n rejectedEntry.status = 3;\n rejectedEntry.staleAt = staleAt;\n pingBlockedTasks(entry);\n}\nfunction rejectSegmentCacheEntry(entry, staleAt) {\n const rejectedEntry = entry;\n rejectedEntry.status = 3;\n rejectedEntry.staleAt = staleAt;\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null);\n entry.promise = null;\n }\n}\nfunction convertRootTreePrefetchToRouteTree(rootTree, renderedPathname, renderedSearch, acc) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p)=>p !== '');\n const index = 0;\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY;\n return convertTreePrefetchToRouteTree(rootTree.tree, rootSegment, null, ROOT_SEGMENT_REQUEST_KEY, pathnameParts, index, renderedSearch, acc);\n}\nfunction convertTreePrefetchToRouteTree(prefetch, segment, partialVaryPath, requestKey, pathnameParts, pathnamePartsIndex, renderedSearch, acc) {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n let slots = null;\n let isPage;\n let varyPath;\n const prefetchSlots = prefetch.slots;\n if (prefetchSlots !== null) {\n isPage = false;\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n slots = {};\n for(let parallelRouteKey in prefetchSlots){\n const childPrefetch = prefetchSlots[parallelRouteKey];\n const childParamName = childPrefetch.name;\n const childParamType = childPrefetch.paramType;\n const childServerSentParamKey = childPrefetch.paramKey;\n let childDoesAppearInURL;\n let childSegment;\n let childPartialVaryPath;\n if (childParamType !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(childParamType, pathnameParts, pathnamePartsIndex);\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey = // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childServerSentParamKey !== null ? childServerSentParamKey : getCacheKeyForDynamicParam(childParamValue, '');\n childPartialVaryPath = appendLayoutVaryPath(partialVaryPath, childParamKey);\n childSegment = [\n childParamName,\n childParamKey,\n childParamType\n ];\n childDoesAppearInURL = true;\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath;\n childSegment = childParamName;\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childParamName);\n }\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL ? pathnamePartsIndex + 1 : pathnamePartsIndex;\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment);\n const childRequestKey = appendSegmentRequestKeyPart(requestKey, parallelRouteKey, childRequestKeyPart);\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(childPrefetch, childSegment, childPartialVaryPath, childRequestKey, pathnameParts, childPathnamePartsIndex, renderedSearch, acc);\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true;\n varyPath = finalizePageVaryPath(requestKey, renderedSearch, partialVaryPath);\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(requestKey, renderedSearch, partialVaryPath);\n }\n } else {\n // This is a layout segment.\n isPage = false;\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n }\n }\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage,\n slots,\n isRootLayout: prefetch.isRootLayout,\n // This field is only relevant to dynamic routes. For a PPR/static route,\n // there's always some partial loading state we can fetch.\n hasLoadingBoundary: HasLoadingBoundary.SegmentHasLoadingBoundary,\n hasRuntimePrefetch: prefetch.hasRuntimePrefetch\n };\n}\nfunction convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc) {\n return convertFlightRouterStateToRouteTree(flightRouterState, ROOT_SEGMENT_REQUEST_KEY, null, renderedSearch, acc);\n}\nfunction convertFlightRouterStateToRouteTree(flightRouterState, requestKey, parentPartialVaryPath, renderedSearch, acc) {\n const originalSegment = flightRouterState[0];\n let segment;\n let partialVaryPath;\n let isPage;\n let varyPath;\n if (Array.isArray(originalSegment)) {\n isPage = false;\n const paramCacheKey = originalSegment[1];\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, paramCacheKey);\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n segment = originalSegment;\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath;\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true;\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY;\n varyPath = finalizePageVaryPath(requestKey, renderedSearch, partialVaryPath);\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(requestKey, renderedSearch, partialVaryPath);\n }\n } else {\n // This is a layout segment.\n isPage = false;\n segment = originalSegment;\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n }\n }\n let slots = null;\n const parallelRoutes = flightRouterState[1];\n for(let parallelRouteKey in parallelRoutes){\n const childRouterState = parallelRoutes[parallelRouteKey];\n const childSegment = childRouterState[0];\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment);\n const childRequestKey = appendSegmentRequestKeyPart(requestKey, parallelRouteKey, childRequestKeyPart);\n const childTree = convertFlightRouterStateToRouteTree(childRouterState, childRequestKey, partialVaryPath, renderedSearch, acc);\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree\n };\n } else {\n slots[parallelRouteKey] = childTree;\n }\n }\n return {\n requestKey,\n segment,\n varyPath,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n isPage: isPage,\n slots,\n isRootLayout: flightRouterState[4] === true,\n hasLoadingBoundary: flightRouterState[5] !== undefined ? flightRouterState[5] : HasLoadingBoundary.SubtreeHasNoLoadingBoundary,\n // Non-static tree responses are only used by apps that haven't adopted\n // Cache Components. So this is always false.\n hasRuntimePrefetch: false\n };\n}\nexport function convertRouteTreeToFlightRouterState(routeTree) {\n const parallelRoutes = {};\n if (routeTree.slots !== null) {\n for(const parallelRouteKey in routeTree.slots){\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(routeTree.slots[parallelRouteKey]);\n }\n }\n const flightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null,\n routeTree.isRootLayout\n ];\n return flightRouterState;\n}\nexport async function fetchRouteOnCacheMiss(entry, task, key) {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname;\n const search = key.search;\n const nextUrl = key.nextUrl;\n const segmentPath = '/_tree';\n const headers = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath\n };\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl;\n }\n try {\n const url = new URL(pathname + search, location.origin);\n let response;\n let urlAfterRedirects;\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to : /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD'\n });\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n urlAfterRedirects = headResponse.redirected ? new URL(headResponse.url) : url;\n response = await fetchPrefetchResponse(addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath), headers);\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers);\n urlAfterRedirects = response !== null && response.redirected ? new URL(response.url) : url;\n }\n if (!response || !response.ok || // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects);\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary');\n const couldBeIntercepted = varyHeader !== null && varyHeader.includes(NEXT_URL);\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers();\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled = response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' || // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode;\n if (routeIsPPREnabled) {\n const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size);\n });\n const serverData = await createFromNextReadableStream(prefetchStream, headers);\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response);\n const renderedSearch = getRenderedSearch(response);\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc = {\n metadataVaryPath: null\n };\n const routeTree = convertRootTreePrefetchToRouteTree(serverData, renderedPathname, renderedSearch, acc);\n const metadataVaryPath = acc.metadataVaryPath;\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n const staleTimeMs = getStaleTimeMs(serverData.staleTime);\n fulfillRouteCacheEntry(entry, routeTree, metadataVaryPath, Date.now() + staleTimeMs, couldBeIntercepted, canonicalUrl, renderedSearch, routeIsPPREnabled);\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(size) {\n setSizeInCacheMap(entry, size);\n });\n const serverData = await createFromNextReadableStream(prefetchStream, headers);\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n writeDynamicTreeResponseIntoCache(Date.now(), task, // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled);\n }\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath = getFulfilledRouteVaryPath(pathname, search, nextUrl, couldBeIntercepted);\n const isRevalidation = false;\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation);\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return {\n value: null,\n closed: closed.promise\n };\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n}\nexport async function fetchSegmentOnCacheMiss(route, segmentCacheEntry, routeKey, tree) {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin);\n const nextUrl = routeKey.nextUrl;\n const requestKey = tree.requestKey;\n const normalizedRequestKey = requestKey === ROOT_SEGMENT_REQUEST_KEY ? // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n '/_index' : requestKey;\n const headers = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey\n };\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl;\n }\n const requestUrl = isOutputExportMode ? addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey) : url;\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers);\n if (!response || !response.ok || response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' && // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);\n return null;\n }\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers();\n // Wrap the original stream in a new stream that never closes. That way the\n // Flight client doesn't error if there's a hanging promise.\n const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(size) {\n setSizeInCacheMap(segmentCacheEntry, size);\n });\n const serverData = await createFromNextReadableStream(prefetchStream, headers);\n if (serverData.buildId !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);\n return null;\n }\n return {\n value: fulfillSegmentCacheEntry(segmentCacheEntry, serverData.rsc, serverData.loading, // TODO: The server does not currently provide per-segment stale time.\n // So we use the stale time of the route.\n route.staleAt, serverData.isPartial),\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise\n };\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);\n return null;\n }\n}\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(task, route, fetchStrategy, dynamicRequestTree, spawnedEntries) {\n const key = task.key;\n const url = new URL(route.canonicalUrl, location.origin);\n const nextUrl = key.nextUrl;\n if (spawnedEntries.size === 1 && spawnedEntries.has(route.metadata.requestKey)) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree;\n }\n const headers = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]: prepareFlightRouterStateForRequest(dynamicRequestTree)\n };\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl;\n }\n switch(fetchStrategy){\n case FetchStrategy.Full:\n {\n break;\n }\n case FetchStrategy.PPRRuntime:\n {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2';\n break;\n }\n case FetchStrategy.LoadingBoundary:\n {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1';\n break;\n }\n default:\n {\n fetchStrategy;\n }\n }\n try {\n const response = await fetchPrefetchResponse(url, headers);\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n const renderedSearch = getRenderedSearch(response);\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n // Track when the network connection closes.\n const closed = createPromiseWithResolvers();\n let fulfilledEntries = null;\n const prefetchStream = createPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assiging each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return;\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length;\n for (const entry of fulfilledEntries){\n setSizeInCacheMap(entry, averageSize);\n }\n });\n const serverData = await createFromNextReadableStream(prefetchStream, headers);\n const isResponsePartial = fetchStrategy === FetchStrategy.PPRRuntime ? serverData.rp?.[0] === true : // (even if we did set the prefetch header, we only use this codepath for non-PPR-enabled routes)\n false;\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n fulfilledEntries = writeDynamicRenderResponseIntoCache(Date.now(), task, fetchStrategy, response, serverData, isResponsePartial, route, spawnedEntries);\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return {\n value: null,\n closed: closed.promise\n };\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n}\nfunction writeDynamicTreeResponseIntoCache(now, task, fetchStrategy, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled) {\n // Get the URL that was used to render the target page. This may be different\n // from the URL in the request URL, if the page was rewritten.\n const renderedSearch = getRenderedSearch(response);\n const normalizedFlightDataResult = normalizeFlightData(serverData.f);\n if (// A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' || normalizedFlightDataResult.length !== 1) {\n rejectRouteCacheEntry(entry, now + 10 * 1000);\n return;\n }\n const flightData = normalizedFlightDataResult[0];\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000);\n return;\n }\n const flightRouterState = flightData.tree;\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds = typeof serverData.rp?.[1] === 'number' ? serverData.rp[1] : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10);\n const staleTimeMs = !isNaN(staleTimeSeconds) ? getStaleTimeMs(staleTimeSeconds) : STATIC_STALETIME_MS;\n // If the response contains dynamic holes, then we must conservatively assume\n // that any individual segment might contain dynamic holes, and also the\n // head. If it did not contain dynamic holes, then we can assume every segment\n // and the head is completely static.\n const isResponsePartial = response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1';\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc = {\n metadataVaryPath: null\n };\n const routeTree = convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc);\n const metadataVaryPath = acc.metadataVaryPath;\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000);\n return;\n }\n const fulfilledEntry = fulfillRouteCacheEntry(entry, routeTree, metadataVaryPath, now + staleTimeMs, couldBeIntercepted, canonicalUrl, renderedSearch, routeIsPPREnabled);\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n //\n // TODO: When `clientSegmentCache` is enabled, the server does not include\n // segment data when responding to a route tree prefetch request. However,\n // when `clientSegmentCache` is set to \"client-only\", and PPR is enabled (or\n // the page is fully static), the normal check is bypassed and the server\n // responds with the full page. This is a temporary situation until we can\n // remove the \"client-only\" option. Then, we can delete this function call.\n writeDynamicRenderResponseIntoCache(now, task, fetchStrategy, response, serverData, isResponsePartial, fulfilledEntry, null);\n}\nfunction rejectSegmentEntriesIfStillPending(entries, staleAt) {\n const fulfilledEntries = [];\n for (const entry of entries.values()){\n if (entry.status === 1) {\n rejectSegmentCacheEntry(entry, staleAt);\n } else if (entry.status === 2) {\n fulfilledEntries.push(entry);\n }\n }\n return fulfilledEntries;\n}\nfunction writeDynamicRenderResponseIntoCache(now, task, fetchStrategy, response, serverData, isResponsePartial, route, spawnedEntries) {\n if (serverData.b !== getAppBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: Consider moving the build ID to a response header so we can check\n // it before decoding the response, and so there's one way of checking\n // across all response types.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);\n }\n return null;\n }\n const flightDatas = normalizeFlightData(serverData.f);\n if (typeof flightDatas === 'string') {\n // This means navigating to this route will result in an MPA navigation.\n // TODO: We should cache this, too, so that the MPA navigation is immediate.\n return null;\n }\n // For runtime prefetches, stale time is in the payload at rp[1].\n // For other responses, fall back to the header.\n const staleTimeSeconds = typeof serverData.rp?.[1] === 'number' ? serverData.rp[1] : parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10);\n const staleTimeMs = !isNaN(staleTimeSeconds) ? getStaleTimeMs(staleTimeSeconds) : STATIC_STALETIME_MS;\n const staleAt = now + staleTimeMs;\n for (const flightData of flightDatas){\n const seedData = flightData.seedData;\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightData.segmentPath;\n let tree = route.tree;\n for(let i = 0; i < segmentPath.length; i += 2){\n const parallelRouteKey = segmentPath[i];\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey];\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);\n }\n return null;\n }\n }\n writeSeedDataIntoCache(now, task, fetchStrategy, route, tree, staleAt, seedData, isResponsePartial, spawnedEntries);\n }\n const head = flightData.head;\n if (head !== null) {\n fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, route, head, null, flightData.isHeadPartial, staleAt, route.metadata, spawnedEntries);\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);\n return fulfilledEntries;\n }\n return null;\n}\nfunction writeSeedDataIntoCache(now, task, fetchStrategy, route, tree, staleAt, seedData, isResponsePartial, entriesOwnedByCurrentTask) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0];\n const loading = seedData[2];\n const isPartial = rsc === null || isResponsePartial;\n fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, route, rsc, loading, isPartial, staleAt, tree, entriesOwnedByCurrentTask);\n // Recursively write the child data into the cache.\n const slots = tree.slots;\n if (slots !== null) {\n const seedDataChildren = seedData[1];\n for(const parallelRouteKey in slots){\n const childTree = slots[parallelRouteKey];\n const childSeedData = seedDataChildren[parallelRouteKey];\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(now, task, fetchStrategy, route, childTree, staleAt, childSeedData, isResponsePartial, entriesOwnedByCurrentTask);\n }\n }\n }\n}\nfunction fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, route, rsc, loading, isPartial, staleAt, tree, entriesOwnedByCurrentTask) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry = entriesOwnedByCurrentTask !== null ? entriesOwnedByCurrentTask.get(tree.requestKey) : undefined;\n if (ownedEntry !== undefined) {\n fulfillSegmentCacheEntry(ownedEntry, rsc, loading, staleAt, isPartial);\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(now, fetchStrategy, route, tree);\n if (possiblyNewEntry.status === 0) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry;\n fulfillSegmentCacheEntry(upgradeToPendingSegment(newEntry, fetchStrategy), rsc, loading, staleAt, isPartial);\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(upgradeToPendingSegment(createDetachedSegmentCacheEntry(staleAt), fetchStrategy), rsc, loading, staleAt, isPartial);\n upsertSegmentEntry(now, getSegmentVaryPathForRequest(fetchStrategy, tree), newEntry);\n }\n }\n}\nasync function fetchPrefetchResponse(url, headers) {\n const fetchPriority = 'low';\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false;\n const response = await createFetch(url, headers, fetchPriority, shouldImmediatelyDecode);\n if (!response.ok) {\n return null;\n }\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type');\n const isFlightResponse = contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER);\n if (!isFlightResponse) {\n return null;\n }\n }\n return response;\n}\nfunction createPrefetchResponseStream(originalFlightStream, onStreamClose, onResponseSizeUpdate) {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n //\n // While processing the original stream, we also incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0;\n const reader = originalFlightStream.getReader();\n return new ReadableStream({\n async pull (controller) {\n while(true){\n const { done, value } = await reader.read();\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value);\n // Incrementally update the size of the cache entry in the LRU.\n // NOTE: Since prefetch responses are delivered in a single chunk,\n // it's not really necessary to do this streamingly, but I'm doing it\n // anyway in case this changes in the future.\n totalByteLength += value.byteLength;\n onResponseSizeUpdate(totalByteLength);\n continue;\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream. We do notify the caller, though.\n onStreamClose();\n return;\n }\n }\n });\n}\nfunction addSegmentPathToUrlInOutputExportMode(url, segmentPath) {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url);\n const routeDir = staticUrl.pathname.endsWith('/') ? staticUrl.pathname.slice(0, -1) : staticUrl.pathname;\n const staticExportFilename = convertSegmentPathToStaticExportFilename(segmentPath);\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`;\n return staticUrl;\n }\n return url;\n}\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */ export function canNewFetchStrategyProvideMoreContent(currentStrategy, newStrategy) {\n return currentStrategy < newStrategy;\n}\n\n//# sourceMappingURL=cache.js.map","import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash';\nimport { isGroupSegment } from '../../segment';\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */ export function normalizeAppPath(route) {\n return ensureLeadingSlash(route.split('/').reduce((pathname, segment, index, segments)=>{\n // Empty segments are ignored.\n if (!segment) {\n return pathname;\n }\n // Groups are ignored.\n if (isGroupSegment(segment)) {\n return pathname;\n }\n // Parallel segments are ignored.\n if (segment[0] === '@') {\n return pathname;\n }\n // The last segment (if it's a leaf) should be ignored.\n if ((segment === 'page' || segment === 'route') && index === segments.length - 1) {\n return pathname;\n }\n return `${pathname}/${segment}`;\n }, ''));\n}\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */ export function normalizeRscURL(url) {\n return url.replace(/\\.rsc($|\\?)/, // $1 ensures `?` is preserved\n '$1');\n}\n\n//# sourceMappingURL=app-paths.js.map","'use client'\n\nimport React, { useContext, type JSX } from 'react'\nimport { TemplateContext } from '../../shared/lib/app-router-context.shared-runtime'\n\nexport default function RenderFromTemplateContext(): JSX.Element {\n const children = useContext(TemplateContext)\n return <>{children}\n}\n","// This regex will have fast negatives meaning valid identifiers may not pass\n// this test. However this is only used during static generation to provide hints\n// about why a page bailed out of some or all prerendering and we can use bracket notation\n// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`\n// even if this would have been fine too `searchParams.ಠ_ಠ`\nconst isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/;\nexport function describeStringPropertyAccess(target, prop) {\n if (isDefinitelyAValidIdentifier.test(prop)) {\n return `\\`${target}.${prop}\\``;\n }\n return `\\`${target}[${JSON.stringify(prop)}]\\``;\n}\nexport function describeHasCheckingStringProperty(target, prop) {\n const stringifiedProp = JSON.stringify(prop);\n return `\\`Reflect.has(${target}, ${stringifiedProp})\\`, \\`${stringifiedProp} in ${target}\\`, or similar`;\n}\nexport const wellKnownProperties = new Set([\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toString',\n 'valueOf',\n 'toLocaleString',\n // Promise prototype\n 'then',\n 'catch',\n 'finally',\n // React Promise extension\n 'status',\n // 'value',\n // 'error',\n // React introspection\n 'displayName',\n '_debugInfo',\n // Common tested properties\n 'toJSON',\n '$$typeof',\n '__esModule'\n]);\n\n//# sourceMappingURL=reflect-utils.js.map","import * as React from 'react';\nconst errorRef = {\n current: null\n};\n// React.cache is currently only available in canary/experimental React channels.\nconst cache = typeof React.cache === 'function' ? React.cache : (fn)=>fn;\n// When Cache Components is enabled, we record these as errors so that they\n// are captured by the dev overlay as it's more critical to fix these\n// when enabled.\nconst logErrorOrWarn = process.env.__NEXT_CACHE_COMPONENTS ? console.error : console.warn;\n// We don't want to dedupe across requests.\n// The developer might've just attempted to fix the warning so we should warn again if it still happens.\nconst flushCurrentErrorIfNew = cache(// eslint-disable-next-line @typescript-eslint/no-unused-vars -- cache key\n(key)=>{\n try {\n logErrorOrWarn(errorRef.current);\n } finally{\n errorRef.current = null;\n }\n});\n/**\n * Creates a function that logs an error message that is deduped by the userland\n * callsite.\n * This requires no indirection between the call of this function and the userland\n * callsite i.e. there's only a single library frame above this.\n * Do not use on the Client where sourcemaps and ignore listing might be enabled.\n * Only use that for warnings need a fix independent of the callstack.\n *\n * @param getMessage\n * @returns\n */ export function createDedupedByCallsiteServerErrorLoggerDev(getMessage) {\n return function logDedupedError(...args) {\n const message = getMessage(...args);\n if (process.env.NODE_ENV !== 'production') {\n var _stack;\n const callStackFrames = (_stack = new Error().stack) == null ? void 0 : _stack.split('\\n');\n if (callStackFrames === undefined || callStackFrames.length < 4) {\n logErrorOrWarn(message);\n } else {\n // Error:\n // logDedupedError\n // asyncApiBeingAccessedSynchronously\n // \n // TODO: This breaks if sourcemaps with ignore lists are enabled.\n const key = callStackFrames[4];\n errorRef.current = message;\n flushCurrentErrorIfNew(key);\n }\n } else {\n logErrorOrWarn(message);\n }\n };\n}\n\n//# sourceMappingURL=create-deduped-by-callsite-server-error-logger.js.map","import { InvariantError } from '../../shared/lib/invariant-error';\nimport { createPromiseWithResolvers } from '../../shared/lib/promise-with-resolvers';\nexport var RenderStage = /*#__PURE__*/ function(RenderStage) {\n RenderStage[RenderStage[\"Before\"] = 1] = \"Before\";\n RenderStage[RenderStage[\"Static\"] = 2] = \"Static\";\n RenderStage[RenderStage[\"Runtime\"] = 3] = \"Runtime\";\n RenderStage[RenderStage[\"Dynamic\"] = 4] = \"Dynamic\";\n RenderStage[RenderStage[\"Abandoned\"] = 5] = \"Abandoned\";\n return RenderStage;\n}({});\nexport class StagedRenderingController {\n constructor(abortSignal = null, hasRuntimePrefetch){\n this.abortSignal = abortSignal;\n this.hasRuntimePrefetch = hasRuntimePrefetch;\n this.currentStage = 1;\n this.staticInterruptReason = null;\n this.runtimeInterruptReason = null;\n this.staticStageEndTime = Infinity;\n this.runtimeStageEndTime = Infinity;\n this.runtimeStageListeners = [];\n this.dynamicStageListeners = [];\n this.runtimeStagePromise = createPromiseWithResolvers();\n this.dynamicStagePromise = createPromiseWithResolvers();\n this.mayAbandon = false;\n if (abortSignal) {\n abortSignal.addEventListener('abort', ()=>{\n const { reason } = abortSignal;\n if (this.currentStage < 3) {\n this.runtimeStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections\n ;\n this.runtimeStagePromise.reject(reason);\n }\n if (this.currentStage < 4 || this.currentStage === 5) {\n this.dynamicStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections\n ;\n this.dynamicStagePromise.reject(reason);\n }\n }, {\n once: true\n });\n this.mayAbandon = true;\n }\n }\n onStage(stage, callback) {\n if (this.currentStage >= stage) {\n callback();\n } else if (stage === 3) {\n this.runtimeStageListeners.push(callback);\n } else if (stage === 4) {\n this.dynamicStageListeners.push(callback);\n } else {\n // This should never happen\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n canSyncInterrupt() {\n // If we haven't started the render yet, it can't be interrupted.\n if (this.currentStage === 1) {\n return false;\n }\n const boundaryStage = this.hasRuntimePrefetch ? 4 : 3;\n return this.currentStage < boundaryStage;\n }\n syncInterruptCurrentStageWithReason(reason) {\n if (this.currentStage === 1) {\n return;\n }\n // If Sync IO occurs during the initial (abandonable) render, we'll retry it,\n // so we want a slightly different flow.\n // See the implementation of `abandonRenderImpl` for more explanation.\n if (this.mayAbandon) {\n return this.abandonRenderImpl();\n }\n // If we're in the final render, we cannot abandon it. We need to advance to the Dynamic stage\n // and capture the interruption reason.\n switch(this.currentStage){\n case 2:\n {\n this.staticInterruptReason = reason;\n this.advanceStage(4);\n return;\n }\n case 3:\n {\n // We only error for Sync IO in the runtime stage if the route\n // is configured to use runtime prefetching.\n // We do this to reflect the fact that during a runtime prefetch,\n // Sync IO aborts aborts the render.\n // Note that `canSyncInterrupt` should prevent us from getting here at all\n // if runtime prefetching isn't enabled.\n if (this.hasRuntimePrefetch) {\n this.runtimeInterruptReason = reason;\n this.advanceStage(4);\n }\n return;\n }\n case 4:\n case 5:\n default:\n }\n }\n getStaticInterruptReason() {\n return this.staticInterruptReason;\n }\n getRuntimeInterruptReason() {\n return this.runtimeInterruptReason;\n }\n getStaticStageEndTime() {\n return this.staticStageEndTime;\n }\n getRuntimeStageEndTime() {\n return this.runtimeStageEndTime;\n }\n abandonRender() {\n if (!this.mayAbandon) {\n throw Object.defineProperty(new InvariantError('`abandonRender` called on a stage controller that cannot be abandoned.'), \"__NEXT_ERROR_CODE\", {\n value: \"E938\",\n enumerable: false,\n configurable: true\n });\n }\n this.abandonRenderImpl();\n }\n abandonRenderImpl() {\n // In staged rendering, only the initial render is abandonable.\n // We can abandon the initial render if\n // 1. We notice a cache miss, and need to wait for caches to fill\n // 2. A sync IO error occurs, and the render should be interrupted\n // (this might be a lazy intitialization of a module,\n // so we still want to restart in this case and see if it still occurs)\n // In either case, we'll be doing another render after this one,\n // so we only want to unblock the Runtime stage, not Dynamic, because\n // unblocking the dynamic stage would likely lead to wasted (uncached) IO.\n const { currentStage } = this;\n switch(currentStage){\n case 2:\n {\n this.currentStage = 5;\n this.resolveRuntimeStage();\n return;\n }\n case 3:\n {\n this.currentStage = 5;\n return;\n }\n case 4:\n case 1:\n case 5:\n break;\n default:\n {\n currentStage;\n }\n }\n }\n advanceStage(stage) {\n // If we're already at the target stage or beyond, do nothing.\n // (this can happen e.g. if sync IO advanced us to the dynamic stage)\n if (stage <= this.currentStage) {\n return;\n }\n let currentStage = this.currentStage;\n this.currentStage = stage;\n if (currentStage < 3 && stage >= 3) {\n this.staticStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveRuntimeStage();\n }\n if (currentStage < 4 && stage >= 4) {\n this.runtimeStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveDynamicStage();\n return;\n }\n }\n /** Fire the `onStage` listeners for the runtime stage and unblock any promises waiting for it. */ resolveRuntimeStage() {\n const runtimeListeners = this.runtimeStageListeners;\n for(let i = 0; i < runtimeListeners.length; i++){\n runtimeListeners[i]();\n }\n runtimeListeners.length = 0;\n this.runtimeStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the dynamic stage and unblock any promises waiting for it. */ resolveDynamicStage() {\n const dynamicListeners = this.dynamicStageListeners;\n for(let i = 0; i < dynamicListeners.length; i++){\n dynamicListeners[i]();\n }\n dynamicListeners.length = 0;\n this.dynamicStagePromise.resolve();\n }\n getStagePromise(stage) {\n switch(stage){\n case 3:\n {\n return this.runtimeStagePromise.promise;\n }\n case 4:\n {\n return this.dynamicStagePromise.promise;\n }\n default:\n {\n stage;\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n waitForStage(stage) {\n return this.getStagePromise(stage);\n }\n delayUntilStage(stage, displayName, resolvedValue) {\n const ioTriggerPromise = this.getStagePromise(stage);\n const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);\n // Analogously to `makeHangingPromise`, we might reject this promise if the signal is invoked.\n // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it).\n // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning.\n if (this.abortSignal) {\n promise.catch(ignoreReject);\n }\n return promise;\n }\n}\nfunction ignoreReject() {}\n// TODO(restart-on-cache-miss): the layering of `delayUntilStage`,\n// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise`\n// is confusing, we should clean it up.\nfunction makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {\n // If we create a `new Promise` and give it a displayName\n // (with no userspace code above us in the stack)\n // React Devtools will use it as the IO cause when determining \"suspended by\".\n // In particular, it should shadow any inner IO that resolved/rejected the promise\n // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage)\n const promise = new Promise((resolve, reject)=>{\n ioTrigger.then(resolve.bind(null, resolvedValue), reject);\n });\n if (displayName !== undefined) {\n // @ts-expect-error\n promise.displayName = displayName;\n }\n return promise;\n}\n\n//# sourceMappingURL=staged-rendering.js.map","export class ReflectAdapter {\n static get(target, prop, receiver) {\n const value = Reflect.get(target, prop, receiver);\n if (typeof value === 'function') {\n return value.bind(target);\n }\n return value;\n }\n static set(target, prop, value, receiver) {\n return Reflect.set(target, prop, value, receiver);\n }\n static has(target, prop) {\n return Reflect.has(target, prop);\n }\n static deleteProperty(target, prop) {\n return Reflect.deleteProperty(target, prop);\n }\n}\n\n//# sourceMappingURL=reflect.js.map","import { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { afterTaskAsyncStorage } from '../app-render/after-task-async-storage.external';\nexport function throwWithStaticGenerationBailoutErrorWithDynamicError(route, expression) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E543\",\n enumerable: false,\n configurable: true\n });\n}\nexport function throwForSearchParamsAccessInUseCache(workStore, constructorOpt) {\n const error = Object.defineProperty(new Error(`Route ${workStore.route} used \\`searchParams\\` inside \"use cache\". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \\`searchParams\\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), \"__NEXT_ERROR_CODE\", {\n value: \"E842\",\n enumerable: false,\n configurable: true\n });\n Error.captureStackTrace(error, constructorOpt);\n workStore.invalidDynamicUsageError ??= error;\n throw error;\n}\nexport function isRequestAPICallableInsideAfter() {\n const afterTaskStore = afterTaskAsyncStorage.getStore();\n return (afterTaskStore == null ? void 0 : afterTaskStore.rootTaskSpawnPhase) === 'action';\n}\n\n//# sourceMappingURL=utils.js.map","import { ReflectAdapter } from '../web/spec-extension/adapters/reflect';\nimport { throwToInterruptStaticGeneration, postponeWithTracking, annotateDynamicAccess, delayUntilRuntimeStage } from '../app-render/dynamic-rendering';\nimport { workUnitAsyncStorage, throwInvariantForMissingStore } from '../app-render/work-unit-async-storage.external';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { makeDevtoolsIOAwarePromise, makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger';\nimport { describeStringPropertyAccess, describeHasCheckingStringProperty, wellKnownProperties } from '../../shared/lib/utils/reflect-utils';\nimport { throwWithStaticGenerationBailoutErrorWithDynamicError, throwForSearchParamsAccessInUseCache } from './utils';\nimport { RenderStage } from '../app-render/staged-rendering';\nexport function createSearchParamsFromClient(underlyingSearchParams, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E769\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E739\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport const createServerSearchParamsForMetadata = createServerSearchParamsForServerPage;\nexport function createServerSearchParamsForServerPage(underlyingSearchParams, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E747\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore);\n case 'request':\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createPrerenderSearchParamsForClientPage(workStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n // We're prerendering in a mode that aborts (cacheComponents) and should stall\n // the promise to ensure the RSC side is considered dynamic\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, '`searchParams`');\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E768\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E746\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n return Promise.resolve({});\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nfunction createStaticPrerenderSearchParams(workStore, prerenderStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n switch(prerenderStore.type){\n case 'prerender':\n case 'prerender-client':\n // We are in a cacheComponents (PPR or otherwise) prerender\n return makeHangingSearchParams(workStore, prerenderStore);\n case 'prerender-ppr':\n case 'prerender-legacy':\n // We are in a legacy static generation and need to interrupt the\n // prerender when search params are accessed.\n return makeErroringSearchParams(workStore, prerenderStore);\n default:\n return prerenderStore;\n }\n}\nfunction createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore) {\n return delayUntilRuntimeStage(workUnitStore, makeUntrackedSearchParams(underlyingSearchParams));\n}\nfunction createRenderSearchParams(underlyingSearchParams, workStore, requestStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n } else {\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n return makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore);\n } else {\n return makeUntrackedSearchParams(underlyingSearchParams);\n }\n }\n}\nconst CachedSearchParams = new WeakMap();\nconst CachedSearchParamsForUseCache = new WeakMap();\nfunction makeHangingSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(prerenderStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`searchParams`');\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n switch(prop){\n case 'then':\n {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n case 'status':\n {\n const expression = '`use(searchParams)`, `searchParams.status`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n default:\n {\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n }\n });\n CachedSearchParams.set(prerenderStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeErroringSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const underlyingSearchParams = {};\n // For search params we don't construct a ReactPromise because we want to interrupt\n // rendering on any property access that was not set from outside and so we only want\n // to have properties like value and status if React sets them.\n const promise = Promise.resolve(underlyingSearchParams);\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && prop === 'then') {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n if (workStore.dynamicShouldError) {\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n } else if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(workStore.route, expression, prerenderStore.dynamicTracking);\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(expression, workStore, prerenderStore);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParams.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\n/**\n * This is a variation of `makeErroringSearchParams` that always throws an\n * error on access, because accessing searchParams inside of `\"use cache\"` is\n * not allowed.\n */ export function makeErroringSearchParamsForUseCache(workStore) {\n const cachedSearchParams = CachedSearchParamsForUseCache.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve({});\n const proxiedPromise = new Proxy(promise, {\n get: function get(target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it. We know it\n // isn't a dynamic access because it can only be something that was\n // previously written to the promise and thus not an underlying\n // searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && (prop === 'then' || !wellKnownProperties.has(prop))) {\n throwForSearchParamsAccessInUseCache(workStore, get);\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParamsForUseCache.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeUntrackedSearchParams(underlyingSearchParams) {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve(underlyingSearchParams);\n CachedSearchParams.set(underlyingSearchParams, promise);\n return promise;\n}\nfunction makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore) {\n if (requestStore.asyncApiPromises) {\n // Do not cache the resulting promise. If we do, we'll only show the first \"awaited at\"\n // across all segments that receive searchParams.\n return makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore);\n } else {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore);\n CachedSearchParams.set(requestStore, promise);\n return promise;\n }\n}\nfunction makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore) {\n const promiseInitialized = {\n current: false\n };\n const proxiedUnderlying = instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized);\n let promise;\n if (requestStore.asyncApiPromises) {\n // We wrap each instance of searchParams in a `new Promise()`.\n // This is important when all awaits are in third party which would otherwise\n // track all the way to the internal params.\n const sharedSearchParamsParent = requestStore.asyncApiPromises.sharedSearchParamsParent;\n promise = new Promise((resolve, reject)=>{\n sharedSearchParamsParent.then(()=>resolve(proxiedUnderlying), reject);\n });\n // @ts-expect-error\n promise.displayName = 'searchParams';\n } else {\n promise = makeDevtoolsIOAwarePromise(proxiedUnderlying, requestStore, RenderStage.Runtime);\n }\n promise.then(()=>{\n promiseInitialized.current = true;\n }, // If we're in staged rendering, this promise will reject if the render\n // is aborted before it can reach the runtime stage.\n // In that case, we have to prevent an unhandled rejection from the promise\n // created by this `.then()` call.\n // This does not affect the `promiseInitialized` logic above,\n // because `proxiedUnderlying` will not be used to resolve the promise,\n // so there's no risk of any of its properties being accessed and triggering\n // an undesireable warning.\n ignoreReject);\n return instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore);\n}\nfunction ignoreReject() {}\nfunction instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized) {\n // We have an unfortunate sequence of events that requires this initialization logic. We want to instrument the underlying\n // searchParams object to detect if you are accessing values in dev. This is used for warnings and for things like the static prerender\n // indicator. However when we pass this proxy to our Promise.resolve() below the VM checks if the resolved value is a promise by looking\n // at the `.then` property. To our dynamic tracking logic this is indistinguishable from a `then` searchParam and so we would normally trigger\n // dynamic tracking. However we know that this .then is not real dynamic access, it's just how thenables resolve in sequence. So we introduce\n // this initialization concept so we omit the dynamic check until after we've constructed our resolved promise.\n return new Proxy(underlyingSearchParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && promiseInitialized.current) {\n if (workStore.dynamicShouldError) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (workStore.dynamicShouldError) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n if (workStore.dynamicShouldError) {\n const expression = '`{...searchParams}`, `Object.keys(searchParams)`, or similar';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n return Reflect.ownKeys(target);\n }\n });\n}\nfunction instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore) {\n // Track which properties we should warn for.\n const proxiedProperties = new Set();\n Object.keys(underlyingSearchParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop);\n }\n });\n return new Proxy(promise, {\n get (target, prop, receiver) {\n if (prop === 'then' && workStore.dynamicShouldError) {\n const expression = '`searchParams.then`';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop);\n }\n return Reflect.set(target, prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n const expression = '`Object.keys(searchParams)` or similar';\n warnForSyncAccess(workStore.route, expression);\n return Reflect.ownKeys(target);\n }\n });\n}\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(createSearchAccessError);\nfunction createSearchAccessError(route, expression) {\n const prefix = route ? `Route \"${route}\" ` : 'This route ';\n return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\\`searchParams\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), \"__NEXT_ERROR_CODE\", {\n value: \"E848\",\n enumerable: false,\n configurable: true\n });\n}\n\n//# sourceMappingURL=search-params.js.map","import {\n workAsyncStorage,\n type WorkStore,\n} from '../app-render/work-async-storage.external'\nimport type { OpaqueFallbackRouteParams } from './fallback-params'\n\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect'\nimport {\n throwToInterruptStaticGeneration,\n postponeWithTracking,\n delayUntilRuntimeStage,\n} from '../app-render/dynamic-rendering'\n\nimport {\n workUnitAsyncStorage,\n type PrerenderStorePPR,\n type PrerenderStoreLegacy,\n type StaticPrerenderStoreModern,\n type StaticPrerenderStore,\n throwInvariantForMissingStore,\n type PrerenderStoreModernRuntime,\n type RequestStore,\n} from '../app-render/work-unit-async-storage.external'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport {\n describeStringPropertyAccess,\n wellKnownProperties,\n} from '../../shared/lib/utils/reflect-utils'\nimport {\n makeDevtoolsIOAwarePromise,\n makeHangingPromise,\n} from '../dynamic-rendering-utils'\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger'\nimport { dynamicAccessAsyncStorage } from '../app-render/dynamic-access-async-storage.external'\nimport { RenderStage } from '../app-render/staged-rendering'\n\nexport type ParamValue = string | Array | undefined\nexport type Params = Record\n\nexport function createParamsFromClient(\n underlyingParams: Params,\n workStore: WorkStore\n): Promise {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n workStore,\n workUnitStore\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createParamsFromClient should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n throw new InvariantError(\n 'createParamsFromClient should not be called in a runtime prerender.'\n )\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams\n return createRenderParamsInDev(\n underlyingParams,\n devFallbackParams,\n workStore,\n workUnitStore\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport type CreateServerParamsForMetadata = typeof createServerParamsForMetadata\nexport const createServerParamsForMetadata = createServerParamsForServerSegment\n\n// routes always runs in RSC context so it is equivalent to a Server Page Component\nexport function createServerParamsForRoute(\n underlyingParams: Params,\n workStore: WorkStore\n): Promise {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n workStore,\n workUnitStore\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createServerParamsForRoute should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n return createRuntimePrerenderParams(underlyingParams, workUnitStore)\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams\n return createRenderParamsInDev(\n underlyingParams,\n devFallbackParams,\n workStore,\n workUnitStore\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nexport function createServerParamsForServerSegment(\n underlyingParams: Params,\n workStore: WorkStore\n): Promise {\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n workStore,\n workUnitStore\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createServerParamsForServerSegment should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n return createRuntimePrerenderParams(underlyingParams, workUnitStore)\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams\n return createRenderParamsInDev(\n underlyingParams,\n devFallbackParams,\n workStore,\n workUnitStore\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nexport function createPrerenderParamsForClientSegment(\n underlyingParams: Params\n): Promise {\n const workStore = workAsyncStorage.getStore()\n if (!workStore) {\n throw new InvariantError(\n 'Missing workStore in createPrerenderParamsForClientSegment'\n )\n }\n\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n const fallbackParams = workUnitStore.fallbackRouteParams\n if (fallbackParams) {\n for (let key in underlyingParams) {\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n '`params`'\n )\n }\n }\n }\n break\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createPrerenderParamsForClientSegment should not be called in cache contexts.'\n )\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'prerender-runtime':\n case 'request':\n break\n default:\n workUnitStore satisfies never\n }\n }\n // We're prerendering in a mode that does not abort. We resolve the promise without\n // any tracking because we're just transporting a value from server to client where the tracking\n // will be applied.\n return Promise.resolve(underlyingParams)\n}\n\nfunction createStaticPrerenderParams(\n underlyingParams: Params,\n workStore: WorkStore,\n prerenderStore: StaticPrerenderStore\n): Promise {\n switch (prerenderStore.type) {\n case 'prerender':\n case 'prerender-client': {\n const fallbackParams = prerenderStore.fallbackRouteParams\n if (fallbackParams) {\n for (const key in underlyingParams) {\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingParams(\n underlyingParams,\n workStore,\n prerenderStore\n )\n }\n }\n }\n break\n }\n case 'prerender-ppr': {\n const fallbackParams = prerenderStore.fallbackRouteParams\n if (fallbackParams) {\n for (const key in underlyingParams) {\n if (fallbackParams.has(key)) {\n return makeErroringParams(\n underlyingParams,\n fallbackParams,\n workStore,\n prerenderStore\n )\n }\n }\n }\n break\n }\n case 'prerender-legacy':\n break\n default:\n prerenderStore satisfies never\n }\n\n return makeUntrackedParams(underlyingParams)\n}\n\nfunction createRuntimePrerenderParams(\n underlyingParams: Params,\n workUnitStore: PrerenderStoreModernRuntime\n): Promise {\n return delayUntilRuntimeStage(\n workUnitStore,\n makeUntrackedParams(underlyingParams)\n )\n}\n\nfunction createRenderParamsInProd(underlyingParams: Params): Promise {\n return makeUntrackedParams(underlyingParams)\n}\n\nfunction createRenderParamsInDev(\n underlyingParams: Params,\n devFallbackParams: OpaqueFallbackRouteParams | null | undefined,\n workStore: WorkStore,\n requestStore: RequestStore\n): Promise {\n let hasFallbackParams = false\n if (devFallbackParams) {\n for (let key in underlyingParams) {\n if (devFallbackParams.has(key)) {\n hasFallbackParams = true\n break\n }\n }\n }\n\n return makeDynamicallyTrackedParamsWithDevWarnings(\n underlyingParams,\n hasFallbackParams,\n workStore,\n requestStore\n )\n}\n\ninterface CacheLifetime {}\nconst CachedParams = new WeakMap>()\n\nconst fallbackParamsProxyHandler: ProxyHandler> = {\n get: function get(target, prop, receiver) {\n if (prop === 'then' || prop === 'catch' || prop === 'finally') {\n const originalMethod = ReflectAdapter.get(target, prop, receiver)\n\n return {\n [prop]: (...args: unknown[]) => {\n const store = dynamicAccessAsyncStorage.getStore()\n\n if (store) {\n store.abortController.abort(\n new Error(`Accessed fallback \\`params\\` during prerendering.`)\n )\n }\n\n return new Proxy(\n originalMethod.apply(target, args),\n fallbackParamsProxyHandler\n )\n },\n }[prop]\n }\n\n return ReflectAdapter.get(target, prop, receiver)\n },\n}\n\nfunction makeHangingParams(\n underlyingParams: Params,\n workStore: WorkStore,\n prerenderStore: StaticPrerenderStoreModern\n): Promise {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const promise = new Proxy(\n makeHangingPromise(\n prerenderStore.renderSignal,\n workStore.route,\n '`params`'\n ),\n fallbackParamsProxyHandler\n )\n\n CachedParams.set(underlyingParams, promise)\n\n return promise\n}\n\nfunction makeErroringParams(\n underlyingParams: Params,\n fallbackParams: OpaqueFallbackRouteParams,\n workStore: WorkStore,\n prerenderStore: PrerenderStorePPR | PrerenderStoreLegacy\n): Promise {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const augmentedUnderlying = { ...underlyingParams }\n\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = Promise.resolve(augmentedUnderlying)\n CachedParams.set(underlyingParams, promise)\n\n Object.keys(underlyingParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n if (fallbackParams.has(prop)) {\n Object.defineProperty(augmentedUnderlying, prop, {\n get() {\n const expression = describeStringPropertyAccess('params', prop)\n // In most dynamic APIs we also throw if `dynamic = \"error\"` however\n // for params is only dynamic when we're generating a fallback shell\n // and even when `dynamic = \"error\"` we still support generating dynamic\n // fallback shells\n // TODO remove this comment when cacheComponents is the default since there\n // will be no `dynamic = \"error\"`\n if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(\n workStore.route,\n expression,\n prerenderStore.dynamicTracking\n )\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(\n expression,\n workStore,\n prerenderStore\n )\n }\n },\n enumerable: true,\n })\n }\n }\n })\n\n return promise\n}\n\nfunction makeUntrackedParams(underlyingParams: Params): Promise {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const promise = Promise.resolve(underlyingParams)\n CachedParams.set(underlyingParams, promise)\n\n return promise\n}\n\nfunction makeDynamicallyTrackedParamsWithDevWarnings(\n underlyingParams: Params,\n hasFallbackParams: boolean,\n workStore: WorkStore,\n requestStore: RequestStore\n): Promise {\n if (requestStore.asyncApiPromises && hasFallbackParams) {\n // We wrap each instance of params in a `new Promise()`, because deduping\n // them across requests doesn't work anyway and this let us show each\n // await a different set of values. This is important when all awaits\n // are in third party which would otherwise track all the way to the\n // internal params.\n const sharedParamsParent = requestStore.asyncApiPromises.sharedParamsParent\n const promise: Promise = new Promise((resolve, reject) => {\n sharedParamsParent.then(() => resolve(underlyingParams), reject)\n })\n // @ts-expect-error\n promise.displayName = 'params'\n return instrumentParamsPromiseWithDevWarnings(\n underlyingParams,\n promise,\n workStore\n )\n }\n\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = hasFallbackParams\n ? makeDevtoolsIOAwarePromise(\n underlyingParams,\n requestStore,\n RenderStage.Runtime\n )\n : // We don't want to force an environment transition when this params is not part of the fallback params set\n Promise.resolve(underlyingParams)\n\n const proxiedPromise = instrumentParamsPromiseWithDevWarnings(\n underlyingParams,\n promise,\n workStore\n )\n CachedParams.set(underlyingParams, proxiedPromise)\n return proxiedPromise\n}\n\nfunction instrumentParamsPromiseWithDevWarnings(\n underlyingParams: Params,\n promise: Promise,\n workStore: WorkStore\n): Promise {\n // Track which properties we should warn for.\n const proxiedProperties = new Set()\n\n Object.keys(underlyingParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop)\n }\n })\n\n return new Proxy(promise, {\n get(target, prop, receiver) {\n if (typeof prop === 'string') {\n if (\n // We are accessing a property that was proxied to the promise instance\n proxiedProperties.has(prop)\n ) {\n const expression = describeStringPropertyAccess('params', prop)\n warnForSyncAccess(workStore.route, expression)\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n set(target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop)\n }\n return ReflectAdapter.set(target, prop, value, receiver)\n },\n ownKeys(target) {\n const expression = '`...params` or similar expression'\n warnForSyncAccess(workStore.route, expression)\n return Reflect.ownKeys(target)\n },\n })\n}\n\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(\n createParamsAccessError\n)\n\nfunction createParamsAccessError(\n route: string | undefined,\n expression: string\n) {\n const prefix = route ? `Route \"${route}\" ` : 'This route '\n return new Error(\n `${prefix}used ${expression}. ` +\n `\\`params\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n","'use client'\n\nimport type { ParsedUrlQuery } from 'querystring'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\nimport { urlSearchParamsToParsedUrlQuery } from '../route-params'\nimport { SearchParamsContext } from '../../shared/lib/hooks-client-context.shared-runtime'\n\n/**\n * When the Page is a client component we send the params and searchParams to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Page component.\n *\n * additionally we may send promises representing the params and searchParams. We don't ever use these passed\n * values but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations.\n * It is up to the caller to decide if the promises are needed.\n */\nexport function ClientPageRoot({\n Component,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n serverProvidedParams: null | {\n searchParams: ParsedUrlQuery\n params: Params\n promises: Array> | null\n }\n}) {\n let searchParams: ParsedUrlQuery\n let params: Params\n if (serverProvidedParams !== null) {\n searchParams = serverProvidedParams.searchParams\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params as\n // props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n\n // This is an intentional behavior change: when Cache Components is enabled,\n // client segments receive the \"canonical\" search params, not the\n // rewritten ones. Users should either call useSearchParams directly or pass\n // the rewritten ones in from a Server Component.\n // TODO: Log a deprecation error when this object is accessed\n searchParams = urlSearchParamsToParsedUrlQuery(use(SearchParamsContext)!)\n }\n\n if (typeof window === 'undefined') {\n const { workAsyncStorage } =\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n\n let clientSearchParams: Promise\n let clientParams: Promise\n // We are going to instrument the searchParams prop with tracking for the\n // appropriate context. We wrap differently in prerendering vs rendering\n const store = workAsyncStorage.getStore()\n if (!store) {\n throw new InvariantError(\n 'Expected workStore to exist when handling searchParams in a client Page.'\n )\n }\n\n const { createSearchParamsFromClient } =\n require('../../server/request/search-params') as typeof import('../../server/request/search-params')\n clientSearchParams = createSearchParamsFromClient(searchParams, store)\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params, store)\n\n return \n } else {\n const { createRenderSearchParamsFromClient } =\n require('../request/search-params.browser') as typeof import('../request/search-params.browser')\n const clientSearchParams = createRenderSearchParamsFromClient(searchParams)\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n\n return \n }\n}\n","'use client'\n\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\n\n/**\n * When the Page is a client component we send the params to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Segment component.\n *\n * additionally we may send a promise representing params. We don't ever use this passed\n * value but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations\n * such as when cacheComponents is enabled. It is up to the caller to decide if the promises are needed.\n */\nexport function ClientSegmentRoot({\n Component,\n slots,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n slots: { [key: string]: React.ReactNode }\n serverProvidedParams: null | {\n params: Params\n promises: Array> | null\n }\n}) {\n let params: Params\n if (serverProvidedParams !== null) {\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params\n // as props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n }\n\n if (typeof window === 'undefined') {\n const { workAsyncStorage } =\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n\n let clientParams: Promise\n // We are going to instrument the searchParams prop with tracking for the\n // appropriate context. We wrap differently in prerendering vs rendering\n const store = workAsyncStorage.getStore()\n if (!store) {\n throw new InvariantError(\n 'Expected workStore to exist when handling params in a client segment such as a Layout or Template.'\n )\n }\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params, store)\n\n return \n } else {\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n return \n }\n}\n","'use client'\n\n// This is a client component that only renders during SSR,\n// but will be replaced during streaming with an icon insertion script tag.\n// We don't want it to be presented anywhere so it's only visible during streaming,\n// right after the icon meta tags so that browser can pick it up as soon as it's rendered.\n// Note: we don't just emit the script here because we only need the script if it's not in the head,\n// and we need it to be hoistable alongside the other metadata but sync scripts are not hoistable.\nexport const IconMark = () => {\n if (typeof window !== 'undefined') {\n return null\n }\n return \n}\n","'use client'\n\nimport type { ReactNode } from 'react'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from './boundary-constants'\n\n// We use a namespace object to allow us to recover the name of the function\n// at runtime even when production bundling/minification is used.\nconst NameSpace = {\n [METADATA_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [VIEWPORT_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [OUTLET_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [ROOT_LAYOUT_BOUNDARY_NAME]: function ({\n children,\n }: {\n children: ReactNode\n }) {\n return children\n },\n}\n\nexport const MetadataBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[METADATA_BOUNDARY_NAME.slice(0) as typeof METADATA_BOUNDARY_NAME]\n\nexport const ViewportBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[VIEWPORT_BOUNDARY_NAME.slice(0) as typeof VIEWPORT_BOUNDARY_NAME]\n\nexport const OutletBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[OUTLET_BOUNDARY_NAME.slice(0) as typeof OUTLET_BOUNDARY_NAME]\n\nexport const RootLayoutBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[\n ROOT_LAYOUT_BOUNDARY_NAME.slice(0) as typeof ROOT_LAYOUT_BOUNDARY_NAME\n ]\n"],"names":["module","exports","require","vendored","ReactDOM","HTTPAccessErrorStatus","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","ALLOWED_CODES","Set","Object","values","HTTP_ERROR_FALLBACK_ERROR_CODE","isHTTPAccessFallbackError","error","digest","prefix","httpStatus","split","has","Number","getAccessFallbackHTTPStatus","getAccessFallbackErrorTypeByStatus","status","METADATA_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","InvariantError","Error","constructor","message","options","endsWith","name","ReactServerDOMTurbopackClient","createPromiseWithResolvers","resolve","reject","promise","Promise","res","rej","React","useContext","TemplateContext","RenderFromTemplateContext","children","workAsyncStorage","ReflectAdapter","throwToInterruptStaticGeneration","postponeWithTracking","delayUntilRuntimeStage","workUnitAsyncStorage","throwInvariantForMissingStore","describeStringPropertyAccess","wellKnownProperties","makeDevtoolsIOAwarePromise","makeHangingPromise","createDedupedByCallsiteServerErrorLoggerDev","dynamicAccessAsyncStorage","RenderStage","createParamsFromClient","underlyingParams","workStore","workUnitStore","getStore","type","createStaticPrerenderParams","process","env","NODE_ENV","devFallbackParams","createRenderParamsInDev","createRenderParamsInProd","createServerParamsForMetadata","createServerParamsForServerSegment","createServerParamsForRoute","createRuntimePrerenderParams","createPrerenderParamsForClientSegment","fallbackParams","fallbackRouteParams","key","renderSignal","route","prerenderStore","makeHangingParams","makeErroringParams","makeUntrackedParams","requestStore","hasFallbackParams","makeDynamicallyTrackedParamsWithDevWarnings","CachedParams","WeakMap","fallbackParamsProxyHandler","get","target","prop","receiver","originalMethod","args","store","abortController","abort","Proxy","apply","cachedParams","set","augmentedUnderlying","keys","forEach","defineProperty","expression","dynamicTracking","enumerable","asyncApiPromises","sharedParamsParent","then","displayName","instrumentParamsPromiseWithDevWarnings","Runtime","proxiedPromise","proxiedProperties","add","warnForSyncAccess","value","delete","ownKeys","Reflect","createParamsAccessError","LayoutRouterContext","use","urlSearchParamsToParsedUrlQuery","SearchParamsContext","ClientPageRoot","Component","serverProvidedParams","searchParams","params","layoutRouterContext","parentParams","window","clientSearchParams","clientParams","createSearchParamsFromClient","createRenderSearchParamsFromClient","createRenderParamsFromClient","ClientSegmentRoot","slots","IconMark","meta","NameSpace","MetadataBoundary","slice","ViewportBoundary","OutletBoundary","RootLayoutBoundary"],"mappings":"6CAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEC,QAAQ,yBCF1B,IAAMC,EAAwB,CACnCC,UAAW,IACXC,UAAW,IACXC,aAAc,GAChB,EAEMC,AAFL,EAEqB,IAAIC,IAAIC,OAAOC,MAAM,CAACP,IAE/BQ,EAAiC,2BAA0B,AAajE,SAASC,EACdC,CAAc,EAEd,GACmB,UAAjB,OAAOA,GACG,OAAVA,GACA,CAAE,CAAA,WAAYA,CAAAA,CAAI,EACM,UAAxB,AACA,OADOA,EAAMC,MAAM,CAEnB,OAAO,EAET,GAAM,CAACC,EAAQC,EAAW,CAAGH,EAAMC,MAAM,CAACG,KAAK,CAAC,KAEhD,OACEF,IAAWJ,GACXJ,EAAcW,GAAG,CAACC,OAAOH,GAE7B,CAEO,SAASI,EACdP,CAA8B,EAG9B,OAAOM,OAAOH,AADKH,EAAMC,MAAM,CAACG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ClDe,IAItB,CAAA,EAAO,EAAA,GAAA,EAACO,OAAAA,CAAKpH,KAAK,yCCTpB,IAAA,EAEET,EACAC,CAFAF,AAEAE,CAAAA,MADsB,CAOxB,CANEA,AAAoB,EACpBC,CAKI4H,EAAY,CAChB,CAAC/H,EAAAA,IATqB,EACtBC,YAEyB,IAMxBD,CAAuB,CAAE,EALrB,OAK+B,UAAEuB,CAAQ,CAA2B,EACvE,EANyB,KAMlBA,CACT,EACA,CAACtB,EAAAA,sBAAAA,CAAuB,CAAE,SAAU,UAAEsB,CAAQ,CAA2B,EACvE,OAAOA,CACT,EACA,CAACrB,EAAAA,oBAAAA,CAAqB,CAAE,SAAU,UAAEqB,CAAQ,CAA2B,EACrE,OAAOA,CACT,EACA,CAACpB,EAAAA,yBAAAA,CAA0B,CAAE,SAAU,UACrCoB,CAAQ,CAGT,EACC,OAAOA,CACT,CACF,EAEayG,EAGXD,CAAS,CAAC/H,EAAAA,aADV,AADA,SAEUA,CAAuBiI,KAAK,CAAC,GAAoC,CAAA,AAEhEC,EAGXH,CAAS,CAAC9H,EAAAA,aAFV,AACA,SACUA,CAAuBgI,KAAK,CAAC,GAAoC,CAAA,AAEhEE,CARiD,CAW5DJ,CAAS,CAAC7H,EAAAA,WAFV,AACA,IAXgF,KAYtEA,CAAqB+H,KAAK,CAAC,GAAkC,CAE5DG,AAF4D,EAKvEL,CAX4D,AAWnD,CACP5H,EAAAA,eAHF,AACA,EAXgF,QAa9EA,CAA0B8H,KAAK,CAAC,EAP0B,CAQ3D,CAAA,kBAT+E,qBAMpB,oBADoB","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_752cd4f9._.js b/.next/server/chunks/ssr/549ce_next_dist_752cd4f9._.js index c5c9d5b..dae94d2 100644 --- a/.next/server/chunks/ssr/549ce_next_dist_752cd4f9._.js +++ b/.next/server/chunks/ssr/549ce_next_dist_752cd4f9._.js @@ -1,3 +1,3 @@ -module.exports=[97521,(a,b,c)=>{b.exports=a.r(18622)},30177,a=>{a.n(a.i(87108))},70237,(a,b,c)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/cookie/");var a,c,d,e,f={};f.parse=function(b,c){if("string"!=typeof b)throw TypeError("argument str must be a string");for(var e={},f=b.split(d),g=(c||{}).decode||a,h=0;h{(()=>{"use strict";var a={695:a=>{var b=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function c(a){var b=a&&Date.parse(a);return"number"==typeof b?b:NaN}a.exports=function(a,d){var e=a["if-modified-since"],f=a["if-none-match"];if(!e&&!f)return!1;var g=a["cache-control"];if(g&&b.test(g))return!1;if(f&&"*"!==f){var h=d.etag;if(!h)return!1;for(var i=!0,j=function(a){for(var b=0,c=[],d=0,e=0,f=a.length;e{(()=>{"use strict";var a={56:a=>{a.exports=function(a,b){return"string"==typeof a?g(a):"number"==typeof a?f(a,b):null},a.exports.format=f,a.exports.parse=g;var b=/\B(?=(\d{3})+(?!\d))/g,c=/(?:\.0*|(\.[^0]+)0+)$/,d={b:1,kb:1024,mb:1048576,gb:0x40000000,tb:0x10000000000,pb:0x4000000000000},e=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function f(a,e){if(!Number.isFinite(a))return null;var f=Math.abs(a),g=e&&e.thousandsSeparator||"",h=e&&e.unitSeparator||"",i=e&&void 0!==e.decimalPlaces?e.decimalPlaces:2,j=!!(e&&e.fixedDecimals),k=e&&e.unit||"";k&&d[k.toLowerCase()]||(k=f>=d.pb?"PB":f>=d.tb?"TB":f>=d.gb?"GB":f>=d.mb?"MB":f>=d.kb?"KB":"B");var l=(a/d[k.toLowerCase()]).toFixed(i);return j||(l=l.replace(c,"$1")),g&&(l=l.split(".").map(function(a,c){return 0===c?a.replace(b,g):a}).join(".")),l+h+k}function g(a){if("number"==typeof a&&!isNaN(a))return a;if("string"!=typeof a)return null;var b,c=e.exec(a),f="b";return c?(b=parseFloat(c[1]),f=c[4].toLowerCase()):(b=parseInt(a,10),f="b"),Math.floor(d[f]*b)}}},c={};function d(b){var e=c[b];if(void 0!==e)return e.exports;var f=c[b]={exports:{}},g=!0;try{a[b](f,f.exports,d),g=!1}finally{g&&delete c[b]}return f.exports}d.ab="/ROOT/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/bytes/",b.exports=d(56)})()},65027,69298,78044,76776,97842,57110,87730,77560,91442,30991,20261,75512,16266,78356,13030,a=>{"use strict";function b(a){return a.isOnDemandRevalidate?"on-demand":a.isStaticGeneration?"stale":void 0}function c(a){return a.default||a}a.s(["getRevalidateReason",()=>b],65027),a.s(["interopDefault",()=>c],69298);var d,e,f=a.i(75556);function g(a){for(let b of f.FLIGHT_HEADERS)delete a[b]}a.s(["stripFlightHeaders",()=>g],78044);var h=a.i(36857);class i extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new i}}class j extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,d){if("symbol"==typeof c)return h.ReflectAdapter.get(b,c,d);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);if(void 0!==f)return h.ReflectAdapter.get(b,f,d)},set(b,c,d,e){if("symbol"==typeof c)return h.ReflectAdapter.set(b,c,d,e);let f=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);return h.ReflectAdapter.set(b,g??c,d,e)},has(b,c){if("symbol"==typeof c)return h.ReflectAdapter.has(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0!==e&&h.ReflectAdapter.has(b,e)},deleteProperty(b,c){if("symbol"==typeof c)return h.ReflectAdapter.deleteProperty(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0===e||h.ReflectAdapter.deleteProperty(b,e)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return i.callable;default:return h.ReflectAdapter.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new j(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}var k=a.i(80203);a.i(53439),a.i(20044),Symbol("__next_preview_data");let l=Symbol("__prerender_bypass");var m=a.i(58350),n=a.i(67850);class o{constructor(a,b,c){this.method=a,this.url=b,this.body=c}get cookies(){var b;return this._cookies?this._cookies:this._cookies=(b=this.headers,function(){let{cookie:c}=b;if(!c)return{};let{parse:d}=a.r(70237);return d(Array.isArray(c)?c.join("; "):c)})()}}class p{constructor(a){this.destination=a}redirect(a,b){return this.setHeader("Location",a),this.statusCode=b,b===n.RedirectStatusCode.PermanentRedirect&&this.setHeader("Refresh",`0;url=${a}`),this}}class q extends o{static #a=e=m.NEXT_REQUEST_META;constructor(a){var b;super(a.method.toUpperCase(),a.url,a),this._req=a,this.headers=this._req.headers,this.fetchMetrics=null==(b=this._req)?void 0:b.fetchMetrics,this[e]=this._req[m.NEXT_REQUEST_META]||{},this.streaming=!1}get originalRequest(){return this._req[m.NEXT_REQUEST_META]=this[m.NEXT_REQUEST_META],this._req.url=this.url,this._req.cookies=this.cookies,this._req}set originalRequest(a){this._req=a}stream(){if(this.streaming)throw Object.defineProperty(Error("Invariant: NodeNextRequest.stream() can only be called once"),"__NEXT_ERROR_CODE",{value:"E467",enumerable:!1,configurable:!0});return this.streaming=!0,new ReadableStream({start:a=>{this._req.on("data",b=>{a.enqueue(new Uint8Array(b))}),this._req.on("end",()=>{a.close()}),this._req.on("error",b=>{a.error(b)})}})}}class r extends p{get originalResponse(){return l in this&&(this._res[l]=this[l]),this._res}constructor(a){super(a),this._res=a,this.textBody=void 0}get sent(){return this._res.finished||this._res.headersSent}get statusCode(){return this._res.statusCode}set statusCode(a){this._res.statusCode=a}get statusMessage(){return this._res.statusMessage}set statusMessage(a){this._res.statusMessage=a}setHeader(a,b){return this._res.setHeader(a,b),this}removeHeader(a){return this._res.removeHeader(a),this}getHeaderValues(a){let b=this._res.getHeader(a);if(void 0!==b)return(Array.isArray(b)?b:[b]).map(a=>a.toString())}hasHeader(a){return this._res.hasHeader(a)}getHeader(a){let b=this.getHeaderValues(a);return Array.isArray(b)?b.join(","):void 0}getHeaders(){return this._res.getHeaders()}appendHeader(a,b){let c=this.getHeaderValues(a)??[];return c.includes(b)||this._res.setHeader(a,[...c,b]),this}body(a){return this.textBody=a,this}send(){this._res.end(this.textBody)}onClose(a){this.originalResponse.on("close",a)}}function s(a){return void 0!==a&&("boolean"==typeof a?a:"incremental"===a)}a.s(["NodeNextRequest",()=>q,"NodeNextResponse",()=>r],76776),a.s(["checkIsAppPPREnabled",()=>s],97842),a.i(87108);var t=a.i(50975),u=a.i(32114);function v(a){var b;return(b=a.split("/").reduce((a,b,c,d)=>!b||(0,u.isGroupSegment)(b)||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:`${a}/${b}`,"")).startsWith("/")?b:`/${b}`}a.s(["normalizeAppPath",()=>v],57110);let w=["(..)(..)","(.)","(..)","(...)"];function x(a){return void 0!==a.split("/").find(a=>w.find(b=>a.startsWith(b)))}function y(a){var b;let c;if(""===a)return null;let d=w.find(b=>a.startsWith(b)),e=(b=a,((c=w.find(a=>b.startsWith(a)))&&(b=b.slice(c.length)),b.startsWith("[[...")&&b.endsWith("]]"))?{paramType:"optional-catchall",paramName:b.slice(5,-2)}:b.startsWith("[...")&&b.endsWith("]")?{paramType:c?`catchall-intercepted-${c}`:"catchall",paramName:b.slice(4,-1)}:b.startsWith("[")&&b.endsWith("]")?{paramType:c?`dynamic-intercepted-${c}`:"dynamic",paramName:b.slice(1,-1)}:null);return e?{type:"dynamic",name:a,param:e,interceptionMarker:d}:a.startsWith("(")&&a.endsWith(")")?{type:"route-group",name:a,interceptionMarker:d}:a.startsWith("@")?{type:"parallel-route",name:a,interceptionMarker:d}:{type:"static",name:a,interceptionMarker:d}}function z(a){let[b,c,d]=a,{layout:e,template:f}=d,{page:g}=d;g=b===u.DEFAULT_SEGMENT_KEY?d.defaultPage:g;let h=e?.[1]||f?.[1]||g?.[1];return{page:g,segment:b,modules:d,conventionPath:h,parallelRoutes:c}}function A(a){switch(a){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}function B(a,b,c,d,e){switch(b){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let f=[];for(let a=c;a0)return f;if("optional-catchall"===b)return;throw Object.defineProperty(new t.InvariantError(`Unexpected empty path segments match for a route "${d.pathname}" with param "${a}" of type "${b}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(cx],87730);let C={catchall:"c","catchall-intercepted-(..)(..)":"ci(..)(..)","catchall-intercepted-(.)":"ci(.)","catchall-intercepted-(..)":"ci(..)","catchall-intercepted-(...)":"ci(...)","optional-catchall":"oc",dynamic:"d","dynamic-intercepted-(..)(..)":"di(..)(..)","dynamic-intercepted-(.)":"di(.)","dynamic-intercepted-(..)":"di(..)","dynamic-intercepted-(...)":"di(...)"};function D(a){if(0===a.length)return null;let b=Math.random().toString(16).slice(2),c=new Map;for(let{paramName:d,paramType:e}of a)c.set(d,[`%%drp:${d}:${b}%%`,C[e]]);return c}function E(a,b){let c=function a(b,c){let d,e,f,g=b.split("/").filter(Boolean),h=[];for(let i of g){let g=y(i);if(g){if(c&&("route-group"===g.type||"parallel-route"===g.type))throw Object.defineProperty(new t.InvariantError(`${b} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,configurable:!0});if(h.push(g),g.interceptionMarker){let h=b.split(g.interceptionMarker);if(2!==h.length)throw Object.defineProperty(Error(`Invalid interception route: ${b}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});e=c?a(h[0],!0):a(h[0],!1),f=c?a(h[1],!0):a(h[1],!1),d=g.interceptionMarker}}}let i=h.filter(a=>"dynamic"===a.type);return{normalized:c,pathname:b,segments:h,dynamicSegments:i,interceptionMarker:d,interceptingRoute:e,interceptedRoute:f}}(a,!0),{pathnameRouteParamSegments:d,params:e}=function(a,b){let c=[],d={},e=[{tree:a,depth:0,currentPath:[]}];for(;e.length>0;){let{tree:a,depth:f,currentPath:g}=e.shift(),{segment:h,parallelRoutes:i}=z(a),j=g,k=f,l=y(h);if(l&&"route-group"!==l.type&&"parallel-route"!==l.type&&(j=[...g,l],k=f+1),(null==l?void 0:l.type)==="dynamic"){let{paramName:a,paramType:e}=l.param;if(f({paramName:a,paramType:b}));return!function(a,b,c,d){let e=[{tree:a,depth:0}];for(;e.length>0;){let{tree:a,depth:f}=e.pop(),{segment:g,parallelRoutes:h}=z(a),i=y(g);if((null==i?void 0:i.type)==="dynamic"&&!b.hasOwnProperty(i.param.paramName)&&!d.some(a=>a.paramName===i.param.paramName)){let{paramName:a,paramType:e}=i.param,g=B(a,e,f,c,b);void 0!==g?b[a]=g:"optional-catchall"!==e&&d.push({paramName:a,paramType:e})}let j=f;for(let a of(i&&"route-group"!==i.type&&"parallel-route"!==i.type&&j++,Object.values(h)))e.push({tree:a,depth:j})}}(b.userland.loaderTree,e,c,f),D(f)}a.s(["createOpaqueFallbackRouteParams",()=>D,"getFallbackRouteParams",()=>E],77560);var F=a.i(11982);a.i(47950);var G=a.i(56704);let H=Symbol.for("next.server.manifests"),I=globalThis;function J({page:a,clientReferenceManifest:b,serverActionsManifest:c}){let d=I[H];if(d)d.clientReferenceManifestsPerRoute.set(v(a),b),d.serverActionsManifest=c;else{let d,e=new Map([[v(a),b]]),f=(d=new Map,new Proxy({},{get(a,b){let c=G.workAsyncStorage.getStore();switch(b){case"moduleLoading":case"entryCSSFiles":case"entryJSFiles":{if(!c)throw Object.defineProperty(new t.InvariantError(`Cannot access "${b}" without a work store.`),"__NEXT_ERROR_CODE",{value:"E952",enumerable:!1,configurable:!0});let a=e.get(c.route);if(!a)throw Object.defineProperty(new t.InvariantError(`The client reference manifest for route "${c.route}" does not exist.`),"__NEXT_ERROR_CODE",{value:"E951",enumerable:!1,configurable:!0});return a[b]}case"clientModules":case"rscModuleMapping":case"edgeRscModuleMapping":case"ssrModuleMapping":case"edgeSSRModuleMapping":{let a=d.get(b);!a&&(a=new Proxy({},{get(a,c){let d=G.workAsyncStorage.getStore();if(d){let a=e.get(d.route);if(null==a?void 0:a[b][c])return a[b][c]}else for(let a of e.values()){let d=a[b][c];if(void 0!==d)return d}}}),d.set(b,a));return a}default:throw Object.defineProperty(new t.InvariantError(`This is a proxied client reference manifest. The property "${String(b)}" is not handled.`),"__NEXT_ERROR_CODE",{value:"E953",enumerable:!1,configurable:!0})}}}));I[H]={clientReferenceManifestsPerRoute:e,proxiedClientReferenceManifest:f,serverActionsManifest:c,serverModuleMap:new Proxy({},{get:(a,b)=>{var c,d,e;let f,g=null==(d=function(){let a=I[H];if(!a)throw Object.defineProperty(new t.InvariantError("The manifests singleton was not initialized."),"__NEXT_ERROR_CODE",{value:"E950",enumerable:!1,configurable:!0});return a}().serverActionsManifest.node)||null==(c=d[b])?void 0:c.workers;if(!g)return;let h=G.workAsyncStorage.getStore();if(!(f=h?g[e=h.page,(0,F.pathHasPrefix)(e,"app")?e:"app"+e]:Object.values(g).at(0)))return;let{moduleId:i,async:j}=f;return{id:i,name:b,chunks:[],async:j}}})}}}a.s(["setManifestsSingleton",()=>J],91442);let K=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i,L=/Googlebot(?!-)|Googlebot$/i,M=K.source;function N(a){return L.test(a)||K.test(a)}function O(a){return L.test(a)?"dom":K.test(a)?"html":void 0}function P(a,b){let c=RegExp(b||M,"i");return!(a&&c.test(a))}function Q(a){return"html"===O(a.headers["user-agent"]||"")}function R(a){let b,c,d,e,g;return(a.headers instanceof Headers?(b=a.headers.get(f.ACTION_HEADER)??null,c=a.headers.get("content-type")):(b=a.headers[f.ACTION_HEADER]??null,c=a.headers["content-type"]??null),d="POST"===a.method&&"application/x-www-form-urlencoded"===c,e=!!("POST"===a.method&&(null==c?void 0:c.startsWith("multipart/form-data"))),g=void 0!==b&&"string"==typeof b&&"POST"===a.method,{actionId:b,isURLEncodedAction:d,isMultipartAction:e,isFetchAction:g,isPossibleServerAction:!!(g||d||e)}).isPossibleServerAction}a.s(["HTML_LIMITED_BOT_UA_RE_STRING",0,M,"getBotType",()=>O,"isBot",()=>N],30991),a.s(["isHtmlBotRequest",()=>Q,"shouldServeStreamingMetadata",()=>P],20261),a.s(["getIsPossibleServerAction",()=>R],75512);var S=((d={}).BLOCKING_STATIC_RENDER="BLOCKING_STATIC_RENDER",d.PRERENDER="PRERENDER",d.NOT_FOUND="NOT_FOUND",d);function T(a){if("string"==typeof a)return"PRERENDER";if(null===a)return"BLOCKING_STATIC_RENDER";if(!1===a)return"NOT_FOUND";if(void 0!==a)throw Object.defineProperty(Error(`Invalid fallback option: ${a}. Fallback option must be a string, null, undefined, or false.`),"__NEXT_ERROR_CODE",{value:"E285",enumerable:!1,configurable:!0})}a.s(["FallbackMode",()=>S,"parseFallbackField",()=>T],16266),"u">typeof performance&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);var U=a.i(3285);async function V({req:a,res:b,result:c,generateEtags:d,poweredByHeader:e,cacheControl:f}){if(b.finished||b.headersSent)return;e&&c.contentType===k.HTML_CONTENT_TYPE_HEADER&&b.setHeader("X-Powered-By","Next.js"),f&&!b.getHeader("Cache-Control")&&b.setHeader("Cache-Control",function({revalidate:a,expire:b}){let c="number"==typeof a&&void 0!==b&&a(b?'W/"':'"')+(a=>{let b=a.length,c=0,d=0,e=8997,f=0,g=33826,h=0,i=40164,j=0,k=52210;for(;c>>16,e=65535&d,h+=f>>>16,g=65535&f,k=j+(h>>>16)&65535,i=65535&h;return(15&k)*0x1000000000000+0x100000000*i+65536*g+(e^k>>4)})(a).toString(36)+a.length.toString(36)+'"')(g);if(c&&b.setHeader("ETag",c),(0,U.default)(a.headers,{etag:c})&&(b.statusCode=304,b.end(),1))return}(!b.getHeader("Content-Type")&&c.contentType&&b.setHeader("Content-Type",c.contentType),g&&b.setHeader("Content-Length",Buffer.byteLength(g)),"HEAD"===a.method)?b.end(null):null!==g?b.end(g):await c.pipeToNodeResponse(b)}function W(b){let c=a.r(96183).parse(b??"100 MB");return null===c||isNaN(c)||c<1?void 0:c}a.s(["sendRenderResult",()=>V],78356),a.s(["parseMaxPostponedStateSize",()=>W],13030)},79466,a=>{a.n(a.i(13985))},61178,a=>{a.n(a.i(85896))}]; +module.exports=[97521,(a,b,c)=>{b.exports=a.r(18622)},30177,a=>{a.n(a.i(87108))},70237,(a,b,c)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/cookie/");var a,c,d,e,f={};f.parse=function(b,c){if("string"!=typeof b)throw TypeError("argument str must be a string");for(var e={},f=b.split(d),g=(c||{}).decode||a,h=0;h{(()=>{"use strict";var a={695:a=>{var b=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function c(a){var b=a&&Date.parse(a);return"number"==typeof b?b:NaN}a.exports=function(a,d){var e=a["if-modified-since"],f=a["if-none-match"];if(!e&&!f)return!1;var g=a["cache-control"];if(g&&b.test(g))return!1;if(f&&"*"!==f){var h=d.etag;if(!h)return!1;for(var i=!0,j=function(a){for(var b=0,c=[],d=0,e=0,f=a.length;e{(()=>{"use strict";var a={56:a=>{a.exports=function(a,b){return"string"==typeof a?g(a):"number"==typeof a?f(a,b):null},a.exports.format=f,a.exports.parse=g;var b=/\B(?=(\d{3})+(?!\d))/g,c=/(?:\.0*|(\.[^0]+)0+)$/,d={b:1,kb:1024,mb:1048576,gb:0x40000000,tb:0x10000000000,pb:0x4000000000000},e=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function f(a,e){if(!Number.isFinite(a))return null;var f=Math.abs(a),g=e&&e.thousandsSeparator||"",h=e&&e.unitSeparator||"",i=e&&void 0!==e.decimalPlaces?e.decimalPlaces:2,j=!!(e&&e.fixedDecimals),k=e&&e.unit||"";k&&d[k.toLowerCase()]||(k=f>=d.pb?"PB":f>=d.tb?"TB":f>=d.gb?"GB":f>=d.mb?"MB":f>=d.kb?"KB":"B");var l=(a/d[k.toLowerCase()]).toFixed(i);return j||(l=l.replace(c,"$1")),g&&(l=l.split(".").map(function(a,c){return 0===c?a.replace(b,g):a}).join(".")),l+h+k}function g(a){if("number"==typeof a&&!isNaN(a))return a;if("string"!=typeof a)return null;var b,c=e.exec(a),f="b";return c?(b=parseFloat(c[1]),f=c[4].toLowerCase()):(b=parseInt(a,10),f="b"),Math.floor(d[f]*b)}}},c={};function d(b){var e=c[b];if(void 0!==e)return e.exports;var f=c[b]={exports:{}},g=!0;try{a[b](f,f.exports,d),g=!1}finally{g&&delete c[b]}return f.exports}d.ab="/ROOT/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/bytes/",b.exports=d(56)})()},65027,69298,78044,76776,97842,57110,87730,77560,91442,30991,20261,75512,98865,78356,13030,a=>{"use strict";function b(a){return a.isOnDemandRevalidate?"on-demand":a.isStaticGeneration?"stale":void 0}function c(a){return a.default||a}a.s(["getRevalidateReason",()=>b],65027),a.s(["interopDefault",()=>c],69298);var d,e,f=a.i(75556);function g(a){for(let b of f.FLIGHT_HEADERS)delete a[b]}a.s(["stripFlightHeaders",()=>g],78044);var h=a.i(36857);class i extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new i}}class j extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,d){if("symbol"==typeof c)return h.ReflectAdapter.get(b,c,d);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);if(void 0!==f)return h.ReflectAdapter.get(b,f,d)},set(b,c,d,e){if("symbol"==typeof c)return h.ReflectAdapter.set(b,c,d,e);let f=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);return h.ReflectAdapter.set(b,g??c,d,e)},has(b,c){if("symbol"==typeof c)return h.ReflectAdapter.has(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0!==e&&h.ReflectAdapter.has(b,e)},deleteProperty(b,c){if("symbol"==typeof c)return h.ReflectAdapter.deleteProperty(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0===e||h.ReflectAdapter.deleteProperty(b,e)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return i.callable;default:return h.ReflectAdapter.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new j(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}var k=a.i(80203);a.i(53439),a.i(20044),Symbol("__next_preview_data");let l=Symbol("__prerender_bypass");var m=a.i(58350),n=a.i(67850);class o{constructor(a,b,c){this.method=a,this.url=b,this.body=c}get cookies(){var b;return this._cookies?this._cookies:this._cookies=(b=this.headers,function(){let{cookie:c}=b;if(!c)return{};let{parse:d}=a.r(70237);return d(Array.isArray(c)?c.join("; "):c)})()}}class p{constructor(a){this.destination=a}redirect(a,b){return this.setHeader("Location",a),this.statusCode=b,b===n.RedirectStatusCode.PermanentRedirect&&this.setHeader("Refresh",`0;url=${a}`),this}}class q extends o{static #a=e=m.NEXT_REQUEST_META;constructor(a){var b;super(a.method.toUpperCase(),a.url,a),this._req=a,this.headers=this._req.headers,this.fetchMetrics=null==(b=this._req)?void 0:b.fetchMetrics,this[e]=this._req[m.NEXT_REQUEST_META]||{},this.streaming=!1}get originalRequest(){return this._req[m.NEXT_REQUEST_META]=this[m.NEXT_REQUEST_META],this._req.url=this.url,this._req.cookies=this.cookies,this._req}set originalRequest(a){this._req=a}stream(){if(this.streaming)throw Object.defineProperty(Error("Invariant: NodeNextRequest.stream() can only be called once"),"__NEXT_ERROR_CODE",{value:"E467",enumerable:!1,configurable:!0});return this.streaming=!0,new ReadableStream({start:a=>{this._req.on("data",b=>{a.enqueue(new Uint8Array(b))}),this._req.on("end",()=>{a.close()}),this._req.on("error",b=>{a.error(b)})}})}}class r extends p{get originalResponse(){return l in this&&(this._res[l]=this[l]),this._res}constructor(a){super(a),this._res=a,this.textBody=void 0}get sent(){return this._res.finished||this._res.headersSent}get statusCode(){return this._res.statusCode}set statusCode(a){this._res.statusCode=a}get statusMessage(){return this._res.statusMessage}set statusMessage(a){this._res.statusMessage=a}setHeader(a,b){return this._res.setHeader(a,b),this}removeHeader(a){return this._res.removeHeader(a),this}getHeaderValues(a){let b=this._res.getHeader(a);if(void 0!==b)return(Array.isArray(b)?b:[b]).map(a=>a.toString())}hasHeader(a){return this._res.hasHeader(a)}getHeader(a){let b=this.getHeaderValues(a);return Array.isArray(b)?b.join(","):void 0}getHeaders(){return this._res.getHeaders()}appendHeader(a,b){let c=this.getHeaderValues(a)??[];return c.includes(b)||this._res.setHeader(a,[...c,b]),this}body(a){return this.textBody=a,this}send(){this._res.end(this.textBody)}onClose(a){this.originalResponse.on("close",a)}}function s(a){return void 0!==a&&("boolean"==typeof a?a:"incremental"===a)}a.s(["NodeNextRequest",()=>q,"NodeNextResponse",()=>r],76776),a.s(["checkIsAppPPREnabled",()=>s],97842),a.i(87108);var t=a.i(50975),u=a.i(32114);function v(a){var b;return(b=a.split("/").reduce((a,b,c,d)=>!b||(0,u.isGroupSegment)(b)||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:`${a}/${b}`,"")).startsWith("/")?b:`/${b}`}a.s(["normalizeAppPath",()=>v],57110);let w=["(..)(..)","(.)","(..)","(...)"];function x(a){return void 0!==a.split("/").find(a=>w.find(b=>a.startsWith(b)))}function y(a){var b;let c;if(""===a)return null;let d=w.find(b=>a.startsWith(b)),e=(b=a,((c=w.find(a=>b.startsWith(a)))&&(b=b.slice(c.length)),b.startsWith("[[...")&&b.endsWith("]]"))?{paramType:"optional-catchall",paramName:b.slice(5,-2)}:b.startsWith("[...")&&b.endsWith("]")?{paramType:c?`catchall-intercepted-${c}`:"catchall",paramName:b.slice(4,-1)}:b.startsWith("[")&&b.endsWith("]")?{paramType:c?`dynamic-intercepted-${c}`:"dynamic",paramName:b.slice(1,-1)}:null);return e?{type:"dynamic",name:a,param:e,interceptionMarker:d}:a.startsWith("(")&&a.endsWith(")")?{type:"route-group",name:a,interceptionMarker:d}:a.startsWith("@")?{type:"parallel-route",name:a,interceptionMarker:d}:{type:"static",name:a,interceptionMarker:d}}function z(a){let[b,c,d]=a,{layout:e,template:f}=d,{page:g}=d;g=b===u.DEFAULT_SEGMENT_KEY?d.defaultPage:g;let h=e?.[1]||f?.[1]||g?.[1];return{page:g,segment:b,modules:d,conventionPath:h,parallelRoutes:c}}function A(a){switch(a){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}function B(a,b,c,d,e){switch(b){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let f=[];for(let a=c;a0)return f;if("optional-catchall"===b)return;throw Object.defineProperty(new t.InvariantError(`Unexpected empty path segments match for a route "${d.pathname}" with param "${a}" of type "${b}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(cx],87730);let C={catchall:"c","catchall-intercepted-(..)(..)":"ci(..)(..)","catchall-intercepted-(.)":"ci(.)","catchall-intercepted-(..)":"ci(..)","catchall-intercepted-(...)":"ci(...)","optional-catchall":"oc",dynamic:"d","dynamic-intercepted-(..)(..)":"di(..)(..)","dynamic-intercepted-(.)":"di(.)","dynamic-intercepted-(..)":"di(..)","dynamic-intercepted-(...)":"di(...)"};function D(a){if(0===a.length)return null;let b=Math.random().toString(16).slice(2),c=new Map;for(let{paramName:d,paramType:e}of a)c.set(d,[`%%drp:${d}:${b}%%`,C[e]]);return c}function E(a,b){let c=function a(b,c){let d,e,f,g=b.split("/").filter(Boolean),h=[];for(let i of g){let g=y(i);if(g){if(c&&("route-group"===g.type||"parallel-route"===g.type))throw Object.defineProperty(new t.InvariantError(`${b} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,configurable:!0});if(h.push(g),g.interceptionMarker){let h=b.split(g.interceptionMarker);if(2!==h.length)throw Object.defineProperty(Error(`Invalid interception route: ${b}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});e=c?a(h[0],!0):a(h[0],!1),f=c?a(h[1],!0):a(h[1],!1),d=g.interceptionMarker}}}let i=h.filter(a=>"dynamic"===a.type);return{normalized:c,pathname:b,segments:h,dynamicSegments:i,interceptionMarker:d,interceptingRoute:e,interceptedRoute:f}}(a,!0),{pathnameRouteParamSegments:d,params:e}=function(a,b){let c=[],d={},e=[{tree:a,depth:0,currentPath:[]}];for(;e.length>0;){let{tree:a,depth:f,currentPath:g}=e.shift(),{segment:h,parallelRoutes:i}=z(a),j=g,k=f,l=y(h);if(l&&"route-group"!==l.type&&"parallel-route"!==l.type&&(j=[...g,l],k=f+1),(null==l?void 0:l.type)==="dynamic"){let{paramName:a,paramType:e}=l.param;if(f({paramName:a,paramType:b}));return!function(a,b,c,d){let e=[{tree:a,depth:0}];for(;e.length>0;){let{tree:a,depth:f}=e.pop(),{segment:g,parallelRoutes:h}=z(a),i=y(g);if((null==i?void 0:i.type)==="dynamic"&&!b.hasOwnProperty(i.param.paramName)&&!d.some(a=>a.paramName===i.param.paramName)){let{paramName:a,paramType:e}=i.param,g=B(a,e,f,c,b);void 0!==g?b[a]=g:"optional-catchall"!==e&&d.push({paramName:a,paramType:e})}let j=f;for(let a of(i&&"route-group"!==i.type&&"parallel-route"!==i.type&&j++,Object.values(h)))e.push({tree:a,depth:j})}}(b.userland.loaderTree,e,c,f),D(f)}a.s(["createOpaqueFallbackRouteParams",()=>D,"getFallbackRouteParams",()=>E],77560);var F=a.i(11982);a.i(47950);var G=a.i(56704);let H=Symbol.for("next.server.manifests"),I=globalThis;function J({page:a,clientReferenceManifest:b,serverActionsManifest:c}){let d=I[H];if(d)d.clientReferenceManifestsPerRoute.set(v(a),b),d.serverActionsManifest=c;else{let d,e=new Map([[v(a),b]]),f=(d=new Map,new Proxy({},{get(a,b){let c=G.workAsyncStorage.getStore();switch(b){case"moduleLoading":case"entryCSSFiles":case"entryJSFiles":{if(!c)throw Object.defineProperty(new t.InvariantError(`Cannot access "${b}" without a work store.`),"__NEXT_ERROR_CODE",{value:"E952",enumerable:!1,configurable:!0});let a=e.get(c.route);if(!a)throw Object.defineProperty(new t.InvariantError(`The client reference manifest for route "${c.route}" does not exist.`),"__NEXT_ERROR_CODE",{value:"E951",enumerable:!1,configurable:!0});return a[b]}case"clientModules":case"rscModuleMapping":case"edgeRscModuleMapping":case"ssrModuleMapping":case"edgeSSRModuleMapping":{let a=d.get(b);!a&&(a=new Proxy({},{get(a,c){let d=G.workAsyncStorage.getStore();if(d){let a=e.get(d.route);if(null==a?void 0:a[b][c])return a[b][c]}else for(let a of e.values()){let d=a[b][c];if(void 0!==d)return d}}}),d.set(b,a));return a}default:throw Object.defineProperty(new t.InvariantError(`This is a proxied client reference manifest. The property "${String(b)}" is not handled.`),"__NEXT_ERROR_CODE",{value:"E953",enumerable:!1,configurable:!0})}}}));I[H]={clientReferenceManifestsPerRoute:e,proxiedClientReferenceManifest:f,serverActionsManifest:c,serverModuleMap:new Proxy({},{get:(a,b)=>{var c,d,e;let f,g=null==(d=function(){let a=I[H];if(!a)throw Object.defineProperty(new t.InvariantError("The manifests singleton was not initialized."),"__NEXT_ERROR_CODE",{value:"E950",enumerable:!1,configurable:!0});return a}().serverActionsManifest.node)||null==(c=d[b])?void 0:c.workers;if(!g)return;let h=G.workAsyncStorage.getStore();if(!(f=h?g[e=h.page,(0,F.pathHasPrefix)(e,"app")?e:"app"+e]:Object.values(g).at(0)))return;let{moduleId:i,async:j}=f;return{id:i,name:b,chunks:[],async:j}}})}}}a.s(["setManifestsSingleton",()=>J],91442);let K=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i,L=/Googlebot(?!-)|Googlebot$/i,M=K.source;function N(a){return L.test(a)||K.test(a)}function O(a){return L.test(a)?"dom":K.test(a)?"html":void 0}function P(a,b){let c=RegExp(b||M,"i");return!(a&&c.test(a))}function Q(a){return"html"===O(a.headers["user-agent"]||"")}function R(a){let b,c,d,e,g;return(a.headers instanceof Headers?(b=a.headers.get(f.ACTION_HEADER)??null,c=a.headers.get("content-type")):(b=a.headers[f.ACTION_HEADER]??null,c=a.headers["content-type"]??null),d="POST"===a.method&&"application/x-www-form-urlencoded"===c,e=!!("POST"===a.method&&(null==c?void 0:c.startsWith("multipart/form-data"))),g=void 0!==b&&"string"==typeof b&&"POST"===a.method,{actionId:b,isURLEncodedAction:d,isMultipartAction:e,isFetchAction:g,isPossibleServerAction:!!(g||d||e)}).isPossibleServerAction}a.s(["HTML_LIMITED_BOT_UA_RE_STRING",0,M,"getBotType",()=>O,"isBot",()=>N],30991),a.s(["isHtmlBotRequest",()=>Q,"shouldServeStreamingMetadata",()=>P],20261),a.s(["getIsPossibleServerAction",()=>R],75512);var S=((d={}).BLOCKING_STATIC_RENDER="BLOCKING_STATIC_RENDER",d.PRERENDER="PRERENDER",d.NOT_FOUND="NOT_FOUND",d);function T(a){if("string"==typeof a)return"PRERENDER";if(null===a)return"BLOCKING_STATIC_RENDER";if(!1===a)return"NOT_FOUND";if(void 0!==a)throw Object.defineProperty(Error(`Invalid fallback option: ${a}. Fallback option must be a string, null, undefined, or false.`),"__NEXT_ERROR_CODE",{value:"E285",enumerable:!1,configurable:!0})}a.s(["FallbackMode",()=>S,"parseFallbackField",()=>T],98865),"u">typeof performance&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);var U=a.i(3285);async function V({req:a,res:b,result:c,generateEtags:d,poweredByHeader:e,cacheControl:f}){if(b.finished||b.headersSent)return;e&&c.contentType===k.HTML_CONTENT_TYPE_HEADER&&b.setHeader("X-Powered-By","Next.js"),f&&!b.getHeader("Cache-Control")&&b.setHeader("Cache-Control",function({revalidate:a,expire:b}){let c="number"==typeof a&&void 0!==b&&a(b?'W/"':'"')+(a=>{let b=a.length,c=0,d=0,e=8997,f=0,g=33826,h=0,i=40164,j=0,k=52210;for(;c>>16,e=65535&d,h+=f>>>16,g=65535&f,k=j+(h>>>16)&65535,i=65535&h;return(15&k)*0x1000000000000+0x100000000*i+65536*g+(e^k>>4)})(a).toString(36)+a.length.toString(36)+'"')(g);if(c&&b.setHeader("ETag",c),(0,U.default)(a.headers,{etag:c})&&(b.statusCode=304,b.end(),1))return}(!b.getHeader("Content-Type")&&c.contentType&&b.setHeader("Content-Type",c.contentType),g&&b.setHeader("Content-Length",Buffer.byteLength(g)),"HEAD"===a.method)?b.end(null):null!==g?b.end(g):await c.pipeToNodeResponse(b)}function W(b){let c=a.r(96183).parse(b??"100 MB");return null===c||isNaN(c)||c<1?void 0:c}a.s(["sendRenderResult",()=>V],78356),a.s(["parseMaxPostponedStateSize",()=>W],13030)},79466,a=>{a.n(a.i(13985))},61178,a=>{a.n(a.i(85896))}]; //# sourceMappingURL=549ce_next_dist_752cd4f9._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_esm_build_templates_app-page_4fc3017e.js b/.next/server/chunks/ssr/549ce_next_dist_esm_build_templates_app-page_4fc3017e.js index 760eed3..a7523dc 100644 --- a/.next/server/chunks/ssr/549ce_next_dist_esm_build_templates_app-page_4fc3017e.js +++ b/.next/server/chunks/ssr/549ce_next_dist_esm_build_templates_app-page_4fc3017e.js @@ -1,4 +1,4 @@ -module.exports=[40393,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(39624);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["/_not-found",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/_not-found/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[40393,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(39624);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["/_not-found",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/_not-found/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],16983),a.i(16983),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],40393)}]; //# sourceMappingURL=549ce_next_dist_esm_build_templates_app-page_4fc3017e.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_f187ee39._.js b/.next/server/chunks/ssr/549ce_next_dist_f187ee39._.js deleted file mode 100644 index 8e2342c..0000000 --- a/.next/server/chunks/ssr/549ce_next_dist_f187ee39._.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports=[13409,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].ReactServerDOMTurbopackStatic},55107,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js "))},84270,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js"))},50620,a=>{"use strict";a.i(55107);var b=a.i(84270);a.n(b)},22414,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js "))},1978,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js"))},15508,a=>{"use strict";a.i(22414);var b=a.i(1978);a.n(b)},8135,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js "))},19271,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js"))},66722,a=>{"use strict";a.i(8135);var b=a.i(19271);a.n(b)},39841,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js "))},79957,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js"))},62698,a=>{"use strict";a.i(39841);var b=a.i(79957);a.n(b)},46334,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js "))},46976,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js"))},54728,a=>{"use strict";a.i(46334);var b=a.i(46976);a.n(b)},37683,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js "))},17284,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js"))},25207,a=>{"use strict";a.i(37683);var b=a.i(17284);a.n(b)},96087,(a,b,c)=>{},46707,(a,b,c)=>{b.exports=a.r(14747)},70761,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js "))},20825,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js"))},91326,a=>{"use strict";a.i(70761);var b=a.i(20825);a.n(b)},79596,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].ReactDOM},99687,(a,b,c)=>{"use strict";var d=a.r(24361),e=a.r(79596),f={stream:!0},g=Object.prototype.hasOwnProperty;function h(a){var b=globalThis.__next_require__(a);return"function"!=typeof b.then||"fulfilled"===b.status?null:(b.then(function(a){b.status="fulfilled",b.value=a},function(a){b.status="rejected",b.reason=a}),b)}var i=new WeakSet,j=new WeakSet;function k(){}function l(a){for(var b=a[1],c=[],d=0;de||35===e||114===e||120===e?(h=e,e=3,d++):(h=0,e=3);continue;case 2:44===(l=c[d++])?e=4:i=i<<4|(96c.length&&(l=-1)}var m=c.byteOffset+d;if(-1c||114===c||120===c?(g=c,c=3,b++):(g=0,c=3);continue;case 2:44===(k=a.charCodeAt(b++))?c=4:h=h<<4|(963*h)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");k=a.length}if(-1{"use strict";b.exports=a.r(99687)},10181,(a,b,c)=>{(()=>{"use strict";var a={328:a=>{a.exports=function(a){for(var b=5381,c=a.length;c;)b=33*b^a.charCodeAt(--c);return b>>>0}}},c={};function d(b){var e=c[b];if(void 0!==e)return e.exports;var f=c[b]={exports:{}},g=!0;try{a[b](f,f.exports,d),g=!1}finally{g&&delete c[b]}return f.exports}d.ab="/ROOT/Documents/00 - projet/plumeia/node_modules/next/dist/compiled/string-hash/",b.exports=d(328)})()},13985,4102,61501,34234,74876,68638,81343,17512,80358,a=>{"use strict";let b,c,d;a.i(11092);var e,f,g=a.i(13409),h=a.i(25235);a.i(50620),a.i(15508);var i=a.i(56704),j=a.i(32319);a.i(20635),a.i(66722),a.i(62698);var k=a.i(36857);let l="DYNAMIC_SERVER_USAGE";class m extends Error{constructor(a){super(`Dynamic server usage: ${a}`),this.description=a,this.digest=l}}function n(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===l}a.s(["DynamicServerError",()=>m,"isDynamicServerError",()=>n],4102);class o extends Error{constructor(...a){super(...a),this.code="NEXT_STATIC_GEN_BAILOUT"}}class p extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest="HANGING_PROMISE_REJECTION"}}let q=new WeakMap;function r(a,b,c){if(a.aborted)return Promise.reject(new p(b,c));{let d=new Promise((d,e)=>{let f=e.bind(null,new p(b,c)),g=q.get(a);if(g)g.push(f);else{let b=[f];q.set(a,b),a.addEventListener("abort",()=>{for(let a=0;ab):b}RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at __next_root_layout_boundary__ \\([^\\n]*\\)`),RegExp(`\\n\\s+at __next_metadata_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_viewport_boundary__[\\n\\s]`),RegExp(`\\n\\s+at __next_outlet_boundary__[\\n\\s]`),a.s(["Postpone",()=>y,"annotateDynamicAccess",()=>C,"delayUntilRuntimeStage",()=>D,"isPrerenderInterruptedError",()=>B,"markCurrentScopeAsDynamic",()=>w,"postponeWithTracking",()=>z,"throwToInterruptStaticGeneration",()=>x],61501);let E={current:null},F="function"==typeof h.cache?h.cache:a=>a,G=console.warn;function H(a){return function(...b){G(a(...b))}}F(a=>{try{G(E.current)}finally{E.current=null}});let I=/^[A-Za-z_$][A-Za-z0-9_$]*$/,J=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule"]);a.i(24725);let K=L;function L(a,b){let c=j.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return function(a,b){if(a.forceStatic)return Promise.resolve({});switch(b.type){case"prerender":case"prerender-client":var c=a,d=b;let e=N.get(d);if(e)return e;let f=r(d.renderSignal,c.route,"`searchParams`"),g=new Proxy(f,{get(a,b,c){if(Object.hasOwn(f,b))return k.ReflectAdapter.get(a,b,c);switch(b){case"then":return C("`await searchParams`, `searchParams.then`, or similar",d),k.ReflectAdapter.get(a,b,c);case"status":return C("`use(searchParams)`, `searchParams.status`, or similar",d),k.ReflectAdapter.get(a,b,c);default:return k.ReflectAdapter.get(a,b,c)}}});return N.set(d,g),g;case"prerender-ppr":case"prerender-legacy":var h=a,i=b;let j=N.get(h);if(j)return j;let l=Promise.resolve({}),m=new Proxy(l,{get(a,b,c){if(Object.hasOwn(l,b))return k.ReflectAdapter.get(a,b,c);if("string"==typeof b&&"then"===b){let a="`await searchParams`, `searchParams.then`, or similar";if(h.dynamicShouldError){var d=h.route;throw Object.defineProperty(new o(`Route ${d} with \`dynamic = "error"\` couldn't be rendered statically because it used ${a}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}"prerender-ppr"===i.type?z(h.route,a,i.dynamicTracking):x(a,h,i)}return k.ReflectAdapter.get(a,b,c)}});return N.set(h,m),m;default:return b}}(b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"prerender-runtime":return D(c,O(a));case"request":var d;return d=a,b.forceStatic?Promise.resolve({}):O(d)}(0,j.throwInvariantForMissingStore)()}function M(a){if(a.forceStatic)return Promise.resolve({});let b=j.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"prerender":case"prerender-client":return r(b.renderSignal,a.route,"`searchParams`");case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,j.throwInvariantForMissingStore)()}let N=new WeakMap;function O(a){let b=N.get(a);if(b)return b;let c=Promise.resolve(a);return N.set(a,c),c}new WeakMap,H(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})}),a.s(["createPrerenderSearchParamsForClientPage",()=>M,"createServerSearchParamsForMetadata",0,K,"createServerSearchParamsForServerPage",()=>L],34234);var P=a.i(43285);let Q=R;function R(a,b){let c=j.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":var d=a,e=b,f=c;switch(f.type){case"prerender":case"prerender-client":{let a=f.fallbackRouteParams;if(a){for(let b in d)if(a.has(b))return function(a,b,c){let d=T.get(a);if(d)return d;let e=new Proxy(r(c.renderSignal,b.route,"`params`"),U);return T.set(a,e),e}(d,e,f)}break}case"prerender-ppr":{let a=f.fallbackRouteParams;if(a){for(let b in d)if(a.has(b))return function(a,b,c,d){let e=T.get(a);if(e)return e;let f={...a},g=Promise.resolve(f);return T.set(a,g),Object.keys(a).forEach(a=>{J.has(a)||b.has(a)&&Object.defineProperty(f,a,{get(){var b;let e=(b="params",I.test(a)?`\`${b}.${a}\``:`\`${b}[${JSON.stringify(a)}]\``);"prerender-ppr"===d.type?z(c.route,e,d.dynamicTracking):x(e,c,d)},enumerable:!0})}),g}(d,a,e,f)}}}return V(d);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"prerender-runtime":return D(c,V(a));case"request":return V(a)}(0,j.throwInvariantForMissingStore)()}function S(a){let b=i.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(new u.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let c=j.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":let d=c.fallbackRouteParams;if(d){for(let e in a)if(d.has(e))return r(c.renderSignal,b.route,"`params`")}break;case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0})}return Promise.resolve(a)}let T=new WeakMap,U={get:function(a,b,c){if("then"===b||"catch"===b||"finally"===b){let d=k.ReflectAdapter.get(a,b,c);return({[b]:(...b)=>{let c=P.dynamicAccessAsyncStorage.getStore();return c&&c.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(d.apply(a,b),U)}})[b]}return k.ReflectAdapter.get(a,b,c)}};function V(a){let b=T.get(a);if(b)return b;let c=Promise.resolve(a);return T.set(a,c),c}H(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})}),a.s(["createPrerenderParamsForClientSegment",()=>S,"createServerParamsForMetadata",0,Q,"createServerParamsForServerSegment",()=>R],74876),a.i(54728);var W=a.i(784);function X(a){return null!=a}function Y({name:a,property:b,content:c,media:d}){return null!=c&&""!==c?(0,W.jsx)("meta",{...a?{name:a}:{property:b},...d?{media:d}:void 0,content:"string"==typeof c?c:c.toString()}):null}function Z(a){let b=[];for(let c of a)Array.isArray(c)?b.push(...c.filter(X)):X(c)&&b.push(c);return b}let $=new Set(["og:image","twitter:image","og:video","og:audio"]);function _(a,b){return $.has(a)&&"url"===b?a:((a.startsWith("og:")||a.startsWith("twitter:"))&&(b=b.replace(/([A-Z])/g,function(a){return"_"+a.toLowerCase()})),a+":"+b)}function aa({propertyPrefix:a,namePrefix:b,contents:c}){return null==c?null:Z(c.map(c=>"string"==typeof c||"number"==typeof c||c instanceof URL?Y({...a?{property:a}:{name:b},content:c}):function({content:a,namePrefix:b,propertyPrefix:c}){return a?Z(Object.entries(a).map(([a,d])=>void 0===d?null:Y({...c&&{property:_(c,a)},...b&&{name:_(b,a)},content:"string"==typeof d?d:null==d?void 0:d.toString()}))):null}({namePrefix:b,propertyPrefix:a,content:c})))}let ab={width:"width",height:"height",initialScale:"initial-scale",minimumScale:"minimum-scale",maximumScale:"maximum-scale",viewportFit:"viewport-fit",userScalable:"user-scalable",interactiveWidget:"interactive-widget"},ac=["icon","shortcut","apple","other"];function ad(a){return Array.isArray(a)?a:[a]}function ae(a){if(null!=a)return ad(a)}let af=["telephone","date","address","email","url"];function ag({descriptor:a,...b}){return a.url?(0,W.jsx)("link",{...b,...a.title&&{title:a.title},href:a.url.toString()}):null}function ah({app:a,type:b}){var c,d;return[Y({name:`twitter:app:name:${b}`,content:a.name}),Y({name:`twitter:app:id:${b}`,content:a.id[b]}),Y({name:`twitter:app:url:${b}`,content:null==(d=a.url)||null==(c=d[b])?void 0:c.toString()})]}var ai=a.i(25207);function aj({icon:a}){let{url:b,rel:c="icon",...d}=a;return(0,W.jsx)("link",{rel:c,href:b.toString(),...d})}function ak({rel:a,icon:b}){if("object"==typeof b&&!(b instanceof URL))return!b.rel&&a&&(b.rel=a),aj({icon:b});{let c=b.toString();return(0,W.jsx)("link",{rel:a,href:c})}}a.i(96087);var al=a.i(46707);function am(a){return"string"==typeof a||a instanceof URL}function an(){let a=!!process.env.__NEXT_EXPERIMENTAL_HTTPS;return new URL(`${a?"https":"http"}://localhost:${process.env.PORT||3e3}`)}function ao(a,b){if(a instanceof URL)return a;if(!a)return null;try{return new URL(a)}catch{}b||(b=an());let c=b.pathname||"";return new URL(al.default.posix.join(c,a),b)}let ap=/^(?:\/((?!\.well-known(?:\/.*)?)(?:[^/]+\/)*[^/]+\.\w+))(\/?|$)/i;function aq(a,b,c,{trailingSlash:d}){var e,f;a="string"==typeof(e=a)&&e.startsWith("./")?al.default.posix.resolve(c,e):e;let g="",h=b?ao(a,b):a;if(g="string"==typeof h?h:"/"===h.pathname&&0===h.searchParams.size?h.origin:h.href,d&&!g.endsWith("/")){let a=g.startsWith("/"),c=g.includes("?"),d=!1,e=!1;if(!a){try{let a=new URL(g);d=null!=b&&a.origin!==b.origin,f=a.pathname,e=ap.test(f)}catch{d=!0}if(!e&&!d&&!c)return`${g}/`}}return g}function ar(a,b){return a?a.replace(/%s/g,b):b}function as(a,b){let c,d="string"!=typeof a&&a&&"template"in a?a.template:null;return("string"==typeof a?c=ar(b,a):a&&("default"in a&&(c=ar(b,a.default)),"absolute"in a&&a.absolute&&(c=a.absolute)),a&&"string"!=typeof a)?{template:d,absolute:c||""}:{absolute:c||a||"",template:d}}a.i(75556);var at=a.i(21907);let au=["authors","tags"],av=["albums","musicians"],aw=["actors","directors","writers","tags"],ax=["emails","phoneNumbers","faxNumbers","alternateLocale","audio","videos"];function ay(a,b,c){let d=ae(a);if(!d)return d;let e=[];for(let a of d){let d=function(a,b,c){if(!a)return;let d=am(a),e=d?a:a.url;if(!e)return;let f=!!process.env.VERCEL;if("string"==typeof e&&!/https?:\/\//.test(e)&&(!b||c)){let a=function(a){let b,c,d=an(),e=(b=process.env.VERCEL_BRANCH_URL||process.env.VERCEL_URL)?new URL(`https://${b}`):void 0,f=(c=process.env.VERCEL_PROJECT_PRODUCTION_URL)?new URL(`https://${c}`):void 0;return e&&"preview"===process.env.VERCEL_ENV?e:a||f||d}(b);f||b||(0,at.warnOnce)(`metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "${a.origin}". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase`),b=a}return d?{url:ao(e,b)}:{...a,url:ao(e,b)}}(a,b,c);d&&e.push(d)}return e}let az={article:au,book:au,"music.song":av,"music.album":av,"music.playlist":["albums","musicians"],"music.radio_station":["creators"],"video.movie":aw,"video.episode":aw},aA=async(a,b,c,d,e)=>{var f;if(!a)return null;let g={...a,title:as(a.title,e)};for(let b of(f=a&&"type"in a?a.type:void 0)&&f in az?az[f].concat(ax):ax)if(b in a&&"url"!==b){let c=a[b];g[b]=c?ad(c):null}return g.images=ay(a.images,b,d.isStaticMetadataRouteFile),g.url=a.url?aq(a.url,b,await c,d):null,g},aB=["site","siteId","creator","creatorId","description"],aC=(a,b,c,d)=>{var e;if(!a)return null;let f="card"in a?a.card:void 0,g={...a,title:as(a.title,d)};for(let b of aB)g[b]=a[b]||null;if(g.images=ay(a.images,b,c.isStaticMetadataRouteFile),f=f||((null==(e=g.images)?void 0:e.length)?"summary_large_image":"summary"),g.card=f,"card"in g)switch(g.card){case"player":g.players=ae(g.players)||[];break;case"app":g.app=g.app||{}}return g};var aD=a.i(32114);async function aE(a){let b,c,d,{layout:e,page:f,defaultPage:g}=a[2],h=void 0!==e,i=void 0!==f,j=void 0!==g&&a[0]===aD.DEFAULT_SEGMENT_KEY;return h?(b=await e[0](),c="layout",d=e[1]):i?(b=await f[0](),c="page",d=f[1]):j&&(b=await g[0](),c="page",d=g[1]),{mod:b,modType:c,filePath:d}}async function aF(a,b){let{[b]:c}=a[2];if(void 0!==c)return await c[0]()}function aG(a,b,c,d){if(a instanceof URL){let b=new URL(c,a);a.searchParams.forEach((a,c)=>b.searchParams.set(c,a)),a=b}return aq(a,b,c,d)}let aH=a=>{var b;if(!a)return null;let c=[];return null==(b=ae(a))||b.forEach(a=>{"string"==typeof a?c.push({color:a}):"object"==typeof a&&c.push({color:a.color,media:a.media})}),c};async function aI(a,b,c,d){if(!a)return null;let e={};for(let[f,g]of Object.entries(a))if("string"==typeof g||g instanceof URL){let a=await c;e[f]=[{url:aG(g,b,a,d)}]}else if(g&&g.length){e[f]=[];let a=await c;g.forEach((c,g)=>{let h=aG(c.url,b,a,d);e[f][g]={url:h,title:c.title}})}return e}async function aJ(a,b,c,d){return a?{url:aG("string"==typeof a||a instanceof URL?a:a.url,b,await c,d)}:null}let aK=async(a,b,c,d)=>{if(!a)return null;let e=await aJ(a.canonical,b,c,d),f=await aI(a.languages,b,c,d);return{canonical:e,languages:f,media:await aI(a.media,b,c,d),types:await aI(a.types,b,c,d)}},aL=["noarchive","nosnippet","noimageindex","nocache","notranslate","indexifembedded","nositelinkssearchbox","unavailable_after","max-video-preview","max-image-preview","max-snippet"],aM=a=>{if(!a)return null;if("string"==typeof a)return a;let b=[];for(let c of(a.index?b.push("index"):"boolean"==typeof a.index&&b.push("noindex"),a.follow?b.push("follow"):"boolean"==typeof a.follow&&b.push("nofollow"),aL)){let d=a[c];void 0!==d&&!1!==d&&b.push("boolean"==typeof d?c:`${c}:${d}`)}return b.join(", ")},aN=a=>a?{basic:aM(a),googleBot:"string"!=typeof a?aM(a.googleBot):null}:null,aO=["google","yahoo","yandex","me","other"],aP=a=>{if(!a)return null;let b={};for(let c of aO){let d=a[c];if(d)if("other"===c)for(let c in b.other={},a.other){let d=ae(a.other[c]);d&&(b.other[c]=d)}else b[c]=ae(d)}return b},aQ=a=>{var b;if(!a)return null;if(!0===a)return{capable:!0};let c=a.startupImage?null==(b=ae(a.startupImage))?void 0:b.map(a=>"string"==typeof a?{url:a}:a):null;return{capable:!("capable"in a)||!!a.capable,title:a.title||null,startupImage:c,statusBarStyle:a.statusBarStyle||"default"}},aR=a=>{if(!a)return null;for(let b in a)a[b]=ae(a[b]);return a},aS=async(a,b,c,d)=>a?{appId:a.appId,appArgument:a.appArgument?aG(a.appArgument,b,await c,d):void 0}:null,aT=a=>a?{appId:a.appId,admins:ae(a.admins)}:null,aU=async(a,b,c,d)=>({previous:(null==a?void 0:a.previous)?aG(a.previous,b,await c,d):null,next:(null==a?void 0:a.next)?aG(a.next,b,await c,d):null});function aV(a){return am(a)?{url:a}:(Array.isArray(a),a)}let aW=a=>{if(!a)return null;let b={icon:[],apple:[]};if(Array.isArray(a))b.icon=a.map(aV).filter(Boolean);else if(am(a))b.icon=[aV(a)];else for(let c of ac){let d=ae(a[c]);d&&(b[c]=d.map(aV))}return b};var aX=a.i(53439),aY=a.i(20044);function aZ(a){let b=parseInt(a.slice(0,2),16),c=b>>1&63,d=Array(6);for(let a=0;a<6;a++){let b=c>>5-a&1;d[a]=1===b}return{type:1==(b>>7&1)?"use-cache":"server-action",usedArgs:d,hasRestArgs:1==(1&b)}}function a$(a){return a.$$typeof===Symbol.for("react.server.reference")}function a_(a){if(a instanceof URL)return a.toString();if(Array.isArray(a))return a.map(a=>a_(a));if(a&&"object"==typeof a){let b={};for(let[c,d]of Object.entries(a))b[c]=a_(d);return b}return a}function a0(a){if("string"==typeof a)try{a=new URL(a)}catch{throw Object.defineProperty(Error(`metadataBase is not a valid URL: ${a}`),"__NEXT_ERROR_CODE",{value:"E850",enumerable:!1,configurable:!0})}return a}async function a1(a,b,c,d,e,f,g,h){var i,j;if(!d)return c;let{icon:k,apple:l,openGraph:m,twitter:n,manifest:o}=d;if(k&&(g.icon=k),l&&(g.apple=l),n&&!(null==b||null==(i=b.twitter)?void 0:i.hasOwnProperty("images"))){let b=aC({...c.twitter,images:n},a,{...e,isStaticMetadataRouteFile:!0},f.twitter);c.twitter=a_(b)}if(m&&!(null==b||null==(j=b.openGraph)?void 0:j.hasOwnProperty("images"))){let b=await aA({...c.openGraph,images:m},a,h,{...e,isStaticMetadataRouteFile:!0},f.openGraph);c.openGraph=a_(b)}return o&&(c.manifest=o),c}async function a2(a,b,{metadata:c,resolvedMetadata:d,staticFilesMetadata:e,titleTemplates:f,metadataContext:g,buildState:h,leafSegmentStaticIcons:i}){let j=structuredClone(d),k=a0((null==c?void 0:c.metadataBase)!==void 0?c.metadataBase:d.metadataBase);for(let d in c)switch(d){case"title":j.title=as(c.title,f.title);break;case"alternates":j.alternates=a_(await aK(c.alternates,k,b,g));break;case"openGraph":j.openGraph=a_(await aA(c.openGraph,k,b,g,f.openGraph));break;case"twitter":j.twitter=a_(aC(c.twitter,k,g,f.twitter));break;case"facebook":j.facebook=aT(c.facebook);break;case"verification":j.verification=aP(c.verification);break;case"icons":j.icons=a_(aW(c.icons));break;case"appleWebApp":j.appleWebApp=aQ(c.appleWebApp);break;case"appLinks":j.appLinks=a_(aR(c.appLinks));break;case"robots":j.robots=aN(c.robots);break;case"archives":case"assets":case"bookmarks":case"keywords":j[d]=ae(c[d]);break;case"authors":j[d]=a_(ae(c.authors));break;case"itunes":j[d]=await aS(c.itunes,k,b,g);break;case"pagination":j.pagination=await aU(c.pagination,k,b,g);break;case"abstract":case"applicationName":case"description":case"generator":case"creator":case"publisher":case"category":case"classification":case"referrer":case"formatDetection":j[d]=c[d]??null;break;case"manifest":case"pinterest":j[d]=a_(c[d])??null;break;case"other":j.other=Object.assign({},j.other,c.other);break;case"metadataBase":j.metadataBase=k?k.toString():null;break;case"apple-touch-fullscreen":h.warnings.add(`Use appleWebApp instead -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);break;case"apple-touch-icon-precomposed":h.warnings.add(`Use icons.apple instead -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);break;case"themeColor":case"colorScheme":case"viewport":null!=c[d]&&h.warnings.add(`Unsupported metadata ${d} is configured in metadata export in ${a}. Please move it to viewport export instead. -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport`)}return a1(k,c,j,e,g,f,i,b)}function a3(a,b,c){if("function"==typeof a.generateViewport){let{route:d}=c,e=a5(a.generateViewport,b);return Object.assign(b=>(0,aX.getTracer)().trace(aY.ResolveMetadataSpan.generateViewport,{spanName:`generateViewport ${d}`,attributes:{"next.page":d}},()=>a.generateViewport(e,b)),{$$original:a.generateViewport})}return a.viewport||null}function a4(a,b,c){if("function"==typeof a.generateMetadata){let{route:d}=c,e=a5(a.generateMetadata,b);return Object.assign(b=>(0,aX.getTracer)().trace(aY.ResolveMetadataSpan.generateMetadata,{spanName:`generateMetadata ${d}`,attributes:{"next.page":d}},()=>a.generateMetadata(e,b)),{$$original:a.generateMetadata})}return a.metadata||null}function a5(a,b){return!function(a){if(!a$(a))return!1;let{type:b}=aZ(a.$$id);return"use-cache"===b}(a)?b:"searchParams"in b?{...b,$$isPage:!0}:{...b,$$isLayout:!0}}async function a6(a,b,c){var d;if(!(null==a?void 0:a[c]))return;let e=a[c].map(async a=>{var c;return(c=await a(b)).default||c});return(null==e?void 0:e.length)>0?null==(d=await Promise.all(e))?void 0:d.flat():void 0}async function a7(a,b){let{metadata:c}=a;if(!c)return null;let[d,e,f,g]=await Promise.all([a6(c,b,"icon"),a6(c,b,"apple"),a6(c,b,"openGraph"),a6(c,b,"twitter")]);return{icon:d,apple:e,openGraph:f,twitter:g,manifest:c.manifest}}async function a8({tree:a,metadataItems:b,errorMetadataItem:c,props:d,route:e,errorConvention:f}){let g,h,i=!!(f&&a[2][f]);if(f)g=await aF(a,"layout"),h=f;else{let{mod:b,modType:c}=await aE(a);g=b,h=c}h&&(e+=`/${h}`);let j=await a7(a[2],d),k=g?a4(g,d,{route:e}):null;if(b.push([k,j]),i&&f){let b=await aF(a,f),g=b?a4(b,d,{route:e}):null;c[0]=g,c[1]=j}}async function a9({tree:a,viewportItems:b,errorViewportItemRef:c,props:d,route:e,errorConvention:f}){let g,h,i=!!(f&&a[2][f]);if(f)g=await aF(a,"layout"),h=f;else{let{mod:b,modType:c}=await aE(a);g=b,h=c}h&&(e+=`/${h}`);let j=g?a3(g,d,{route:e}):null;if(b.push(j),i&&f){let b=await aF(a,f);c.current=b?a3(b,d,{route:e}):null}}let ba=(0,h.cache)(async function(a,b,c,d,e){return bb([],a,void 0,{},b,c,[null,null],d,e)});async function bb(a,b,c,d,e,f,g,h,i){let[j,k,{page:l}]=b,m=c&&c.length?[...c,j]:[j],n=h(j),o=d;n&&null!==n.value&&(o={...d,[n.param]:n.value});let p=Q(o,i);for(let c in await a8({tree:b,metadataItems:a,errorMetadataItem:g,errorConvention:f,props:void 0!==l?{params:p,searchParams:e}:{params:p},route:m.filter(a=>a!==aD.PAGE_SEGMENT_KEY).join("/")}),k){let b=k[c];await bb(a,b,m,o,e,f,g,h,i)}return 0===Object.keys(k).length&&f&&a.push(g),a}let bc=(0,h.cache)(async function(a,b,c,d,e){return bd([],a,void 0,{},b,c,{current:null},d,e)});async function bd(a,b,c,d,e,f,g,h,i){let j,[k,l,{page:m}]=b,n=c&&c.length?[...c,k]:[k],o=h(k),p=d;o&&null!==o.value&&(p={...d,[o.param]:o.value});let q=Q(p,i);for(let c in j=void 0!==m?{params:q,searchParams:e}:{params:q},await a9({tree:b,viewportItems:a,errorViewportItemRef:g,errorConvention:f,props:j,route:n.filter(a=>a!==aD.PAGE_SEGMENT_KEY).join("/")}),l){let b=l[c];await bd(a,b,n,p,e,f,g,h,i)}return 0===Object.keys(l).length&&f&&a.push(g.current),a}let be=a=>!!(null==a?void 0:a.absolute),bf=a=>be(null==a?void 0:a.title);function bg(a,b){a&&(!bf(a)&&bf(b)&&(a.title=b.title),!a.description&&b.description&&(a.description=b.description))}let bh=()=>{};function bi(a,b){if("function"==typeof b){let d=function(a){if(!a$(a))return null;let b=aZ(a.$$id);return"use-cache"===b.type?b:null}(b.$$original);if(d&&d.usedArgs[1]){var c;let d,e,f=new Promise(b=>a.push(b));a.push((c=async()=>b(f),e={then:(a,b)=>(d||(d=Promise.resolve(c())),d.then(a=>{e.value=a}).catch(()=>{}),d.then(a,b))}))}else{let c;d?(a.push(bh),c=b()):c=b(new Promise(b=>a.push(b))),a.push(c),c instanceof Promise&&c.catch(a=>({__nextError:a}))}}else"object"==typeof b?a.push(b):a.push(null)}async function bj(a,b,c,d){let e,f={viewport:null,themeColor:null,colorScheme:null,metadataBase:null,title:null,description:null,applicationName:null,authors:null,generator:null,keywords:null,referrer:null,creator:null,publisher:null,robots:null,manifest:null,alternates:{canonical:null,languages:null,media:null,types:null},icons:null,openGraph:null,twitter:null,verification:{},appleWebApp:null,formatDetection:null,itunes:null,facebook:null,pinterest:null,abstract:null,appLinks:null,archives:null,assets:null,bookmarks:null,category:null,classification:null,pagination:{previous:null,next:null},other:{}},g={title:null,twitter:null,openGraph:null},h={warnings:new Set},i={icon:[],apple:[]},j=function(a){let b=[];for(let c=0;c0||i.apple.length>0)&&!f.icons&&(f.icons={icon:[],apple:[]},i.icon.length>0&&f.icons.icon.unshift(...i.icon),i.apple.length>0&&f.icons.apple.unshift(...i.apple)),h.warnings.size>0)for(let a of h.warnings)at.warn(a);return function(a,b,c,d){let{openGraph:e,twitter:f}=a;if(e){let b={},g=bf(f),h=null==f?void 0:f.description,i=!!((null==f?void 0:f.hasOwnProperty("images"))&&f.images);if(!g&&(be(e.title)?b.title=e.title:a.title&&be(a.title)&&(b.title=a.title)),h||(b.description=e.description||a.description||void 0),i||(b.images=e.images),Object.keys(b).length>0){let e=aC(b,a0(a.metadataBase),d,c.twitter);a.twitter?a.twitter=Object.assign({},a.twitter,{...!g&&{title:null==e?void 0:e.title},...!h&&{description:null==e?void 0:e.description},...!i&&{images:null==e?void 0:e.images}}):a.twitter=a_(e)}}return bg(e,a),bg(f,a),b&&(a.icons||(a.icons={icon:[],apple:[]}),a.icons.icon.unshift(b)),a}(f,e,g,d)}async function bk(a){let b={width:"device-width",initialScale:1,themeColor:null,colorScheme:null},c=function(a){let b=[];for(let c=0;c0)return r(c.renderSignal,b.route,"`pathname`");break}case"prerender-ppr":{let a=c.fallbackRouteParams;if(a&&a.size>0){var d,e;let a,f,g;return d=b,e=c.dynamicTracking,a=null,g=(f=new Promise((b,c)=>{a=c})).then.bind(f),f.then=(b,c)=>{if(a)try{z(d.route,"metadata relative url resolving",e)}catch(b){a(b),a=null}return g(b,c)},new Proxy(f,{})}}}return Promise.resolve(a)}(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerPathnameForMetadata should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E740",enumerable:!1,configurable:!0});case"prerender-runtime":return D(c,bq(a));case"request":return bq(a)}(0,j.throwInvariantForMissingStore)()}(b,g);async function m(){return await bz(a,k,e,g,f).catch(b=>{if(bs(b))throw b;return!f&&bp(b)?bB(a,k,e,g).catch(()=>null):null})}async function n(){return await bv(a,l,k,e,d,g,f).catch(b=>{if(bs(b))throw b;return!f&&bp(b)?bx(a,l,k,e,d,g).catch(()=>null):null})}function o(){let b=Promise.all([bv(a,l,k,e,d,g,f),bz(a,k,e,g,f)]).then(()=>null);return i?(0,W.jsx)(bt.OutletBoundary,{children:(0,W.jsx)(h.Suspense,{name:"Next.MetadataOutlet",children:b})}):(0,W.jsx)(bt.OutletBoundary,{children:b})}return m.displayName="Next.Viewport",n.displayName="Next.Metadata",o.displayName="Next.MetadataOutlet",{Viewport:function(){return(0,W.jsx)(bt.ViewportBoundary,{children:(0,W.jsx)(m,{})})},Metadata:function(){return i?(0,W.jsx)("div",{hidden:!0,children:(0,W.jsx)(bt.MetadataBoundary,{children:(0,W.jsx)(h.Suspense,{name:"Next.Metadata",children:(0,W.jsx)(n,{})})})}):(0,W.jsx)(bt.MetadataBoundary,{children:(0,W.jsx)(n,{})})},MetadataOutlet:o}}let bv=(0,h.cache)(bw);async function bw(a,b,c,d,e,f,g){return bD(a,b,c,d,e,f,"redirect"===g?void 0:g)}let bx=(0,h.cache)(by);async function by(a,b,c,d,e,f){return bD(a,b,c,d,e,f,"not-found")}let bz=(0,h.cache)(bA);async function bA(a,b,c,d,e){return bE(a,b,c,d,"redirect"===e?void 0:e)}let bB=(0,h.cache)(bC);async function bC(a,b,c,d){return bE(a,b,c,d,"not-found")}async function bD(a,b,c,d,e,f,g){var i;let j=Z([function({metadata:a}){var b,c,d;let e=a.manifest?function(a){let b;if("string"==typeof a)try{b=(a=new URL(a)).origin}catch{}return b}(a.manifest):void 0;return Z([null!==a.title&&a.title.absolute?(0,W.jsx)("title",{children:a.title.absolute}):null,Y({name:"description",content:a.description}),Y({name:"application-name",content:a.applicationName}),...a.authors?a.authors.map(a=>[a.url?(0,W.jsx)("link",{rel:"author",href:a.url.toString()}):null,Y({name:"author",content:a.name})]):[],a.manifest?(0,W.jsx)("link",{rel:"manifest",href:a.manifest.toString(),crossOrigin:e||"preview"!==process.env.VERCEL_ENV?void 0:"use-credentials"}):null,Y({name:"generator",content:a.generator}),Y({name:"keywords",content:null==(b=a.keywords)?void 0:b.join(",")}),Y({name:"referrer",content:a.referrer}),Y({name:"creator",content:a.creator}),Y({name:"publisher",content:a.publisher}),Y({name:"robots",content:null==(c=a.robots)?void 0:c.basic}),Y({name:"googlebot",content:null==(d=a.robots)?void 0:d.googleBot}),Y({name:"abstract",content:a.abstract}),...a.archives?a.archives.map(a=>(0,W.jsx)("link",{rel:"archives",href:a})):[],...a.assets?a.assets.map(a=>(0,W.jsx)("link",{rel:"assets",href:a})):[],...a.bookmarks?a.bookmarks.map(a=>(0,W.jsx)("link",{rel:"bookmarks",href:a})):[],...a.pagination?[a.pagination.previous?(0,W.jsx)("link",{rel:"prev",href:a.pagination.previous}):null,a.pagination.next?(0,W.jsx)("link",{rel:"next",href:a.pagination.next}):null]:[],Y({name:"category",content:a.category}),Y({name:"classification",content:a.classification}),...a.other?Object.entries(a.other).map(([a,b])=>Array.isArray(b)?b.map(b=>Y({name:a,content:b})):Y({name:a,content:b})):[]])}({metadata:i=await bl(a,b,c,g,d,f,e)}),function({alternates:a}){if(!a)return null;let{canonical:b,languages:c,media:d,types:e}=a;return Z([b?ag({rel:"canonical",descriptor:b}):null,c?Object.entries(c).flatMap(([a,b])=>null==b?void 0:b.map(b=>ag({rel:"alternate",hrefLang:a,descriptor:b}))):null,d?Object.entries(d).flatMap(([a,b])=>null==b?void 0:b.map(b=>ag({rel:"alternate",media:a,descriptor:b}))):null,e?Object.entries(e).flatMap(([a,b])=>null==b?void 0:b.map(b=>ag({rel:"alternate",type:a,descriptor:b}))):null])}({alternates:i.alternates}),function({itunes:a}){if(!a)return null;let{appId:b,appArgument:c}=a,d=`app-id=${b}`;return c&&(d+=`, app-argument=${c}`),(0,W.jsx)("meta",{name:"apple-itunes-app",content:d})}({itunes:i.itunes}),function({facebook:a}){if(!a)return null;let{appId:b,admins:c}=a;return Z([b?(0,W.jsx)("meta",{property:"fb:app_id",content:b}):null,...c?c.map(a=>(0,W.jsx)("meta",{property:"fb:admins",content:a})):[]])}({facebook:i.facebook}),function({pinterest:a}){if(!a||void 0===a.richPin)return null;let{richPin:b}=a;return(0,W.jsx)("meta",{property:"pinterest-rich-pin",content:b.toString()})}({pinterest:i.pinterest}),function({formatDetection:a}){if(!a)return null;let b="";for(let c of af)!1===a[c]&&(b&&(b+=", "),b+=`${c}=no`);return b?(0,W.jsx)("meta",{name:"format-detection",content:b}):null}({formatDetection:i.formatDetection}),function({verification:a}){return a?Z([aa({namePrefix:"google-site-verification",contents:a.google}),aa({namePrefix:"y_key",contents:a.yahoo}),aa({namePrefix:"yandex-verification",contents:a.yandex}),aa({namePrefix:"me",contents:a.me}),...a.other?Object.entries(a.other).map(([a,b])=>aa({namePrefix:a,contents:b})):[]]):null}({verification:i.verification}),function({appleWebApp:a}){if(!a)return null;let{capable:b,title:c,startupImage:d,statusBarStyle:e}=a;return Z([b?Y({name:"mobile-web-app-capable",content:"yes"}):null,Y({name:"apple-mobile-web-app-title",content:c}),d?d.map(a=>(0,W.jsx)("link",{href:a.url,media:a.media,rel:"apple-touch-startup-image"})):null,e?Y({name:"apple-mobile-web-app-status-bar-style",content:e}):null])}({appleWebApp:i.appleWebApp}),function({openGraph:a}){var b,c,d,e,f,g,h;let i;if(!a)return null;if("type"in a){let b=a.type;switch(b){case"website":i=[Y({property:"og:type",content:"website"})];break;case"article":i=[Y({property:"og:type",content:"article"}),Y({property:"article:published_time",content:null==(e=a.publishedTime)?void 0:e.toString()}),Y({property:"article:modified_time",content:null==(f=a.modifiedTime)?void 0:f.toString()}),Y({property:"article:expiration_time",content:null==(g=a.expirationTime)?void 0:g.toString()}),aa({propertyPrefix:"article:author",contents:a.authors}),Y({property:"article:section",content:a.section}),aa({propertyPrefix:"article:tag",contents:a.tags})];break;case"book":i=[Y({property:"og:type",content:"book"}),Y({property:"book:isbn",content:a.isbn}),Y({property:"book:release_date",content:a.releaseDate}),aa({propertyPrefix:"book:author",contents:a.authors}),aa({propertyPrefix:"book:tag",contents:a.tags})];break;case"profile":i=[Y({property:"og:type",content:"profile"}),Y({property:"profile:first_name",content:a.firstName}),Y({property:"profile:last_name",content:a.lastName}),Y({property:"profile:username",content:a.username}),Y({property:"profile:gender",content:a.gender})];break;case"music.song":i=[Y({property:"og:type",content:"music.song"}),Y({property:"music:duration",content:null==(h=a.duration)?void 0:h.toString()}),aa({propertyPrefix:"music:album",contents:a.albums}),aa({propertyPrefix:"music:musician",contents:a.musicians})];break;case"music.album":i=[Y({property:"og:type",content:"music.album"}),aa({propertyPrefix:"music:song",contents:a.songs}),aa({propertyPrefix:"music:musician",contents:a.musicians}),Y({property:"music:release_date",content:a.releaseDate})];break;case"music.playlist":i=[Y({property:"og:type",content:"music.playlist"}),aa({propertyPrefix:"music:song",contents:a.songs}),aa({propertyPrefix:"music:creator",contents:a.creators})];break;case"music.radio_station":i=[Y({property:"og:type",content:"music.radio_station"}),aa({propertyPrefix:"music:creator",contents:a.creators})];break;case"video.movie":i=[Y({property:"og:type",content:"video.movie"}),aa({propertyPrefix:"video:actor",contents:a.actors}),aa({propertyPrefix:"video:director",contents:a.directors}),aa({propertyPrefix:"video:writer",contents:a.writers}),Y({property:"video:duration",content:a.duration}),Y({property:"video:release_date",content:a.releaseDate}),aa({propertyPrefix:"video:tag",contents:a.tags})];break;case"video.episode":i=[Y({property:"og:type",content:"video.episode"}),aa({propertyPrefix:"video:actor",contents:a.actors}),aa({propertyPrefix:"video:director",contents:a.directors}),aa({propertyPrefix:"video:writer",contents:a.writers}),Y({property:"video:duration",content:a.duration}),Y({property:"video:release_date",content:a.releaseDate}),aa({propertyPrefix:"video:tag",contents:a.tags}),Y({property:"video:series",content:a.series})];break;case"video.tv_show":i=[Y({property:"og:type",content:"video.tv_show"})];break;case"video.other":i=[Y({property:"og:type",content:"video.other"})];break;default:throw Object.defineProperty(Error(`Invalid OpenGraph type: ${b}`),"__NEXT_ERROR_CODE",{value:"E237",enumerable:!1,configurable:!0})}}return Z([Y({property:"og:determiner",content:a.determiner}),Y({property:"og:title",content:null==(b=a.title)?void 0:b.absolute}),Y({property:"og:description",content:a.description}),Y({property:"og:url",content:null==(c=a.url)?void 0:c.toString()}),Y({property:"og:site_name",content:a.siteName}),Y({property:"og:locale",content:a.locale}),Y({property:"og:country_name",content:a.countryName}),Y({property:"og:ttl",content:null==(d=a.ttl)?void 0:d.toString()}),aa({propertyPrefix:"og:image",contents:a.images}),aa({propertyPrefix:"og:video",contents:a.videos}),aa({propertyPrefix:"og:audio",contents:a.audio}),aa({propertyPrefix:"og:email",contents:a.emails}),aa({propertyPrefix:"og:phone_number",contents:a.phoneNumbers}),aa({propertyPrefix:"og:fax_number",contents:a.faxNumbers}),aa({propertyPrefix:"og:locale:alternate",contents:a.alternateLocale}),...i||[]])}({openGraph:i.openGraph}),function({twitter:a}){var b;if(!a)return null;let{card:c}=a;return Z([Y({name:"twitter:card",content:c}),Y({name:"twitter:site",content:a.site}),Y({name:"twitter:site:id",content:a.siteId}),Y({name:"twitter:creator",content:a.creator}),Y({name:"twitter:creator:id",content:a.creatorId}),Y({name:"twitter:title",content:null==(b=a.title)?void 0:b.absolute}),Y({name:"twitter:description",content:a.description}),aa({namePrefix:"twitter:image",contents:a.images}),..."player"===c?a.players.flatMap(a=>[Y({name:"twitter:player",content:a.playerUrl.toString()}),Y({name:"twitter:player:stream",content:a.streamUrl.toString()}),Y({name:"twitter:player:width",content:a.width}),Y({name:"twitter:player:height",content:a.height})]):[],..."app"===c?[ah({app:a.app,type:"iphone"}),ah({app:a.app,type:"ipad"}),ah({app:a.app,type:"googleplay"})]:[]])}({twitter:i.twitter}),function({appLinks:a}){return a?Z([aa({propertyPrefix:"al:ios",contents:a.ios}),aa({propertyPrefix:"al:iphone",contents:a.iphone}),aa({propertyPrefix:"al:ipad",contents:a.ipad}),aa({propertyPrefix:"al:android",contents:a.android}),aa({propertyPrefix:"al:windows_phone",contents:a.windows_phone}),aa({propertyPrefix:"al:windows",contents:a.windows}),aa({propertyPrefix:"al:windows_universal",contents:a.windows_universal}),aa({propertyPrefix:"al:web",contents:a.web})]):null}({appLinks:i.appLinks}),function({icons:a}){if(!a)return null;let b=a.shortcut,c=a.icon,d=a.apple,e=a.other,f=!!((null==b?void 0:b.length)||(null==c?void 0:c.length)||(null==d?void 0:d.length)||(null==e?void 0:e.length));return f?Z([b?b.map(a=>ak({rel:"shortcut icon",icon:a})):null,c?c.map(a=>ak({rel:"icon",icon:a})):null,d?d.map(a=>ak({rel:"apple-touch-icon",icon:a})):null,e?e.map(a=>aj({icon:a})):null,f?(0,W.jsx)(ai.IconMark,{}):null]):null}({icons:i.icons})]);return(0,W.jsx)(W.Fragment,{children:j.map((a,b)=>(0,h.cloneElement)(a,{key:b}))})}async function bE(a,b,c,d,e){let f=Z([function({viewport:a}){return Z([(0,W.jsx)("meta",{charSet:"utf-8"}),Y({name:"viewport",content:function(a){let b=null;if(a&&"object"==typeof a){for(let c in b="",ab)if(c in a){let d=a[c];"boolean"==typeof d?d=d?"yes":"no":d||"initialScale"!==c||(d=void 0),d&&(b&&(b+=", "),b+=`${ab[c]}=${d}`)}}return b}(a)}),...a.themeColor?a.themeColor.map(a=>Y({name:"theme-color",content:a.color,media:a.media})):[],Y({name:"color-scheme",content:a.colorScheme})])}({viewport:await bm(a,b,e,c,d)})]);return(0,W.jsx)(W.Fragment,{children:f.map((a,b)=>(0,h.cloneElement)(a,{key:b}))})}a.s(["createMetadataComponents",()=>bu],68638);var bF=a.i(79596);function bG(a,b,c){let d={as:"style"};"string"==typeof b&&(d.crossOrigin=b),"string"==typeof c&&(d.nonce=c),bF.default.preload(a,d)}function bH(a,b,c,d){let e={as:"font",type:b};"string"==typeof c&&(e.crossOrigin=c),"string"==typeof d&&(e.nonce=d),bF.default.preload(a,e)}function bI(a,b,c){let d={};"string"==typeof b&&(d.crossOrigin=b),"string"==typeof c&&(d.nonce=c),bF.default.preconnect(a,d)}a.s(["preconnect",()=>bI,"preloadFont",()=>bH,"preloadStyle",()=>bG],81343),a.s(["taintObjectReference",0,function(){throw Object.defineProperty(Error("Taint can only be used with the taint flag."),"__NEXT_ERROR_CODE",{value:"E354",enumerable:!1,configurable:!0})}],17512);var bJ=a.i(11170),bK=a.i(57881);let bL=/^[a-zA-Z0-9\-_@]+$/;function bM(a){return bL.test(a)?a:"!"+btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}a.i(10181),a.i(94749);var bN=a.i(67850);function bO(a){if("object"==typeof a&&null!==a&&"digest"in a&&"BAILOUT_TO_CLIENT_SIDE_RENDERING"===a.digest||function(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,d]=b,e=b.slice(2,-2).join(";"),f=Number(b.at(-2));return"NEXT_REDIRECT"===c&&("replace"===d||"push"===d)&&"string"==typeof e&&!isNaN(f)&&f in bN.RedirectStatusCode}(a)||bp(a)||n(a)||B(a))return a.digest}var bP=((f={}).ProspectiveRender="the prospective render",f.SegmentCollection="segment collection",f);function bQ(a){let b=bO(a);if(b)return b;if(process.env.NEXT_DEBUG_BUILD||process.env.__NEXT_VERBOSE_LOGGING){let b=i.workAsyncStorage.getStore();!function(a,b,c){let d;if(!bO(a)){if("object"==typeof a&&null!==a&&"message"in a&&"string"==typeof a.message&&a.message.startsWith("This rendered a large document (>"))return console.error(a);if("object"==typeof a&&null!==a&&"string"==typeof a.message){if(d=a.message,"string"==typeof a.stack){let e=a.stack,f=e.indexOf("\n");if(f>-1){let a=Object.defineProperty(Error(`Route ${b} errored during ${c}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. - -Original Error: ${d}`),"__NEXT_ERROR_CODE",{value:"E949",enumerable:!1,configurable:!0});a.stack="Error: "+a.message+e.slice(f),console.error(a);return}}}else"string"==typeof a&&(d=a);if(d)return console.error(`Route ${b} errored during ${c}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. No stack was provided. - -Original Message: ${d}`);console.error(`Route ${b} errored during ${c}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. The thrown value is logged just following this message`),console.error(a)}}(a,(null==b?void 0:b.route)??"unknown route",bP.SegmentCollection)}}async function bR(a,b,e,f,h){let i=new Map;try{await (0,bJ.createFromReadableStream)((0,bK.streamFromBuffer)(b),{findSourceMapURL:d,serverConsumerManifest:h}),await (0,t.waitAtLeastOneReactRenderTask)()}catch{}let j=new AbortController,k=async()=>{await (0,t.waitAtLeastOneReactRenderTask)(),j.abort()},l=[],{prelude:m}=await (0,g.prerender)((0,W.jsx)(bS,{isClientParamParsingEnabled:a,fullPageDataBuffer:b,serverConsumerManifest:h,clientModules:f,staleTime:e,segmentTasks:l,onCompletedProcessingRouteTree:k}),f,{filterStackFrame:c,signal:j.signal,onError:bQ}),n=await (0,bK.streamToBuffer)(m);for(let[a,c]of(i.set("/_tree",n),i.set("/_full",b),await Promise.all(l)))i.set(a,c);return i}async function bS({isClientParamParsingEnabled:a,fullPageDataBuffer:b,serverConsumerManifest:c,clientModules:e,staleTime:f,segmentTasks:g,onCompletedProcessingRouteTree:h}){let i,j=await (0,bJ.createFromReadableStream)((i=(0,bK.streamFromBuffer)(b).getReader(),new ReadableStream({async pull(a){for(;;){let{done:b,value:c}=await i.read();if(!b){a.enqueue(c);continue}return}}})),{findSourceMapURL:d,serverConsumerManifest:c}),k=j.b,l=j.f;if(1!==l.length&&3!==l[0].length)return console.error("Internal Next.js error: InitialRSCPayload does not match the expected shape for a prerendered page during segment prefetch generation."),null;let m=l[0][0],n=l[0][1],o=l[0][2],p=function a(b,c,d,e,f,g,h){let i,j=null,k=c[1],l=null!==e?e[1]:null;for(let c in k){var m;let e=k[c],i=e[0],n=a(b,e,d,null!==l?l[c]:null,f,(m=function(a){if("string"==typeof a)return a.startsWith(aD.PAGE_SEGMENT_KEY)?aD.PAGE_SEGMENT_KEY:"/_not-found"===a?"_not-found":bM(a);let b=a[0];return"$"+a[2]+"$"+bM(b)}(i),g+"/"+("children"===c?m:`@${bM(c)}/${m}`)),h);null===j&&(j={}),j[c]=n}let n=null!==e&&e[4];null!==e&&h.push((0,t.waitAtLeastOneReactRenderTask)().then(()=>bT(d,e[0],e[2],g,f)));let o=c[0],p=null,q=null;return"string"==typeof o?(i=o,q=o,p=null):(i=o[0],q=o[1],p=o[2]),{name:i,paramType:p,paramKey:b?null:q,hasRuntimePrefetch:n,slots:j,isRootLayout:!0===c[4]}}(a,m,k,n,e,"",g);return g.push((0,t.waitAtLeastOneReactRenderTask)().then(()=>bT(k,o,null,"/_head",e))),h(),{buildId:k,tree:p,staleTime:f}}async function bT(a,b,d,e,f){let h={buildId:a,rsc:b,loading:d,isPartial:await bU(b,f)},i=new AbortController;(0,t.waitAtLeastOneReactRenderTask)().then(()=>i.abort());let{prelude:j}=await (0,g.prerender)(h,f,{filterStackFrame:c,signal:i.signal,onError:bQ}),k=await (0,bK.streamToBuffer)(j);return""===e?["/_index",k]:[e,k]}async function bU(a,b){let d=!1,e=new AbortController;return(0,t.waitAtLeastOneReactRenderTask)().then(()=>{d=!0,e.abort()}),await (0,g.prerender)(a,b,{filterStackFrame:c,signal:e.signal,onError(){}}),d}a.s(["collectSegmentData",()=>bR],80358);var bV=a.i(80203);let bW=()=>{};function bX(a){if(!a.body)return[a,a];let[c,d]=a.body.tee(),e=new Response(c,{status:a.status,statusText:a.statusText,headers:a.headers});Object.defineProperty(e,"url",{value:a.url,configurable:!0,enumerable:!0,writable:!1}),b&&e.body&&b.register(e,new WeakRef(e.body));let f=new Response(d,{status:a.status,statusText:a.statusText,headers:a.headers});return Object.defineProperty(f,"url",{value:a.url,configurable:!0,enumerable:!0,writable:!1}),[e,f]}globalThis.FinalizationRegistry&&(b=new FinalizationRegistry(a=>{let b=a.deref();b&&!b.locked&&b.cancel("Response object has been garbage collected").then(bW)}));let bY=new Set(["traceparent","tracestate"]);a.i(87590);var bZ=a.i(41182);let b$=Symbol.for("next-patch");function b_(a,b){a.shouldTrackFetchMetrics&&(a.fetchMetrics??=[],a.fetchMetrics.push({...b,end:performance.timeOrigin+performance.now(),idx:a.nextFetchId||0}))}async function b0(a,b,c,d,e,f){let g=await a.arrayBuffer(),h={headers:Object.fromEntries(a.headers.entries()),body:Buffer.from(g).toString("base64"),status:a.status,url:a.url};return c&&await d.set(b,{kind:bZ.CachedRouteKind.FETCH,data:h,revalidate:e},c),await f(),new Response(g,{headers:a.headers,status:a.status,statusText:a.statusText})}async function b1(a,b,c,d,e,f,g,h,i){let[j,k]=bX(b),l=j.arrayBuffer().then(async a=>{let b=Buffer.from(a),h={headers:Object.fromEntries(j.headers.entries()),body:b.toString("base64"),status:j.status,url:j.url};null==f||f.set(c,h),d&&await e.set(c,{kind:bZ.CachedRouteKind.FETCH,data:h,revalidate:g},d)}).catch(a=>console.warn("Failed to set fetch cache",h,a)).finally(i),m=`cache-set-${c}`,n=a.pendingRevalidates??={},o=Promise.resolve();return m in n&&(o=n[m]),n[m]=o.then(()=>l).finally(()=>{(null==n?void 0:n[m])&&delete n[m]}),k}let b2=null,b3=()=>null,b4=()=>null;function b5(){return function(a){var b;let c;if(!0===globalThis[b$])return;let d=(b=globalThis.fetch,c=h.cache(a=>[]),function(a,d){let e,f;if(d&&d.signal)return b(a,d);if("string"!=typeof a||d){let c,g="string"==typeof a||a instanceof URL?new Request(a,d):a;if("GET"!==g.method&&"HEAD"!==g.method||g.keepalive)return b(a,d);c=Array.from(g.headers.entries()).filter(([a])=>!bY.has(a.toLowerCase())),f=JSON.stringify([g.method,c,g.mode,g.redirect,g.credentials,g.referrer,g.referrerPolicy,g.integrity]),e=g.url}else f='["GET",[],null,"follow",null,null,null,null]',e=a;let g=c(e);for(let a=0,b=g.length;a{let b=g[a][2];if(!b)throw Object.defineProperty(new u.InvariantError("No cached response"),"__NEXT_ERROR_CODE",{value:"E579",enumerable:!1,configurable:!0});let[c,d]=bX(b);return g[a][2]=d,c})}let h=b(a,d),i=[f,h,null];return g.push(i),h.then(a=>{let[b,c]=bX(a);return i[2]=c,b})});globalThis.fetch=function(a,{workAsyncStorage:b,workUnitAsyncStorage:c}){let d=async function(d,e){var f,g;let h;try{(h=new URL(d instanceof Request?d.url:d)).username="",h.password=""}catch{h=void 0}let i=(null==h?void 0:h.href)??"",k=(null==e||null==(f=e.method)?void 0:f.toUpperCase())||"GET",l=(null==e||null==(g=e.next)?void 0:g.internal)===!0,m="1"===process.env.NEXT_OTEL_FETCH_DISABLED,n=l?void 0:performance.timeOrigin+performance.now(),o=b.getStore(),p=c.getStore(),q=p?(0,j.getCacheSignal)(p):null;q&&q.beginRead();let s=(0,aX.getTracer)().trace(l?aY.NextNodeServerSpan.internalFetch:aY.AppRenderSpan.fetch,{hideSpan:m,kind:aX.SpanKind.CLIENT,spanName:["fetch",k,i].filter(Boolean).join(" "),attributes:{"http.url":i,"http.method":k,"net.peer.name":null==h?void 0:h.hostname,"net.peer.port":(null==h?void 0:h.port)||void 0}},async()=>{var b;let c,f,g,h,j,k;if(l||!o||o.isDraftMode)return a(d,e);let m=d&&"object"==typeof d&&"string"==typeof d.method,s=a=>(null==e?void 0:e[a])||(m?d[a]:null),t=a=>{var b,c,f;return void 0!==(null==e||null==(b=e.next)?void 0:b[a])?null==e||null==(c=e.next)?void 0:c[a]:m?null==(f=d.next)?void 0:f[a]:void 0},u=t("revalidate"),v=u,x=function(a,b){let c=[],d=[];for(let e=0;ebV.NEXT_CACHE_TAG_MAX_LENGTH?d.push({tag:f,reason:`exceeded max length of ${bV.NEXT_CACHE_TAG_MAX_LENGTH}`}):c.push(f),c.length>bV.NEXT_CACHE_TAG_MAX_ITEMS){console.warn(`Warning: exceeded max tag count for ${b}, dropped tags:`,a.slice(e).join(", "));break}}if(d.length>0)for(let{tag:a,reason:c}of(console.warn(`Warning: invalid tags passed to ${b}: `),d))console.log(`tag: "${a}" ${c}`);return c}(t("tags")||[],`fetch ${d.toString()}`);if(p)switch(p.type){case"prerender":case"prerender-runtime":case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":c=p}if(c&&Array.isArray(x)){let a=c.tags??(c.tags=[]);for(let b of x)a.includes(b)||a.push(b)}let y=null==p?void 0:p.implicitTags,z=o.fetchCache;p&&"unstable-cache"===p.type&&(z="force-no-store");let A=!!o.isUnstableNoStore,B=s("cache"),C="";"string"==typeof B&&void 0!==v&&("force-cache"===B&&0===v||"no-store"===B&&(v>0||!1===v))&&(f=`Specified "cache: ${B}" and "revalidate: ${v}", only one should be specified.`,B=void 0,v=void 0);let D="no-cache"===B||"no-store"===B||"force-no-store"===z||"only-no-store"===z,E=!z&&!B&&!v&&o.forceDynamic;"force-cache"===B&&void 0===v?v=!1:(D||E)&&(v=0),("no-cache"===B||"no-store"===B)&&(C=`cache: ${B}`),k=function(a,b){try{let c;if(!1===a)c=bV.INFINITE_CACHE;else if("number"==typeof a&&!isNaN(a)&&a>-1)c=a;else if(void 0!==a)throw Object.defineProperty(Error(`Invalid revalidate value "${a}" on "${b}", must be a non-negative number or false`),"__NEXT_ERROR_CODE",{value:"E179",enumerable:!1,configurable:!0});return c}catch(a){if(a instanceof Error&&a.message.includes("Invalid revalidate"))throw a;return}}(v,o.route);let F=s("headers"),G="function"==typeof(null==F?void 0:F.get)?F:new Headers(F||{}),H=G.get("authorization")||G.get("cookie"),I=!["get","head"].includes((null==(b=s("method"))?void 0:b.toLowerCase())||"get"),J=void 0==z&&(void 0==B||"default"===B)&&void 0==v,K=!!((H||I)&&(null==c?void 0:c.revalidate)===0),L=!1;if(!K&&J&&(o.isBuildTimePrerendering?L=!0:K=!0),J&&void 0!==p)switch(p.type){case"prerender":case"prerender-runtime":case"prerender-client":return q&&(q.endRead(),q=null),r(p.renderSignal,o.route,"fetch()")}switch(z){case"force-no-store":C="fetchCache = force-no-store";break;case"only-no-store":if("force-cache"===B||void 0!==k&&k>0)throw Object.defineProperty(Error(`cache: 'force-cache' used on fetch for ${i} with 'export const fetchCache = 'only-no-store'`),"__NEXT_ERROR_CODE",{value:"E448",enumerable:!1,configurable:!0});C="fetchCache = only-no-store";break;case"only-cache":if("no-store"===B)throw Object.defineProperty(Error(`cache: 'no-store' used on fetch for ${i} with 'export const fetchCache = 'only-cache'`),"__NEXT_ERROR_CODE",{value:"E521",enumerable:!1,configurable:!0});break;case"force-cache":(void 0===v||0===v)&&(C="fetchCache = force-cache",k=bV.INFINITE_CACHE)}if(void 0===k?"default-cache"!==z||A?"default-no-store"===z?(k=0,C="fetchCache = default-no-store"):A?(k=0,C="noStore call"):K?(k=0,C="auto no cache"):(C="auto cache",k=c?c.revalidate:bV.INFINITE_CACHE):(k=bV.INFINITE_CACHE,C="fetchCache = default-cache"):C||(C=`revalidate: ${k}`),!(o.forceStatic&&0===k)&&!K&&c&&k0,{incrementalCache:N}=o,O=!1;if(p)switch(p.type){case"request":case"cache":case"private-cache":O=p.isHmrRefresh??!1,h=p.serverComponentsHmrCache}if(N&&(M||h))try{g=await N.generateCacheKey(i,m?d:e)}catch(a){console.error("Failed to generate cache key for",d)}let P=o.nextFetchId??1;o.nextFetchId=P+1;let Q=()=>{},R=async(b,c)=>{let j=["cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","window","duplex",...b?[]:["signal"]];if(m){let a=d,b={body:a._ogBody||a.body};for(let c of j)b[c]=a[c];d=new Request(a.url,b)}else if(e){let{_ogBody:a,body:c,signal:d,...f}=e;e={...f,body:a||c,signal:b?void 0:d}}let l={...e,next:{...null==e?void 0:e.next,fetchType:"origin",fetchIdx:P}};return a(d,l).then(async a=>{if(!b&&n&&b_(o,{start:n,url:i,cacheReason:c||C,cacheStatus:0===k||c?"skip":"miss",cacheWarning:f,status:a.status,method:l.method||"GET"}),200===a.status&&N&&g&&(M||h)){let b=k>=bV.INFINITE_CACHE?bV.CACHE_ONE_YEAR:k,c=M?{fetchCache:!0,fetchUrl:i,fetchIdx:P,tags:x,isImplicitBuildTimeCache:L}:void 0;switch(null==p?void 0:p.type){case"prerender":case"prerender-client":case"prerender-runtime":return b0(a,g,c,N,b,Q);case"request":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case void 0:return b1(o,a,g,c,N,h,b,d,Q)}}return await Q(),a}).catch(a=>{throw Q(),a})},S=!1,T=!1;if(g&&N){let a;if(O&&h&&(a=h.get(g),T=!0),M&&!a){Q=await N.lock(g);let b=o.isOnDemandRevalidate?null:await N.get(g,{kind:bZ.IncrementalCacheKind.FETCH,revalidate:k,fetchUrl:i,fetchIdx:P,tags:x,softTags:null==y?void 0:y.tags});if(J&&p)switch(p.type){case"prerender":case"prerender-client":case"prerender-runtime":await (b2||(b2=new Promise(a=>{setTimeout(()=>{b2=null,a()},0)})),b2)}if(b?await Q():j="cache-control: no-cache (hard refresh)",(null==b?void 0:b.value)&&b.value.kind===bZ.CachedRouteKind.FETCH)if(o.isStaticGeneration&&b.isStale)S=!0;else{if(b.isStale&&(o.pendingRevalidates??={},!o.pendingRevalidates[g])){let a=R(!0).then(async a=>({body:await a.arrayBuffer(),headers:a.headers,status:a.status,statusText:a.statusText})).finally(()=>{o.pendingRevalidates??={},delete o.pendingRevalidates[g||""]});a.catch(console.error),o.pendingRevalidates[g]=a}a=b.value.data}}if(a){n&&b_(o,{start:n,url:i,cacheReason:C,cacheStatus:T?"hmr":"hit",cacheWarning:f,status:a.status||200,method:(null==e?void 0:e.method)||"GET"});let b=new Response(Buffer.from(a.body,"base64"),{headers:a.headers,status:a.status});return Object.defineProperty(b,"url",{value:a.url}),b}}if(o.isStaticGeneration&&e&&"object"==typeof e){let{cache:a}=e;if("no-store"===a){if(p)switch(p.type){case"prerender":case"prerender-client":case"prerender-runtime":return q&&(q.endRead(),q=null),r(p.renderSignal,o.route,"fetch()")}w(o,p,`no-store fetch ${d} ${o.route}`)}let b="next"in e,{next:f={}}=e;if("number"==typeof f.revalidate&&c&&f.revalidate{let b=a[0];return{body:await b.arrayBuffer(),headers:b.headers,status:b.status,statusText:b.statusText}}).finally(()=>{var b;(null==(b=o.pendingRevalidates)?void 0:b[a])&&delete o.pendingRevalidates[a]})).catch(()=>{}),o.pendingRevalidates[a]=b,c.then(a=>a[1])}});if(q)try{return await s}finally{q&&q.endRead()}return s};return d.__nextPatched=!0,d.__nextGetStaticStore=()=>b,d._nextOriginalFetch=a,globalThis[b$]=!0,Object.defineProperty(d,"name",{value:"fetch",writable:!1}),d}(d,a)}({workAsyncStorage:i.workAsyncStorage,workUnitAsyncStorage:j.workUnitAsyncStorage})}globalThis.__next__clear_chunk_cache__=a.C,a.s(["SegmentViewNode",()=>b3,"SegmentViewStateNode",()=>b4,"patchFetch",()=>b5],13985)},85896,a=>{"use strict";var b=a.i(13985),c=a.i(11092),d=a.i(13409),e=a.i(25235),f=a.i(50620),g=a.i(15508),h=a.i(56704),i=a.i(32319),j=a.i(20635),k=a.i(66722),l=a.i(62698),m=a.i(34234),n=a.i(74876),o=a.i(4102),p=a.i(54728),q=a.i(68638),r=a.i(91326),s=a.i(81343),t=a.i(61501),u=a.i(17512),v=a.i(80358);a.s(["ClientPageRoot",()=>k.ClientPageRoot,"ClientSegmentRoot",()=>l.ClientSegmentRoot,"Fragment",()=>e.Fragment,"HTTPAccessFallbackBoundary",()=>p.HTTPAccessFallbackBoundary,"LayoutRouter",()=>f.default,"Postpone",()=>t.Postpone,"RenderFromTemplateContext",()=>g.default,"RootLayoutBoundary",()=>r.RootLayoutBoundary,"SegmentViewNode",()=>b.SegmentViewNode,"SegmentViewStateNode",()=>b.SegmentViewStateNode,"actionAsyncStorage",()=>j.actionAsyncStorage,"captureOwnerStack",()=>e.captureOwnerStack,"collectSegmentData",()=>v.collectSegmentData,"createElement",()=>e.createElement,"createMetadataComponents",()=>q.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>n.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>m.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>n.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>m.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>c.createTemporaryReferenceSet,"decodeAction",()=>c.decodeAction,"decodeFormState",()=>c.decodeFormState,"decodeReply",()=>c.decodeReply,"patchFetch",()=>b.patchFetch,"preconnect",()=>s.preconnect,"preloadFont",()=>s.preloadFont,"preloadStyle",()=>s.preloadStyle,"prerender",()=>d.prerender,"renderToReadableStream",()=>c.renderToReadableStream,"serverHooks",0,o,"taintObjectReference",()=>u.taintObjectReference,"workAsyncStorage",()=>h.workAsyncStorage,"workUnitAsyncStorage",()=>i.workUnitAsyncStorage])}]; - -//# sourceMappingURL=549ce_next_dist_f187ee39._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/549ce_next_dist_f187ee39._.js.map b/.next/server/chunks/ssr/549ce_next_dist_f187ee39._.js.map deleted file mode 100644 index b6d4ae3..0000000 --- a/.next/server/chunks/ssr/549ce_next_dist_f187ee39._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/layout-router.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/render-from-template-context.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/client-page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/client-segment.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/http-access-fallback/error-boundary.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/metadata/generate/icon-mark.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/shared/lib/isomorphic/path.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/lib/framework/boundary-components.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react-dom.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/compiled/react-server-dom-turbopack/client.node.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/compiled/string-hash/index.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/clone-response.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/static-generation-bailout.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/entry-base.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/metadata.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/resolve-metadata.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/resolvers/resolve-url.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/resolvers/resolve-title.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/url.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/app-dir-module.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/router-utils/is-postpone.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/rsc/preloads.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/create-error-handler.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/format-server-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/hooks-server-context.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/redirect-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/request/search-params.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/error-telemetry-utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-constants.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/default-metadata.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/interop-default.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/http-access-fallback.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/promise-with-resolvers.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/dynamic-rendering-utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/non-nullable.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/is-plain-object.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/constants.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icons.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/create-deduped-by-callsite-server-error-logger.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/collect-segment-data.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/request/utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/is-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/client-and-server-references.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/opengraph.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/segment-cache/segment-value-encoding.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/resolvers/resolve-basics.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/patch-fetch.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/staged-rendering.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/react-large-shell-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/prospective-render-utils.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/alternate.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/resolvers/resolve-icons.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/meta.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/resolvers/resolve-opengraph.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/basic.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/request/pathname.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/lazy-result.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/lib/dedupe-fetch.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/rsc/taint.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/client/components/is-next-router-error.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/request/params.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/shared/lib/server-reference-info.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/esm/server/app-render/dynamic-rendering.js"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.ReactServerDOMTurbopackStatic\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/layout-router.js\"));\n","'use client'\n\nimport type { CacheNode } from '../../shared/lib/app-router-types'\nimport type { LoadingModuleData } from '../../shared/lib/app-router-types'\nimport type {\n FlightRouterState,\n FlightSegmentPath,\n Segment,\n} from '../../shared/lib/app-router-types'\nimport type { ErrorComponent } from './error-boundary'\nimport type { FocusAndScrollRef } from './router-reducer/router-reducer-types'\n\nimport React, {\n Activity,\n useContext,\n use,\n Suspense,\n useDeferredValue,\n type JSX,\n type ActivityProps,\n} from 'react'\nimport ReactDOM from 'react-dom'\nimport {\n LayoutRouterContext,\n GlobalLayoutRouterContext,\n TemplateContext,\n} from '../../shared/lib/app-router-context.shared-runtime'\nimport { unresolvedThenable } from './unresolved-thenable'\nimport { ErrorBoundary } from './error-boundary'\nimport { matchSegment } from './match-segments'\nimport { disableSmoothScrollDuringRouteTransition } from '../../shared/lib/router/utils/disable-smooth-scroll'\nimport { RedirectBoundary } from './redirect-boundary'\nimport { HTTPAccessFallbackBoundary } from './http-access-fallback/error-boundary'\nimport { createRouterCacheKey } from './router-reducer/create-router-cache-key'\nimport { useRouterBFCache, type RouterBFCacheEntry } from './bfcache'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport {\n NavigationPromisesContext,\n type NavigationPromises,\n} from '../../shared/lib/hooks-client-context.shared-runtime'\nimport { getParamValueFromCacheKey } from '../route-params'\nimport type { Params } from '../../server/request/params'\nimport { isDeferredRsc } from './router-reducer/ppr-navigations'\n\nconst __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = (\n ReactDOM as any\n).__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE\n\n// TODO-APP: Replace with new React API for finding dom nodes without a `ref` when available\n/**\n * Wraps ReactDOM.findDOMNode with additional logic to hide React Strict Mode warning\n */\nfunction findDOMNode(\n instance: React.ReactInstance | null | undefined\n): Element | Text | null {\n // Tree-shake for server bundle\n if (typeof window === 'undefined') return null\n\n // __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode is null during module init.\n // We need to lazily reference it.\n const internal_reactDOMfindDOMNode =\n __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode\n return internal_reactDOMfindDOMNode(instance)\n}\n\nconst rectProperties = [\n 'bottom',\n 'height',\n 'left',\n 'right',\n 'top',\n 'width',\n 'x',\n 'y',\n] as const\n/**\n * Check if a HTMLElement is hidden or fixed/sticky position\n */\nfunction shouldSkipElement(element: HTMLElement) {\n // we ignore fixed or sticky positioned elements since they'll likely pass the \"in-viewport\" check\n // and will result in a situation we bail on scroll because of something like a fixed nav,\n // even though the actual page content is offscreen\n if (['sticky', 'fixed'].includes(getComputedStyle(element).position)) {\n return true\n }\n\n // Uses `getBoundingClientRect` to check if the element is hidden instead of `offsetParent`\n // because `offsetParent` doesn't consider document/body\n const rect = element.getBoundingClientRect()\n return rectProperties.every((item) => rect[item] === 0)\n}\n\n/**\n * Check if the top corner of the HTMLElement is in the viewport.\n */\nfunction topOfElementInViewport(element: HTMLElement, viewportHeight: number) {\n const rect = element.getBoundingClientRect()\n return rect.top >= 0 && rect.top <= viewportHeight\n}\n\n/**\n * Find the DOM node for a hash fragment.\n * If `top` the page has to scroll to the top of the page. This mirrors the browser's behavior.\n * If the hash fragment is an id, the page has to scroll to the element with that id.\n * If the hash fragment is a name, the page has to scroll to the first element with that name.\n */\nfunction getHashFragmentDomNode(hashFragment: string) {\n // If the hash fragment is `top` the page has to scroll to the top of the page.\n if (hashFragment === 'top') {\n return document.body\n }\n\n // If the hash fragment is an id, the page has to scroll to the element with that id.\n return (\n document.getElementById(hashFragment) ??\n // If the hash fragment is a name, the page has to scroll to the first element with that name.\n document.getElementsByName(hashFragment)[0]\n )\n}\ninterface ScrollAndFocusHandlerProps {\n focusAndScrollRef: FocusAndScrollRef\n children: React.ReactNode\n segmentPath: FlightSegmentPath\n}\nclass InnerScrollAndFocusHandler extends React.Component {\n handlePotentialScroll = () => {\n // Handle scroll and focus, it's only applied once in the first useEffect that triggers that changed.\n const { focusAndScrollRef, segmentPath } = this.props\n\n if (focusAndScrollRef.apply) {\n // segmentPaths is an array of segment paths that should be scrolled to\n // if the current segment path is not in the array, the scroll is not applied\n // unless the array is empty, in which case the scroll is always applied\n if (\n focusAndScrollRef.segmentPaths.length !== 0 &&\n !focusAndScrollRef.segmentPaths.some((scrollRefSegmentPath) =>\n segmentPath.every((segment, index) =>\n matchSegment(segment, scrollRefSegmentPath[index])\n )\n )\n ) {\n return\n }\n\n let domNode:\n | ReturnType\n | ReturnType = null\n const hashFragment = focusAndScrollRef.hashFragment\n\n if (hashFragment) {\n domNode = getHashFragmentDomNode(hashFragment)\n }\n\n // `findDOMNode` is tricky because it returns just the first child if the component is a fragment.\n // This already caused a bug where the first child was a in head.\n if (!domNode) {\n domNode = findDOMNode(this)\n }\n\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (!(domNode instanceof Element)) {\n return\n }\n\n // Verify if the element is a HTMLElement and if we want to consider it for scroll behavior.\n // If the element is skipped, try to select the next sibling and try again.\n while (!(domNode instanceof HTMLElement) || shouldSkipElement(domNode)) {\n if (process.env.NODE_ENV !== 'production') {\n if (domNode.parentElement?.localName === 'head') {\n // TODO: We enter this state when metadata was rendered as part of the page or via Next.js.\n // This is always a bug in Next.js and caused by React hoisting metadata.\n // We need to replace `findDOMNode` in favor of Fragment Refs (when available) so that we can skip over metadata.\n }\n }\n\n // No siblings found that match the criteria are found, so handle scroll higher up in the tree instead.\n if (domNode.nextElementSibling === null) {\n return\n }\n domNode = domNode.nextElementSibling\n }\n\n // State is mutated to ensure that the focus and scroll is applied only once.\n focusAndScrollRef.apply = false\n focusAndScrollRef.hashFragment = null\n focusAndScrollRef.segmentPaths = []\n\n disableSmoothScrollDuringRouteTransition(\n () => {\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n ;(domNode as HTMLElement).scrollIntoView()\n\n return\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement\n const viewportHeight = htmlElement.clientHeight\n\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(domNode as HTMLElement, viewportHeight)) {\n return\n }\n\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0\n\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(domNode as HTMLElement, viewportHeight)) {\n // Scroll into view doesn't scroll horizontally by default when not needed\n ;(domNode as HTMLElement).scrollIntoView()\n }\n },\n {\n // We will force layout by querying domNode position\n dontForceLayout: true,\n onlyHashChange: focusAndScrollRef.onlyHashChange,\n }\n )\n\n // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition`\n focusAndScrollRef.onlyHashChange = false\n\n // Set focus on the element\n domNode.focus()\n }\n }\n\n componentDidMount() {\n this.handlePotentialScroll()\n }\n\n componentDidUpdate() {\n // Because this property is overwritten in handlePotentialScroll it's fine to always run it when true as it'll be set to false for subsequent renders.\n if (this.props.focusAndScrollRef.apply) {\n this.handlePotentialScroll()\n }\n }\n\n render() {\n return this.props.children\n }\n}\n\nfunction ScrollAndFocusHandler({\n segmentPath,\n children,\n}: {\n segmentPath: FlightSegmentPath\n children: React.ReactNode\n}) {\n const context = useContext(GlobalLayoutRouterContext)\n if (!context) {\n throw new Error('invariant global layout router not mounted')\n }\n\n return (\n \n {children}\n \n )\n}\n\n/**\n * InnerLayoutRouter handles rendering the provided segment based on the cache.\n */\nfunction InnerLayoutRouter({\n tree,\n segmentPath,\n debugNameContext,\n cacheNode: maybeCacheNode,\n params,\n url,\n isActive,\n}: {\n tree: FlightRouterState\n segmentPath: FlightSegmentPath\n debugNameContext: string\n cacheNode: CacheNode | null\n params: Params\n url: string\n isActive: boolean\n}) {\n const context = useContext(GlobalLayoutRouterContext)\n const parentNavPromises = useContext(NavigationPromisesContext)\n\n if (!context) {\n throw new Error('invariant global layout router not mounted')\n }\n\n const cacheNode =\n maybeCacheNode !== null\n ? maybeCacheNode\n : // This segment is not in the cache. Suspend indefinitely.\n //\n // This should only be reachable for inactive/hidden segments, during\n // prerendering The active segment should always be consistent with the\n // CacheNode tree. Regardless, if we don't have a matching CacheNode, we\n // must suspend rather than render nothing, to prevent showing an\n // inconsistent route.\n\n (use(unresolvedThenable) as never)\n\n // `rsc` represents the renderable node for this segment.\n\n // If this segment has a `prefetchRsc`, it's the statically prefetched data.\n // We should use that on initial render instead of `rsc`. Then we'll switch\n // to `rsc` when the dynamic response streams in.\n //\n // If no prefetch data is available, then we go straight to rendering `rsc`.\n const resolvedPrefetchRsc =\n cacheNode.prefetchRsc !== null ? cacheNode.prefetchRsc : cacheNode.rsc\n\n // We use `useDeferredValue` to handle switching between the prefetched and\n // final values. The second argument is returned on initial render, then it\n // re-renders with the first argument.\n const rsc: any = useDeferredValue(cacheNode.rsc, resolvedPrefetchRsc)\n\n // `rsc` is either a React node or a promise for a React node, except we\n // special case `null` to represent that this segment's data is missing. If\n // it's a promise, we need to unwrap it so we can determine whether or not the\n // data is missing.\n let resolvedRsc: React.ReactNode\n if (isDeferredRsc(rsc)) {\n const unwrappedRsc = use(rsc)\n if (unwrappedRsc === null) {\n // If the promise was resolved to `null`, it means the data for this\n // segment was not returned by the server. Suspend indefinitely. When this\n // happens, the router is responsible for triggering a new state update to\n // un-suspend this segment.\n use(unresolvedThenable) as never\n }\n resolvedRsc = unwrappedRsc\n } else {\n // This is not a deferred RSC promise. Don't need to unwrap it.\n if (rsc === null) {\n use(unresolvedThenable) as never\n }\n resolvedRsc = rsc\n }\n\n // In dev, we create a NavigationPromisesContext containing the instrumented promises that provide\n // `useSelectedLayoutSegment` and `useSelectedLayoutSegments`.\n // Promises are cached outside of render to survive suspense retries.\n let navigationPromises: NavigationPromises | null = null\n if (process.env.NODE_ENV !== 'production') {\n const { createNestedLayoutNavigationPromises } =\n require('./navigation-devtools') as typeof import('./navigation-devtools')\n\n navigationPromises = createNestedLayoutNavigationPromises(\n tree,\n parentNavPromises\n )\n }\n\n let children = resolvedRsc\n\n if (navigationPromises) {\n children = (\n \n {resolvedRsc}\n \n )\n }\n\n children = (\n // The layout router context narrows down tree and childNodes at each level.\n \n {children}\n \n )\n\n return children\n}\n\n/**\n * Renders suspense boundary with the provided \"loading\" property as the fallback.\n * If no loading property is provided it renders the children without a suspense boundary.\n */\nfunction LoadingBoundary({\n name,\n loading,\n children,\n}: {\n name: ActivityProps['name']\n loading: LoadingModuleData | Promise\n children: React.ReactNode\n}): JSX.Element {\n // If loading is a promise, unwrap it. This happens in cases where we haven't\n // yet received the loading data from the server — which includes whether or\n // not this layout has a loading component at all.\n //\n // It's OK to suspend here instead of inside the fallback because this\n // promise will resolve simultaneously with the data for the segment itself.\n // So it will never suspend for longer than it would have if we didn't use\n // a Suspense fallback at all.\n let loadingModuleData\n if (\n typeof loading === 'object' &&\n loading !== null &&\n typeof (loading as any).then === 'function'\n ) {\n const promiseForLoading = loading as Promise\n loadingModuleData = use(promiseForLoading)\n } else {\n loadingModuleData = loading as LoadingModuleData\n }\n\n if (loadingModuleData) {\n const loadingRsc = loadingModuleData[0]\n const loadingStyles = loadingModuleData[1]\n const loadingScripts = loadingModuleData[2]\n return (\n \n {loadingStyles}\n {loadingScripts}\n {loadingRsc}\n \n }\n >\n {children}\n
\n )\n }\n\n return <>{children}\n}\n\n/**\n * OuterLayoutRouter handles the current segment as well as rendering of other segments.\n * It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes.\n */\nexport default function OuterLayoutRouter({\n parallelRouterKey,\n error,\n errorStyles,\n errorScripts,\n templateStyles,\n templateScripts,\n template,\n notFound,\n forbidden,\n unauthorized,\n segmentViewBoundaries,\n}: {\n parallelRouterKey: string\n error: ErrorComponent | undefined\n errorStyles: React.ReactNode | undefined\n errorScripts: React.ReactNode | undefined\n templateStyles: React.ReactNode | undefined\n templateScripts: React.ReactNode | undefined\n template: React.ReactNode\n notFound: React.ReactNode | undefined\n forbidden: React.ReactNode | undefined\n unauthorized: React.ReactNode | undefined\n segmentViewBoundaries?: React.ReactNode\n}) {\n const context = useContext(LayoutRouterContext)\n if (!context) {\n throw new Error('invariant expected layout router to be mounted')\n }\n\n const {\n parentTree,\n parentCacheNode,\n parentSegmentPath,\n parentParams,\n url,\n isActive,\n debugNameContext,\n } = context\n\n // Get the CacheNode for this segment by reading it from the parent segment's\n // child map.\n const parentParallelRoutes = parentCacheNode.parallelRoutes\n let segmentMap = parentParallelRoutes.get(parallelRouterKey)\n // If the parallel router cache node does not exist yet, create it.\n // This writes to the cache when there is no item in the cache yet. It never *overwrites* existing cache items which is why it's safe in concurrent mode.\n if (!segmentMap) {\n segmentMap = new Map()\n parentParallelRoutes.set(parallelRouterKey, segmentMap)\n }\n const parentTreeSegment = parentTree[0]\n const segmentPath =\n parentSegmentPath === null\n ? // TODO: The root segment value is currently omitted from the segment\n // path. This has led to a bunch of special cases scattered throughout\n // the code. We should clean this up.\n [parallelRouterKey]\n : parentSegmentPath.concat([parentTreeSegment, parallelRouterKey])\n\n // The \"state\" key of a segment is the one passed to React — it represents the\n // identity of the UI tree. Whenever the state key changes, the tree is\n // recreated and the state is reset. In the App Router model, search params do\n // not cause state to be lost, so two segments with the same segment path but\n // different search params should have the same state key.\n //\n // The \"cache\" key of a segment, however, *does* include the search params, if\n // it's possible that the segment accessed the search params on the server.\n // (This only applies to page segments; layout segments cannot access search\n // params on the server.)\n const activeTree = parentTree[1][parallelRouterKey]\n if (activeTree === undefined) {\n // Could not find a matching segment. The client tree is inconsistent with\n // the server tree. Suspend indefinitely; the router will have already\n // detected the inconsistency when handling the server response, and\n // triggered a refresh of the page to recover.\n use(unresolvedThenable) as never\n }\n\n const activeSegment = activeTree[0]\n const activeStateKey = createRouterCacheKey(activeSegment, true) // no search params\n\n // At each level of the route tree, not only do we render the currently\n // active segment — we also render the last N segments that were active at\n // this level inside a hidden boundary, to preserve their state\n // if or when the user navigates to them again.\n //\n // bfcacheEntry is a linked list of FlightRouterStates.\n let bfcacheEntry: RouterBFCacheEntry | null = useRouterBFCache(\n activeTree,\n activeStateKey\n )\n let children: Array = []\n do {\n const tree = bfcacheEntry.tree\n const stateKey = bfcacheEntry.stateKey\n const segment = tree[0]\n const cacheKey = createRouterCacheKey(segment)\n\n // Read segment path from the parallel router cache node.\n const cacheNode = segmentMap.get(cacheKey) ?? null\n\n /*\n - Error boundary\n - Only renders error boundary if error component is provided.\n - Rendered for each segment to ensure they have their own error state.\n - When gracefully degrade for bots, skip rendering error boundary.\n - Loading boundary\n - Only renders suspense boundary if loading components is provided.\n - Rendered for each segment to ensure they have their own loading state.\n - Passed to the router during rendering to ensure it can be immediately rendered when suspending on a Flight fetch.\n */\n\n let segmentBoundaryTriggerNode: React.ReactNode = null\n let segmentViewStateNode: React.ReactNode = null\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentBoundaryTriggerNode, SegmentViewStateNode } =\n require('../../next-devtools/userspace/app/segment-explorer-node') as typeof import('../../next-devtools/userspace/app/segment-explorer-node')\n\n const pagePrefix = normalizeAppPath(url)\n segmentViewStateNode = (\n \n )\n\n segmentBoundaryTriggerNode = (\n <>\n \n \n )\n }\n\n let params = parentParams\n if (Array.isArray(segment)) {\n // This segment contains a route param. Accumulate these as we traverse\n // down the router tree. The result represents the set of params that\n // the layout/page components are permitted to access below this point.\n const paramName = segment[0]\n const paramCacheKey = segment[1]\n const paramType = segment[2]\n const paramValue = getParamValueFromCacheKey(paramCacheKey, paramType)\n if (paramValue !== null) {\n params = {\n ...parentParams,\n [paramName]: paramValue,\n }\n }\n }\n\n const debugName = getBoundaryDebugNameFromSegment(segment)\n // `debugNameContext` represents the nearest non-\"virtual\" parent segment.\n // `getBoundaryDebugNameFromSegment` returns undefined for virtual segments.\n // So if `debugName` is undefined, the context is passed through unchanged.\n const childDebugNameContext = debugName ?? debugNameContext\n\n // In practical terms, clicking this name in the Suspense DevTools\n // should select the child slots of that layout.\n //\n // So the name we apply to the Activity boundary is actually based on\n // the nearest parent segments.\n //\n // We skip over \"virtual\" parents, i.e. ones inserted by Next.js that\n // don't correspond to application-defined code.\n const isVirtual = debugName === undefined\n const debugNameToDisplay = isVirtual ? undefined : debugNameContext\n\n // TODO: The loading module data for a segment is stored on the parent, then\n // applied to each of that parent segment's parallel route slots. In the\n // simple case where there's only one parallel route (the `children` slot),\n // this is no different from if the loading module data where stored on the\n // child directly. But I'm not sure this actually makes sense when there are\n // multiple parallel routes. It's not a huge issue because you always have\n // the option to define a narrower loading boundary for a particular slot. But\n // this sort of smells like an implementation accident to me.\n const loadingModuleData = parentCacheNode.loading\n let child = (\n \n \n \n \n \n \n {segmentBoundaryTriggerNode}\n \n \n \n \n {segmentViewStateNode}\n \n }\n >\n {templateStyles}\n {templateScripts}\n {template}\n \n )\n\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentStateProvider } =\n require('../../next-devtools/userspace/app/segment-explorer-node') as typeof import('../../next-devtools/userspace/app/segment-explorer-node')\n\n child = (\n \n {child}\n {segmentViewBoundaries}\n \n )\n }\n\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n child = (\n \n {child}\n \n )\n }\n\n children.push(child)\n\n bfcacheEntry = bfcacheEntry.next\n } while (bfcacheEntry !== null)\n\n return children\n}\n\nfunction getBoundaryDebugNameFromSegment(segment: Segment): string | undefined {\n if (segment === '/') {\n // Reached the root\n return '/'\n }\n if (typeof segment === 'string') {\n if (isVirtualLayout(segment)) {\n return undefined\n } else {\n return segment + '/'\n }\n }\n const paramCacheKey = segment[1]\n return paramCacheKey + '/'\n}\n\nfunction isVirtualLayout(segment: string): boolean {\n return (\n // This is inserted by the loader. We should consider encoding these\n // in a more special way instead of checking the name, to distinguish them\n // from app-defined groups.\n segment === '(slot)'\n )\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/render-from-template-context.js\"));\n","'use client'\n\nimport React, { useContext, type JSX } from 'react'\nimport { TemplateContext } from '../../shared/lib/app-router-context.shared-runtime'\n\nexport default function RenderFromTemplateContext(): JSX.Element {\n const children = useContext(TemplateContext)\n return <>{children}\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-page.js\"));\n","'use client'\n\nimport type { ParsedUrlQuery } from 'querystring'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\nimport { urlSearchParamsToParsedUrlQuery } from '../route-params'\nimport { SearchParamsContext } from '../../shared/lib/hooks-client-context.shared-runtime'\n\n/**\n * When the Page is a client component we send the params and searchParams to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Page component.\n *\n * additionally we may send promises representing the params and searchParams. We don't ever use these passed\n * values but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations.\n * It is up to the caller to decide if the promises are needed.\n */\nexport function ClientPageRoot({\n Component,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n serverProvidedParams: null | {\n searchParams: ParsedUrlQuery\n params: Params\n promises: Array> | null\n }\n}) {\n let searchParams: ParsedUrlQuery\n let params: Params\n if (serverProvidedParams !== null) {\n searchParams = serverProvidedParams.searchParams\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params as\n // props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n\n // This is an intentional behavior change: when Cache Components is enabled,\n // client segments receive the \"canonical\" search params, not the\n // rewritten ones. Users should either call useSearchParams directly or pass\n // the rewritten ones in from a Server Component.\n // TODO: Log a deprecation error when this object is accessed\n searchParams = urlSearchParamsToParsedUrlQuery(use(SearchParamsContext)!)\n }\n\n if (typeof window === 'undefined') {\n const { workAsyncStorage } =\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n\n let clientSearchParams: Promise\n let clientParams: Promise\n // We are going to instrument the searchParams prop with tracking for the\n // appropriate context. We wrap differently in prerendering vs rendering\n const store = workAsyncStorage.getStore()\n if (!store) {\n throw new InvariantError(\n 'Expected workStore to exist when handling searchParams in a client Page.'\n )\n }\n\n const { createSearchParamsFromClient } =\n require('../../server/request/search-params') as typeof import('../../server/request/search-params')\n clientSearchParams = createSearchParamsFromClient(searchParams, store)\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params, store)\n\n return \n } else {\n const { createRenderSearchParamsFromClient } =\n require('../request/search-params.browser') as typeof import('../request/search-params.browser')\n const clientSearchParams = createRenderSearchParamsFromClient(searchParams)\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n\n return \n }\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/client-segment.js\"));\n","'use client'\n\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\n\n/**\n * When the Page is a client component we send the params to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Segment component.\n *\n * additionally we may send a promise representing params. We don't ever use this passed\n * value but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations\n * such as when cacheComponents is enabled. It is up to the caller to decide if the promises are needed.\n */\nexport function ClientSegmentRoot({\n Component,\n slots,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n slots: { [key: string]: React.ReactNode }\n serverProvidedParams: null | {\n params: Params\n promises: Array> | null\n }\n}) {\n let params: Params\n if (serverProvidedParams !== null) {\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params\n // as props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n }\n\n if (typeof window === 'undefined') {\n const { workAsyncStorage } =\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n\n let clientParams: Promise\n // We are going to instrument the searchParams prop with tracking for the\n // appropriate context. We wrap differently in prerendering vs rendering\n const store = workAsyncStorage.getStore()\n if (!store) {\n throw new InvariantError(\n 'Expected workStore to exist when handling params in a client segment such as a Layout or Template.'\n )\n }\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params, store)\n\n return \n } else {\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n return \n }\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js\"));\n","'use client'\n\n/**\n * HTTPAccessFallbackBoundary is a boundary that catches errors and renders a\n * fallback component for HTTP errors.\n *\n * It receives the status code, and determine if it should render fallbacks for few HTTP 4xx errors.\n *\n * e.g. 404\n * 404 represents not found, and the fallback component pair contains the component and its styles.\n *\n */\n\nimport React, { useContext } from 'react'\nimport { useUntrackedPathname } from '../navigation-untracked'\nimport {\n HTTPAccessErrorStatus,\n getAccessFallbackHTTPStatus,\n getAccessFallbackErrorTypeByStatus,\n isHTTPAccessFallbackError,\n} from './http-access-fallback'\nimport { warnOnce } from '../../../shared/lib/utils/warn-once'\nimport { MissingSlotContext } from '../../../shared/lib/app-router-context.shared-runtime'\n\ninterface HTTPAccessFallbackBoundaryProps {\n notFound?: React.ReactNode\n forbidden?: React.ReactNode\n unauthorized?: React.ReactNode\n // TODO: Make this required once `React.createElement` understands that positional args go into children\n children?: React.ReactNode\n missingSlots?: Set\n}\n\ninterface HTTPAccessFallbackErrorBoundaryProps\n extends HTTPAccessFallbackBoundaryProps {\n pathname: string | null\n missingSlots?: Set\n}\n\ninterface HTTPAccessBoundaryState {\n triggeredStatus: number | undefined\n previousPathname: string | null\n}\n\nclass HTTPAccessFallbackErrorBoundary extends React.Component<\n HTTPAccessFallbackErrorBoundaryProps,\n HTTPAccessBoundaryState\n> {\n constructor(props: HTTPAccessFallbackErrorBoundaryProps) {\n super(props)\n this.state = {\n triggeredStatus: undefined,\n previousPathname: props.pathname,\n }\n }\n\n componentDidCatch(): void {\n if (\n process.env.NODE_ENV === 'development' &&\n this.props.missingSlots &&\n this.props.missingSlots.size > 0 &&\n // A missing children slot is the typical not-found case, so no need to warn\n !this.props.missingSlots.has('children')\n ) {\n let warningMessage =\n 'No default component was found for a parallel route rendered on this page. Falling back to nearest NotFound boundary.\\n' +\n 'Learn more: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#defaultjs\\n\\n'\n\n const formattedSlots = Array.from(this.props.missingSlots)\n .sort((a, b) => a.localeCompare(b))\n .map((slot) => `@${slot}`)\n .join(', ')\n\n warningMessage += 'Missing slots: ' + formattedSlots\n\n warnOnce(warningMessage)\n }\n }\n\n static getDerivedStateFromError(error: any) {\n if (isHTTPAccessFallbackError(error)) {\n const httpStatus = getAccessFallbackHTTPStatus(error)\n return {\n triggeredStatus: httpStatus,\n }\n }\n // Re-throw if error is not for 404\n throw error\n }\n\n static getDerivedStateFromProps(\n props: HTTPAccessFallbackErrorBoundaryProps,\n state: HTTPAccessBoundaryState\n ): HTTPAccessBoundaryState | null {\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */\n if (props.pathname !== state.previousPathname && state.triggeredStatus) {\n return {\n triggeredStatus: undefined,\n previousPathname: props.pathname,\n }\n }\n return {\n triggeredStatus: state.triggeredStatus,\n previousPathname: props.pathname,\n }\n }\n\n render() {\n const { notFound, forbidden, unauthorized, children } = this.props\n const { triggeredStatus } = this.state\n const errorComponents = {\n [HTTPAccessErrorStatus.NOT_FOUND]: notFound,\n [HTTPAccessErrorStatus.FORBIDDEN]: forbidden,\n [HTTPAccessErrorStatus.UNAUTHORIZED]: unauthorized,\n }\n\n if (triggeredStatus) {\n const isNotFound =\n triggeredStatus === HTTPAccessErrorStatus.NOT_FOUND && notFound\n const isForbidden =\n triggeredStatus === HTTPAccessErrorStatus.FORBIDDEN && forbidden\n const isUnauthorized =\n triggeredStatus === HTTPAccessErrorStatus.UNAUTHORIZED && unauthorized\n\n // If there's no matched boundary in this layer, keep throwing the error by rendering the children\n if (!(isNotFound || isForbidden || isUnauthorized)) {\n return children\n }\n\n return (\n <>\n \n {process.env.NODE_ENV === 'development' && (\n \n )}\n {errorComponents[triggeredStatus]}\n \n )\n }\n\n return children\n }\n}\n\nexport function HTTPAccessFallbackBoundary({\n notFound,\n forbidden,\n unauthorized,\n children,\n}: HTTPAccessFallbackBoundaryProps) {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these error can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname()\n const missingSlots = useContext(MissingSlotContext)\n const hasErrorFallback = !!(notFound || forbidden || unauthorized)\n\n if (hasErrorFallback) {\n return (\n \n {children}\n \n )\n }\n\n return <>{children}\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js\"));\n","'use client'\n\n// This is a client component that only renders during SSR,\n// but will be replaced during streaming with an icon insertion script tag.\n// We don't want it to be presented anywhere so it's only visible during streaming,\n// right after the icon meta tags so that browser can pick it up as soon as it's rendered.\n// Note: we don't just emit the script here because we only need the script if it's not in the head,\n// and we need it to be hoistable alongside the other metadata but sync scripts are not hoistable.\nexport const IconMark = () => {\n if (typeof window !== 'undefined') {\n return null\n }\n return \n}\n","/**\n * This module is for next.js server internal usage of path module.\n * It will use native path module for nodejs runtime.\n * It will use path-browserify polyfill for edge runtime.\n */\nlet path\n\nif (process.env.NEXT_RUNTIME === 'edge') {\n path = require('next/dist/compiled/path-browserify')\n} else {\n path = require('path')\n}\n\nmodule.exports = path\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/esm/lib/framework/boundary-components.js\"));\n","'use client'\n\nimport type { ReactNode } from 'react'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from './boundary-constants'\n\n// We use a namespace object to allow us to recover the name of the function\n// at runtime even when production bundling/minification is used.\nconst NameSpace = {\n [METADATA_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [VIEWPORT_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [OUTLET_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [ROOT_LAYOUT_BOUNDARY_NAME]: function ({\n children,\n }: {\n children: ReactNode\n }) {\n return children\n },\n}\n\nexport const MetadataBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[METADATA_BOUNDARY_NAME.slice(0) as typeof METADATA_BOUNDARY_NAME]\n\nexport const ViewportBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[VIEWPORT_BOUNDARY_NAME.slice(0) as typeof VIEWPORT_BOUNDARY_NAME]\n\nexport const OutletBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[OUTLET_BOUNDARY_NAME.slice(0) as typeof OUTLET_BOUNDARY_NAME]\n\nexport const RootLayoutBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[\n ROOT_LAYOUT_BOUNDARY_NAME.slice(0) as typeof ROOT_LAYOUT_BOUNDARY_NAME\n ]\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.ReactDOM\n","/**\n * @license React\n * react-server-dom-turbopack-client.node.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar util = require(\"util\"),\n ReactDOM = require(\"react-dom\"),\n decoderOptions = { stream: !0 },\n hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction resolveClientReference(bundlerConfig, metadata) {\n if (bundlerConfig) {\n var moduleExports = bundlerConfig[metadata[0]];\n if ((bundlerConfig = moduleExports && moduleExports[metadata[2]]))\n moduleExports = bundlerConfig.name;\n else {\n bundlerConfig = moduleExports && moduleExports[\"*\"];\n if (!bundlerConfig)\n throw Error(\n 'Could not find the module \"' +\n metadata[0] +\n '\" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.'\n );\n moduleExports = metadata[2];\n }\n return 4 === metadata.length\n ? [bundlerConfig.id, bundlerConfig.chunks, moduleExports, 1]\n : [bundlerConfig.id, bundlerConfig.chunks, moduleExports];\n }\n return metadata;\n}\nfunction resolveServerReference(bundlerConfig, id) {\n var name = \"\",\n resolvedModuleData = bundlerConfig[id];\n if (resolvedModuleData) name = resolvedModuleData.name;\n else {\n var idx = id.lastIndexOf(\"#\");\n -1 !== idx &&\n ((name = id.slice(idx + 1)),\n (resolvedModuleData = bundlerConfig[id.slice(0, idx)]));\n if (!resolvedModuleData)\n throw Error(\n 'Could not find the module \"' +\n id +\n '\" in the React Server Manifest. This is probably a bug in the React Server Components bundler.'\n );\n }\n return resolvedModuleData.async\n ? [resolvedModuleData.id, resolvedModuleData.chunks, name, 1]\n : [resolvedModuleData.id, resolvedModuleData.chunks, name];\n}\nfunction requireAsyncModule(id) {\n var promise = globalThis.__next_require__(id);\n if (\"function\" !== typeof promise.then || \"fulfilled\" === promise.status)\n return null;\n promise.then(\n function (value) {\n promise.status = \"fulfilled\";\n promise.value = value;\n },\n function (reason) {\n promise.status = \"rejected\";\n promise.reason = reason;\n }\n );\n return promise;\n}\nvar instrumentedChunks = new WeakSet(),\n loadedChunks = new WeakSet();\nfunction ignoreReject() {}\nfunction preloadModule(metadata) {\n for (var chunks = metadata[1], promises = [], i = 0; i < chunks.length; i++) {\n var thenable = globalThis.__next_chunk_load__(chunks[i]);\n loadedChunks.has(thenable) || promises.push(thenable);\n if (!instrumentedChunks.has(thenable)) {\n var resolve = loadedChunks.add.bind(loadedChunks, thenable);\n thenable.then(resolve, ignoreReject);\n instrumentedChunks.add(thenable);\n }\n }\n return 4 === metadata.length\n ? 0 === promises.length\n ? requireAsyncModule(metadata[0])\n : Promise.all(promises).then(function () {\n return requireAsyncModule(metadata[0]);\n })\n : 0 < promises.length\n ? Promise.all(promises)\n : null;\n}\nfunction requireModule(metadata) {\n var moduleExports = globalThis.__next_require__(metadata[0]);\n if (4 === metadata.length && \"function\" === typeof moduleExports.then)\n if (\"fulfilled\" === moduleExports.status)\n moduleExports = moduleExports.value;\n else throw moduleExports.reason;\n if (\"*\" === metadata[2]) return moduleExports;\n if (\"\" === metadata[2])\n return moduleExports.__esModule ? moduleExports.default : moduleExports;\n if (hasOwnProperty.call(moduleExports, metadata[2]))\n return moduleExports[metadata[2]];\n}\nfunction prepareDestinationWithChunks(moduleLoading, chunks, nonce$jscomp$0) {\n if (null !== moduleLoading)\n for (var i = 0; i < chunks.length; i++) {\n var nonce = nonce$jscomp$0,\n JSCompiler_temp_const = ReactDOMSharedInternals.d,\n JSCompiler_temp_const$jscomp$0 = JSCompiler_temp_const.X,\n JSCompiler_temp_const$jscomp$1 = moduleLoading.prefix + chunks[i];\n var JSCompiler_inline_result = moduleLoading.crossOrigin;\n JSCompiler_inline_result =\n \"string\" === typeof JSCompiler_inline_result\n ? \"use-credentials\" === JSCompiler_inline_result\n ? JSCompiler_inline_result\n : \"\"\n : void 0;\n JSCompiler_temp_const$jscomp$0.call(\n JSCompiler_temp_const,\n JSCompiler_temp_const$jscomp$1,\n { crossOrigin: JSCompiler_inline_result, nonce: nonce }\n );\n }\n}\nvar ReactDOMSharedInternals =\n ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar ASYNC_ITERATOR = Symbol.asyncIterator,\n isArrayImpl = Array.isArray,\n getPrototypeOf = Object.getPrototypeOf,\n ObjectPrototype = Object.prototype,\n knownServerReferences = new WeakMap();\nfunction serializeNumber(number) {\n return Number.isFinite(number)\n ? 0 === number && -Infinity === 1 / number\n ? \"$-0\"\n : number\n : Infinity === number\n ? \"$Infinity\"\n : -Infinity === number\n ? \"$-Infinity\"\n : \"$NaN\";\n}\nfunction processReply(\n root,\n formFieldPrefix,\n temporaryReferences,\n resolve,\n reject\n) {\n function serializeTypedArray(tag, typedArray) {\n typedArray = new Blob([\n new Uint8Array(\n typedArray.buffer,\n typedArray.byteOffset,\n typedArray.byteLength\n )\n ]);\n var blobId = nextPartId++;\n null === formData && (formData = new FormData());\n formData.append(formFieldPrefix + blobId, typedArray);\n return \"$\" + tag + blobId.toString(16);\n }\n function serializeBinaryReader(reader) {\n function progress(entry) {\n entry.done\n ? ((entry = nextPartId++),\n data.append(formFieldPrefix + entry, new Blob(buffer)),\n data.append(\n formFieldPrefix + streamId,\n '\"$o' + entry.toString(16) + '\"'\n ),\n data.append(formFieldPrefix + streamId, \"C\"),\n pendingParts--,\n 0 === pendingParts && resolve(data))\n : (buffer.push(entry.value),\n reader.read(new Uint8Array(1024)).then(progress, reject));\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++,\n buffer = [];\n reader.read(new Uint8Array(1024)).then(progress, reject);\n return \"$r\" + streamId.toString(16);\n }\n function serializeReader(reader) {\n function progress(entry) {\n if (entry.done)\n data.append(formFieldPrefix + streamId, \"C\"),\n pendingParts--,\n 0 === pendingParts && resolve(data);\n else\n try {\n var partJSON = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, partJSON);\n reader.read().then(progress, reject);\n } catch (x) {\n reject(x);\n }\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++;\n reader.read().then(progress, reject);\n return \"$R\" + streamId.toString(16);\n }\n function serializeReadableStream(stream) {\n try {\n var binaryReader = stream.getReader({ mode: \"byob\" });\n } catch (x) {\n return serializeReader(stream.getReader());\n }\n return serializeBinaryReader(binaryReader);\n }\n function serializeAsyncIterable(iterable, iterator) {\n function progress(entry) {\n if (entry.done) {\n if (void 0 === entry.value)\n data.append(formFieldPrefix + streamId, \"C\");\n else\n try {\n var partJSON = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, \"C\" + partJSON);\n } catch (x) {\n reject(x);\n return;\n }\n pendingParts--;\n 0 === pendingParts && resolve(data);\n } else\n try {\n var partJSON$21 = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, partJSON$21);\n iterator.next().then(progress, reject);\n } catch (x$22) {\n reject(x$22);\n }\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++;\n iterable = iterable === iterator;\n iterator.next().then(progress, reject);\n return \"$\" + (iterable ? \"x\" : \"X\") + streamId.toString(16);\n }\n function resolveToJSON(key, value) {\n if (null === value) return null;\n if (\"object\" === typeof value) {\n switch (value.$$typeof) {\n case REACT_ELEMENT_TYPE:\n if (void 0 !== temporaryReferences && -1 === key.indexOf(\":\")) {\n var parentReference = writtenObjects.get(this);\n if (void 0 !== parentReference)\n return (\n temporaryReferences.set(parentReference + \":\" + key, value),\n \"$T\"\n );\n }\n throw Error(\n \"React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.\"\n );\n case REACT_LAZY_TYPE:\n parentReference = value._payload;\n var init = value._init;\n null === formData && (formData = new FormData());\n pendingParts++;\n try {\n var resolvedModel = init(parentReference),\n lazyId = nextPartId++,\n partJSON = serializeModel(resolvedModel, lazyId);\n formData.append(formFieldPrefix + lazyId, partJSON);\n return \"$\" + lazyId.toString(16);\n } catch (x) {\n if (\n \"object\" === typeof x &&\n null !== x &&\n \"function\" === typeof x.then\n ) {\n pendingParts++;\n var lazyId$23 = nextPartId++;\n parentReference = function () {\n try {\n var partJSON$24 = serializeModel(value, lazyId$23),\n data$25 = formData;\n data$25.append(formFieldPrefix + lazyId$23, partJSON$24);\n pendingParts--;\n 0 === pendingParts && resolve(data$25);\n } catch (reason) {\n reject(reason);\n }\n };\n x.then(parentReference, parentReference);\n return \"$\" + lazyId$23.toString(16);\n }\n reject(x);\n return null;\n } finally {\n pendingParts--;\n }\n }\n parentReference = writtenObjects.get(value);\n if (\"function\" === typeof value.then) {\n if (void 0 !== parentReference)\n if (modelRoot === value) modelRoot = null;\n else return parentReference;\n null === formData && (formData = new FormData());\n pendingParts++;\n var promiseId = nextPartId++;\n key = \"$@\" + promiseId.toString(16);\n writtenObjects.set(value, key);\n value.then(function (partValue) {\n try {\n var previousReference = writtenObjects.get(partValue);\n var partJSON$27 =\n void 0 !== previousReference\n ? JSON.stringify(previousReference)\n : serializeModel(partValue, promiseId);\n partValue = formData;\n partValue.append(formFieldPrefix + promiseId, partJSON$27);\n pendingParts--;\n 0 === pendingParts && resolve(partValue);\n } catch (reason) {\n reject(reason);\n }\n }, reject);\n return key;\n }\n if (void 0 !== parentReference)\n if (modelRoot === value) modelRoot = null;\n else return parentReference;\n else\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference &&\n ((key = parentReference + \":\" + key),\n writtenObjects.set(value, key),\n void 0 !== temporaryReferences &&\n temporaryReferences.set(key, value)));\n if (isArrayImpl(value)) return value;\n if (value instanceof FormData) {\n null === formData && (formData = new FormData());\n var data$31 = formData;\n key = nextPartId++;\n var prefix = formFieldPrefix + key + \"_\";\n value.forEach(function (originalValue, originalKey) {\n data$31.append(prefix + originalKey, originalValue);\n });\n return \"$K\" + key.toString(16);\n }\n if (value instanceof Map)\n return (\n (key = nextPartId++),\n (parentReference = serializeModel(Array.from(value), key)),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$Q\" + key.toString(16)\n );\n if (value instanceof Set)\n return (\n (key = nextPartId++),\n (parentReference = serializeModel(Array.from(value), key)),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$W\" + key.toString(16)\n );\n if (value instanceof ArrayBuffer)\n return (\n (key = new Blob([value])),\n (parentReference = nextPartId++),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + parentReference, key),\n \"$A\" + parentReference.toString(16)\n );\n if (value instanceof Int8Array) return serializeTypedArray(\"O\", value);\n if (value instanceof Uint8Array) return serializeTypedArray(\"o\", value);\n if (value instanceof Uint8ClampedArray)\n return serializeTypedArray(\"U\", value);\n if (value instanceof Int16Array) return serializeTypedArray(\"S\", value);\n if (value instanceof Uint16Array) return serializeTypedArray(\"s\", value);\n if (value instanceof Int32Array) return serializeTypedArray(\"L\", value);\n if (value instanceof Uint32Array) return serializeTypedArray(\"l\", value);\n if (value instanceof Float32Array) return serializeTypedArray(\"G\", value);\n if (value instanceof Float64Array) return serializeTypedArray(\"g\", value);\n if (value instanceof BigInt64Array)\n return serializeTypedArray(\"M\", value);\n if (value instanceof BigUint64Array)\n return serializeTypedArray(\"m\", value);\n if (value instanceof DataView) return serializeTypedArray(\"V\", value);\n if (\"function\" === typeof Blob && value instanceof Blob)\n return (\n null === formData && (formData = new FormData()),\n (key = nextPartId++),\n formData.append(formFieldPrefix + key, value),\n \"$B\" + key.toString(16)\n );\n if ((key = getIteratorFn(value)))\n return (\n (parentReference = key.call(value)),\n parentReference === value\n ? ((key = nextPartId++),\n (parentReference = serializeModel(\n Array.from(parentReference),\n key\n )),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$i\" + key.toString(16))\n : Array.from(parentReference)\n );\n if (\n \"function\" === typeof ReadableStream &&\n value instanceof ReadableStream\n )\n return serializeReadableStream(value);\n key = value[ASYNC_ITERATOR];\n if (\"function\" === typeof key)\n return serializeAsyncIterable(value, key.call(value));\n key = getPrototypeOf(value);\n if (\n key !== ObjectPrototype &&\n (null === key || null !== getPrototypeOf(key))\n ) {\n if (void 0 === temporaryReferences)\n throw Error(\n \"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.\"\n );\n return \"$T\";\n }\n return value;\n }\n if (\"string\" === typeof value) {\n if (\"Z\" === value[value.length - 1] && this[key] instanceof Date)\n return \"$D\" + value;\n key = \"$\" === value[0] ? \"$\" + value : value;\n return key;\n }\n if (\"boolean\" === typeof value) return value;\n if (\"number\" === typeof value) return serializeNumber(value);\n if (\"undefined\" === typeof value) return \"$undefined\";\n if (\"function\" === typeof value) {\n parentReference = knownServerReferences.get(value);\n if (void 0 !== parentReference) {\n key = writtenObjects.get(value);\n if (void 0 !== key) return key;\n key = JSON.stringify(\n { id: parentReference.id, bound: parentReference.bound },\n resolveToJSON\n );\n null === formData && (formData = new FormData());\n parentReference = nextPartId++;\n formData.set(formFieldPrefix + parentReference, key);\n key = \"$h\" + parentReference.toString(16);\n writtenObjects.set(value, key);\n return key;\n }\n if (\n void 0 !== temporaryReferences &&\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference)\n )\n return (\n temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n );\n throw Error(\n \"Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.\"\n );\n }\n if (\"symbol\" === typeof value) {\n if (\n void 0 !== temporaryReferences &&\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference)\n )\n return (\n temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n );\n throw Error(\n \"Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.\"\n );\n }\n if (\"bigint\" === typeof value) return \"$n\" + value.toString(10);\n throw Error(\n \"Type \" +\n typeof value +\n \" is not supported as an argument to a Server Function.\"\n );\n }\n function serializeModel(model, id) {\n \"object\" === typeof model &&\n null !== model &&\n ((id = \"$\" + id.toString(16)),\n writtenObjects.set(model, id),\n void 0 !== temporaryReferences && temporaryReferences.set(id, model));\n modelRoot = model;\n return JSON.stringify(model, resolveToJSON);\n }\n var nextPartId = 1,\n pendingParts = 0,\n formData = null,\n writtenObjects = new WeakMap(),\n modelRoot = root,\n json = serializeModel(root, 0);\n null === formData\n ? resolve(json)\n : (formData.set(formFieldPrefix + \"0\", json),\n 0 === pendingParts && resolve(formData));\n return function () {\n 0 < pendingParts &&\n ((pendingParts = 0),\n null === formData ? resolve(json) : resolve(formData));\n };\n}\nvar boundCache = new WeakMap();\nfunction encodeFormData(reference) {\n var resolve,\n reject,\n thenable = new Promise(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n processReply(\n reference,\n \"\",\n void 0,\n function (body) {\n if (\"string\" === typeof body) {\n var data = new FormData();\n data.append(\"0\", body);\n body = data;\n }\n thenable.status = \"fulfilled\";\n thenable.value = body;\n resolve(body);\n },\n function (e) {\n thenable.status = \"rejected\";\n thenable.reason = e;\n reject(e);\n }\n );\n return thenable;\n}\nfunction defaultEncodeFormAction(identifierPrefix) {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure)\n throw Error(\n \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n );\n var data = null;\n if (null !== referenceClosure.bound) {\n data = boundCache.get(referenceClosure);\n data ||\n ((data = encodeFormData({\n id: referenceClosure.id,\n bound: referenceClosure.bound\n })),\n boundCache.set(referenceClosure, data));\n if (\"rejected\" === data.status) throw data.reason;\n if (\"fulfilled\" !== data.status) throw data;\n referenceClosure = data.value;\n var prefixedData = new FormData();\n referenceClosure.forEach(function (value, key) {\n prefixedData.append(\"$ACTION_\" + identifierPrefix + \":\" + key, value);\n });\n data = prefixedData;\n referenceClosure = \"$ACTION_REF_\" + identifierPrefix;\n } else referenceClosure = \"$ACTION_ID_\" + referenceClosure.id;\n return {\n name: referenceClosure,\n method: \"POST\",\n encType: \"multipart/form-data\",\n data: data\n };\n}\nfunction isSignatureEqual(referenceId, numberOfBoundArgs) {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure)\n throw Error(\n \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n );\n if (referenceClosure.id !== referenceId) return !1;\n var boundPromise = referenceClosure.bound;\n if (null === boundPromise) return 0 === numberOfBoundArgs;\n switch (boundPromise.status) {\n case \"fulfilled\":\n return boundPromise.value.length === numberOfBoundArgs;\n case \"pending\":\n throw boundPromise;\n case \"rejected\":\n throw boundPromise.reason;\n default:\n throw (\n (\"string\" !== typeof boundPromise.status &&\n ((boundPromise.status = \"pending\"),\n boundPromise.then(\n function (boundArgs) {\n boundPromise.status = \"fulfilled\";\n boundPromise.value = boundArgs;\n },\n function (error) {\n boundPromise.status = \"rejected\";\n boundPromise.reason = error;\n }\n )),\n boundPromise)\n );\n }\n}\nfunction registerBoundServerReference(reference, id, bound, encodeFormAction) {\n knownServerReferences.has(reference) ||\n (knownServerReferences.set(reference, {\n id: id,\n originalBind: reference.bind,\n bound: bound\n }),\n Object.defineProperties(reference, {\n $$FORM_ACTION: {\n value:\n void 0 === encodeFormAction\n ? defaultEncodeFormAction\n : function () {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure)\n throw Error(\n \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n );\n var boundPromise = referenceClosure.bound;\n null === boundPromise && (boundPromise = Promise.resolve([]));\n return encodeFormAction(referenceClosure.id, boundPromise);\n }\n },\n $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },\n bind: { value: bind }\n }));\n}\nvar FunctionBind = Function.prototype.bind,\n ArraySlice = Array.prototype.slice;\nfunction bind() {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure) return FunctionBind.apply(this, arguments);\n var newFn = referenceClosure.originalBind.apply(this, arguments),\n args = ArraySlice.call(arguments, 1),\n boundPromise = null;\n boundPromise =\n null !== referenceClosure.bound\n ? Promise.resolve(referenceClosure.bound).then(function (boundArgs) {\n return boundArgs.concat(args);\n })\n : Promise.resolve(args);\n knownServerReferences.set(newFn, {\n id: referenceClosure.id,\n originalBind: newFn.bind,\n bound: boundPromise\n });\n Object.defineProperties(newFn, {\n $$FORM_ACTION: { value: this.$$FORM_ACTION },\n $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },\n bind: { value: bind }\n });\n return newFn;\n}\nfunction createBoundServerReference(metaData, callServer, encodeFormAction) {\n function action() {\n var args = Array.prototype.slice.call(arguments);\n return bound\n ? \"fulfilled\" === bound.status\n ? callServer(id, bound.value.concat(args))\n : Promise.resolve(bound).then(function (boundArgs) {\n return callServer(id, boundArgs.concat(args));\n })\n : callServer(id, args);\n }\n var id = metaData.id,\n bound = metaData.bound;\n registerBoundServerReference(action, id, bound, encodeFormAction);\n return action;\n}\nfunction createServerReference$1(id, callServer, encodeFormAction) {\n function action() {\n var args = Array.prototype.slice.call(arguments);\n return callServer(id, args);\n }\n registerBoundServerReference(action, id, null, encodeFormAction);\n return action;\n}\nfunction ReactPromise(status, value, reason) {\n this.status = status;\n this.value = value;\n this.reason = reason;\n}\nReactPromise.prototype = Object.create(Promise.prototype);\nReactPromise.prototype.then = function (resolve, reject) {\n switch (this.status) {\n case \"resolved_model\":\n initializeModelChunk(this);\n break;\n case \"resolved_module\":\n initializeModuleChunk(this);\n }\n switch (this.status) {\n case \"fulfilled\":\n \"function\" === typeof resolve && resolve(this.value);\n break;\n case \"pending\":\n case \"blocked\":\n \"function\" === typeof resolve &&\n (null === this.value && (this.value = []), this.value.push(resolve));\n \"function\" === typeof reject &&\n (null === this.reason && (this.reason = []), this.reason.push(reject));\n break;\n case \"halted\":\n break;\n default:\n \"function\" === typeof reject && reject(this.reason);\n }\n};\nfunction readChunk(chunk) {\n switch (chunk.status) {\n case \"resolved_model\":\n initializeModelChunk(chunk);\n break;\n case \"resolved_module\":\n initializeModuleChunk(chunk);\n }\n switch (chunk.status) {\n case \"fulfilled\":\n return chunk.value;\n case \"pending\":\n case \"blocked\":\n case \"halted\":\n throw chunk;\n default:\n throw chunk.reason;\n }\n}\nfunction wakeChunk(response, listeners, value, chunk) {\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n \"function\" === typeof listener\n ? listener(value)\n : fulfillReference(response, listener, value, chunk);\n }\n}\nfunction rejectChunk(response, listeners, error) {\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n \"function\" === typeof listener\n ? listener(error)\n : rejectReference(response, listener.handler, error);\n }\n}\nfunction resolveBlockedCycle(resolvedChunk, reference) {\n var referencedChunk = reference.handler.chunk;\n if (null === referencedChunk) return null;\n if (referencedChunk === resolvedChunk) return reference.handler;\n reference = referencedChunk.value;\n if (null !== reference)\n for (\n referencedChunk = 0;\n referencedChunk < reference.length;\n referencedChunk++\n ) {\n var listener = reference[referencedChunk];\n if (\n \"function\" !== typeof listener &&\n ((listener = resolveBlockedCycle(resolvedChunk, listener)),\n null !== listener)\n )\n return listener;\n }\n return null;\n}\nfunction wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n) {\n switch (chunk.status) {\n case \"fulfilled\":\n wakeChunk(response, resolveListeners, chunk.value, chunk);\n break;\n case \"blocked\":\n for (var i = 0; i < resolveListeners.length; i++) {\n var listener = resolveListeners[i];\n if (\"function\" !== typeof listener) {\n var cyclicHandler = resolveBlockedCycle(chunk, listener);\n if (null !== cyclicHandler)\n switch (\n (fulfillReference(response, listener, cyclicHandler.value, chunk),\n resolveListeners.splice(i, 1),\n i--,\n null !== rejectListeners &&\n ((listener = rejectListeners.indexOf(listener)),\n -1 !== listener && rejectListeners.splice(listener, 1)),\n chunk.status)\n ) {\n case \"fulfilled\":\n wakeChunk(response, resolveListeners, chunk.value, chunk);\n return;\n case \"rejected\":\n null !== rejectListeners &&\n rejectChunk(response, rejectListeners, chunk.reason);\n return;\n }\n }\n }\n case \"pending\":\n if (chunk.value)\n for (response = 0; response < resolveListeners.length; response++)\n chunk.value.push(resolveListeners[response]);\n else chunk.value = resolveListeners;\n if (chunk.reason) {\n if (rejectListeners)\n for (\n resolveListeners = 0;\n resolveListeners < rejectListeners.length;\n resolveListeners++\n )\n chunk.reason.push(rejectListeners[resolveListeners]);\n } else chunk.reason = rejectListeners;\n break;\n case \"rejected\":\n rejectListeners && rejectChunk(response, rejectListeners, chunk.reason);\n }\n}\nfunction triggerErrorOnChunk(response, chunk, error) {\n if (\"pending\" !== chunk.status && \"blocked\" !== chunk.status)\n chunk.reason.error(error);\n else {\n var listeners = chunk.reason;\n chunk.status = \"rejected\";\n chunk.reason = error;\n null !== listeners && rejectChunk(response, listeners, error);\n }\n}\nfunction createResolvedIteratorResultChunk(response, value, done) {\n return new ReactPromise(\n \"resolved_model\",\n (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') + value + \"}\",\n response\n );\n}\nfunction resolveIteratorResultChunk(response, chunk, value, done) {\n resolveModelChunk(\n response,\n chunk,\n (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') + value + \"}\"\n );\n}\nfunction resolveModelChunk(response, chunk, value) {\n if (\"pending\" !== chunk.status) chunk.reason.enqueueModel(value);\n else {\n var resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"resolved_model\";\n chunk.value = value;\n chunk.reason = response;\n null !== resolveListeners &&\n (initializeModelChunk(chunk),\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n ));\n }\n}\nfunction resolveModuleChunk(response, chunk, value) {\n if (\"pending\" === chunk.status || \"blocked\" === chunk.status) {\n var resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"resolved_module\";\n chunk.value = value;\n chunk.reason = null;\n null !== resolveListeners &&\n (initializeModuleChunk(chunk),\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n ));\n }\n}\nvar initializingHandler = null;\nfunction initializeModelChunk(chunk) {\n var prevHandler = initializingHandler;\n initializingHandler = null;\n var resolvedModel = chunk.value,\n response = chunk.reason;\n chunk.status = \"blocked\";\n chunk.value = null;\n chunk.reason = null;\n try {\n var value = JSON.parse(resolvedModel, response._fromJSON),\n resolveListeners = chunk.value;\n if (null !== resolveListeners)\n for (\n chunk.value = null, chunk.reason = null, resolvedModel = 0;\n resolvedModel < resolveListeners.length;\n resolvedModel++\n ) {\n var listener = resolveListeners[resolvedModel];\n \"function\" === typeof listener\n ? listener(value)\n : fulfillReference(response, listener, value, chunk);\n }\n if (null !== initializingHandler) {\n if (initializingHandler.errored) throw initializingHandler.reason;\n if (0 < initializingHandler.deps) {\n initializingHandler.value = value;\n initializingHandler.chunk = chunk;\n return;\n }\n }\n chunk.status = \"fulfilled\";\n chunk.value = value;\n } catch (error) {\n (chunk.status = \"rejected\"), (chunk.reason = error);\n } finally {\n initializingHandler = prevHandler;\n }\n}\nfunction initializeModuleChunk(chunk) {\n try {\n var value = requireModule(chunk.value);\n chunk.status = \"fulfilled\";\n chunk.value = value;\n } catch (error) {\n (chunk.status = \"rejected\"), (chunk.reason = error);\n }\n}\nfunction reportGlobalError(weakResponse, error) {\n weakResponse._closed = !0;\n weakResponse._closedReason = error;\n weakResponse._chunks.forEach(function (chunk) {\n \"pending\" === chunk.status\n ? triggerErrorOnChunk(weakResponse, chunk, error)\n : \"fulfilled\" === chunk.status &&\n null !== chunk.reason &&\n chunk.reason.error(error);\n });\n}\nfunction createLazyChunkWrapper(chunk) {\n return { $$typeof: REACT_LAZY_TYPE, _payload: chunk, _init: readChunk };\n}\nfunction getChunk(response, id) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n chunk ||\n ((chunk = response._closed\n ? new ReactPromise(\"rejected\", null, response._closedReason)\n : new ReactPromise(\"pending\", null, null)),\n chunks.set(id, chunk));\n return chunk;\n}\nfunction fulfillReference(response, reference, value) {\n var handler = reference.handler,\n parentObject = reference.parentObject,\n key = reference.key,\n map = reference.map,\n path = reference.path;\n try {\n for (var i = 1; i < path.length; i++) {\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n var referencedChunk = value._payload;\n if (referencedChunk === handler.chunk) value = handler.value;\n else {\n switch (referencedChunk.status) {\n case \"resolved_model\":\n initializeModelChunk(referencedChunk);\n break;\n case \"resolved_module\":\n initializeModuleChunk(referencedChunk);\n }\n switch (referencedChunk.status) {\n case \"fulfilled\":\n value = referencedChunk.value;\n continue;\n case \"blocked\":\n var cyclicHandler = resolveBlockedCycle(\n referencedChunk,\n reference\n );\n if (null !== cyclicHandler) {\n value = cyclicHandler.value;\n continue;\n }\n case \"pending\":\n path.splice(0, i - 1);\n null === referencedChunk.value\n ? (referencedChunk.value = [reference])\n : referencedChunk.value.push(reference);\n null === referencedChunk.reason\n ? (referencedChunk.reason = [reference])\n : referencedChunk.reason.push(reference);\n return;\n case \"halted\":\n return;\n default:\n rejectReference(\n response,\n reference.handler,\n referencedChunk.reason\n );\n return;\n }\n }\n }\n var name = path[i];\n if (\n \"object\" === typeof value &&\n null !== value &&\n hasOwnProperty.call(value, name)\n )\n value = value[name];\n else throw Error(\"Invalid reference.\");\n }\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n var referencedChunk$44 = value._payload;\n if (referencedChunk$44 === handler.chunk) value = handler.value;\n else {\n switch (referencedChunk$44.status) {\n case \"resolved_model\":\n initializeModelChunk(referencedChunk$44);\n break;\n case \"resolved_module\":\n initializeModuleChunk(referencedChunk$44);\n }\n switch (referencedChunk$44.status) {\n case \"fulfilled\":\n value = referencedChunk$44.value;\n continue;\n }\n break;\n }\n }\n var mappedValue = map(response, value, parentObject, key);\n \"__proto__\" !== key && (parentObject[key] = mappedValue);\n \"\" === key && null === handler.value && (handler.value = mappedValue);\n if (\n parentObject[0] === REACT_ELEMENT_TYPE &&\n \"object\" === typeof handler.value &&\n null !== handler.value &&\n handler.value.$$typeof === REACT_ELEMENT_TYPE\n ) {\n var element = handler.value;\n switch (key) {\n case \"3\":\n element.props = mappedValue;\n }\n }\n } catch (error) {\n rejectReference(response, reference.handler, error);\n return;\n }\n handler.deps--;\n 0 === handler.deps &&\n ((reference = handler.chunk),\n null !== reference &&\n \"blocked\" === reference.status &&\n ((value = reference.value),\n (reference.status = \"fulfilled\"),\n (reference.value = handler.value),\n (reference.reason = handler.reason),\n null !== value && wakeChunk(response, value, handler.value, reference)));\n}\nfunction rejectReference(response, handler, error) {\n handler.errored ||\n ((handler.errored = !0),\n (handler.value = null),\n (handler.reason = error),\n (handler = handler.chunk),\n null !== handler &&\n \"blocked\" === handler.status &&\n triggerErrorOnChunk(response, handler, error));\n}\nfunction waitForReference(\n referencedChunk,\n parentObject,\n key,\n response,\n map,\n path\n) {\n initializingHandler\n ? ((response = initializingHandler), response.deps++)\n : (response = initializingHandler =\n {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n });\n parentObject = {\n handler: response,\n parentObject: parentObject,\n key: key,\n map: map,\n path: path\n };\n null === referencedChunk.value\n ? (referencedChunk.value = [parentObject])\n : referencedChunk.value.push(parentObject);\n null === referencedChunk.reason\n ? (referencedChunk.reason = [parentObject])\n : referencedChunk.reason.push(parentObject);\n return null;\n}\nfunction loadServerReference(response, metaData, parentObject, key) {\n if (!response._serverReferenceConfig)\n return createBoundServerReference(\n metaData,\n response._callServer,\n response._encodeFormAction\n );\n var serverReference = resolveServerReference(\n response._serverReferenceConfig,\n metaData.id\n ),\n promise = preloadModule(serverReference);\n if (promise)\n metaData.bound && (promise = Promise.all([promise, metaData.bound]));\n else if (metaData.bound) promise = Promise.resolve(metaData.bound);\n else\n return (\n (promise = requireModule(serverReference)),\n registerBoundServerReference(\n promise,\n metaData.id,\n metaData.bound,\n response._encodeFormAction\n ),\n promise\n );\n if (initializingHandler) {\n var handler = initializingHandler;\n handler.deps++;\n } else\n handler = initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n };\n promise.then(\n function () {\n var resolvedValue = requireModule(serverReference);\n if (metaData.bound) {\n var boundArgs = metaData.bound.value.slice(0);\n boundArgs.unshift(null);\n resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs);\n }\n registerBoundServerReference(\n resolvedValue,\n metaData.id,\n metaData.bound,\n response._encodeFormAction\n );\n \"__proto__\" !== key && (parentObject[key] = resolvedValue);\n \"\" === key && null === handler.value && (handler.value = resolvedValue);\n if (\n parentObject[0] === REACT_ELEMENT_TYPE &&\n \"object\" === typeof handler.value &&\n null !== handler.value &&\n handler.value.$$typeof === REACT_ELEMENT_TYPE\n )\n switch (((boundArgs = handler.value), key)) {\n case \"3\":\n boundArgs.props = resolvedValue;\n }\n handler.deps--;\n 0 === handler.deps &&\n ((resolvedValue = handler.chunk),\n null !== resolvedValue &&\n \"blocked\" === resolvedValue.status &&\n ((boundArgs = resolvedValue.value),\n (resolvedValue.status = \"fulfilled\"),\n (resolvedValue.value = handler.value),\n (resolvedValue.reason = null),\n null !== boundArgs &&\n wakeChunk(response, boundArgs, handler.value, resolvedValue)));\n },\n function (error) {\n if (!handler.errored) {\n handler.errored = !0;\n handler.value = null;\n handler.reason = error;\n var chunk = handler.chunk;\n null !== chunk &&\n \"blocked\" === chunk.status &&\n triggerErrorOnChunk(response, chunk, error);\n }\n }\n );\n return null;\n}\nfunction getOutlinedModel(response, reference, parentObject, key, map) {\n reference = reference.split(\":\");\n var id = parseInt(reference[0], 16);\n id = getChunk(response, id);\n switch (id.status) {\n case \"resolved_model\":\n initializeModelChunk(id);\n break;\n case \"resolved_module\":\n initializeModuleChunk(id);\n }\n switch (id.status) {\n case \"fulfilled\":\n id = id.value;\n for (var i = 1; i < reference.length; i++) {\n for (\n ;\n \"object\" === typeof id &&\n null !== id &&\n id.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n id = id._payload;\n switch (id.status) {\n case \"resolved_model\":\n initializeModelChunk(id);\n break;\n case \"resolved_module\":\n initializeModuleChunk(id);\n }\n switch (id.status) {\n case \"fulfilled\":\n id = id.value;\n break;\n case \"blocked\":\n case \"pending\":\n return waitForReference(\n id,\n parentObject,\n key,\n response,\n map,\n reference.slice(i - 1)\n );\n case \"halted\":\n return (\n initializingHandler\n ? ((response = initializingHandler), response.deps++)\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n }),\n null\n );\n default:\n return (\n initializingHandler\n ? ((initializingHandler.errored = !0),\n (initializingHandler.value = null),\n (initializingHandler.reason = id.reason))\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: id.reason,\n deps: 0,\n errored: !0\n }),\n null\n );\n }\n }\n id = id[reference[i]];\n }\n for (\n ;\n \"object\" === typeof id &&\n null !== id &&\n id.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n reference = id._payload;\n switch (reference.status) {\n case \"resolved_model\":\n initializeModelChunk(reference);\n break;\n case \"resolved_module\":\n initializeModuleChunk(reference);\n }\n switch (reference.status) {\n case \"fulfilled\":\n id = reference.value;\n continue;\n }\n break;\n }\n return map(response, id, parentObject, key);\n case \"pending\":\n case \"blocked\":\n return waitForReference(id, parentObject, key, response, map, reference);\n case \"halted\":\n return (\n initializingHandler\n ? ((response = initializingHandler), response.deps++)\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n }),\n null\n );\n default:\n return (\n initializingHandler\n ? ((initializingHandler.errored = !0),\n (initializingHandler.value = null),\n (initializingHandler.reason = id.reason))\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: id.reason,\n deps: 0,\n errored: !0\n }),\n null\n );\n }\n}\nfunction createMap(response, model) {\n return new Map(model);\n}\nfunction createSet(response, model) {\n return new Set(model);\n}\nfunction createBlob(response, model) {\n return new Blob(model.slice(1), { type: model[0] });\n}\nfunction createFormData(response, model) {\n response = new FormData();\n for (var i = 0; i < model.length; i++)\n response.append(model[i][0], model[i][1]);\n return response;\n}\nfunction extractIterator(response, model) {\n return model[Symbol.iterator]();\n}\nfunction createModel(response, model) {\n return model;\n}\nfunction parseModelString(response, parentObject, key, value) {\n if (\"$\" === value[0]) {\n if (\"$\" === value)\n return (\n null !== initializingHandler &&\n \"0\" === key &&\n (initializingHandler = {\n parent: initializingHandler,\n chunk: null,\n value: null,\n reason: null,\n deps: 0,\n errored: !1\n }),\n REACT_ELEMENT_TYPE\n );\n switch (value[1]) {\n case \"$\":\n return value.slice(1);\n case \"L\":\n return (\n (parentObject = parseInt(value.slice(2), 16)),\n (response = getChunk(response, parentObject)),\n createLazyChunkWrapper(response)\n );\n case \"@\":\n return (\n (parentObject = parseInt(value.slice(2), 16)),\n getChunk(response, parentObject)\n );\n case \"S\":\n return Symbol.for(value.slice(2));\n case \"h\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(\n response,\n value,\n parentObject,\n key,\n loadServerReference\n )\n );\n case \"T\":\n parentObject = \"$\" + value.slice(2);\n response = response._tempRefs;\n if (null == response)\n throw Error(\n \"Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.\"\n );\n return response.get(parentObject);\n case \"Q\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createMap)\n );\n case \"W\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createSet)\n );\n case \"B\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createBlob)\n );\n case \"K\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createFormData)\n );\n case \"Z\":\n return resolveErrorProd();\n case \"i\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, extractIterator)\n );\n case \"I\":\n return Infinity;\n case \"-\":\n return \"$-0\" === value ? -0 : -Infinity;\n case \"N\":\n return NaN;\n case \"u\":\n return;\n case \"D\":\n return new Date(Date.parse(value.slice(2)));\n case \"n\":\n return BigInt(value.slice(2));\n default:\n return (\n (value = value.slice(1)),\n getOutlinedModel(response, value, parentObject, key, createModel)\n );\n }\n }\n return value;\n}\nfunction missingCall() {\n throw Error(\n 'Trying to call a function from \"use server\" but the callServer option was not implemented in your router runtime.'\n );\n}\nfunction ResponseInstance(\n bundlerConfig,\n serverReferenceConfig,\n moduleLoading,\n callServer,\n encodeFormAction,\n nonce,\n temporaryReferences\n) {\n var chunks = new Map();\n this._bundlerConfig = bundlerConfig;\n this._serverReferenceConfig = serverReferenceConfig;\n this._moduleLoading = moduleLoading;\n this._callServer = void 0 !== callServer ? callServer : missingCall;\n this._encodeFormAction = encodeFormAction;\n this._nonce = nonce;\n this._chunks = chunks;\n this._stringDecoder = new util.TextDecoder();\n this._fromJSON = null;\n this._closed = !1;\n this._closedReason = null;\n this._tempRefs = temporaryReferences;\n this._fromJSON = createFromJSONCallback(this);\n}\nfunction createStreamState() {\n return { _rowState: 0, _rowID: 0, _rowTag: 0, _rowLength: 0, _buffer: [] };\n}\nfunction resolveBuffer(response, id, buffer) {\n response = response._chunks;\n var chunk = response.get(id);\n chunk && \"pending\" !== chunk.status\n ? chunk.reason.enqueueValue(buffer)\n : ((buffer = new ReactPromise(\"fulfilled\", buffer, null)),\n response.set(id, buffer));\n}\nfunction resolveModule(response, id, model) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n model = JSON.parse(model, response._fromJSON);\n var clientReference = resolveClientReference(response._bundlerConfig, model);\n prepareDestinationWithChunks(\n response._moduleLoading,\n model[1],\n response._nonce\n );\n if ((model = preloadModule(clientReference))) {\n if (chunk) {\n var blockedChunk = chunk;\n blockedChunk.status = \"blocked\";\n } else\n (blockedChunk = new ReactPromise(\"blocked\", null, null)),\n chunks.set(id, blockedChunk);\n model.then(\n function () {\n return resolveModuleChunk(response, blockedChunk, clientReference);\n },\n function (error) {\n return triggerErrorOnChunk(response, blockedChunk, error);\n }\n );\n } else\n chunk\n ? resolveModuleChunk(response, chunk, clientReference)\n : ((chunk = new ReactPromise(\"resolved_module\", clientReference, null)),\n chunks.set(id, chunk));\n}\nfunction resolveStream(response, id, stream, controller) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n chunk\n ? \"pending\" === chunk.status &&\n ((id = chunk.value),\n (chunk.status = \"fulfilled\"),\n (chunk.value = stream),\n (chunk.reason = controller),\n null !== id && wakeChunk(response, id, chunk.value, chunk))\n : ((response = new ReactPromise(\"fulfilled\", stream, controller)),\n chunks.set(id, response));\n}\nfunction startReadableStream(response, id, type) {\n var controller = null,\n closed = !1;\n type = new ReadableStream({\n type: type,\n start: function (c) {\n controller = c;\n }\n });\n var previousBlockedChunk = null;\n resolveStream(response, id, type, {\n enqueueValue: function (value) {\n null === previousBlockedChunk\n ? controller.enqueue(value)\n : previousBlockedChunk.then(function () {\n controller.enqueue(value);\n });\n },\n enqueueModel: function (json) {\n if (null === previousBlockedChunk) {\n var chunk = new ReactPromise(\"resolved_model\", json, response);\n initializeModelChunk(chunk);\n \"fulfilled\" === chunk.status\n ? controller.enqueue(chunk.value)\n : (chunk.then(\n function (v) {\n return controller.enqueue(v);\n },\n function (e) {\n return controller.error(e);\n }\n ),\n (previousBlockedChunk = chunk));\n } else {\n chunk = previousBlockedChunk;\n var chunk$55 = new ReactPromise(\"pending\", null, null);\n chunk$55.then(\n function (v) {\n return controller.enqueue(v);\n },\n function (e) {\n return controller.error(e);\n }\n );\n previousBlockedChunk = chunk$55;\n chunk.then(function () {\n previousBlockedChunk === chunk$55 && (previousBlockedChunk = null);\n resolveModelChunk(response, chunk$55, json);\n });\n }\n },\n close: function () {\n if (!closed)\n if (((closed = !0), null === previousBlockedChunk)) controller.close();\n else {\n var blockedChunk = previousBlockedChunk;\n previousBlockedChunk = null;\n blockedChunk.then(function () {\n return controller.close();\n });\n }\n },\n error: function (error) {\n if (!closed)\n if (((closed = !0), null === previousBlockedChunk))\n controller.error(error);\n else {\n var blockedChunk = previousBlockedChunk;\n previousBlockedChunk = null;\n blockedChunk.then(function () {\n return controller.error(error);\n });\n }\n }\n });\n}\nfunction asyncIterator() {\n return this;\n}\nfunction createIterator(next) {\n next = { next: next };\n next[ASYNC_ITERATOR] = asyncIterator;\n return next;\n}\nfunction startAsyncIterable(response, id, iterator) {\n var buffer = [],\n closed = !1,\n nextWriteIndex = 0,\n iterable = {};\n iterable[ASYNC_ITERATOR] = function () {\n var nextReadIndex = 0;\n return createIterator(function (arg) {\n if (void 0 !== arg)\n throw Error(\n \"Values cannot be passed to next() of AsyncIterables passed to Client Components.\"\n );\n if (nextReadIndex === buffer.length) {\n if (closed)\n return new ReactPromise(\n \"fulfilled\",\n { done: !0, value: void 0 },\n null\n );\n buffer[nextReadIndex] = new ReactPromise(\"pending\", null, null);\n }\n return buffer[nextReadIndex++];\n });\n };\n resolveStream(\n response,\n id,\n iterator ? iterable[ASYNC_ITERATOR]() : iterable,\n {\n enqueueValue: function (value) {\n if (nextWriteIndex === buffer.length)\n buffer[nextWriteIndex] = new ReactPromise(\n \"fulfilled\",\n { done: !1, value: value },\n null\n );\n else {\n var chunk = buffer[nextWriteIndex],\n resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"fulfilled\";\n chunk.value = { done: !1, value: value };\n chunk.reason = null;\n null !== resolveListeners &&\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n );\n }\n nextWriteIndex++;\n },\n enqueueModel: function (value) {\n nextWriteIndex === buffer.length\n ? (buffer[nextWriteIndex] = createResolvedIteratorResultChunk(\n response,\n value,\n !1\n ))\n : resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex],\n value,\n !1\n );\n nextWriteIndex++;\n },\n close: function (value) {\n if (!closed)\n for (\n closed = !0,\n nextWriteIndex === buffer.length\n ? (buffer[nextWriteIndex] = createResolvedIteratorResultChunk(\n response,\n value,\n !0\n ))\n : resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex],\n value,\n !0\n ),\n nextWriteIndex++;\n nextWriteIndex < buffer.length;\n\n )\n resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex++],\n '\"$undefined\"',\n !0\n );\n },\n error: function (error) {\n if (!closed)\n for (\n closed = !0,\n nextWriteIndex === buffer.length &&\n (buffer[nextWriteIndex] = new ReactPromise(\n \"pending\",\n null,\n null\n ));\n nextWriteIndex < buffer.length;\n\n )\n triggerErrorOnChunk(response, buffer[nextWriteIndex++], error);\n }\n }\n );\n}\nfunction resolveErrorProd() {\n var error = Error(\n \"An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.\"\n );\n error.stack = \"Error: \" + error.message;\n return error;\n}\nfunction mergeBuffer(buffer, lastChunk) {\n for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)\n byteLength += buffer[i].byteLength;\n byteLength = new Uint8Array(byteLength);\n for (var i$56 = (i = 0); i$56 < l; i$56++) {\n var chunk = buffer[i$56];\n byteLength.set(chunk, i);\n i += chunk.byteLength;\n }\n byteLength.set(lastChunk, i);\n return byteLength;\n}\nfunction resolveTypedArray(\n response,\n id,\n buffer,\n lastChunk,\n constructor,\n bytesPerElement\n) {\n buffer =\n 0 === buffer.length && 0 === lastChunk.byteOffset % bytesPerElement\n ? lastChunk\n : mergeBuffer(buffer, lastChunk);\n constructor = new constructor(\n buffer.buffer,\n buffer.byteOffset,\n buffer.byteLength / bytesPerElement\n );\n resolveBuffer(response, id, constructor);\n}\nfunction processFullBinaryRow(response, streamState, id, tag, buffer, chunk) {\n switch (tag) {\n case 65:\n resolveBuffer(response, id, mergeBuffer(buffer, chunk).buffer);\n return;\n case 79:\n resolveTypedArray(response, id, buffer, chunk, Int8Array, 1);\n return;\n case 111:\n resolveBuffer(\n response,\n id,\n 0 === buffer.length ? chunk : mergeBuffer(buffer, chunk)\n );\n return;\n case 85:\n resolveTypedArray(response, id, buffer, chunk, Uint8ClampedArray, 1);\n return;\n case 83:\n resolveTypedArray(response, id, buffer, chunk, Int16Array, 2);\n return;\n case 115:\n resolveTypedArray(response, id, buffer, chunk, Uint16Array, 2);\n return;\n case 76:\n resolveTypedArray(response, id, buffer, chunk, Int32Array, 4);\n return;\n case 108:\n resolveTypedArray(response, id, buffer, chunk, Uint32Array, 4);\n return;\n case 71:\n resolveTypedArray(response, id, buffer, chunk, Float32Array, 4);\n return;\n case 103:\n resolveTypedArray(response, id, buffer, chunk, Float64Array, 8);\n return;\n case 77:\n resolveTypedArray(response, id, buffer, chunk, BigInt64Array, 8);\n return;\n case 109:\n resolveTypedArray(response, id, buffer, chunk, BigUint64Array, 8);\n return;\n case 86:\n resolveTypedArray(response, id, buffer, chunk, DataView, 1);\n return;\n }\n for (\n var stringDecoder = response._stringDecoder, row = \"\", i = 0;\n i < buffer.length;\n i++\n )\n row += stringDecoder.decode(buffer[i], decoderOptions);\n row += stringDecoder.decode(chunk);\n processFullStringRow(response, streamState, id, tag, row);\n}\nfunction processFullStringRow(response, streamState, id, tag, row) {\n switch (tag) {\n case 73:\n resolveModule(response, id, row);\n break;\n case 72:\n id = row[0];\n row = row.slice(1);\n response = JSON.parse(row, response._fromJSON);\n row = ReactDOMSharedInternals.d;\n switch (id) {\n case \"D\":\n row.D(response);\n break;\n case \"C\":\n \"string\" === typeof response\n ? row.C(response)\n : row.C(response[0], response[1]);\n break;\n case \"L\":\n id = response[0];\n streamState = response[1];\n 3 === response.length\n ? row.L(id, streamState, response[2])\n : row.L(id, streamState);\n break;\n case \"m\":\n \"string\" === typeof response\n ? row.m(response)\n : row.m(response[0], response[1]);\n break;\n case \"X\":\n \"string\" === typeof response\n ? row.X(response)\n : row.X(response[0], response[1]);\n break;\n case \"S\":\n \"string\" === typeof response\n ? row.S(response)\n : row.S(\n response[0],\n 0 === response[1] ? void 0 : response[1],\n 3 === response.length ? response[2] : void 0\n );\n break;\n case \"M\":\n \"string\" === typeof response\n ? row.M(response)\n : row.M(response[0], response[1]);\n }\n break;\n case 69:\n streamState = response._chunks;\n tag = streamState.get(id);\n row = JSON.parse(row);\n var error = resolveErrorProd();\n error.digest = row.digest;\n tag\n ? triggerErrorOnChunk(response, tag, error)\n : ((response = new ReactPromise(\"rejected\", null, error)),\n streamState.set(id, response));\n break;\n case 84:\n response = response._chunks;\n (streamState = response.get(id)) && \"pending\" !== streamState.status\n ? streamState.reason.enqueueValue(row)\n : ((row = new ReactPromise(\"fulfilled\", row, null)),\n response.set(id, row));\n break;\n case 78:\n case 68:\n case 74:\n case 87:\n throw Error(\n \"Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.\"\n );\n case 82:\n startReadableStream(response, id, void 0);\n break;\n case 114:\n startReadableStream(response, id, \"bytes\");\n break;\n case 88:\n startAsyncIterable(response, id, !1);\n break;\n case 120:\n startAsyncIterable(response, id, !0);\n break;\n case 67:\n (id = response._chunks.get(id)) &&\n \"fulfilled\" === id.status &&\n id.reason.close(\"\" === row ? '\"$undefined\"' : row);\n break;\n default:\n (streamState = response._chunks),\n (tag = streamState.get(id))\n ? resolveModelChunk(response, tag, row)\n : ((response = new ReactPromise(\"resolved_model\", row, response)),\n streamState.set(id, response));\n }\n}\nfunction processBinaryChunk(weakResponse, streamState, chunk) {\n for (\n var i = 0,\n rowState = streamState._rowState,\n rowID = streamState._rowID,\n rowTag = streamState._rowTag,\n rowLength = streamState._rowLength,\n buffer = streamState._buffer,\n chunkLength = chunk.length;\n i < chunkLength;\n\n ) {\n var lastIdx = -1;\n switch (rowState) {\n case 0:\n lastIdx = chunk[i++];\n 58 === lastIdx\n ? (rowState = 1)\n : (rowID =\n (rowID << 4) | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 1:\n rowState = chunk[i];\n 84 === rowState ||\n 65 === rowState ||\n 79 === rowState ||\n 111 === rowState ||\n 98 === rowState ||\n 85 === rowState ||\n 83 === rowState ||\n 115 === rowState ||\n 76 === rowState ||\n 108 === rowState ||\n 71 === rowState ||\n 103 === rowState ||\n 77 === rowState ||\n 109 === rowState ||\n 86 === rowState\n ? ((rowTag = rowState), (rowState = 2), i++)\n : (64 < rowState && 91 > rowState) ||\n 35 === rowState ||\n 114 === rowState ||\n 120 === rowState\n ? ((rowTag = rowState), (rowState = 3), i++)\n : ((rowTag = 0), (rowState = 3));\n continue;\n case 2:\n lastIdx = chunk[i++];\n 44 === lastIdx\n ? (rowState = 4)\n : (rowLength =\n (rowLength << 4) | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 3:\n lastIdx = chunk.indexOf(10, i);\n break;\n case 4:\n (lastIdx = i + rowLength), lastIdx > chunk.length && (lastIdx = -1);\n }\n var offset = chunk.byteOffset + i;\n if (-1 < lastIdx)\n (rowLength = new Uint8Array(chunk.buffer, offset, lastIdx - i)),\n 98 === rowTag\n ? resolveBuffer(\n weakResponse,\n rowID,\n lastIdx === chunkLength ? rowLength : rowLength.slice()\n )\n : processFullBinaryRow(\n weakResponse,\n streamState,\n rowID,\n rowTag,\n buffer,\n rowLength\n ),\n (i = lastIdx),\n 3 === rowState && i++,\n (rowLength = rowID = rowTag = rowState = 0),\n (buffer.length = 0);\n else {\n chunk = new Uint8Array(chunk.buffer, offset, chunk.byteLength - i);\n 98 === rowTag\n ? ((rowLength -= chunk.byteLength),\n resolveBuffer(weakResponse, rowID, chunk))\n : (buffer.push(chunk), (rowLength -= chunk.byteLength));\n break;\n }\n }\n streamState._rowState = rowState;\n streamState._rowID = rowID;\n streamState._rowTag = rowTag;\n streamState._rowLength = rowLength;\n}\nfunction createFromJSONCallback(response) {\n return function (key, value) {\n if (\"__proto__\" !== key) {\n if (\"string\" === typeof value)\n return parseModelString(response, this, key, value);\n if (\"object\" === typeof value && null !== value) {\n if (value[0] === REACT_ELEMENT_TYPE) {\n if (\n ((key = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: value[1],\n key: value[2],\n ref: null,\n props: value[3]\n }),\n null !== initializingHandler)\n )\n if (\n ((value = initializingHandler),\n (initializingHandler = value.parent),\n value.errored)\n )\n (key = new ReactPromise(\"rejected\", null, value.reason)),\n (key = createLazyChunkWrapper(key));\n else if (0 < value.deps) {\n var blockedChunk = new ReactPromise(\"blocked\", null, null);\n value.value = key;\n value.chunk = blockedChunk;\n key = createLazyChunkWrapper(blockedChunk);\n }\n } else key = value;\n return key;\n }\n return value;\n }\n };\n}\nfunction close(weakResponse) {\n reportGlobalError(weakResponse, Error(\"Connection closed.\"));\n}\nfunction noServerCall$1() {\n throw Error(\n \"Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.\"\n );\n}\nfunction createResponseFromOptions(options) {\n return new ResponseInstance(\n options.serverConsumerManifest.moduleMap,\n options.serverConsumerManifest.serverModuleMap,\n options.serverConsumerManifest.moduleLoading,\n noServerCall$1,\n options.encodeFormAction,\n \"string\" === typeof options.nonce ? options.nonce : void 0,\n options && options.temporaryReferences\n ? options.temporaryReferences\n : void 0\n );\n}\nfunction startReadingFromStream$1(response, stream, onDone) {\n function progress(_ref) {\n var value = _ref.value;\n if (_ref.done) return onDone();\n processBinaryChunk(response, streamState, value);\n return reader.read().then(progress).catch(error);\n }\n function error(e) {\n reportGlobalError(response, e);\n }\n var streamState = createStreamState(),\n reader = stream.getReader();\n reader.read().then(progress).catch(error);\n}\nfunction noServerCall() {\n throw Error(\n \"Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.\"\n );\n}\nfunction startReadingFromStream(response, stream, onEnd) {\n var streamState = createStreamState();\n stream.on(\"data\", function (chunk) {\n if (\"string\" === typeof chunk) {\n for (\n var i = 0,\n rowState = streamState._rowState,\n rowID = streamState._rowID,\n rowTag = streamState._rowTag,\n rowLength = streamState._rowLength,\n buffer = streamState._buffer,\n chunkLength = chunk.length;\n i < chunkLength;\n\n ) {\n var lastIdx = -1;\n switch (rowState) {\n case 0:\n lastIdx = chunk.charCodeAt(i++);\n 58 === lastIdx\n ? (rowState = 1)\n : (rowID =\n (rowID << 4) | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 1:\n rowState = chunk.charCodeAt(i);\n 84 === rowState ||\n 65 === rowState ||\n 79 === rowState ||\n 111 === rowState ||\n 85 === rowState ||\n 83 === rowState ||\n 115 === rowState ||\n 76 === rowState ||\n 108 === rowState ||\n 71 === rowState ||\n 103 === rowState ||\n 77 === rowState ||\n 109 === rowState ||\n 86 === rowState\n ? ((rowTag = rowState), (rowState = 2), i++)\n : (64 < rowState && 91 > rowState) ||\n 114 === rowState ||\n 120 === rowState\n ? ((rowTag = rowState), (rowState = 3), i++)\n : ((rowTag = 0), (rowState = 3));\n continue;\n case 2:\n lastIdx = chunk.charCodeAt(i++);\n 44 === lastIdx\n ? (rowState = 4)\n : (rowLength =\n (rowLength << 4) |\n (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 3:\n lastIdx = chunk.indexOf(\"\\n\", i);\n break;\n case 4:\n if (84 !== rowTag)\n throw Error(\n \"Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams.\"\n );\n if (rowLength < chunk.length || chunk.length > 3 * rowLength)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n lastIdx = chunk.length;\n }\n if (-1 < lastIdx) {\n if (0 < buffer.length)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n i = chunk.slice(i, lastIdx);\n processFullStringRow(response, streamState, rowID, rowTag, i);\n i = lastIdx;\n 3 === rowState && i++;\n rowLength = rowID = rowTag = rowState = 0;\n buffer.length = 0;\n } else if (chunk.length !== i)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n }\n streamState._rowState = rowState;\n streamState._rowID = rowID;\n streamState._rowTag = rowTag;\n streamState._rowLength = rowLength;\n } else processBinaryChunk(response, streamState, chunk);\n });\n stream.on(\"error\", function (error) {\n reportGlobalError(response, error);\n });\n stream.on(\"end\", onEnd);\n}\nexports.createFromFetch = function (promiseForResponse, options) {\n var response = createResponseFromOptions(options);\n promiseForResponse.then(\n function (r) {\n startReadingFromStream$1(response, r.body, close.bind(null, response));\n },\n function (e) {\n reportGlobalError(response, e);\n }\n );\n return getChunk(response, 0);\n};\nexports.createFromNodeStream = function (\n stream,\n serverConsumerManifest,\n options\n) {\n serverConsumerManifest = new ResponseInstance(\n serverConsumerManifest.moduleMap,\n serverConsumerManifest.serverModuleMap,\n serverConsumerManifest.moduleLoading,\n noServerCall,\n options ? options.encodeFormAction : void 0,\n options && \"string\" === typeof options.nonce ? options.nonce : void 0,\n void 0\n );\n startReadingFromStream(\n serverConsumerManifest,\n stream,\n close.bind(null, serverConsumerManifest)\n );\n return getChunk(serverConsumerManifest, 0);\n};\nexports.createFromReadableStream = function (stream, options) {\n options = createResponseFromOptions(options);\n startReadingFromStream$1(options, stream, close.bind(null, options));\n return getChunk(options, 0);\n};\nexports.createServerReference = function (id) {\n return createServerReference$1(id, noServerCall$1);\n};\nexports.createTemporaryReferenceSet = function () {\n return new Map();\n};\nexports.encodeReply = function (value, options) {\n return new Promise(function (resolve, reject) {\n var abort = processReply(\n value,\n \"\",\n options && options.temporaryReferences\n ? options.temporaryReferences\n : void 0,\n resolve,\n reject\n );\n if (options && options.signal) {\n var signal = options.signal;\n if (signal.aborted) abort(signal.reason);\n else {\n var listener = function () {\n abort(signal.reason);\n signal.removeEventListener(\"abort\", listener);\n };\n signal.addEventListener(\"abort\", listener);\n }\n }\n });\n};\nexports.registerServerReference = function (reference, id, encodeFormAction) {\n registerBoundServerReference(reference, id, null, encodeFormAction);\n return reference;\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-server-dom-turbopack-client.node.production.js');\n} else {\n module.exports = require('./cjs/react-server-dom-turbopack-client.node.development.js');\n}\n","(()=>{\"use strict\";var e={328:e=>{function hash(e){var r=5381,_=e.length;while(_){r=r*33^e.charCodeAt(--_)}return r>>>0}e.exports=hash}};var r={};function __nccwpck_require__(_){var a=r[_];if(a!==undefined){return a.exports}var t=r[_]={exports:{}};var i=true;try{e[_](t,t.exports,__nccwpck_require__);i=false}finally{if(i)delete r[_]}return t.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var _=__nccwpck_require__(328);module.exports=_})();","const noop = ()=>{};\nlet registry;\nif (globalThis.FinalizationRegistry) {\n registry = new FinalizationRegistry((weakRef)=>{\n const stream = weakRef.deref();\n if (stream && !stream.locked) {\n stream.cancel('Response object has been garbage collected').then(noop);\n }\n });\n}\n/**\n * Clones a response by teeing the body so we can return two independent\n * ReadableStreams from it. This avoids the bug in the undici library around\n * response cloning.\n *\n * After cloning, the original response's body will be consumed and closed.\n *\n * @see https://github.com/vercel/next.js/pull/73274\n *\n * @param original - The original response to clone.\n * @returns A tuple containing two independent clones of the original response.\n */ export function cloneResponse(original) {\n // If the response has no body, then we can just return the original response\n // twice because it's immutable.\n if (!original.body) {\n return [\n original,\n original\n ];\n }\n const [body1, body2] = original.body.tee();\n const cloned1 = new Response(body1, {\n status: original.status,\n statusText: original.statusText,\n headers: original.headers\n });\n Object.defineProperty(cloned1, 'url', {\n value: original.url,\n // How the original response.url behaves\n configurable: true,\n enumerable: true,\n writable: false\n });\n // The Fetch Standard allows users to skip consuming the response body by\n // relying on garbage collection to release connection resources.\n // https://github.com/nodejs/undici?tab=readme-ov-file#garbage-collection\n //\n // To cancel the stream you then need to cancel both resulting branches.\n // Teeing a stream will generally lock it for the duration, preventing other\n // readers from locking it.\n // https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/tee\n // cloned2 is stored in a react cache and cloned for subsequent requests.\n // It is the original request, and is is garbage collected by a\n // FinalizationRegistry in Undici, but since we're tee-ing the stream\n // ourselves, we need to cancel clone1's stream (the response returned from\n // our dedupe fetch) when clone1 is reclaimed, otherwise we leak memory.\n if (registry && cloned1.body) {\n registry.register(cloned1, new WeakRef(cloned1.body));\n }\n const cloned2 = new Response(body2, {\n status: original.status,\n statusText: original.statusText,\n headers: original.headers\n });\n Object.defineProperty(cloned2, 'url', {\n value: original.url,\n // How the original response.url behaves\n configurable: true,\n enumerable: true,\n writable: false\n });\n return [\n cloned1,\n cloned2\n ];\n}\n\n//# sourceMappingURL=clone-response.js.map","const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT';\nexport class StaticGenBailoutError extends Error {\n constructor(...args){\n super(...args), this.code = NEXT_STATIC_GEN_BAILOUT;\n }\n}\nexport function isStaticGenBailoutError(error) {\n if (typeof error !== 'object' || error === null || !('code' in error)) {\n return false;\n }\n return error.code === NEXT_STATIC_GEN_BAILOUT;\n}\n\n//# sourceMappingURL=static-generation-bailout.js.map","// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING';\n/** An error that should be thrown when we want to bail out to client-side rendering. */ export class BailoutToCSRError extends Error {\n constructor(reason){\n super(`Bail out to client-side rendering: ${reason}`), this.reason = reason, this.digest = BAILOUT_TO_CSR;\n }\n}\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */ export function isBailoutToCSRError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === BAILOUT_TO_CSR;\n}\n\n//# sourceMappingURL=bailout-to-csr.js.map","// eslint-disable-next-line import/no-extraneous-dependencies\nexport { createTemporaryReferenceSet, renderToReadableStream, decodeReply, decodeAction, decodeFormState } from 'react-server-dom-webpack/server';\n// eslint-disable-next-line import/no-extraneous-dependencies\nexport { prerender } from 'react-server-dom-webpack/static';\n// TODO: Just re-export `* as ReactServer`\nexport { captureOwnerStack, createElement, Fragment } from 'react';\nexport { default as LayoutRouter } from '../../client/components/layout-router';\nexport { default as RenderFromTemplateContext } from '../../client/components/render-from-template-context';\nexport { workAsyncStorage } from '../app-render/work-async-storage.external';\nexport { workUnitAsyncStorage } from './work-unit-async-storage.external';\nexport { actionAsyncStorage } from '../app-render/action-async-storage.external';\nexport { ClientPageRoot } from '../../client/components/client-page';\nexport { ClientSegmentRoot } from '../../client/components/client-segment';\nexport { createServerSearchParamsForServerPage, createPrerenderSearchParamsForClientPage } from '../request/search-params';\nexport { createServerParamsForServerSegment, createPrerenderParamsForClientSegment } from '../request/params';\nexport * as serverHooks from '../../client/components/hooks-server-context';\nexport { HTTPAccessFallbackBoundary } from '../../client/components/http-access-fallback/error-boundary';\nexport { createMetadataComponents } from '../../lib/metadata/metadata';\nexport { RootLayoutBoundary } from '../../lib/framework/boundary-components';\nexport { preloadStyle, preloadFont, preconnect } from './rsc/preloads';\nexport { Postpone } from './rsc/postpone';\nexport { taintObjectReference } from './rsc/taint';\nexport { collectSegmentData } from './collect-segment-data';\nimport { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { workUnitAsyncStorage } from './work-unit-async-storage.external';\nimport { patchFetch as _patchFetch } from '../lib/patch-fetch';\nlet SegmentViewNode = ()=>null;\nlet SegmentViewStateNode = ()=>null;\nif (process.env.NODE_ENV === 'development') {\n const mod = require('../../next-devtools/userspace/app/segment-explorer-node');\n SegmentViewNode = mod.SegmentViewNode;\n SegmentViewStateNode = mod.SegmentViewStateNode;\n}\n// hot-reloader modules are not bundled so we need to inject `__next__clear_chunk_cache__`\n// into globalThis from this file which is bundled.\nif (process.env.TURBOPACK) {\n globalThis.__next__clear_chunk_cache__ = __turbopack_clear_chunk_cache__;\n} else {\n // Webpack does not have chunks on the server\n globalThis.__next__clear_chunk_cache__ = null;\n}\n// patchFetch makes use of APIs such as `React.unstable_postpone` which are only available\n// in the experimental channel of React, so export it from here so that it comes from the bundled runtime\nexport function patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage\n });\n}\n// Development only\nexport { SegmentViewNode, SegmentViewStateNode };\n\n//# sourceMappingURL=entry-base.js.map","// This regex will have fast negatives meaning valid identifiers may not pass\n// this test. However this is only used during static generation to provide hints\n// about why a page bailed out of some or all prerendering and we can use bracket notation\n// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`\n// even if this would have been fine too `searchParams.ಠ_ಠ`\nconst isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/;\nexport function describeStringPropertyAccess(target, prop) {\n if (isDefinitelyAValidIdentifier.test(prop)) {\n return `\\`${target}.${prop}\\``;\n }\n return `\\`${target}[${JSON.stringify(prop)}]\\``;\n}\nexport function describeHasCheckingStringProperty(target, prop) {\n const stringifiedProp = JSON.stringify(prop);\n return `\\`Reflect.has(${target}, ${stringifiedProp})\\`, \\`${stringifiedProp} in ${target}\\`, or similar`;\n}\nexport const wellKnownProperties = new Set([\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toString',\n 'valueOf',\n 'toLocaleString',\n // Promise prototype\n 'then',\n 'catch',\n 'finally',\n // React Promise extension\n 'status',\n // 'value',\n // 'error',\n // React introspection\n 'displayName',\n '_debugInfo',\n // Common tested properties\n 'toJSON',\n '$$typeof',\n '__esModule'\n]);\n\n//# sourceMappingURL=reflect-utils.js.map","import { jsx as _jsx, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport React, { Suspense, cache, cloneElement } from 'react';\nimport { AppleWebAppMeta, FormatDetectionMeta, ItunesMeta, BasicMeta, ViewportMeta, VerificationMeta, FacebookMeta, PinterestMeta } from './generate/basic';\nimport { AlternatesMetadata } from './generate/alternate';\nimport { OpenGraphMetadata, TwitterMetadata, AppLinksMeta } from './generate/opengraph';\nimport { IconsMetadata } from './generate/icons';\nimport { resolveMetadata, resolveViewport } from './resolve-metadata';\nimport { MetaFilter } from './generate/meta';\nimport { isHTTPAccessFallbackError } from '../../client/components/http-access-fallback/http-access-fallback';\nimport { createServerSearchParamsForMetadata } from '../../server/request/search-params';\nimport { createServerPathnameForMetadata } from '../../server/request/pathname';\nimport { isPostpone } from '../../server/lib/router-utils/is-postpone';\nimport { MetadataBoundary, ViewportBoundary, OutletBoundary } from '../framework/boundary-components';\n// Use a promise to share the status of the metadata resolving,\n// returning two components `MetadataTree` and `MetadataOutlet`\n// `MetadataTree` is the one that will be rendered at first in the content sequence for metadata tags.\n// `MetadataOutlet` is the one that will be rendered under error boundaries for metadata resolving errors.\n// In this way we can let the metadata tags always render successfully,\n// and the error will be caught by the error boundary and trigger fallbacks.\nexport function createMetadataComponents({ tree, pathname, parsedQuery, metadataContext, getDynamicParamFromSegment, errorType, workStore, serveStreamingMetadata }) {\n const searchParams = createServerSearchParamsForMetadata(parsedQuery, workStore);\n const pathnameForMetadata = createServerPathnameForMetadata(pathname, workStore);\n async function Viewport() {\n const tags = await getResolvedViewport(tree, searchParams, getDynamicParamFromSegment, workStore, errorType).catch((viewportErr)=>{\n // When Legacy PPR is enabled viewport can reject with a Postpone type\n // This will go away once Legacy PPR is removed and dynamic metadata will\n // stay pending until after the prerender is complete when it is dynamic\n if (isPostpone(viewportErr)) {\n throw viewportErr;\n }\n if (!errorType && isHTTPAccessFallbackError(viewportErr)) {\n return getNotFoundViewport(tree, searchParams, getDynamicParamFromSegment, workStore).catch(()=>null);\n }\n // We're going to throw the error from the metadata outlet so we just render null here instead\n return null;\n });\n return tags;\n }\n Viewport.displayName = 'Next.Viewport';\n function ViewportWrapper() {\n return /*#__PURE__*/ _jsx(ViewportBoundary, {\n children: /*#__PURE__*/ _jsx(Viewport, {})\n });\n }\n async function Metadata() {\n const tags = await getResolvedMetadata(tree, pathnameForMetadata, searchParams, getDynamicParamFromSegment, metadataContext, workStore, errorType).catch((metadataErr)=>{\n // When Legacy PPR is enabled metadata can reject with a Postpone type\n // This will go away once Legacy PPR is removed and dynamic metadata will\n // stay pending until after the prerender is complete when it is dynamic\n if (isPostpone(metadataErr)) {\n throw metadataErr;\n }\n if (!errorType && isHTTPAccessFallbackError(metadataErr)) {\n return getNotFoundMetadata(tree, pathnameForMetadata, searchParams, getDynamicParamFromSegment, metadataContext, workStore).catch(()=>null);\n }\n // We're going to throw the error from the metadata outlet so we just render null here instead\n return null;\n });\n return tags;\n }\n Metadata.displayName = 'Next.Metadata';\n function MetadataWrapper() {\n // TODO: We shouldn't change what we render based on whether we are streaming or not.\n // If we aren't streaming we should just block the response until we have resolved the\n // metadata.\n if (!serveStreamingMetadata) {\n return /*#__PURE__*/ _jsx(MetadataBoundary, {\n children: /*#__PURE__*/ _jsx(Metadata, {})\n });\n }\n return /*#__PURE__*/ _jsx(\"div\", {\n hidden: true,\n children: /*#__PURE__*/ _jsx(MetadataBoundary, {\n children: /*#__PURE__*/ _jsx(Suspense, {\n name: \"Next.Metadata\",\n children: /*#__PURE__*/ _jsx(Metadata, {})\n })\n })\n });\n }\n function MetadataOutlet() {\n const pendingOutlet = Promise.all([\n getResolvedMetadata(tree, pathnameForMetadata, searchParams, getDynamicParamFromSegment, metadataContext, workStore, errorType),\n getResolvedViewport(tree, searchParams, getDynamicParamFromSegment, workStore, errorType)\n ]).then(()=>null);\n // TODO: We shouldn't change what we render based on whether we are streaming or not.\n // If we aren't streaming we should just block the response until we have resolved the\n // metadata.\n if (!serveStreamingMetadata) {\n return /*#__PURE__*/ _jsx(OutletBoundary, {\n children: pendingOutlet\n });\n }\n return /*#__PURE__*/ _jsx(OutletBoundary, {\n children: /*#__PURE__*/ _jsx(Suspense, {\n name: \"Next.MetadataOutlet\",\n children: pendingOutlet\n })\n });\n }\n MetadataOutlet.displayName = 'Next.MetadataOutlet';\n return {\n Viewport: ViewportWrapper,\n Metadata: MetadataWrapper,\n MetadataOutlet\n };\n}\nconst getResolvedMetadata = cache(getResolvedMetadataImpl);\nasync function getResolvedMetadataImpl(tree, pathname, searchParams, getDynamicParamFromSegment, metadataContext, workStore, errorType) {\n const errorConvention = errorType === 'redirect' ? undefined : errorType;\n return renderMetadata(tree, pathname, searchParams, getDynamicParamFromSegment, metadataContext, workStore, errorConvention);\n}\nconst getNotFoundMetadata = cache(getNotFoundMetadataImpl);\nasync function getNotFoundMetadataImpl(tree, pathname, searchParams, getDynamicParamFromSegment, metadataContext, workStore) {\n const notFoundErrorConvention = 'not-found';\n return renderMetadata(tree, pathname, searchParams, getDynamicParamFromSegment, metadataContext, workStore, notFoundErrorConvention);\n}\nconst getResolvedViewport = cache(getResolvedViewportImpl);\nasync function getResolvedViewportImpl(tree, searchParams, getDynamicParamFromSegment, workStore, errorType) {\n const errorConvention = errorType === 'redirect' ? undefined : errorType;\n return renderViewport(tree, searchParams, getDynamicParamFromSegment, workStore, errorConvention);\n}\nconst getNotFoundViewport = cache(getNotFoundViewportImpl);\nasync function getNotFoundViewportImpl(tree, searchParams, getDynamicParamFromSegment, workStore) {\n const notFoundErrorConvention = 'not-found';\n return renderViewport(tree, searchParams, getDynamicParamFromSegment, workStore, notFoundErrorConvention);\n}\nasync function renderMetadata(tree, pathname, searchParams, getDynamicParamFromSegment, metadataContext, workStore, errorConvention) {\n const resolvedMetadata = await resolveMetadata(tree, pathname, searchParams, errorConvention, getDynamicParamFromSegment, workStore, metadataContext);\n const elements = createMetadataElements(resolvedMetadata);\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: elements.map((el, index)=>{\n return /*#__PURE__*/ cloneElement(el, {\n key: index\n });\n })\n });\n}\nasync function renderViewport(tree, searchParams, getDynamicParamFromSegment, workStore, errorConvention) {\n const resolvedViewport = await resolveViewport(tree, searchParams, errorConvention, getDynamicParamFromSegment, workStore);\n const elements = createViewportElements(resolvedViewport);\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: elements.map((el, index)=>{\n return /*#__PURE__*/ cloneElement(el, {\n key: index\n });\n })\n });\n}\nfunction createMetadataElements(metadata) {\n return MetaFilter([\n BasicMeta({\n metadata\n }),\n AlternatesMetadata({\n alternates: metadata.alternates\n }),\n ItunesMeta({\n itunes: metadata.itunes\n }),\n FacebookMeta({\n facebook: metadata.facebook\n }),\n PinterestMeta({\n pinterest: metadata.pinterest\n }),\n FormatDetectionMeta({\n formatDetection: metadata.formatDetection\n }),\n VerificationMeta({\n verification: metadata.verification\n }),\n AppleWebAppMeta({\n appleWebApp: metadata.appleWebApp\n }),\n OpenGraphMetadata({\n openGraph: metadata.openGraph\n }),\n TwitterMetadata({\n twitter: metadata.twitter\n }),\n AppLinksMeta({\n appLinks: metadata.appLinks\n }),\n IconsMetadata({\n icons: metadata.icons\n })\n ]);\n}\nfunction createViewportElements(viewport) {\n return MetaFilter([\n ViewportMeta({\n viewport: viewport\n })\n ]);\n}\n\n//# sourceMappingURL=metadata.js.map","function resolveArray(value) {\n if (Array.isArray(value)) {\n return value;\n }\n return [\n value\n ];\n}\nfunction resolveAsArrayOrUndefined(value) {\n if (typeof value === 'undefined' || value === null) {\n return undefined;\n }\n return resolveArray(value);\n}\nfunction getOrigin(url) {\n let origin = undefined;\n if (typeof url === 'string') {\n try {\n url = new URL(url);\n origin = url.origin;\n } catch {}\n }\n return origin;\n}\nexport { resolveAsArrayOrUndefined, resolveArray, getOrigin };\n\n//# sourceMappingURL=utils.js.map","// eslint-disable-next-line import/no-extraneous-dependencies\nimport 'server-only';\nimport { cache } from 'react';\nimport { createDefaultMetadata, createDefaultViewport } from './default-metadata';\nimport { resolveOpenGraph, resolveTwitter } from './resolvers/resolve-opengraph';\nimport { resolveTitle } from './resolvers/resolve-title';\nimport { resolveAsArrayOrUndefined } from './generate/utils';\nimport { getComponentTypeModule, getLayoutOrPageModule } from '../../server/lib/app-dir-module';\nimport { interopDefault } from '../interop-default';\nimport { resolveAlternates, resolveAppleWebApp, resolveAppLinks, resolveRobots, resolveThemeColor, resolveVerification, resolveItunes, resolveFacebook, resolvePagination } from './resolvers/resolve-basics';\nimport { resolveIcons } from './resolvers/resolve-icons';\nimport { getTracer } from '../../server/lib/trace/tracer';\nimport { ResolveMetadataSpan } from '../../server/lib/trace/constants';\nimport { PAGE_SEGMENT_KEY } from '../../shared/lib/segment';\nimport * as Log from '../../build/output/log';\nimport { createServerParamsForMetadata } from '../../server/request/params';\nimport { getUseCacheFunctionInfo, isUseCacheFunction } from '../client-and-server-references';\nimport { createLazyResult } from '../../server/lib/lazy-result';\nfunction isFavicon(icon) {\n if (!icon) {\n return false;\n }\n // turbopack appends a hash to all images\n return (icon.url === '/favicon.ico' || icon.url.toString().startsWith('/favicon.ico?')) && icon.type === 'image/x-icon';\n}\nfunction convertUrlsToStrings(input) {\n if (input instanceof URL) {\n return input.toString();\n } else if (Array.isArray(input)) {\n return input.map((item)=>convertUrlsToStrings(item));\n } else if (input && typeof input === 'object') {\n const result = {};\n for (const [key, value] of Object.entries(input)){\n result[key] = convertUrlsToStrings(value);\n }\n return result;\n }\n return input;\n}\nfunction normalizeMetadataBase(metadataBase) {\n if (typeof metadataBase === 'string') {\n try {\n metadataBase = new URL(metadataBase);\n } catch {\n throw Object.defineProperty(new Error(`metadataBase is not a valid URL: ${metadataBase}`), \"__NEXT_ERROR_CODE\", {\n value: \"E850\",\n enumerable: false,\n configurable: true\n });\n }\n }\n return metadataBase;\n}\nasync function mergeStaticMetadata(metadataBase, source, target, staticFilesMetadata, metadataContext, titleTemplates, leafSegmentStaticIcons, pathname) {\n var _source_twitter, _source_openGraph;\n if (!staticFilesMetadata) return target;\n const { icon, apple, openGraph, twitter, manifest } = staticFilesMetadata;\n // Keep updating the static icons in the most leaf node\n if (icon) {\n leafSegmentStaticIcons.icon = icon;\n }\n if (apple) {\n leafSegmentStaticIcons.apple = apple;\n }\n // file based metadata is specified and current level metadata twitter.images is not specified\n if (twitter && !(source == null ? void 0 : (_source_twitter = source.twitter) == null ? void 0 : _source_twitter.hasOwnProperty('images'))) {\n const resolvedTwitter = resolveTwitter({\n ...target.twitter,\n images: twitter\n }, metadataBase, {\n ...metadataContext,\n isStaticMetadataRouteFile: true\n }, titleTemplates.twitter);\n target.twitter = convertUrlsToStrings(resolvedTwitter);\n }\n // file based metadata is specified and current level metadata openGraph.images is not specified\n if (openGraph && !(source == null ? void 0 : (_source_openGraph = source.openGraph) == null ? void 0 : _source_openGraph.hasOwnProperty('images'))) {\n const resolvedOpenGraph = await resolveOpenGraph({\n ...target.openGraph,\n images: openGraph\n }, metadataBase, pathname, {\n ...metadataContext,\n isStaticMetadataRouteFile: true\n }, titleTemplates.openGraph);\n target.openGraph = convertUrlsToStrings(resolvedOpenGraph);\n }\n if (manifest) {\n target.manifest = manifest;\n }\n return target;\n}\n/**\n * Merges the given metadata with the resolved metadata. Returns a new object.\n */ async function mergeMetadata(route, pathname, { metadata, resolvedMetadata, staticFilesMetadata, titleTemplates, metadataContext, buildState, leafSegmentStaticIcons }) {\n const newResolvedMetadata = structuredClone(resolvedMetadata);\n const metadataBase = normalizeMetadataBase((metadata == null ? void 0 : metadata.metadataBase) !== undefined ? metadata.metadataBase : resolvedMetadata.metadataBase);\n for(const key_ in metadata){\n const key = key_;\n switch(key){\n case 'title':\n {\n newResolvedMetadata.title = resolveTitle(metadata.title, titleTemplates.title);\n break;\n }\n case 'alternates':\n {\n newResolvedMetadata.alternates = convertUrlsToStrings(await resolveAlternates(metadata.alternates, metadataBase, pathname, metadataContext));\n break;\n }\n case 'openGraph':\n {\n newResolvedMetadata.openGraph = convertUrlsToStrings(await resolveOpenGraph(metadata.openGraph, metadataBase, pathname, metadataContext, titleTemplates.openGraph));\n break;\n }\n case 'twitter':\n {\n newResolvedMetadata.twitter = convertUrlsToStrings(resolveTwitter(metadata.twitter, metadataBase, metadataContext, titleTemplates.twitter));\n break;\n }\n case 'facebook':\n newResolvedMetadata.facebook = resolveFacebook(metadata.facebook);\n break;\n case 'verification':\n newResolvedMetadata.verification = resolveVerification(metadata.verification);\n break;\n case 'icons':\n {\n newResolvedMetadata.icons = convertUrlsToStrings(resolveIcons(metadata.icons));\n break;\n }\n case 'appleWebApp':\n newResolvedMetadata.appleWebApp = resolveAppleWebApp(metadata.appleWebApp);\n break;\n case 'appLinks':\n newResolvedMetadata.appLinks = convertUrlsToStrings(resolveAppLinks(metadata.appLinks));\n break;\n case 'robots':\n {\n newResolvedMetadata.robots = resolveRobots(metadata.robots);\n break;\n }\n case 'archives':\n case 'assets':\n case 'bookmarks':\n case 'keywords':\n {\n newResolvedMetadata[key] = resolveAsArrayOrUndefined(metadata[key]);\n break;\n }\n case 'authors':\n {\n newResolvedMetadata[key] = convertUrlsToStrings(resolveAsArrayOrUndefined(metadata.authors));\n break;\n }\n case 'itunes':\n {\n newResolvedMetadata[key] = await resolveItunes(metadata.itunes, metadataBase, pathname, metadataContext);\n break;\n }\n case 'pagination':\n {\n newResolvedMetadata.pagination = await resolvePagination(metadata.pagination, metadataBase, pathname, metadataContext);\n break;\n }\n // directly assign fields that fallback to null\n case 'abstract':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'applicationName':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'description':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'generator':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'creator':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'publisher':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'category':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'classification':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'referrer':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'formatDetection':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'manifest':\n newResolvedMetadata[key] = convertUrlsToStrings(metadata[key]) ?? null;\n break;\n case 'pinterest':\n newResolvedMetadata[key] = convertUrlsToStrings(metadata[key]) ?? null;\n break;\n case 'other':\n newResolvedMetadata.other = Object.assign({}, newResolvedMetadata.other, metadata.other);\n break;\n case 'metadataBase':\n newResolvedMetadata.metadataBase = metadataBase ? metadataBase.toString() : null;\n break;\n case 'apple-touch-fullscreen':\n {\n buildState.warnings.add(`Use appleWebApp instead\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);\n break;\n }\n case 'apple-touch-icon-precomposed':\n {\n buildState.warnings.add(`Use icons.apple instead\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);\n break;\n }\n case 'themeColor':\n case 'colorScheme':\n case 'viewport':\n if (metadata[key] != null) {\n buildState.warnings.add(`Unsupported metadata ${key} is configured in metadata export in ${route}. Please move it to viewport export instead.\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport`);\n }\n break;\n default:\n {\n key;\n }\n }\n }\n return mergeStaticMetadata(metadataBase, metadata, newResolvedMetadata, staticFilesMetadata, metadataContext, titleTemplates, leafSegmentStaticIcons, pathname);\n}\n/**\n * Merges the given viewport with the resolved viewport. Returns a new object.\n */ function mergeViewport({ resolvedViewport, viewport }) {\n const newResolvedViewport = structuredClone(resolvedViewport);\n if (viewport) {\n for(const key_ in viewport){\n const key = key_;\n switch(key){\n case 'themeColor':\n {\n newResolvedViewport.themeColor = resolveThemeColor(viewport.themeColor);\n break;\n }\n case 'colorScheme':\n newResolvedViewport.colorScheme = viewport.colorScheme || null;\n break;\n case 'width':\n case 'height':\n case 'initialScale':\n case 'minimumScale':\n case 'maximumScale':\n case 'userScalable':\n case 'viewportFit':\n case 'interactiveWidget':\n // always override the target with the source\n // @ts-ignore viewport properties\n newResolvedViewport[key] = viewport[key];\n break;\n default:\n key;\n }\n }\n }\n return newResolvedViewport;\n}\nfunction getDefinedViewport(mod, props, tracingProps) {\n if (typeof mod.generateViewport === 'function') {\n const { route } = tracingProps;\n const segmentProps = createSegmentProps(mod.generateViewport, props);\n return Object.assign((parent)=>getTracer().trace(ResolveMetadataSpan.generateViewport, {\n spanName: `generateViewport ${route}`,\n attributes: {\n 'next.page': route\n }\n }, ()=>mod.generateViewport(segmentProps, parent)), {\n $$original: mod.generateViewport\n });\n }\n return mod.viewport || null;\n}\nfunction getDefinedMetadata(mod, props, tracingProps) {\n if (typeof mod.generateMetadata === 'function') {\n const { route } = tracingProps;\n const segmentProps = createSegmentProps(mod.generateMetadata, props);\n return Object.assign((parent)=>getTracer().trace(ResolveMetadataSpan.generateMetadata, {\n spanName: `generateMetadata ${route}`,\n attributes: {\n 'next.page': route\n }\n }, ()=>mod.generateMetadata(segmentProps, parent)), {\n $$original: mod.generateMetadata\n });\n }\n return mod.metadata || null;\n}\n/**\n * If `fn` is a `'use cache'` function, we add special markers to the props,\n * that the cache wrapper reads and removes, before passing the props to the\n * user function.\n */ function createSegmentProps(fn, props) {\n return isUseCacheFunction(fn) ? 'searchParams' in props ? {\n ...props,\n $$isPage: true\n } : {\n ...props,\n $$isLayout: true\n } : props;\n}\nasync function collectStaticImagesFiles(metadata, props, type) {\n var _this;\n if (!(metadata == null ? void 0 : metadata[type])) return undefined;\n const iconPromises = metadata[type].map(async (imageModule)=>interopDefault(await imageModule(props)));\n return (iconPromises == null ? void 0 : iconPromises.length) > 0 ? (_this = await Promise.all(iconPromises)) == null ? void 0 : _this.flat() : undefined;\n}\nasync function resolveStaticMetadata(modules, props) {\n const { metadata } = modules;\n if (!metadata) return null;\n const [icon, apple, openGraph, twitter] = await Promise.all([\n collectStaticImagesFiles(metadata, props, 'icon'),\n collectStaticImagesFiles(metadata, props, 'apple'),\n collectStaticImagesFiles(metadata, props, 'openGraph'),\n collectStaticImagesFiles(metadata, props, 'twitter')\n ]);\n const staticMetadata = {\n icon,\n apple,\n openGraph,\n twitter,\n manifest: metadata.manifest\n };\n return staticMetadata;\n}\n// [layout.metadata, static files metadata] -> ... -> [page.metadata, static files metadata]\nasync function collectMetadata({ tree, metadataItems, errorMetadataItem, props, route, errorConvention }) {\n let mod;\n let modType;\n const hasErrorConventionComponent = Boolean(errorConvention && tree[2][errorConvention]);\n if (errorConvention) {\n mod = await getComponentTypeModule(tree, 'layout');\n modType = errorConvention;\n } else {\n const { mod: layoutOrPageMod, modType: layoutOrPageModType } = await getLayoutOrPageModule(tree);\n mod = layoutOrPageMod;\n modType = layoutOrPageModType;\n }\n if (modType) {\n route += `/${modType}`;\n }\n const staticFilesMetadata = await resolveStaticMetadata(tree[2], props);\n const metadataExport = mod ? getDefinedMetadata(mod, props, {\n route\n }) : null;\n metadataItems.push([\n metadataExport,\n staticFilesMetadata\n ]);\n if (hasErrorConventionComponent && errorConvention) {\n const errorMod = await getComponentTypeModule(tree, errorConvention);\n const errorMetadataExport = errorMod ? getDefinedMetadata(errorMod, props, {\n route\n }) : null;\n errorMetadataItem[0] = errorMetadataExport;\n errorMetadataItem[1] = staticFilesMetadata;\n }\n}\n// [layout.metadata, static files metadata] -> ... -> [page.metadata, static files metadata]\nasync function collectViewport({ tree, viewportItems, errorViewportItemRef, props, route, errorConvention }) {\n let mod;\n let modType;\n const hasErrorConventionComponent = Boolean(errorConvention && tree[2][errorConvention]);\n if (errorConvention) {\n mod = await getComponentTypeModule(tree, 'layout');\n modType = errorConvention;\n } else {\n const { mod: layoutOrPageMod, modType: layoutOrPageModType } = await getLayoutOrPageModule(tree);\n mod = layoutOrPageMod;\n modType = layoutOrPageModType;\n }\n if (modType) {\n route += `/${modType}`;\n }\n const viewportExport = mod ? getDefinedViewport(mod, props, {\n route\n }) : null;\n viewportItems.push(viewportExport);\n if (hasErrorConventionComponent && errorConvention) {\n const errorMod = await getComponentTypeModule(tree, errorConvention);\n const errorViewportExport = errorMod ? getDefinedViewport(errorMod, props, {\n route\n }) : null;\n errorViewportItemRef.current = errorViewportExport;\n }\n}\nconst resolveMetadataItems = cache(async function(tree, searchParams, errorConvention, getDynamicParamFromSegment, workStore) {\n const parentParams = {};\n const metadataItems = [];\n const errorMetadataItem = [\n null,\n null\n ];\n const treePrefix = undefined;\n return resolveMetadataItemsImpl(metadataItems, tree, treePrefix, parentParams, searchParams, errorConvention, errorMetadataItem, getDynamicParamFromSegment, workStore);\n});\nasync function resolveMetadataItemsImpl(metadataItems, tree, /** Provided tree can be nested subtree, this argument says what is the path of such subtree */ treePrefix, parentParams, searchParams, errorConvention, errorMetadataItem, getDynamicParamFromSegment, workStore) {\n const [segment, parallelRoutes, { page }] = tree;\n const currentTreePrefix = treePrefix && treePrefix.length ? [\n ...treePrefix,\n segment\n ] : [\n segment\n ];\n const isPage = typeof page !== 'undefined';\n // Handle dynamic segment params.\n const segmentParam = getDynamicParamFromSegment(segment);\n /**\n * Create object holding the parent params and current params\n */ let currentParams = parentParams;\n if (segmentParam && segmentParam.value !== null) {\n currentParams = {\n ...parentParams,\n [segmentParam.param]: segmentParam.value\n };\n }\n const params = createServerParamsForMetadata(currentParams, workStore);\n const props = isPage ? {\n params,\n searchParams\n } : {\n params\n };\n await collectMetadata({\n tree,\n metadataItems,\n errorMetadataItem,\n errorConvention,\n props,\n route: currentTreePrefix// __PAGE__ shouldn't be shown in a route\n .filter((s)=>s !== PAGE_SEGMENT_KEY).join('/')\n });\n for(const key in parallelRoutes){\n const childTree = parallelRoutes[key];\n await resolveMetadataItemsImpl(metadataItems, childTree, currentTreePrefix, currentParams, searchParams, errorConvention, errorMetadataItem, getDynamicParamFromSegment, workStore);\n }\n if (Object.keys(parallelRoutes).length === 0 && errorConvention) {\n // If there are no parallel routes, place error metadata as the last item.\n // e.g. layout -> layout -> not-found\n metadataItems.push(errorMetadataItem);\n }\n return metadataItems;\n}\nconst resolveViewportItems = cache(async function(tree, searchParams, errorConvention, getDynamicParamFromSegment, workStore) {\n const parentParams = {};\n const viewportItems = [];\n const errorViewportItemRef = {\n current: null\n };\n const treePrefix = undefined;\n return resolveViewportItemsImpl(viewportItems, tree, treePrefix, parentParams, searchParams, errorConvention, errorViewportItemRef, getDynamicParamFromSegment, workStore);\n});\nasync function resolveViewportItemsImpl(viewportItems, tree, /** Provided tree can be nested subtree, this argument says what is the path of such subtree */ treePrefix, parentParams, searchParams, errorConvention, errorViewportItemRef, getDynamicParamFromSegment, workStore) {\n const [segment, parallelRoutes, { page }] = tree;\n const currentTreePrefix = treePrefix && treePrefix.length ? [\n ...treePrefix,\n segment\n ] : [\n segment\n ];\n const isPage = typeof page !== 'undefined';\n // Handle dynamic segment params.\n const segmentParam = getDynamicParamFromSegment(segment);\n /**\n * Create object holding the parent params and current params\n */ let currentParams = parentParams;\n if (segmentParam && segmentParam.value !== null) {\n currentParams = {\n ...parentParams,\n [segmentParam.param]: segmentParam.value\n };\n }\n const params = createServerParamsForMetadata(currentParams, workStore);\n let layerProps;\n if (isPage) {\n layerProps = {\n params,\n searchParams\n };\n } else {\n layerProps = {\n params\n };\n }\n await collectViewport({\n tree,\n viewportItems,\n errorViewportItemRef,\n errorConvention,\n props: layerProps,\n route: currentTreePrefix// __PAGE__ shouldn't be shown in a route\n .filter((s)=>s !== PAGE_SEGMENT_KEY).join('/')\n });\n for(const key in parallelRoutes){\n const childTree = parallelRoutes[key];\n await resolveViewportItemsImpl(viewportItems, childTree, currentTreePrefix, currentParams, searchParams, errorConvention, errorViewportItemRef, getDynamicParamFromSegment, workStore);\n }\n if (Object.keys(parallelRoutes).length === 0 && errorConvention) {\n // If there are no parallel routes, place error metadata as the last item.\n // e.g. layout -> layout -> not-found\n viewportItems.push(errorViewportItemRef.current);\n }\n return viewportItems;\n}\nconst isTitleTruthy = (title)=>!!(title == null ? void 0 : title.absolute);\nconst hasTitle = (metadata)=>isTitleTruthy(metadata == null ? void 0 : metadata.title);\nfunction inheritFromMetadata(target, metadata) {\n if (target) {\n if (!hasTitle(target) && hasTitle(metadata)) {\n target.title = metadata.title;\n }\n if (!target.description && metadata.description) {\n target.description = metadata.description;\n }\n }\n}\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst commonOgKeys = [\n 'title',\n 'description',\n 'images'\n];\nfunction postProcessMetadata(metadata, favicon, titleTemplates, metadataContext) {\n const { openGraph, twitter } = metadata;\n if (openGraph) {\n // If there's openGraph information but not configured in twitter,\n // inherit them from openGraph metadata.\n let autoFillProps = {};\n const hasTwTitle = hasTitle(twitter);\n const hasTwDescription = twitter == null ? void 0 : twitter.description;\n const hasTwImages = Boolean((twitter == null ? void 0 : twitter.hasOwnProperty('images')) && twitter.images);\n if (!hasTwTitle) {\n if (isTitleTruthy(openGraph.title)) {\n autoFillProps.title = openGraph.title;\n } else if (metadata.title && isTitleTruthy(metadata.title)) {\n autoFillProps.title = metadata.title;\n }\n }\n if (!hasTwDescription) autoFillProps.description = openGraph.description || metadata.description || undefined;\n if (!hasTwImages) autoFillProps.images = openGraph.images;\n if (Object.keys(autoFillProps).length > 0) {\n const partialTwitter = resolveTwitter(autoFillProps, normalizeMetadataBase(metadata.metadataBase), metadataContext, titleTemplates.twitter);\n if (metadata.twitter) {\n metadata.twitter = Object.assign({}, metadata.twitter, {\n ...!hasTwTitle && {\n title: partialTwitter == null ? void 0 : partialTwitter.title\n },\n ...!hasTwDescription && {\n description: partialTwitter == null ? void 0 : partialTwitter.description\n },\n ...!hasTwImages && {\n images: partialTwitter == null ? void 0 : partialTwitter.images\n }\n });\n } else {\n metadata.twitter = convertUrlsToStrings(partialTwitter);\n }\n }\n }\n // If there's no title and description configured in openGraph or twitter,\n // use the title and description from metadata.\n inheritFromMetadata(openGraph, metadata);\n inheritFromMetadata(twitter, metadata);\n if (favicon) {\n if (!metadata.icons) {\n metadata.icons = {\n icon: [],\n apple: []\n };\n }\n metadata.icons.icon.unshift(favicon);\n }\n return metadata;\n}\nfunction prerenderMetadata(metadataItems) {\n // If the index is a function then it is a resolver and the next slot\n // is the corresponding result. If the index is not a function it is the result\n // itself.\n const resolversAndResults = [];\n for(let i = 0; i < metadataItems.length; i++){\n const metadataExport = metadataItems[i][0];\n getResult(resolversAndResults, metadataExport);\n }\n return resolversAndResults;\n}\nfunction prerenderViewport(viewportItems) {\n // If the index is a function then it is a resolver and the next slot\n // is the corresponding result. If the index is not a function it is the result\n // itself.\n const resolversAndResults = [];\n for(let i = 0; i < viewportItems.length; i++){\n const viewportExport = viewportItems[i];\n getResult(resolversAndResults, viewportExport);\n }\n return resolversAndResults;\n}\nconst noop = ()=>{};\nfunction getResult(resolversAndResults, exportForResult) {\n if (typeof exportForResult === 'function') {\n // If the function is a 'use cache' function that uses the parent data as\n // the second argument, we don't want to eagerly execute it during\n // metadata/viewport pre-rendering, as the parent data might also be\n // computed from another 'use cache' function. To ensure that the hanging\n // input abort signal handling works in this case (i.e. the depending\n // function waits for the cached input to resolve while encoding its args),\n // they must be called sequentially. This can be accomplished by wrapping\n // the call in a lazy promise, so that the original function is only called\n // when the result is actually awaited.\n const useCacheFunctionInfo = getUseCacheFunctionInfo(exportForResult.$$original);\n if (useCacheFunctionInfo && useCacheFunctionInfo.usedArgs[1]) {\n const promise = new Promise((resolve)=>resolversAndResults.push(resolve));\n resolversAndResults.push(createLazyResult(async ()=>exportForResult(promise)));\n } else {\n let result;\n if (useCacheFunctionInfo) {\n resolversAndResults.push(noop);\n // @ts-expect-error We intentionally omit the parent argument, because\n // we know from the check above that the 'use cache' function does not\n // use it.\n result = exportForResult();\n } else {\n result = exportForResult(new Promise((resolve)=>resolversAndResults.push(resolve)));\n }\n resolversAndResults.push(result);\n if (result instanceof Promise) {\n // since we eager execute generateMetadata and\n // they can reject at anytime we need to ensure\n // we attach the catch handler right away to\n // prevent unhandled rejections crashing the process\n result.catch((err)=>{\n return {\n __nextError: err\n };\n });\n }\n }\n } else if (typeof exportForResult === 'object') {\n resolversAndResults.push(exportForResult);\n } else {\n resolversAndResults.push(null);\n }\n}\nfunction freezeInDev(obj) {\n if (process.env.NODE_ENV === 'development') {\n return require('../../shared/lib/deep-freeze').deepFreeze(obj);\n }\n return obj;\n}\nexport async function accumulateMetadata(route, metadataItems, pathname, metadataContext) {\n let resolvedMetadata = createDefaultMetadata();\n let titleTemplates = {\n title: null,\n twitter: null,\n openGraph: null\n };\n const buildState = {\n warnings: new Set()\n };\n let favicon;\n // Collect the static icons in the most leaf node,\n // since we don't collect all the static metadata icons in the parent segments.\n const leafSegmentStaticIcons = {\n icon: [],\n apple: []\n };\n const resolversAndResults = prerenderMetadata(metadataItems);\n let resultIndex = 0;\n for(let i = 0; i < metadataItems.length; i++){\n var _staticFilesMetadata_icon;\n const staticFilesMetadata = metadataItems[i][1];\n // Treat favicon as special case, it should be the first icon in the list\n // i <= 1 represents root layout, and if current page is also at root\n if (i <= 1 && isFavicon(staticFilesMetadata == null ? void 0 : (_staticFilesMetadata_icon = staticFilesMetadata.icon) == null ? void 0 : _staticFilesMetadata_icon[0])) {\n var _staticFilesMetadata_icon1;\n const iconMod = staticFilesMetadata == null ? void 0 : (_staticFilesMetadata_icon1 = staticFilesMetadata.icon) == null ? void 0 : _staticFilesMetadata_icon1.shift();\n if (i === 0) favicon = iconMod;\n }\n let pendingMetadata = resolversAndResults[resultIndex++];\n if (typeof pendingMetadata === 'function') {\n // This metadata item had a `generateMetadata` and\n // we need to provide the currently resolved metadata\n // to it before we continue;\n const resolveParentMetadata = pendingMetadata;\n // we know that the next item is a result if this item\n // was a resolver\n pendingMetadata = resolversAndResults[resultIndex++];\n resolveParentMetadata(freezeInDev(resolvedMetadata));\n }\n // Otherwise the item was either null or a static export\n let metadata;\n if (isPromiseLike(pendingMetadata)) {\n metadata = await pendingMetadata;\n } else {\n metadata = pendingMetadata;\n }\n resolvedMetadata = await mergeMetadata(route, pathname, {\n resolvedMetadata,\n metadata,\n metadataContext,\n staticFilesMetadata,\n titleTemplates,\n buildState,\n leafSegmentStaticIcons\n });\n // If the layout is the same layer with page, skip the leaf layout and leaf page\n // The leaf layout and page are the last two items\n if (i < metadataItems.length - 2) {\n var _resolvedMetadata_title, _resolvedMetadata_openGraph, _resolvedMetadata_twitter;\n titleTemplates = {\n title: ((_resolvedMetadata_title = resolvedMetadata.title) == null ? void 0 : _resolvedMetadata_title.template) || null,\n openGraph: ((_resolvedMetadata_openGraph = resolvedMetadata.openGraph) == null ? void 0 : _resolvedMetadata_openGraph.title.template) || null,\n twitter: ((_resolvedMetadata_twitter = resolvedMetadata.twitter) == null ? void 0 : _resolvedMetadata_twitter.title.template) || null\n };\n }\n }\n if (leafSegmentStaticIcons.icon.length > 0 || leafSegmentStaticIcons.apple.length > 0) {\n if (!resolvedMetadata.icons) {\n resolvedMetadata.icons = {\n icon: [],\n apple: []\n };\n if (leafSegmentStaticIcons.icon.length > 0) {\n resolvedMetadata.icons.icon.unshift(...leafSegmentStaticIcons.icon);\n }\n if (leafSegmentStaticIcons.apple.length > 0) {\n resolvedMetadata.icons.apple.unshift(...leafSegmentStaticIcons.apple);\n }\n }\n }\n // Only log warnings if there are any, and only once after the metadata resolving process is finished\n if (buildState.warnings.size > 0) {\n for (const warning of buildState.warnings){\n Log.warn(warning);\n }\n }\n return postProcessMetadata(resolvedMetadata, favicon, titleTemplates, metadataContext);\n}\nexport async function accumulateViewport(viewportItems) {\n let resolvedViewport = createDefaultViewport();\n const resolversAndResults = prerenderViewport(viewportItems);\n let i = 0;\n while(i < resolversAndResults.length){\n let pendingViewport = resolversAndResults[i++];\n if (typeof pendingViewport === 'function') {\n // this viewport item had a `generateViewport` and\n // we need to provide the currently resolved viewport\n // to it before we continue;\n const resolveParentViewport = pendingViewport;\n // we know that the next item is a result if this item\n // was a resolver\n pendingViewport = resolversAndResults[i++];\n resolveParentViewport(freezeInDev(resolvedViewport));\n }\n // Otherwise the item was either null or a static export\n let viewport;\n if (isPromiseLike(pendingViewport)) {\n viewport = await pendingViewport;\n } else {\n viewport = pendingViewport;\n }\n resolvedViewport = mergeViewport({\n resolvedViewport,\n viewport\n });\n }\n return resolvedViewport;\n}\n// Exposed API for metadata component, that directly resolve the loader tree and related context as resolved metadata.\nexport async function resolveMetadata(tree, pathname, searchParams, errorConvention, getDynamicParamFromSegment, workStore, metadataContext) {\n const metadataItems = await resolveMetadataItems(tree, searchParams, errorConvention, getDynamicParamFromSegment, workStore);\n return accumulateMetadata(workStore.route, metadataItems, pathname, metadataContext);\n}\n// Exposed API for viewport component, that directly resolve the loader tree and related context as resolved viewport.\nexport async function resolveViewport(tree, searchParams, errorConvention, getDynamicParamFromSegment, workStore) {\n const viewportItems = await resolveViewportItems(tree, searchParams, errorConvention, getDynamicParamFromSegment, workStore);\n return accumulateViewport(viewportItems);\n}\nfunction isPromiseLike(value) {\n return typeof value === 'object' && value !== null && typeof value.then === 'function';\n}\n\n//# sourceMappingURL=resolve-metadata.js.map","import path from '../../../shared/lib/isomorphic/path';\nfunction isStringOrURL(icon) {\n return typeof icon === 'string' || icon instanceof URL;\n}\nfunction createLocalMetadataBase() {\n // Check if experimental HTTPS is enabled\n const isExperimentalHttps = Boolean(process.env.__NEXT_EXPERIMENTAL_HTTPS);\n const protocol = isExperimentalHttps ? 'https' : 'http';\n return new URL(`${protocol}://localhost:${process.env.PORT || 3000}`);\n}\nfunction getPreviewDeploymentUrl() {\n const origin = process.env.VERCEL_BRANCH_URL || process.env.VERCEL_URL;\n return origin ? new URL(`https://${origin}`) : undefined;\n}\nfunction getProductionDeploymentUrl() {\n const origin = process.env.VERCEL_PROJECT_PRODUCTION_URL;\n return origin ? new URL(`https://${origin}`) : undefined;\n}\n/**\n * Given an optional user-provided metadataBase, this determines what the metadataBase should\n * fallback to. Specifically:\n * - In dev, it should always be localhost\n * - In Vercel preview builds, it should be the preview build ID\n * - In start, it should be the user-provided metadataBase value. Otherwise,\n * it'll fall back to the Vercel production deployment, and localhost as a last resort.\n */ export function getSocialImageMetadataBaseFallback(metadataBase) {\n const defaultMetadataBase = createLocalMetadataBase();\n const previewDeploymentUrl = getPreviewDeploymentUrl();\n const productionDeploymentUrl = getProductionDeploymentUrl();\n let fallbackMetadataBase;\n if (process.env.NODE_ENV === 'development') {\n fallbackMetadataBase = defaultMetadataBase;\n } else {\n fallbackMetadataBase = process.env.NODE_ENV === 'production' && previewDeploymentUrl && process.env.VERCEL_ENV === 'preview' ? previewDeploymentUrl : metadataBase || productionDeploymentUrl || defaultMetadataBase;\n }\n return fallbackMetadataBase;\n}\nfunction resolveUrl(url, metadataBase) {\n if (url instanceof URL) return url;\n if (!url) return null;\n try {\n // If we can construct a URL instance from url, ignore metadataBase\n const parsedUrl = new URL(url);\n return parsedUrl;\n } catch {}\n if (!metadataBase) {\n metadataBase = createLocalMetadataBase();\n }\n // Handle relative or absolute paths\n const pathname = metadataBase.pathname || '';\n const joinedPath = path.posix.join(pathname, url);\n return new URL(joinedPath, metadataBase);\n}\n// Resolve with `pathname` if `url` is a relative path.\nfunction resolveRelativeUrl(url, pathname) {\n if (typeof url === 'string' && url.startsWith('./')) {\n return path.posix.resolve(pathname, url);\n }\n return url;\n}\n// The regex is matching logic from packages/next/src/lib/load-custom-routes.ts\nconst FILE_REGEX = /^(?:\\/((?!\\.well-known(?:\\/.*)?)(?:[^/]+\\/)*[^/]+\\.\\w+))(\\/?|$)/i;\nfunction isFilePattern(pathname) {\n return FILE_REGEX.test(pathname);\n}\n// Resolve `pathname` if `url` is a relative path the compose with `metadataBase`.\nfunction resolveAbsoluteUrlWithPathname(url, metadataBase, pathname, { trailingSlash }) {\n // Resolve url with pathname that always starts with `/`\n url = resolveRelativeUrl(url, pathname);\n // Convert string url or URL instance to absolute url string,\n // if there's case needs to be resolved with metadataBase\n let resolvedUrl = '';\n const result = metadataBase ? resolveUrl(url, metadataBase) : url;\n if (typeof result === 'string') {\n resolvedUrl = result;\n } else {\n resolvedUrl = result.pathname === '/' && result.searchParams.size === 0 ? result.origin : result.href;\n }\n // Add trailing slash if it's enabled for urls matches the condition\n // - Not external, same origin with metadataBase\n // - Doesn't have query\n if (trailingSlash && !resolvedUrl.endsWith('/')) {\n let isRelative = resolvedUrl.startsWith('/');\n let hasQuery = resolvedUrl.includes('?');\n let isExternal = false;\n let isFileUrl = false;\n if (!isRelative) {\n try {\n const parsedUrl = new URL(resolvedUrl);\n isExternal = metadataBase != null && parsedUrl.origin !== metadataBase.origin;\n isFileUrl = isFilePattern(parsedUrl.pathname);\n } catch {\n // If it's not a valid URL, treat it as external\n isExternal = true;\n }\n if (// Do not apply trailing slash for file like urls, aligning with the behavior with `trailingSlash`\n !isFileUrl && !isExternal && !hasQuery) return `${resolvedUrl}/`;\n }\n }\n return resolvedUrl;\n}\nexport { isStringOrURL, resolveUrl, resolveRelativeUrl, resolveAbsoluteUrlWithPathname, };\n\n//# sourceMappingURL=resolve-url.js.map","function resolveTitleTemplate(template, title) {\n return template ? template.replace(/%s/g, title) : title;\n}\nexport function resolveTitle(title, stashedTemplate) {\n let resolved;\n const template = typeof title !== 'string' && title && 'template' in title ? title.template : null;\n if (typeof title === 'string') {\n resolved = resolveTitleTemplate(stashedTemplate, title);\n } else if (title) {\n if ('default' in title) {\n resolved = resolveTitleTemplate(stashedTemplate, title.default);\n }\n if ('absolute' in title && title.absolute) {\n resolved = title.absolute;\n }\n }\n if (title && typeof title !== 'string') {\n return {\n template,\n absolute: resolved || ''\n };\n } else {\n return {\n absolute: resolved || title || '',\n template\n };\n }\n}\n\n//# sourceMappingURL=resolve-title.js.map","import { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers';\nconst DUMMY_ORIGIN = 'http://n';\nexport function isFullStringUrl(url) {\n return /https?:\\/\\//.test(url);\n}\nexport function parseUrl(url) {\n let parsed = undefined;\n try {\n parsed = new URL(url, DUMMY_ORIGIN);\n } catch {}\n return parsed;\n}\nexport function parseReqUrl(url) {\n const parsedUrl = parseUrl(url);\n if (!parsedUrl) {\n return;\n }\n const query = {};\n for (const key of parsedUrl.searchParams.keys()){\n const values = parsedUrl.searchParams.getAll(key);\n query[key] = values.length > 1 ? values : values[0];\n }\n const legacyUrl = {\n query,\n hash: parsedUrl.hash,\n search: parsedUrl.search,\n path: parsedUrl.pathname,\n pathname: parsedUrl.pathname,\n href: `${parsedUrl.pathname}${parsedUrl.search}${parsedUrl.hash}`,\n host: '',\n hostname: '',\n auth: '',\n protocol: '',\n slashes: null,\n port: ''\n };\n return legacyUrl;\n}\nexport function stripNextRscUnionQuery(relativeUrl) {\n const urlInstance = new URL(relativeUrl, DUMMY_ORIGIN);\n urlInstance.searchParams.delete(NEXT_RSC_UNION_QUERY);\n return urlInstance.pathname + urlInstance.search;\n}\n\n//# sourceMappingURL=url.js.map","import { DEFAULT_SEGMENT_KEY } from '../../shared/lib/segment';\nexport async function getLayoutOrPageModule(loaderTree) {\n const { layout, page, defaultPage } = loaderTree[2];\n const isLayout = typeof layout !== 'undefined';\n const isPage = typeof page !== 'undefined';\n const isDefaultPage = typeof defaultPage !== 'undefined' && loaderTree[0] === DEFAULT_SEGMENT_KEY;\n let mod = undefined;\n let modType = undefined;\n let filePath = undefined;\n if (isLayout) {\n mod = await layout[0]();\n modType = 'layout';\n filePath = layout[1];\n } else if (isPage) {\n mod = await page[0]();\n modType = 'page';\n filePath = page[1];\n } else if (isDefaultPage) {\n mod = await defaultPage[0]();\n modType = 'page';\n filePath = defaultPage[1];\n }\n return {\n mod,\n modType,\n filePath\n };\n}\nexport async function getComponentTypeModule(loaderTree, moduleType) {\n const { [moduleType]: module } = loaderTree[2];\n if (typeof module !== 'undefined') {\n return await module[0]();\n }\n return undefined;\n}\n\n//# sourceMappingURL=app-dir-module.js.map","const REACT_POSTPONE_TYPE = Symbol.for('react.postpone');\nexport function isPostpone(error) {\n return typeof error === 'object' && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;\n}\n\n//# sourceMappingURL=is-postpone.js.map","/*\n\nFiles in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader.\n\n*/ import ReactDOM from 'react-dom';\nexport function preloadStyle(href, crossOrigin, nonce) {\n const opts = {\n as: 'style'\n };\n if (typeof crossOrigin === 'string') {\n opts.crossOrigin = crossOrigin;\n }\n if (typeof nonce === 'string') {\n opts.nonce = nonce;\n }\n ReactDOM.preload(href, opts);\n}\nexport function preloadFont(href, type, crossOrigin, nonce) {\n const opts = {\n as: 'font',\n type\n };\n if (typeof crossOrigin === 'string') {\n opts.crossOrigin = crossOrigin;\n }\n if (typeof nonce === 'string') {\n opts.nonce = nonce;\n }\n ReactDOM.preload(href, opts);\n}\nexport function preconnect(href, crossOrigin, nonce) {\n const opts = {};\n if (typeof crossOrigin === 'string') {\n opts.crossOrigin = crossOrigin;\n }\n if (typeof nonce === 'string') {\n opts.nonce = nonce;\n }\n ;\n ReactDOM.preconnect(href, opts);\n}\n\n//# sourceMappingURL=preloads.js.map","import stringHash from 'next/dist/compiled/string-hash';\nimport { formatServerError } from '../../lib/format-server-error';\nimport { SpanStatusCode, getTracer } from '../lib/trace/tracer';\nimport { isAbortError } from '../pipe-readable';\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { isDynamicServerError } from '../../client/components/hooks-server-context';\nimport { isNextRouterError } from '../../client/components/is-next-router-error';\nimport { isPrerenderInterruptedError } from './dynamic-rendering';\nimport { getProperError } from '../../lib/is-error';\nimport { createDigestWithErrorCode } from '../../lib/error-telemetry-utils';\nimport { isReactLargeShellError } from './react-large-shell-error';\n/**\n * Returns a digest for well-known Next.js errors, otherwise `undefined`. If a\n * digest is returned this also means that the error does not need to be\n * reported.\n */ export function getDigestForWellKnownError(error) {\n // If we're bailing out to CSR, we don't need to log the error.\n if (isBailoutToCSRError(error)) return error.digest;\n // If this is a navigation error, we don't need to log the error.\n if (isNextRouterError(error)) return error.digest;\n // If this error occurs, we know that we should be stopping the static\n // render. This is only thrown in static generation when PPR is not enabled,\n // which causes the whole page to be marked as dynamic. We don't need to\n // tell the user about this error, as it's not actionable.\n if (isDynamicServerError(error)) return error.digest;\n // If this is a prerender interrupted error, we don't need to log the error.\n if (isPrerenderInterruptedError(error)) return error.digest;\n return undefined;\n}\nexport function createReactServerErrorHandler(shouldFormatError, isNextExport, reactServerErrors, onReactServerRenderError, spanToRecordOn) {\n return (thrownValue)=>{\n var _err_message;\n if (typeof thrownValue === 'string') {\n // TODO-APP: look at using webcrypto instead. Requires a promise to be awaited.\n return stringHash(thrownValue).toString();\n }\n // If the response was closed, we don't need to log the error.\n if (isAbortError(thrownValue)) return;\n const digest = getDigestForWellKnownError(thrownValue);\n if (digest) {\n return digest;\n }\n if (isReactLargeShellError(thrownValue)) {\n // TODO: Aggregate\n console.error(thrownValue);\n return undefined;\n }\n let err = getProperError(thrownValue);\n let silenceLog = false;\n // If the error already has a digest, respect the original digest,\n // so it won't get re-generated into another new error.\n if (err.digest) {\n if (process.env.NODE_ENV === 'production' && reactServerErrors.has(err.digest)) {\n // This error is likely an obfuscated error from another react-server\n // environment (e.g. 'use cache'). We recover the original error here\n // for reporting purposes.\n err = reactServerErrors.get(err.digest);\n // We don't log it again though, as it was already logged in the\n // original environment.\n silenceLog = true;\n } else {\n // Either we're in development (where we want to keep the transported\n // error with environmentName), or the error is not in reactServerErrors\n // but has a digest from other means. Keep the error as-is.\n }\n } else {\n err.digest = createDigestWithErrorCode(err, // TODO-APP: look at using webcrypto instead. Requires a promise to be awaited.\n stringHash(err.message + (err.stack || '')).toString());\n }\n // @TODO by putting this here and not at the top it is possible that\n // we don't error the build in places we actually expect to\n if (!reactServerErrors.has(err.digest)) {\n reactServerErrors.set(err.digest, err);\n }\n // Format server errors in development to add more helpful error messages\n if (shouldFormatError) {\n formatServerError(err);\n }\n // Don't log the suppressed error during export\n if (!(isNextExport && (err == null ? void 0 : (_err_message = err.message) == null ? void 0 : _err_message.includes('The specific message is omitted in production builds to avoid leaking sensitive details.')))) {\n // Record exception on the provided span if available, otherwise try active span.\n const span = spanToRecordOn ?? getTracer().getActiveScopeSpan();\n if (span) {\n span.recordException(err);\n span.setAttribute('error.type', err.name);\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: err.message\n });\n }\n onReactServerRenderError(err, silenceLog);\n }\n return err.digest;\n };\n}\nexport function createHTMLErrorHandler(shouldFormatError, isNextExport, reactServerErrors, allCapturedErrors, onHTMLRenderSSRError, spanToRecordOn) {\n return (thrownValue, errorInfo)=>{\n var _err_message;\n if (isReactLargeShellError(thrownValue)) {\n // TODO: Aggregate\n console.error(thrownValue);\n return undefined;\n }\n let isSSRError = true;\n allCapturedErrors.push(thrownValue);\n // If the response was closed, we don't need to log the error.\n if (isAbortError(thrownValue)) return;\n const digest = getDigestForWellKnownError(thrownValue);\n if (digest) {\n return digest;\n }\n const err = getProperError(thrownValue);\n // If the error already has a digest, respect the original digest,\n // so it won't get re-generated into another new error.\n if (err.digest) {\n if (reactServerErrors.has(err.digest)) {\n // This error is likely an obfuscated error from react-server.\n // We recover the original error here.\n thrownValue = reactServerErrors.get(err.digest);\n isSSRError = false;\n } else {\n // The error is not from react-server but has a digest\n // from other means so we don't need to produce a new one\n }\n } else {\n err.digest = createDigestWithErrorCode(err, stringHash(err.message + ((errorInfo == null ? void 0 : errorInfo.componentStack) || err.stack || '')).toString());\n }\n // Format server errors in development to add more helpful error messages\n if (shouldFormatError) {\n formatServerError(err);\n }\n // Don't log the suppressed error during export\n if (!(isNextExport && (err == null ? void 0 : (_err_message = err.message) == null ? void 0 : _err_message.includes('The specific message is omitted in production builds to avoid leaking sensitive details.')))) {\n // HTML errors contain RSC errors as well, filter them out before reporting\n if (isSSRError) {\n // Record exception on the provided span if available, otherwise try active span.\n const span = spanToRecordOn ?? getTracer().getActiveScopeSpan();\n if (span) {\n span.recordException(err);\n span.setAttribute('error.type', err.name);\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: err.message\n });\n }\n onHTMLRenderSSRError(err, errorInfo);\n }\n }\n return err.digest;\n };\n}\nexport function isUserLandError(err) {\n return !isAbortError(err) && !isBailoutToCSRError(err) && !isNextRouterError(err);\n}\n\n//# sourceMappingURL=create-error-handler.js.map","const invalidServerComponentReactHooks = [\n 'useDeferredValue',\n 'useEffect',\n 'useImperativeHandle',\n 'useInsertionEffect',\n 'useLayoutEffect',\n 'useReducer',\n 'useRef',\n 'useState',\n 'useSyncExternalStore',\n 'useTransition',\n 'experimental_useOptimistic',\n 'useOptimistic'\n];\nfunction setMessage(error, message) {\n error.message = message;\n if (error.stack) {\n const lines = error.stack.split('\\n');\n lines[0] = message;\n error.stack = lines.join('\\n');\n }\n}\n/**\n * Input:\n * Error: Something went wrong\n at funcName (/path/to/file.js:10:5)\n at anotherFunc (/path/to/file.js:15:10)\n \n * Output:\n at funcName (/path/to/file.js:10:5)\n at anotherFunc (/path/to/file.js:15:10) \n */ export function getStackWithoutErrorMessage(error) {\n const stack = error.stack;\n if (!stack) return '';\n return stack.replace(/^[^\\n]*\\n/, '');\n}\nexport function formatServerError(error) {\n if (typeof (error == null ? void 0 : error.message) !== 'string') return;\n if (error.message.includes('Class extends value undefined is not a constructor or null')) {\n const addedMessage = 'This might be caused by a React Class Component being rendered in a Server Component, React Class Components only works in Client Components. Read more: https://nextjs.org/docs/messages/class-component-in-server-component';\n // If this error instance already has the message, don't add it again\n if (error.message.includes(addedMessage)) return;\n setMessage(error, `${error.message}\n\n${addedMessage}`);\n return;\n }\n if (error.message.includes('createContext is not a function')) {\n setMessage(error, 'createContext only works in Client Components. Add the \"use client\" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component');\n return;\n }\n for (const clientHook of invalidServerComponentReactHooks){\n const regex = new RegExp(`\\\\b${clientHook}\\\\b.*is not a function`);\n if (regex.test(error.message)) {\n setMessage(error, `${clientHook} only works in Client Components. Add the \"use client\" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/react-client-hook-in-server-component`);\n return;\n }\n }\n}\n\n//# sourceMappingURL=format-server-error.js.map","const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';\nexport class DynamicServerError extends Error {\n constructor(description){\n super(`Dynamic server usage: ${description}`), this.description = description, this.digest = DYNAMIC_ERROR_CODE;\n }\n}\nexport function isDynamicServerError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {\n return false;\n }\n return err.digest === DYNAMIC_ERROR_CODE;\n}\n\n//# sourceMappingURL=hooks-server-context.js.map","import { RedirectStatusCode } from './redirect-status-code';\nexport const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT';\nexport var RedirectType = /*#__PURE__*/ function(RedirectType) {\n RedirectType[\"push\"] = \"push\";\n RedirectType[\"replace\"] = \"replace\";\n return RedirectType;\n}({});\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */ export function isRedirectError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const digest = error.digest.split(';');\n const [errorCode, type] = digest;\n const destination = digest.slice(2, -2).join(';');\n const status = digest.at(-2);\n const statusCode = Number(status);\n return errorCode === REDIRECT_ERROR_CODE && (type === 'replace' || type === 'push') && typeof destination === 'string' && !isNaN(statusCode) && statusCode in RedirectStatusCode;\n}\n\n//# sourceMappingURL=redirect-error.js.map","import { ReflectAdapter } from '../web/spec-extension/adapters/reflect';\nimport { throwToInterruptStaticGeneration, postponeWithTracking, annotateDynamicAccess, delayUntilRuntimeStage } from '../app-render/dynamic-rendering';\nimport { workUnitAsyncStorage, throwInvariantForMissingStore } from '../app-render/work-unit-async-storage.external';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { makeDevtoolsIOAwarePromise, makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger';\nimport { describeStringPropertyAccess, describeHasCheckingStringProperty, wellKnownProperties } from '../../shared/lib/utils/reflect-utils';\nimport { throwWithStaticGenerationBailoutErrorWithDynamicError, throwForSearchParamsAccessInUseCache } from './utils';\nimport { RenderStage } from '../app-render/staged-rendering';\nexport function createSearchParamsFromClient(underlyingSearchParams, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E769\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E739\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport const createServerSearchParamsForMetadata = createServerSearchParamsForServerPage;\nexport function createServerSearchParamsForServerPage(underlyingSearchParams, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E747\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore);\n case 'request':\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createPrerenderSearchParamsForClientPage(workStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n // We're prerendering in a mode that aborts (cacheComponents) and should stall\n // the promise to ensure the RSC side is considered dynamic\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, '`searchParams`');\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E768\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E746\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n return Promise.resolve({});\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nfunction createStaticPrerenderSearchParams(workStore, prerenderStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n switch(prerenderStore.type){\n case 'prerender':\n case 'prerender-client':\n // We are in a cacheComponents (PPR or otherwise) prerender\n return makeHangingSearchParams(workStore, prerenderStore);\n case 'prerender-ppr':\n case 'prerender-legacy':\n // We are in a legacy static generation and need to interrupt the\n // prerender when search params are accessed.\n return makeErroringSearchParams(workStore, prerenderStore);\n default:\n return prerenderStore;\n }\n}\nfunction createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore) {\n return delayUntilRuntimeStage(workUnitStore, makeUntrackedSearchParams(underlyingSearchParams));\n}\nfunction createRenderSearchParams(underlyingSearchParams, workStore, requestStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n } else {\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n return makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore);\n } else {\n return makeUntrackedSearchParams(underlyingSearchParams);\n }\n }\n}\nconst CachedSearchParams = new WeakMap();\nconst CachedSearchParamsForUseCache = new WeakMap();\nfunction makeHangingSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(prerenderStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`searchParams`');\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n switch(prop){\n case 'then':\n {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n case 'status':\n {\n const expression = '`use(searchParams)`, `searchParams.status`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n default:\n {\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n }\n });\n CachedSearchParams.set(prerenderStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeErroringSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const underlyingSearchParams = {};\n // For search params we don't construct a ReactPromise because we want to interrupt\n // rendering on any property access that was not set from outside and so we only want\n // to have properties like value and status if React sets them.\n const promise = Promise.resolve(underlyingSearchParams);\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && prop === 'then') {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n if (workStore.dynamicShouldError) {\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n } else if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(workStore.route, expression, prerenderStore.dynamicTracking);\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(expression, workStore, prerenderStore);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParams.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\n/**\n * This is a variation of `makeErroringSearchParams` that always throws an\n * error on access, because accessing searchParams inside of `\"use cache\"` is\n * not allowed.\n */ export function makeErroringSearchParamsForUseCache(workStore) {\n const cachedSearchParams = CachedSearchParamsForUseCache.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve({});\n const proxiedPromise = new Proxy(promise, {\n get: function get(target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it. We know it\n // isn't a dynamic access because it can only be something that was\n // previously written to the promise and thus not an underlying\n // searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && (prop === 'then' || !wellKnownProperties.has(prop))) {\n throwForSearchParamsAccessInUseCache(workStore, get);\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParamsForUseCache.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeUntrackedSearchParams(underlyingSearchParams) {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve(underlyingSearchParams);\n CachedSearchParams.set(underlyingSearchParams, promise);\n return promise;\n}\nfunction makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore) {\n if (requestStore.asyncApiPromises) {\n // Do not cache the resulting promise. If we do, we'll only show the first \"awaited at\"\n // across all segments that receive searchParams.\n return makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore);\n } else {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore);\n CachedSearchParams.set(requestStore, promise);\n return promise;\n }\n}\nfunction makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore) {\n const promiseInitialized = {\n current: false\n };\n const proxiedUnderlying = instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized);\n let promise;\n if (requestStore.asyncApiPromises) {\n // We wrap each instance of searchParams in a `new Promise()`.\n // This is important when all awaits are in third party which would otherwise\n // track all the way to the internal params.\n const sharedSearchParamsParent = requestStore.asyncApiPromises.sharedSearchParamsParent;\n promise = new Promise((resolve, reject)=>{\n sharedSearchParamsParent.then(()=>resolve(proxiedUnderlying), reject);\n });\n // @ts-expect-error\n promise.displayName = 'searchParams';\n } else {\n promise = makeDevtoolsIOAwarePromise(proxiedUnderlying, requestStore, RenderStage.Runtime);\n }\n promise.then(()=>{\n promiseInitialized.current = true;\n }, // If we're in staged rendering, this promise will reject if the render\n // is aborted before it can reach the runtime stage.\n // In that case, we have to prevent an unhandled rejection from the promise\n // created by this `.then()` call.\n // This does not affect the `promiseInitialized` logic above,\n // because `proxiedUnderlying` will not be used to resolve the promise,\n // so there's no risk of any of its properties being accessed and triggering\n // an undesireable warning.\n ignoreReject);\n return instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore);\n}\nfunction ignoreReject() {}\nfunction instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized) {\n // We have an unfortunate sequence of events that requires this initialization logic. We want to instrument the underlying\n // searchParams object to detect if you are accessing values in dev. This is used for warnings and for things like the static prerender\n // indicator. However when we pass this proxy to our Promise.resolve() below the VM checks if the resolved value is a promise by looking\n // at the `.then` property. To our dynamic tracking logic this is indistinguishable from a `then` searchParam and so we would normally trigger\n // dynamic tracking. However we know that this .then is not real dynamic access, it's just how thenables resolve in sequence. So we introduce\n // this initialization concept so we omit the dynamic check until after we've constructed our resolved promise.\n return new Proxy(underlyingSearchParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && promiseInitialized.current) {\n if (workStore.dynamicShouldError) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (workStore.dynamicShouldError) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n if (workStore.dynamicShouldError) {\n const expression = '`{...searchParams}`, `Object.keys(searchParams)`, or similar';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n return Reflect.ownKeys(target);\n }\n });\n}\nfunction instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore) {\n // Track which properties we should warn for.\n const proxiedProperties = new Set();\n Object.keys(underlyingSearchParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop);\n }\n });\n return new Proxy(promise, {\n get (target, prop, receiver) {\n if (prop === 'then' && workStore.dynamicShouldError) {\n const expression = '`searchParams.then`';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop);\n }\n return Reflect.set(target, prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n const expression = '`Object.keys(searchParams)` or similar';\n warnForSyncAccess(workStore.route, expression);\n return Reflect.ownKeys(target);\n }\n });\n}\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(createSearchAccessError);\nfunction createSearchAccessError(route, expression) {\n const prefix = route ? `Route \"${route}\" ` : 'This route ';\n return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\\`searchParams\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), \"__NEXT_ERROR_CODE\", {\n value: \"E848\",\n enumerable: false,\n configurable: true\n });\n}\n\n//# sourceMappingURL=search-params.js.map","const ERROR_CODE_DELIMITER = '@';\n/**\n * Augments the digest field of errors thrown in React Server Components (RSC) with an error code.\n * Since RSC errors can only be serialized through the digest field, this provides a way to include\n * an additional error code that can be extracted client-side via `extractNextErrorCode`.\n *\n * The error code is appended to the digest string with a semicolon separator, allowing it to be\n * parsed out later while preserving the original digest value.\n */ export const createDigestWithErrorCode = (thrownValue, originalDigest)=>{\n if (typeof thrownValue === 'object' && thrownValue !== null && '__NEXT_ERROR_CODE' in thrownValue) {\n return `${originalDigest}${ERROR_CODE_DELIMITER}${thrownValue.__NEXT_ERROR_CODE}`;\n }\n return originalDigest;\n};\nexport const extractNextErrorCode = (error)=>{\n if (typeof error === 'object' && error !== null && '__NEXT_ERROR_CODE' in error && typeof error.__NEXT_ERROR_CODE === 'string') {\n return error.__NEXT_ERROR_CODE;\n }\n if (typeof error === 'object' && error !== null && 'digest' in error && typeof error.digest === 'string') {\n const segments = error.digest.split(ERROR_CODE_DELIMITER);\n const errorCode = segments.find((segment)=>segment.startsWith('E'));\n return errorCode;\n }\n return undefined;\n};\n\n//# sourceMappingURL=error-telemetry-utils.js.map","export const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__';\nexport const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__';\nexport const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__';\nexport const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__';\n\n//# sourceMappingURL=boundary-constants.js.map","export function createDefaultViewport() {\n return {\n // name=viewport\n width: 'device-width',\n initialScale: 1,\n // visual metadata\n themeColor: null,\n colorScheme: null\n };\n}\nexport function createDefaultMetadata() {\n return {\n // Deprecated ones\n viewport: null,\n themeColor: null,\n colorScheme: null,\n metadataBase: null,\n // Other values are all null\n title: null,\n description: null,\n applicationName: null,\n authors: null,\n generator: null,\n keywords: null,\n referrer: null,\n creator: null,\n publisher: null,\n robots: null,\n manifest: null,\n alternates: {\n canonical: null,\n languages: null,\n media: null,\n types: null\n },\n icons: null,\n openGraph: null,\n twitter: null,\n verification: {},\n appleWebApp: null,\n formatDetection: null,\n itunes: null,\n facebook: null,\n pinterest: null,\n abstract: null,\n appLinks: null,\n archives: null,\n assets: null,\n bookmarks: null,\n category: null,\n classification: null,\n pagination: {\n previous: null,\n next: null\n },\n other: {}\n };\n}\n\n//# sourceMappingURL=default-metadata.js.map","export function interopDefault(mod) {\n return mod.default || mod;\n}\n\n//# sourceMappingURL=interop-default.js.map","export const HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401\n};\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));\nexport const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK';\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */ export function isHTTPAccessFallbackError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const [prefix, httpStatus] = error.digest.split(';');\n return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));\n}\nexport function getAccessFallbackHTTPStatus(error) {\n const httpStatus = error.digest.split(';')[1];\n return Number(httpStatus);\n}\nexport function getAccessFallbackErrorTypeByStatus(status) {\n switch(status){\n case 401:\n return 'unauthorized';\n case 403:\n return 'forbidden';\n case 404:\n return 'not-found';\n default:\n return;\n }\n}\n\n//# sourceMappingURL=http-access-fallback.js.map","export function createPromiseWithResolvers() {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve;\n let reject;\n const promise = new Promise((res, rej)=>{\n resolve = res;\n reject = rej;\n });\n return {\n resolve: resolve,\n reject: reject,\n promise\n };\n}\n\n//# sourceMappingURL=promise-with-resolvers.js.map","export function isHangingPromiseRejectionError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === HANGING_PROMISE_REJECTION;\n}\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION';\nclass HangingPromiseRejectionError extends Error {\n constructor(route, expression){\n super(`During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`), this.route = route, this.expression = expression, this.digest = HANGING_PROMISE_REJECTION;\n }\n}\nconst abortListenersBySignal = new WeakMap();\n/**\n * This function constructs a promise that will never resolve. This is primarily\n * useful for cacheComponents where we use promise resolution timing to determine which\n * parts of a render can be included in a prerender.\n *\n * @internal\n */ export function makeHangingPromise(signal, route, expression) {\n if (signal.aborted) {\n return Promise.reject(new HangingPromiseRejectionError(route, expression));\n } else {\n const hangingPromise = new Promise((_, reject)=>{\n const boundRejection = reject.bind(null, new HangingPromiseRejectionError(route, expression));\n let currentListeners = abortListenersBySignal.get(signal);\n if (currentListeners) {\n currentListeners.push(boundRejection);\n } else {\n const listeners = [\n boundRejection\n ];\n abortListenersBySignal.set(signal, listeners);\n signal.addEventListener('abort', ()=>{\n for(let i = 0; i < listeners.length; i++){\n listeners[i]();\n }\n }, {\n once: true\n });\n }\n });\n // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject);\n return hangingPromise;\n }\n}\nfunction ignoreReject() {}\nexport function makeDevtoolsIOAwarePromise(underlying, requestStore, stage) {\n if (requestStore.stagedRendering) {\n // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n return requestStore.stagedRendering.delayUntilStage(stage, undefined, underlying);\n }\n // in React DevTools if we resolve in a setTimeout we will observe\n // the promise resolution as something that can suspend a boundary or root.\n return new Promise((resolve)=>{\n // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n setTimeout(()=>{\n resolve(underlying);\n }, 0);\n });\n}\n\n//# sourceMappingURL=dynamic-rendering-utils.js.map","export function nonNullable(value) {\n return value !== null && value !== undefined;\n}\n\n//# sourceMappingURL=non-nullable.js.map","export function getObjectClassLabel(value) {\n return Object.prototype.toString.call(value);\n}\nexport function isPlainObject(value) {\n if (getObjectClassLabel(value) !== '[object Object]') {\n return false;\n }\n const prototype = Object.getPrototypeOf(value);\n /**\n * this used to be previously:\n *\n * `return prototype === null || prototype === Object.prototype`\n *\n * but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail.\n *\n * It was changed to the current implementation since it's resilient to serialization.\n */ return prototype === null || prototype.hasOwnProperty('isPrototypeOf');\n}\n\n//# sourceMappingURL=is-plain-object.js.map","export const ViewportMetaKeys = {\n width: 'width',\n height: 'height',\n initialScale: 'initial-scale',\n minimumScale: 'minimum-scale',\n maximumScale: 'maximum-scale',\n viewportFit: 'viewport-fit',\n userScalable: 'user-scalable',\n interactiveWidget: 'interactive-widget'\n};\nexport const IconKeys = [\n 'icon',\n 'shortcut',\n 'apple',\n 'other'\n];\n\n//# sourceMappingURL=constants.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { IconMark } from './icon-mark';\nimport { MetaFilter } from './meta';\nfunction IconDescriptorLink({ icon }) {\n const { url, rel = 'icon', ...props } = icon;\n return /*#__PURE__*/ _jsx(\"link\", {\n rel: rel,\n href: url.toString(),\n ...props\n });\n}\nfunction IconLink({ rel, icon }) {\n if (typeof icon === 'object' && !(icon instanceof URL)) {\n if (!icon.rel && rel) icon.rel = rel;\n return IconDescriptorLink({\n icon\n });\n } else {\n const href = icon.toString();\n return /*#__PURE__*/ _jsx(\"link\", {\n rel: rel,\n href: href\n });\n }\n}\nexport function IconsMetadata({ icons }) {\n if (!icons) return null;\n const shortcutList = icons.shortcut;\n const iconList = icons.icon;\n const appleList = icons.apple;\n const otherList = icons.other;\n const hasIcon = Boolean((shortcutList == null ? void 0 : shortcutList.length) || (iconList == null ? void 0 : iconList.length) || (appleList == null ? void 0 : appleList.length) || (otherList == null ? void 0 : otherList.length));\n if (!hasIcon) return null;\n return MetaFilter([\n shortcutList ? shortcutList.map((icon)=>IconLink({\n rel: 'shortcut icon',\n icon\n })) : null,\n iconList ? iconList.map((icon)=>IconLink({\n rel: 'icon',\n icon\n })) : null,\n appleList ? appleList.map((icon)=>IconLink({\n rel: 'apple-touch-icon',\n icon\n })) : null,\n otherList ? otherList.map((icon)=>IconDescriptorLink({\n icon\n })) : null,\n hasIcon ? /*#__PURE__*/ _jsx(IconMark, {}) : null\n ]);\n}\n\n//# sourceMappingURL=icons.js.map","import * as React from 'react';\nconst errorRef = {\n current: null\n};\n// React.cache is currently only available in canary/experimental React channels.\nconst cache = typeof React.cache === 'function' ? React.cache : (fn)=>fn;\n// When Cache Components is enabled, we record these as errors so that they\n// are captured by the dev overlay as it's more critical to fix these\n// when enabled.\nconst logErrorOrWarn = process.env.__NEXT_CACHE_COMPONENTS ? console.error : console.warn;\n// We don't want to dedupe across requests.\n// The developer might've just attempted to fix the warning so we should warn again if it still happens.\nconst flushCurrentErrorIfNew = cache(// eslint-disable-next-line @typescript-eslint/no-unused-vars -- cache key\n(key)=>{\n try {\n logErrorOrWarn(errorRef.current);\n } finally{\n errorRef.current = null;\n }\n});\n/**\n * Creates a function that logs an error message that is deduped by the userland\n * callsite.\n * This requires no indirection between the call of this function and the userland\n * callsite i.e. there's only a single library frame above this.\n * Do not use on the Client where sourcemaps and ignore listing might be enabled.\n * Only use that for warnings need a fix independent of the callstack.\n *\n * @param getMessage\n * @returns\n */ export function createDedupedByCallsiteServerErrorLoggerDev(getMessage) {\n return function logDedupedError(...args) {\n const message = getMessage(...args);\n if (process.env.NODE_ENV !== 'production') {\n var _stack;\n const callStackFrames = (_stack = new Error().stack) == null ? void 0 : _stack.split('\\n');\n if (callStackFrames === undefined || callStackFrames.length < 4) {\n logErrorOrWarn(message);\n } else {\n // Error:\n // logDedupedError\n // asyncApiBeingAccessedSynchronously\n // \n // TODO: This breaks if sourcemaps with ignore lists are enabled.\n const key = callStackFrames[4];\n errorRef.current = message;\n flushCurrentErrorIfNew(key);\n }\n } else {\n logErrorOrWarn(message);\n }\n };\n}\n\n//# sourceMappingURL=create-deduped-by-callsite-server-error-logger.js.map","/* eslint-disable @next/internal/no-ambiguous-jsx -- Bundled in entry-base so it gets the right JSX runtime. */ import { jsx as _jsx } from \"react/jsx-runtime\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { createFromReadableStream } from 'react-server-dom-webpack/client';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { prerender } from 'react-server-dom-webpack/static';\nimport { streamFromBuffer, streamToBuffer } from '../stream-utils/node-web-streams-helper';\nimport { waitAtLeastOneReactRenderTask } from '../../lib/scheduler';\nimport { createSegmentRequestKeyPart, appendSegmentRequestKeyPart, ROOT_SEGMENT_REQUEST_KEY, HEAD_REQUEST_KEY } from '../../shared/lib/segment-cache/segment-value-encoding';\nimport { getDigestForWellKnownError } from './create-error-handler';\nimport { Phase, printDebugThrownValueForProspectiveRender } from './prospective-render-utils';\nimport { workAsyncStorage } from './work-async-storage.external';\nconst filterStackFrame = process.env.NODE_ENV !== 'production' ? require('../lib/source-maps').filterStackFrameDEV : undefined;\nconst findSourceMapURL = process.env.NODE_ENV !== 'production' ? require('../lib/source-maps').findSourceMapURLDEV : undefined;\nfunction onSegmentPrerenderError(error) {\n const digest = getDigestForWellKnownError(error);\n if (digest) {\n return digest;\n }\n // We don't need to log the errors because we would have already done that\n // when generating the original Flight stream for the whole page.\n if (process.env.NEXT_DEBUG_BUILD || process.env.__NEXT_VERBOSE_LOGGING) {\n const workStore = workAsyncStorage.getStore();\n printDebugThrownValueForProspectiveRender(error, (workStore == null ? void 0 : workStore.route) ?? 'unknown route', Phase.SegmentCollection);\n }\n}\nexport async function collectSegmentData(isCacheComponentsEnabled, fullPageDataBuffer, staleTime, clientModules, serverConsumerManifest) {\n // Traverse the router tree and generate a prefetch response for each segment.\n // A mutable map to collect the results as we traverse the route tree.\n const resultMap = new Map();\n // Before we start, warm up the module cache by decoding the page data once.\n // Then we can assume that any remaining async tasks that occur the next time\n // are due to hanging promises caused by dynamic data access. Note we only\n // have to do this once per page, not per individual segment.\n //\n try {\n await createFromReadableStream(streamFromBuffer(fullPageDataBuffer), {\n findSourceMapURL,\n serverConsumerManifest\n });\n await waitAtLeastOneReactRenderTask();\n } catch {}\n // Create an abort controller that we'll use to stop the stream.\n const abortController = new AbortController();\n const onCompletedProcessingRouteTree = async ()=>{\n // Since all we're doing is decoding and re-encoding a cached prerender, if\n // serializing the stream takes longer than a microtask, it must because of\n // hanging promises caused by dynamic data.\n await waitAtLeastOneReactRenderTask();\n abortController.abort();\n };\n // Generate a stream for the route tree prefetch. While we're walking the\n // tree, we'll also spawn additional tasks to generate the segment prefetches.\n // The promises for these tasks are pushed to a mutable array that we will\n // await once the route tree is fully rendered.\n const segmentTasks = [];\n const { prelude: treeStream } = await prerender(// RootTreePrefetch is not a valid return type for a React component, but\n // we need to use a component so that when we decode the original stream\n // inside of it, the side effects are transferred to the new stream.\n // @ts-expect-error\n /*#__PURE__*/ _jsx(PrefetchTreeData, {\n isClientParamParsingEnabled: isCacheComponentsEnabled,\n fullPageDataBuffer: fullPageDataBuffer,\n serverConsumerManifest: serverConsumerManifest,\n clientModules: clientModules,\n staleTime: staleTime,\n segmentTasks: segmentTasks,\n onCompletedProcessingRouteTree: onCompletedProcessingRouteTree\n }), clientModules, {\n filterStackFrame,\n signal: abortController.signal,\n onError: onSegmentPrerenderError\n });\n // Write the route tree to a special `/_tree` segment.\n const treeBuffer = await streamToBuffer(treeStream);\n resultMap.set('/_tree', treeBuffer);\n // Also output the entire full page data response\n resultMap.set('/_full', fullPageDataBuffer);\n // Now that we've finished rendering the route tree, all the segment tasks\n // should have been spawned. Await them in parallel and write the segment\n // prefetches to the result map.\n for (const [segmentPath, buffer] of (await Promise.all(segmentTasks))){\n resultMap.set(segmentPath, buffer);\n }\n return resultMap;\n}\nasync function PrefetchTreeData({ isClientParamParsingEnabled, fullPageDataBuffer, serverConsumerManifest, clientModules, staleTime, segmentTasks, onCompletedProcessingRouteTree }) {\n // We're currently rendering a Flight response for the route tree prefetch.\n // Inside this component, decode the Flight stream for the whole page. This is\n // a hack to transfer the side effects from the original Flight stream (e.g.\n // Float preloads) onto the Flight stream for the tree prefetch.\n // TODO: React needs a better way to do this. Needed for Server Actions, too.\n const initialRSCPayload = await createFromReadableStream(createUnclosingPrefetchStream(streamFromBuffer(fullPageDataBuffer)), {\n findSourceMapURL,\n serverConsumerManifest\n });\n const buildId = initialRSCPayload.b;\n // FlightDataPath is an unsound type, hence the additional checks.\n const flightDataPaths = initialRSCPayload.f;\n if (flightDataPaths.length !== 1 && flightDataPaths[0].length !== 3) {\n console.error('Internal Next.js error: InitialRSCPayload does not match the expected ' + 'shape for a prerendered page during segment prefetch generation.');\n return null;\n }\n const flightRouterState = flightDataPaths[0][0];\n const seedData = flightDataPaths[0][1];\n const head = flightDataPaths[0][2];\n // Compute the route metadata tree by traversing the FlightRouterState. As we\n // walk the tree, we will also spawn a task to produce a prefetch response for\n // each segment.\n const tree = collectSegmentDataImpl(isClientParamParsingEnabled, flightRouterState, buildId, seedData, clientModules, ROOT_SEGMENT_REQUEST_KEY, segmentTasks);\n // Also spawn a task to produce a prefetch response for the \"head\" segment.\n // The head contains metadata, like the title; it's not really a route\n // segment, but it contains RSC data, so it's treated like a segment by\n // the client cache.\n segmentTasks.push(waitAtLeastOneReactRenderTask().then(()=>renderSegmentPrefetch(buildId, head, null, HEAD_REQUEST_KEY, clientModules)));\n // Notify the abort controller that we're done processing the route tree.\n // Anything async that happens after this point must be due to hanging\n // promises in the original stream.\n onCompletedProcessingRouteTree();\n // Render the route tree to a special `/_tree` segment.\n const treePrefetch = {\n buildId,\n tree,\n staleTime\n };\n return treePrefetch;\n}\nfunction collectSegmentDataImpl(isClientParamParsingEnabled, route, buildId, seedData, clientModules, requestKey, segmentTasks) {\n // Metadata about the segment. Sent as part of the tree prefetch. Null if\n // there are no children.\n let slotMetadata = null;\n const children = route[1];\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n for(const parallelRouteKey in children){\n const childRoute = children[parallelRouteKey];\n const childSegment = childRoute[0];\n const childSeedData = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n const childRequestKey = appendSegmentRequestKeyPart(requestKey, parallelRouteKey, createSegmentRequestKeyPart(childSegment));\n const childTree = collectSegmentDataImpl(isClientParamParsingEnabled, childRoute, buildId, childSeedData, clientModules, childRequestKey, segmentTasks);\n if (slotMetadata === null) {\n slotMetadata = {};\n }\n slotMetadata[parallelRouteKey] = childTree;\n }\n const hasRuntimePrefetch = seedData !== null ? seedData[4] : false;\n if (seedData !== null) {\n // Spawn a task to write the segment data to a new Flight stream.\n segmentTasks.push(// Since we're already in the middle of a render, wait until after the\n // current task to escape the current rendering context.\n waitAtLeastOneReactRenderTask().then(()=>renderSegmentPrefetch(buildId, seedData[0], seedData[2], requestKey, clientModules)));\n } else {\n // This segment does not have any seed data. Skip generating a prefetch\n // response for it. We'll still include it in the route tree, though.\n // TODO: We should encode in the route tree whether a segment is missing\n // so we don't attempt to fetch it for no reason. As of now this shouldn't\n // ever happen in practice, though.\n }\n const segment = route[0];\n let name;\n let paramType = null;\n let paramKey = null;\n if (typeof segment === 'string') {\n name = segment;\n paramKey = segment;\n paramType = null;\n } else {\n name = segment[0];\n paramKey = segment[1];\n paramType = segment[2];\n }\n // Metadata about the segment. Sent to the client as part of the\n // tree prefetch.\n return {\n name,\n paramType,\n // This value is ommitted from the prefetch response when cacheComponents\n // is enabled.\n paramKey: isClientParamParsingEnabled ? null : paramKey,\n hasRuntimePrefetch,\n slots: slotMetadata,\n isRootLayout: route[4] === true\n };\n}\nasync function renderSegmentPrefetch(buildId, rsc, loading, requestKey, clientModules) {\n // Render the segment data to a stream.\n // In the future, this is where we can include additional metadata, like the\n // stale time and cache tags.\n const segmentPrefetch = {\n buildId,\n rsc,\n loading,\n isPartial: await isPartialRSCData(rsc, clientModules)\n };\n // Since all we're doing is decoding and re-encoding a cached prerender, if\n // it takes longer than a microtask, it must because of hanging promises\n // caused by dynamic data. Abort the stream at the end of the current task.\n const abortController = new AbortController();\n waitAtLeastOneReactRenderTask().then(()=>abortController.abort());\n const { prelude: segmentStream } = await prerender(segmentPrefetch, clientModules, {\n filterStackFrame,\n signal: abortController.signal,\n onError: onSegmentPrerenderError\n });\n const segmentBuffer = await streamToBuffer(segmentStream);\n if (requestKey === ROOT_SEGMENT_REQUEST_KEY) {\n return [\n '/_index',\n segmentBuffer\n ];\n } else {\n return [\n requestKey,\n segmentBuffer\n ];\n }\n}\nasync function isPartialRSCData(rsc, clientModules) {\n // We can determine if a segment contains only partial data if it takes longer\n // than a task to encode, because dynamic data is encoded as an infinite\n // promise. We must do this in a separate Flight prerender from the one that\n // actually generates the prefetch stream because we need to include\n // `isPartial` in the stream itself.\n let isPartial = false;\n const abortController = new AbortController();\n waitAtLeastOneReactRenderTask().then(()=>{\n // If we haven't yet finished the outer task, then it must be because we\n // accessed dynamic data.\n isPartial = true;\n abortController.abort();\n });\n await prerender(rsc, clientModules, {\n filterStackFrame,\n signal: abortController.signal,\n onError () {}\n });\n return isPartial;\n}\nfunction createUnclosingPrefetchStream(originalFlightStream) {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n const reader = originalFlightStream.getReader();\n return new ReadableStream({\n async pull (controller) {\n while(true){\n const { done, value } = await reader.read();\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value);\n continue;\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream.\n return;\n }\n }\n });\n}\n\n//# sourceMappingURL=collect-segment-data.js.map","import { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { afterTaskAsyncStorage } from '../app-render/after-task-async-storage.external';\nexport function throwWithStaticGenerationBailoutErrorWithDynamicError(route, expression) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E543\",\n enumerable: false,\n configurable: true\n });\n}\nexport function throwForSearchParamsAccessInUseCache(workStore, constructorOpt) {\n const error = Object.defineProperty(new Error(`Route ${workStore.route} used \\`searchParams\\` inside \"use cache\". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \\`searchParams\\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), \"__NEXT_ERROR_CODE\", {\n value: \"E842\",\n enumerable: false,\n configurable: true\n });\n Error.captureStackTrace(error, constructorOpt);\n workStore.invalidDynamicUsageError ??= error;\n throw error;\n}\nexport function isRequestAPICallableInsideAfter() {\n const afterTaskStore = afterTaskAsyncStorage.getStore();\n return (afterTaskStore == null ? void 0 : afterTaskStore.rootTaskSpawnPhase) === 'action';\n}\n\n//# sourceMappingURL=utils.js.map","import { isPlainObject } from '../shared/lib/is-plain-object';\n/**\n * This is a safe stringify function that handles circular references.\n * We're using a simpler version here to avoid introducing\n * the dependency `safe-stable-stringify` into production bundle.\n *\n * This helper is used both in development and production.\n */ function safeStringifyLite(obj) {\n const seen = new WeakSet();\n return JSON.stringify(obj, (_key, value)=>{\n // If value is an object and already seen, replace with \"[Circular]\"\n if (typeof value === 'object' && value !== null) {\n if (seen.has(value)) {\n return '[Circular]';\n }\n seen.add(value);\n }\n return value;\n });\n}\n/**\n * Checks whether the given value is a NextError.\n * This can be used to print a more detailed error message with properties like `code` & `digest`.\n */ export default function isError(err) {\n return typeof err === 'object' && err !== null && 'name' in err && 'message' in err;\n}\nexport function getProperError(err) {\n if (isError(err)) {\n return err;\n }\n if (process.env.NODE_ENV === 'development') {\n // provide better error for case where `throw undefined`\n // is called in development\n if (typeof err === 'undefined') {\n return Object.defineProperty(new Error('An undefined error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), \"__NEXT_ERROR_CODE\", {\n value: \"E98\",\n enumerable: false,\n configurable: true\n });\n }\n if (err === null) {\n return Object.defineProperty(new Error('A null error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), \"__NEXT_ERROR_CODE\", {\n value: \"E336\",\n enumerable: false,\n configurable: true\n });\n }\n }\n return Object.defineProperty(new Error(isPlainObject(err) ? safeStringifyLite(err) : err + ''), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n}\n\n//# sourceMappingURL=is-error.js.map","import { extractInfoFromServerReferenceId } from '../shared/lib/server-reference-info';\nexport function isServerReference(value) {\n return value.$$typeof === Symbol.for('react.server.reference');\n}\nexport function isUseCacheFunction(value) {\n if (!isServerReference(value)) {\n return false;\n }\n const { type } = extractInfoFromServerReferenceId(value.$$id);\n return type === 'use-cache';\n}\nexport function getUseCacheFunctionInfo(value) {\n if (!isServerReference(value)) {\n return null;\n }\n const info = extractInfoFromServerReferenceId(value.$$id);\n return info.type === 'use-cache' ? info : null;\n}\nexport function isClientReference(mod) {\n const defaultExport = (mod == null ? void 0 : mod.default) || mod;\n return (defaultExport == null ? void 0 : defaultExport.$$typeof) === Symbol.for('react.client.reference');\n}\n\n//# sourceMappingURL=client-and-server-references.js.map","import { Meta, MetaFilter, MultiMeta } from './meta';\nexport function OpenGraphMetadata({ openGraph }) {\n var _openGraph_title, _openGraph_url, _openGraph_ttl;\n if (!openGraph) {\n return null;\n }\n let typedOpenGraph;\n if ('type' in openGraph) {\n const openGraphType = openGraph.type;\n switch(openGraphType){\n case 'website':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'website'\n })\n ];\n break;\n case 'article':\n var _openGraph_publishedTime, _openGraph_modifiedTime, _openGraph_expirationTime;\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'article'\n }),\n Meta({\n property: 'article:published_time',\n content: (_openGraph_publishedTime = openGraph.publishedTime) == null ? void 0 : _openGraph_publishedTime.toString()\n }),\n Meta({\n property: 'article:modified_time',\n content: (_openGraph_modifiedTime = openGraph.modifiedTime) == null ? void 0 : _openGraph_modifiedTime.toString()\n }),\n Meta({\n property: 'article:expiration_time',\n content: (_openGraph_expirationTime = openGraph.expirationTime) == null ? void 0 : _openGraph_expirationTime.toString()\n }),\n MultiMeta({\n propertyPrefix: 'article:author',\n contents: openGraph.authors\n }),\n Meta({\n property: 'article:section',\n content: openGraph.section\n }),\n MultiMeta({\n propertyPrefix: 'article:tag',\n contents: openGraph.tags\n })\n ];\n break;\n case 'book':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'book'\n }),\n Meta({\n property: 'book:isbn',\n content: openGraph.isbn\n }),\n Meta({\n property: 'book:release_date',\n content: openGraph.releaseDate\n }),\n MultiMeta({\n propertyPrefix: 'book:author',\n contents: openGraph.authors\n }),\n MultiMeta({\n propertyPrefix: 'book:tag',\n contents: openGraph.tags\n })\n ];\n break;\n case 'profile':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'profile'\n }),\n Meta({\n property: 'profile:first_name',\n content: openGraph.firstName\n }),\n Meta({\n property: 'profile:last_name',\n content: openGraph.lastName\n }),\n Meta({\n property: 'profile:username',\n content: openGraph.username\n }),\n Meta({\n property: 'profile:gender',\n content: openGraph.gender\n })\n ];\n break;\n case 'music.song':\n var _openGraph_duration;\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'music.song'\n }),\n Meta({\n property: 'music:duration',\n content: (_openGraph_duration = openGraph.duration) == null ? void 0 : _openGraph_duration.toString()\n }),\n MultiMeta({\n propertyPrefix: 'music:album',\n contents: openGraph.albums\n }),\n MultiMeta({\n propertyPrefix: 'music:musician',\n contents: openGraph.musicians\n })\n ];\n break;\n case 'music.album':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'music.album'\n }),\n MultiMeta({\n propertyPrefix: 'music:song',\n contents: openGraph.songs\n }),\n MultiMeta({\n propertyPrefix: 'music:musician',\n contents: openGraph.musicians\n }),\n Meta({\n property: 'music:release_date',\n content: openGraph.releaseDate\n })\n ];\n break;\n case 'music.playlist':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'music.playlist'\n }),\n MultiMeta({\n propertyPrefix: 'music:song',\n contents: openGraph.songs\n }),\n MultiMeta({\n propertyPrefix: 'music:creator',\n contents: openGraph.creators\n })\n ];\n break;\n case 'music.radio_station':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'music.radio_station'\n }),\n MultiMeta({\n propertyPrefix: 'music:creator',\n contents: openGraph.creators\n })\n ];\n break;\n case 'video.movie':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'video.movie'\n }),\n MultiMeta({\n propertyPrefix: 'video:actor',\n contents: openGraph.actors\n }),\n MultiMeta({\n propertyPrefix: 'video:director',\n contents: openGraph.directors\n }),\n MultiMeta({\n propertyPrefix: 'video:writer',\n contents: openGraph.writers\n }),\n Meta({\n property: 'video:duration',\n content: openGraph.duration\n }),\n Meta({\n property: 'video:release_date',\n content: openGraph.releaseDate\n }),\n MultiMeta({\n propertyPrefix: 'video:tag',\n contents: openGraph.tags\n })\n ];\n break;\n case 'video.episode':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'video.episode'\n }),\n MultiMeta({\n propertyPrefix: 'video:actor',\n contents: openGraph.actors\n }),\n MultiMeta({\n propertyPrefix: 'video:director',\n contents: openGraph.directors\n }),\n MultiMeta({\n propertyPrefix: 'video:writer',\n contents: openGraph.writers\n }),\n Meta({\n property: 'video:duration',\n content: openGraph.duration\n }),\n Meta({\n property: 'video:release_date',\n content: openGraph.releaseDate\n }),\n MultiMeta({\n propertyPrefix: 'video:tag',\n contents: openGraph.tags\n }),\n Meta({\n property: 'video:series',\n content: openGraph.series\n })\n ];\n break;\n case 'video.tv_show':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'video.tv_show'\n })\n ];\n break;\n case 'video.other':\n typedOpenGraph = [\n Meta({\n property: 'og:type',\n content: 'video.other'\n })\n ];\n break;\n default:\n const _exhaustiveCheck = openGraphType;\n throw Object.defineProperty(new Error(`Invalid OpenGraph type: ${_exhaustiveCheck}`), \"__NEXT_ERROR_CODE\", {\n value: \"E237\",\n enumerable: false,\n configurable: true\n });\n }\n }\n return MetaFilter([\n Meta({\n property: 'og:determiner',\n content: openGraph.determiner\n }),\n Meta({\n property: 'og:title',\n content: (_openGraph_title = openGraph.title) == null ? void 0 : _openGraph_title.absolute\n }),\n Meta({\n property: 'og:description',\n content: openGraph.description\n }),\n Meta({\n property: 'og:url',\n content: (_openGraph_url = openGraph.url) == null ? void 0 : _openGraph_url.toString()\n }),\n Meta({\n property: 'og:site_name',\n content: openGraph.siteName\n }),\n Meta({\n property: 'og:locale',\n content: openGraph.locale\n }),\n Meta({\n property: 'og:country_name',\n content: openGraph.countryName\n }),\n Meta({\n property: 'og:ttl',\n content: (_openGraph_ttl = openGraph.ttl) == null ? void 0 : _openGraph_ttl.toString()\n }),\n MultiMeta({\n propertyPrefix: 'og:image',\n contents: openGraph.images\n }),\n MultiMeta({\n propertyPrefix: 'og:video',\n contents: openGraph.videos\n }),\n MultiMeta({\n propertyPrefix: 'og:audio',\n contents: openGraph.audio\n }),\n MultiMeta({\n propertyPrefix: 'og:email',\n contents: openGraph.emails\n }),\n MultiMeta({\n propertyPrefix: 'og:phone_number',\n contents: openGraph.phoneNumbers\n }),\n MultiMeta({\n propertyPrefix: 'og:fax_number',\n contents: openGraph.faxNumbers\n }),\n MultiMeta({\n propertyPrefix: 'og:locale:alternate',\n contents: openGraph.alternateLocale\n }),\n ...typedOpenGraph ? typedOpenGraph : []\n ]);\n}\nfunction TwitterAppItem({ app, type }) {\n var _app_url_type, _app_url;\n return [\n Meta({\n name: `twitter:app:name:${type}`,\n content: app.name\n }),\n Meta({\n name: `twitter:app:id:${type}`,\n content: app.id[type]\n }),\n Meta({\n name: `twitter:app:url:${type}`,\n content: (_app_url = app.url) == null ? void 0 : (_app_url_type = _app_url[type]) == null ? void 0 : _app_url_type.toString()\n })\n ];\n}\nexport function TwitterMetadata({ twitter }) {\n var _twitter_title;\n if (!twitter) return null;\n const { card } = twitter;\n return MetaFilter([\n Meta({\n name: 'twitter:card',\n content: card\n }),\n Meta({\n name: 'twitter:site',\n content: twitter.site\n }),\n Meta({\n name: 'twitter:site:id',\n content: twitter.siteId\n }),\n Meta({\n name: 'twitter:creator',\n content: twitter.creator\n }),\n Meta({\n name: 'twitter:creator:id',\n content: twitter.creatorId\n }),\n Meta({\n name: 'twitter:title',\n content: (_twitter_title = twitter.title) == null ? void 0 : _twitter_title.absolute\n }),\n Meta({\n name: 'twitter:description',\n content: twitter.description\n }),\n MultiMeta({\n namePrefix: 'twitter:image',\n contents: twitter.images\n }),\n ...card === 'player' ? twitter.players.flatMap((player)=>[\n Meta({\n name: 'twitter:player',\n content: player.playerUrl.toString()\n }),\n Meta({\n name: 'twitter:player:stream',\n content: player.streamUrl.toString()\n }),\n Meta({\n name: 'twitter:player:width',\n content: player.width\n }),\n Meta({\n name: 'twitter:player:height',\n content: player.height\n })\n ]) : [],\n ...card === 'app' ? [\n TwitterAppItem({\n app: twitter.app,\n type: 'iphone'\n }),\n TwitterAppItem({\n app: twitter.app,\n type: 'ipad'\n }),\n TwitterAppItem({\n app: twitter.app,\n type: 'googleplay'\n })\n ] : []\n ]);\n}\nexport function AppLinksMeta({ appLinks }) {\n if (!appLinks) return null;\n return MetaFilter([\n MultiMeta({\n propertyPrefix: 'al:ios',\n contents: appLinks.ios\n }),\n MultiMeta({\n propertyPrefix: 'al:iphone',\n contents: appLinks.iphone\n }),\n MultiMeta({\n propertyPrefix: 'al:ipad',\n contents: appLinks.ipad\n }),\n MultiMeta({\n propertyPrefix: 'al:android',\n contents: appLinks.android\n }),\n MultiMeta({\n propertyPrefix: 'al:windows_phone',\n contents: appLinks.windows_phone\n }),\n MultiMeta({\n propertyPrefix: 'al:windows',\n contents: appLinks.windows\n }),\n MultiMeta({\n propertyPrefix: 'al:windows_universal',\n contents: appLinks.windows_universal\n }),\n MultiMeta({\n propertyPrefix: 'al:web',\n contents: appLinks.web\n })\n ]);\n}\n\n//# sourceMappingURL=opengraph.js.map","import { PAGE_SEGMENT_KEY } from '../segment';\nexport const ROOT_SEGMENT_REQUEST_KEY = '';\nexport const HEAD_REQUEST_KEY = '/_head';\nexport function createSegmentRequestKeyPart(segment) {\n if (typeof segment === 'string') {\n if (segment.startsWith(PAGE_SEGMENT_KEY)) {\n // The Flight Router State type sometimes includes the search params in\n // the page segment. However, the Segment Cache tracks this as a separate\n // key. So, we strip the search params here, and then add them back when\n // the cache entry is turned back into a FlightRouterState. This is an\n // unfortunate consequence of the FlightRouteState being used both as a\n // transport type and as a cache key; we'll address this once more of the\n // Segment Cache implementation has settled.\n // TODO: We should hoist the search params out of the FlightRouterState\n // type entirely, This is our plan for dynamic route params, too.\n return PAGE_SEGMENT_KEY;\n }\n const safeName = // TODO: FlightRouterState encodes Not Found routes as \"/_not-found\".\n // But params typically don't include the leading slash. We should use\n // a different encoding to avoid this special case.\n segment === '/_not-found' ? '_not-found' : encodeToFilesystemAndURLSafeString(segment);\n // Since this is not a dynamic segment, it's fully encoded. It does not\n // need to be \"hydrated\" with a param value.\n return safeName;\n }\n const name = segment[0];\n const paramType = segment[2];\n const safeName = encodeToFilesystemAndURLSafeString(name);\n const encodedName = '$' + paramType + '$' + safeName;\n return encodedName;\n}\nexport function appendSegmentRequestKeyPart(parentRequestKey, parallelRouteKey, childRequestKeyPart) {\n // Aside from being filesystem safe, segment keys are also designed so that\n // each segment and parallel route creates its own subdirectory. Roughly in\n // the same shape as the source app directory. This is mostly just for easier\n // debugging (you can open up the build folder and navigate the output); if\n // we wanted to do we could just use a flat structure.\n // Omit the parallel route key for children, since this is the most\n // common case. Saves some bytes (and it's what the app directory does).\n const slotKey = parallelRouteKey === 'children' ? childRequestKeyPart : `@${encodeToFilesystemAndURLSafeString(parallelRouteKey)}/${childRequestKeyPart}`;\n return parentRequestKey + '/' + slotKey;\n}\n// Define a regex pattern to match the most common characters found in a route\n// param. It excludes anything that might not be cross-platform filesystem\n// compatible, like |. It does not need to be precise because the fallback is to\n// just base64url-encode the whole parameter, which is fine; we just don't do it\n// by default for compactness, and for easier debugging.\nconst simpleParamValueRegex = /^[a-zA-Z0-9\\-_@]+$/;\nfunction encodeToFilesystemAndURLSafeString(value) {\n if (simpleParamValueRegex.test(value)) {\n return value;\n }\n // If there are any unsafe characters, base64url-encode the entire value.\n // We also add a ! prefix so it doesn't collide with the simple case.\n const base64url = btoa(value).replace(/\\+/g, '-') // Replace '+' with '-'\n .replace(/\\//g, '_') // Replace '/' with '_'\n .replace(/=+$/, '') // Remove trailing '='\n ;\n return '!' + base64url;\n}\nexport function convertSegmentPathToStaticExportFilename(segmentPath) {\n return `__next${segmentPath.replace(/\\//g, '.')}.txt`;\n}\n\n//# sourceMappingURL=segment-value-encoding.js.map","import { resolveAsArrayOrUndefined } from '../generate/utils';\nimport { resolveAbsoluteUrlWithPathname } from './resolve-url';\nfunction resolveAlternateUrl(url, metadataBase, pathname, metadataContext) {\n // If alter native url is an URL instance,\n // we treat it as a URL base and resolve with current pathname\n if (url instanceof URL) {\n const newUrl = new URL(pathname, url);\n url.searchParams.forEach((value, key)=>newUrl.searchParams.set(key, value));\n url = newUrl;\n }\n return resolveAbsoluteUrlWithPathname(url, metadataBase, pathname, metadataContext);\n}\nexport const resolveThemeColor = (themeColor)=>{\n var _resolveAsArrayOrUndefined;\n if (!themeColor) return null;\n const themeColorDescriptors = [];\n (_resolveAsArrayOrUndefined = resolveAsArrayOrUndefined(themeColor)) == null ? void 0 : _resolveAsArrayOrUndefined.forEach((descriptor)=>{\n if (typeof descriptor === 'string') themeColorDescriptors.push({\n color: descriptor\n });\n else if (typeof descriptor === 'object') themeColorDescriptors.push({\n color: descriptor.color,\n media: descriptor.media\n });\n });\n return themeColorDescriptors;\n};\nasync function resolveUrlValuesOfObject(obj, metadataBase, pathname, metadataContext) {\n if (!obj) return null;\n const result = {};\n for (const [key, value] of Object.entries(obj)){\n if (typeof value === 'string' || value instanceof URL) {\n const pathnameForUrl = await pathname;\n result[key] = [\n {\n url: resolveAlternateUrl(value, metadataBase, pathnameForUrl, metadataContext)\n }\n ];\n } else if (value && value.length) {\n result[key] = [];\n const pathnameForUrl = await pathname;\n value.forEach((item, index)=>{\n const url = resolveAlternateUrl(item.url, metadataBase, pathnameForUrl, metadataContext);\n result[key][index] = {\n url,\n title: item.title\n };\n });\n }\n }\n return result;\n}\nasync function resolveCanonicalUrl(urlOrDescriptor, metadataBase, pathname, metadataContext) {\n if (!urlOrDescriptor) return null;\n const url = typeof urlOrDescriptor === 'string' || urlOrDescriptor instanceof URL ? urlOrDescriptor : urlOrDescriptor.url;\n const pathnameForUrl = await pathname;\n // Return string url because structureClone can't handle URL instance\n return {\n url: resolveAlternateUrl(url, metadataBase, pathnameForUrl, metadataContext)\n };\n}\nexport const resolveAlternates = async (alternates, metadataBase, pathname, context)=>{\n if (!alternates) return null;\n const canonical = await resolveCanonicalUrl(alternates.canonical, metadataBase, pathname, context);\n const languages = await resolveUrlValuesOfObject(alternates.languages, metadataBase, pathname, context);\n const media = await resolveUrlValuesOfObject(alternates.media, metadataBase, pathname, context);\n const types = await resolveUrlValuesOfObject(alternates.types, metadataBase, pathname, context);\n return {\n canonical,\n languages,\n media,\n types\n };\n};\nconst robotsKeys = [\n 'noarchive',\n 'nosnippet',\n 'noimageindex',\n 'nocache',\n 'notranslate',\n 'indexifembedded',\n 'nositelinkssearchbox',\n 'unavailable_after',\n 'max-video-preview',\n 'max-image-preview',\n 'max-snippet'\n];\nconst resolveRobotsValue = (robots)=>{\n if (!robots) return null;\n if (typeof robots === 'string') return robots;\n const values = [];\n if (robots.index) values.push('index');\n else if (typeof robots.index === 'boolean') values.push('noindex');\n if (robots.follow) values.push('follow');\n else if (typeof robots.follow === 'boolean') values.push('nofollow');\n for (const key of robotsKeys){\n const value = robots[key];\n if (typeof value !== 'undefined' && value !== false) {\n values.push(typeof value === 'boolean' ? key : `${key}:${value}`);\n }\n }\n return values.join(', ');\n};\nexport const resolveRobots = (robots)=>{\n if (!robots) return null;\n return {\n basic: resolveRobotsValue(robots),\n googleBot: typeof robots !== 'string' ? resolveRobotsValue(robots.googleBot) : null\n };\n};\nconst VerificationKeys = [\n 'google',\n 'yahoo',\n 'yandex',\n 'me',\n 'other'\n];\nexport const resolveVerification = (verification)=>{\n if (!verification) return null;\n const res = {};\n for (const key of VerificationKeys){\n const value = verification[key];\n if (value) {\n if (key === 'other') {\n res.other = {};\n for(const otherKey in verification.other){\n const otherValue = resolveAsArrayOrUndefined(verification.other[otherKey]);\n if (otherValue) res.other[otherKey] = otherValue;\n }\n } else res[key] = resolveAsArrayOrUndefined(value);\n }\n }\n return res;\n};\nexport const resolveAppleWebApp = (appWebApp)=>{\n var _resolveAsArrayOrUndefined;\n if (!appWebApp) return null;\n if (appWebApp === true) {\n return {\n capable: true\n };\n }\n const startupImages = appWebApp.startupImage ? (_resolveAsArrayOrUndefined = resolveAsArrayOrUndefined(appWebApp.startupImage)) == null ? void 0 : _resolveAsArrayOrUndefined.map((item)=>typeof item === 'string' ? {\n url: item\n } : item) : null;\n return {\n capable: 'capable' in appWebApp ? !!appWebApp.capable : true,\n title: appWebApp.title || null,\n startupImage: startupImages,\n statusBarStyle: appWebApp.statusBarStyle || 'default'\n };\n};\nexport const resolveAppLinks = (appLinks)=>{\n if (!appLinks) return null;\n for(const key in appLinks){\n // @ts-ignore // TODO: type infer\n appLinks[key] = resolveAsArrayOrUndefined(appLinks[key]);\n }\n return appLinks;\n};\nexport const resolveItunes = async (itunes, metadataBase, pathname, context)=>{\n if (!itunes) return null;\n return {\n appId: itunes.appId,\n appArgument: itunes.appArgument ? resolveAlternateUrl(itunes.appArgument, metadataBase, await pathname, context) : undefined\n };\n};\nexport const resolveFacebook = (facebook)=>{\n if (!facebook) return null;\n return {\n appId: facebook.appId,\n admins: resolveAsArrayOrUndefined(facebook.admins)\n };\n};\nexport const resolvePagination = async (pagination, metadataBase, pathname, context)=>{\n return {\n previous: (pagination == null ? void 0 : pagination.previous) ? resolveAlternateUrl(pagination.previous, metadataBase, await pathname, context) : null,\n next: (pagination == null ? void 0 : pagination.next) ? resolveAlternateUrl(pagination.next, metadataBase, await pathname, context) : null\n };\n};\n\n//# sourceMappingURL=resolve-basics.js.map","import { AppRenderSpan, NextNodeServerSpan } from './trace/constants';\nimport { getTracer, SpanKind } from './trace/tracer';\nimport { CACHE_ONE_YEAR, INFINITE_CACHE, NEXT_CACHE_TAG_MAX_ITEMS, NEXT_CACHE_TAG_MAX_LENGTH } from '../../lib/constants';\nimport { markCurrentScopeAsDynamic } from '../app-render/dynamic-rendering';\nimport { makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupeFetch } from './dedupe-fetch';\nimport { getCacheSignal } from '../app-render/work-unit-async-storage.external';\nimport { CachedRouteKind, IncrementalCacheKind } from '../response-cache';\nimport { cloneResponse } from './clone-response';\nimport { RenderStage } from '../app-render/staged-rendering';\nconst isEdgeRuntime = process.env.NEXT_RUNTIME === 'edge';\nexport const NEXT_PATCH_SYMBOL = Symbol.for('next-patch');\nfunction isFetchPatched() {\n return globalThis[NEXT_PATCH_SYMBOL] === true;\n}\nexport function validateRevalidate(revalidateVal, route) {\n try {\n let normalizedRevalidate = undefined;\n if (revalidateVal === false) {\n normalizedRevalidate = INFINITE_CACHE;\n } else if (typeof revalidateVal === 'number' && !isNaN(revalidateVal) && revalidateVal > -1) {\n normalizedRevalidate = revalidateVal;\n } else if (typeof revalidateVal !== 'undefined') {\n throw Object.defineProperty(new Error(`Invalid revalidate value \"${revalidateVal}\" on \"${route}\", must be a non-negative number or false`), \"__NEXT_ERROR_CODE\", {\n value: \"E179\",\n enumerable: false,\n configurable: true\n });\n }\n return normalizedRevalidate;\n } catch (err) {\n // handle client component error from attempting to check revalidate value\n if (err instanceof Error && err.message.includes('Invalid revalidate')) {\n throw err;\n }\n return undefined;\n }\n}\nexport function validateTags(tags, description) {\n const validTags = [];\n const invalidTags = [];\n for(let i = 0; i < tags.length; i++){\n const tag = tags[i];\n if (typeof tag !== 'string') {\n invalidTags.push({\n tag,\n reason: 'invalid type, must be a string'\n });\n } else if (tag.length > NEXT_CACHE_TAG_MAX_LENGTH) {\n invalidTags.push({\n tag,\n reason: `exceeded max length of ${NEXT_CACHE_TAG_MAX_LENGTH}`\n });\n } else {\n validTags.push(tag);\n }\n if (validTags.length > NEXT_CACHE_TAG_MAX_ITEMS) {\n console.warn(`Warning: exceeded max tag count for ${description}, dropped tags:`, tags.slice(i).join(', '));\n break;\n }\n }\n if (invalidTags.length > 0) {\n console.warn(`Warning: invalid tags passed to ${description}: `);\n for (const { tag, reason } of invalidTags){\n console.log(`tag: \"${tag}\" ${reason}`);\n }\n }\n return validTags;\n}\nfunction trackFetchMetric(workStore, ctx) {\n if (!workStore.shouldTrackFetchMetrics) {\n return;\n }\n workStore.fetchMetrics ??= [];\n workStore.fetchMetrics.push({\n ...ctx,\n end: performance.timeOrigin + performance.now(),\n idx: workStore.nextFetchId || 0\n });\n}\nasync function createCachedPrerenderResponse(res, cacheKey, incrementalCacheContext, incrementalCache, revalidate, handleUnlock) {\n // We are prerendering at build time or revalidate time with cacheComponents so we\n // need to buffer the response so we can guarantee it can be read in a\n // microtask.\n const bodyBuffer = await res.arrayBuffer();\n const fetchedData = {\n headers: Object.fromEntries(res.headers.entries()),\n body: Buffer.from(bodyBuffer).toString('base64'),\n status: res.status,\n url: res.url\n };\n // We can skip setting the serverComponentsHmrCache because we aren't in dev\n // mode.\n if (incrementalCacheContext) {\n await incrementalCache.set(cacheKey, {\n kind: CachedRouteKind.FETCH,\n data: fetchedData,\n revalidate\n }, incrementalCacheContext);\n }\n await handleUnlock();\n // We return a new Response to the caller.\n return new Response(bodyBuffer, {\n headers: res.headers,\n status: res.status,\n statusText: res.statusText\n });\n}\nasync function createCachedDynamicResponse(workStore, res, cacheKey, incrementalCacheContext, incrementalCache, serverComponentsHmrCache, revalidate, input, handleUnlock) {\n // We're cloning the response using this utility because there exists a bug in\n // the undici library around response cloning. See the following pull request\n // for more details: https://github.com/vercel/next.js/pull/73274\n const [cloned1, cloned2] = cloneResponse(res);\n // We are dynamically rendering including dev mode. We want to return the\n // response to the caller as soon as possible because it might stream over a\n // very long time.\n const cacheSetPromise = cloned1.arrayBuffer().then(async (arrayBuffer)=>{\n const bodyBuffer = Buffer.from(arrayBuffer);\n const fetchedData = {\n headers: Object.fromEntries(cloned1.headers.entries()),\n body: bodyBuffer.toString('base64'),\n status: cloned1.status,\n url: cloned1.url\n };\n serverComponentsHmrCache == null ? void 0 : serverComponentsHmrCache.set(cacheKey, fetchedData);\n if (incrementalCacheContext) {\n await incrementalCache.set(cacheKey, {\n kind: CachedRouteKind.FETCH,\n data: fetchedData,\n revalidate\n }, incrementalCacheContext);\n }\n }).catch((error)=>console.warn(`Failed to set fetch cache`, input, error)).finally(handleUnlock);\n const pendingRevalidateKey = `cache-set-${cacheKey}`;\n const pendingRevalidates = workStore.pendingRevalidates ??= {};\n let pendingRevalidatePromise = Promise.resolve();\n if (pendingRevalidateKey in pendingRevalidates) {\n // There is already a pending revalidate entry that we need to await to\n // avoid race conditions.\n pendingRevalidatePromise = pendingRevalidates[pendingRevalidateKey];\n }\n pendingRevalidates[pendingRevalidateKey] = pendingRevalidatePromise.then(()=>cacheSetPromise).finally(()=>{\n // If the pending revalidate is not present in the store, then we have\n // nothing to delete.\n if (!(pendingRevalidates == null ? void 0 : pendingRevalidates[pendingRevalidateKey])) {\n return;\n }\n delete pendingRevalidates[pendingRevalidateKey];\n });\n return cloned2;\n}\nexport function createPatchedFetcher(originFetch, { workAsyncStorage, workUnitAsyncStorage }) {\n // Create the patched fetch function.\n const patched = async function fetch(input, init) {\n var _init_method, _init_next;\n let url;\n try {\n url = new URL(input instanceof Request ? input.url : input);\n url.username = '';\n url.password = '';\n } catch {\n // Error caused by malformed URL should be handled by native fetch\n url = undefined;\n }\n const fetchUrl = (url == null ? void 0 : url.href) ?? '';\n const method = (init == null ? void 0 : (_init_method = init.method) == null ? void 0 : _init_method.toUpperCase()) || 'GET';\n // Do create a new span trace for internal fetches in the\n // non-verbose mode.\n const isInternal = (init == null ? void 0 : (_init_next = init.next) == null ? void 0 : _init_next.internal) === true;\n const hideSpan = process.env.NEXT_OTEL_FETCH_DISABLED === '1';\n // We don't track fetch metrics for internal fetches\n // so it's not critical that we have a start time, as it won't be recorded.\n // This is to workaround a flaky issue where performance APIs might\n // not be available and will require follow-up investigation.\n const fetchStart = isInternal ? undefined : performance.timeOrigin + performance.now();\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n let cacheSignal = workUnitStore ? getCacheSignal(workUnitStore) : null;\n if (cacheSignal) {\n cacheSignal.beginRead();\n }\n const result = getTracer().trace(isInternal ? NextNodeServerSpan.internalFetch : AppRenderSpan.fetch, {\n hideSpan,\n kind: SpanKind.CLIENT,\n spanName: [\n 'fetch',\n method,\n fetchUrl\n ].filter(Boolean).join(' '),\n attributes: {\n 'http.url': fetchUrl,\n 'http.method': method,\n 'net.peer.name': url == null ? void 0 : url.hostname,\n 'net.peer.port': (url == null ? void 0 : url.port) || undefined\n }\n }, async ()=>{\n var _getRequestMeta;\n // If this is an internal fetch, we should not do any special treatment.\n if (isInternal) {\n return originFetch(input, init);\n }\n // If the workStore is not available, we can't do any\n // special treatment of fetch, therefore fallback to the original\n // fetch implementation.\n if (!workStore) {\n return originFetch(input, init);\n }\n // We should also fallback to the original fetch implementation if we\n // are in draft mode, it does not constitute a static generation.\n if (workStore.isDraftMode) {\n return originFetch(input, init);\n }\n const isRequestInput = input && typeof input === 'object' && typeof input.method === 'string';\n const getRequestMeta = (field)=>{\n // If request input is present but init is not, retrieve from input first.\n const value = init == null ? void 0 : init[field];\n return value || (isRequestInput ? input[field] : null);\n };\n let finalRevalidate = undefined;\n const getNextField = (field)=>{\n var _init_next, _init_next1, _input_next;\n return typeof (init == null ? void 0 : (_init_next = init.next) == null ? void 0 : _init_next[field]) !== 'undefined' ? init == null ? void 0 : (_init_next1 = init.next) == null ? void 0 : _init_next1[field] : isRequestInput ? (_input_next = input.next) == null ? void 0 : _input_next[field] : undefined;\n };\n // RequestInit doesn't keep extra fields e.g. next so it's\n // only available if init is used separate\n const originalFetchRevalidate = getNextField('revalidate');\n let currentFetchRevalidate = originalFetchRevalidate;\n const tags = validateTags(getNextField('tags') || [], `fetch ${input.toString()}`);\n let revalidateStore;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n // TODO: Stop accumulating tags in client prerender. (fallthrough)\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n revalidateStore = workUnitStore;\n break;\n case 'request':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n if (revalidateStore) {\n if (Array.isArray(tags)) {\n // Collect tags onto parent caches or parent prerenders.\n const collectedTags = revalidateStore.tags ?? (revalidateStore.tags = []);\n for (const tag of tags){\n if (!collectedTags.includes(tag)) {\n collectedTags.push(tag);\n }\n }\n }\n }\n const implicitTags = workUnitStore == null ? void 0 : workUnitStore.implicitTags;\n let pageFetchCacheMode = workStore.fetchCache;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'unstable-cache':\n // Inside unstable-cache we treat it the same as force-no-store on\n // the page.\n pageFetchCacheMode = 'force-no-store';\n break;\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n break;\n default:\n workUnitStore;\n }\n }\n const isUsingNoStore = !!workStore.isUnstableNoStore;\n let currentFetchCacheConfig = getRequestMeta('cache');\n let cacheReason = '';\n let cacheWarning;\n if (typeof currentFetchCacheConfig === 'string' && typeof currentFetchRevalidate !== 'undefined') {\n // If the revalidate value conflicts with the cache value, we should warn the user and unset the conflicting values.\n const isConflictingRevalidate = // revalidate: 0 and cache: force-cache\n currentFetchCacheConfig === 'force-cache' && currentFetchRevalidate === 0 || // revalidate: >0 or revalidate: false and cache: no-store\n currentFetchCacheConfig === 'no-store' && (currentFetchRevalidate > 0 || currentFetchRevalidate === false);\n if (isConflictingRevalidate) {\n cacheWarning = `Specified \"cache: ${currentFetchCacheConfig}\" and \"revalidate: ${currentFetchRevalidate}\", only one should be specified.`;\n currentFetchCacheConfig = undefined;\n currentFetchRevalidate = undefined;\n }\n }\n const hasExplicitFetchCacheOptOut = // fetch config itself signals not to cache\n currentFetchCacheConfig === 'no-cache' || currentFetchCacheConfig === 'no-store' || // the fetch isn't explicitly caching and the segment level cache config signals not to cache\n // note: `pageFetchCacheMode` is also set by being in an unstable_cache context.\n pageFetchCacheMode === 'force-no-store' || pageFetchCacheMode === 'only-no-store';\n // If no explicit fetch cache mode is set, but dynamic = `force-dynamic` is set,\n // we shouldn't consider caching the fetch. This is because the `dynamic` cache\n // is considered a \"top-level\" cache mode, whereas something like `fetchCache` is more\n // fine-grained. Top-level modes are responsible for setting reasonable defaults for the\n // other configurations.\n const noFetchConfigAndForceDynamic = !pageFetchCacheMode && !currentFetchCacheConfig && !currentFetchRevalidate && workStore.forceDynamic;\n if (// force-cache was specified without a revalidate value. We set the revalidate value to false\n // which will signal the cache to not revalidate\n currentFetchCacheConfig === 'force-cache' && typeof currentFetchRevalidate === 'undefined') {\n currentFetchRevalidate = false;\n } else if (hasExplicitFetchCacheOptOut || noFetchConfigAndForceDynamic) {\n currentFetchRevalidate = 0;\n }\n if (currentFetchCacheConfig === 'no-cache' || currentFetchCacheConfig === 'no-store') {\n cacheReason = `cache: ${currentFetchCacheConfig}`;\n }\n finalRevalidate = validateRevalidate(currentFetchRevalidate, workStore.route);\n const _headers = getRequestMeta('headers');\n const initHeaders = typeof (_headers == null ? void 0 : _headers.get) === 'function' ? _headers : new Headers(_headers || {});\n const hasUnCacheableHeader = initHeaders.get('authorization') || initHeaders.get('cookie');\n const isUnCacheableMethod = ![\n 'get',\n 'head'\n ].includes(((_getRequestMeta = getRequestMeta('method')) == null ? void 0 : _getRequestMeta.toLowerCase()) || 'get');\n /**\n * We automatically disable fetch caching under the following conditions:\n * - Fetch cache configs are not set. Specifically:\n * - A page fetch cache mode is not set (export const fetchCache=...)\n * - A fetch cache mode is not set in the fetch call (fetch(url, { cache: ... }))\n * or the fetch cache mode is set to 'default'\n * - A fetch revalidate value is not set in the fetch call (fetch(url, { revalidate: ... }))\n * - OR the fetch comes after a configuration that triggered dynamic rendering (e.g., reading cookies())\n * and the fetch was considered uncacheable (e.g., POST method or has authorization headers)\n */ const hasNoExplicitCacheConfig = // eslint-disable-next-line eqeqeq\n pageFetchCacheMode == undefined && // eslint-disable-next-line eqeqeq\n (currentFetchCacheConfig == undefined || // when considering whether to opt into the default \"no-cache\" fetch semantics,\n // a \"default\" cache config should be treated the same as no cache config\n currentFetchCacheConfig === 'default') && // eslint-disable-next-line eqeqeq\n currentFetchRevalidate == undefined;\n let autoNoCache = Boolean((hasUnCacheableHeader || isUnCacheableMethod) && (revalidateStore == null ? void 0 : revalidateStore.revalidate) === 0);\n let isImplicitBuildTimeCache = false;\n if (!autoNoCache && hasNoExplicitCacheConfig) {\n // We don't enable automatic no-cache behavior during build-time\n // prerendering so that we can still leverage the fetch cache between\n // export workers.\n if (workStore.isBuildTimePrerendering) {\n isImplicitBuildTimeCache = true;\n } else {\n autoNoCache = true;\n }\n }\n // If we have no cache config, and we're in Dynamic I/O prerendering,\n // it'll be a dynamic call. We don't have to issue that dynamic call.\n if (hasNoExplicitCacheConfig && workUnitStore !== undefined) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n // While we don't want to do caching in the client scope we know the\n // fetch will be dynamic for cacheComponents so we may as well avoid the\n // call here. (fallthrough)\n case 'prerender-client':\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n switch(pageFetchCacheMode){\n case 'force-no-store':\n {\n cacheReason = 'fetchCache = force-no-store';\n break;\n }\n case 'only-no-store':\n {\n if (currentFetchCacheConfig === 'force-cache' || typeof finalRevalidate !== 'undefined' && finalRevalidate > 0) {\n throw Object.defineProperty(new Error(`cache: 'force-cache' used on fetch for ${fetchUrl} with 'export const fetchCache = 'only-no-store'`), \"__NEXT_ERROR_CODE\", {\n value: \"E448\",\n enumerable: false,\n configurable: true\n });\n }\n cacheReason = 'fetchCache = only-no-store';\n break;\n }\n case 'only-cache':\n {\n if (currentFetchCacheConfig === 'no-store') {\n throw Object.defineProperty(new Error(`cache: 'no-store' used on fetch for ${fetchUrl} with 'export const fetchCache = 'only-cache'`), \"__NEXT_ERROR_CODE\", {\n value: \"E521\",\n enumerable: false,\n configurable: true\n });\n }\n break;\n }\n case 'force-cache':\n {\n if (typeof currentFetchRevalidate === 'undefined' || currentFetchRevalidate === 0) {\n cacheReason = 'fetchCache = force-cache';\n finalRevalidate = INFINITE_CACHE;\n }\n break;\n }\n case 'default-cache':\n case 'default-no-store':\n case 'auto':\n case undefined:\n break;\n default:\n pageFetchCacheMode;\n }\n if (typeof finalRevalidate === 'undefined') {\n if (pageFetchCacheMode === 'default-cache' && !isUsingNoStore) {\n finalRevalidate = INFINITE_CACHE;\n cacheReason = 'fetchCache = default-cache';\n } else if (pageFetchCacheMode === 'default-no-store') {\n finalRevalidate = 0;\n cacheReason = 'fetchCache = default-no-store';\n } else if (isUsingNoStore) {\n finalRevalidate = 0;\n cacheReason = 'noStore call';\n } else if (autoNoCache) {\n finalRevalidate = 0;\n cacheReason = 'auto no cache';\n } else {\n // TODO: should we consider this case an invariant?\n cacheReason = 'auto cache';\n finalRevalidate = revalidateStore ? revalidateStore.revalidate : INFINITE_CACHE;\n }\n } else if (!cacheReason) {\n cacheReason = `revalidate: ${finalRevalidate}`;\n }\n if (// when force static is configured we don't bail from\n // `revalidate: 0` values\n !(workStore.forceStatic && finalRevalidate === 0) && // we don't consider autoNoCache to switch to dynamic for ISR\n !autoNoCache && // If the revalidate value isn't currently set or the value is less\n // than the current revalidate value, we should update the revalidate\n // value.\n revalidateStore && finalRevalidate < revalidateStore.revalidate) {\n // If we were setting the revalidate value to 0, we should try to\n // postpone instead first.\n if (finalRevalidate === 0) {\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n markCurrentScopeAsDynamic(workStore, workUnitStore, `revalidate: 0 fetch ${input} ${workStore.route}`);\n }\n // We only want to set the revalidate store's revalidate time if it\n // was explicitly set for the fetch call, i.e.\n // originalFetchRevalidate.\n if (revalidateStore && originalFetchRevalidate === finalRevalidate) {\n revalidateStore.revalidate = finalRevalidate;\n }\n }\n const isCacheableRevalidate = typeof finalRevalidate === 'number' && finalRevalidate > 0;\n let cacheKey;\n const { incrementalCache } = workStore;\n let isHmrRefresh = false;\n let serverComponentsHmrCache;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'request':\n case 'cache':\n case 'private-cache':\n isHmrRefresh = workUnitStore.isHmrRefresh ?? false;\n serverComponentsHmrCache = workUnitStore.serverComponentsHmrCache;\n break;\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n if (incrementalCache && (isCacheableRevalidate || serverComponentsHmrCache)) {\n try {\n cacheKey = await incrementalCache.generateCacheKey(fetchUrl, isRequestInput ? input : init);\n } catch (err) {\n console.error(`Failed to generate cache key for`, input);\n }\n }\n const fetchIdx = workStore.nextFetchId ?? 1;\n workStore.nextFetchId = fetchIdx + 1;\n let handleUnlock = ()=>{};\n const doOriginalFetch = async (isStale, cacheReasonOverride)=>{\n const requestInputFields = [\n 'cache',\n 'credentials',\n 'headers',\n 'integrity',\n 'keepalive',\n 'method',\n 'mode',\n 'redirect',\n 'referrer',\n 'referrerPolicy',\n 'window',\n 'duplex',\n // don't pass through signal when revalidating\n ...isStale ? [] : [\n 'signal'\n ]\n ];\n if (isRequestInput) {\n const reqInput = input;\n const reqOptions = {\n body: reqInput._ogBody || reqInput.body\n };\n for (const field of requestInputFields){\n // @ts-expect-error custom fields\n reqOptions[field] = reqInput[field];\n }\n input = new Request(reqInput.url, reqOptions);\n } else if (init) {\n const { _ogBody, body, signal, ...otherInput } = init;\n init = {\n ...otherInput,\n body: _ogBody || body,\n signal: isStale ? undefined : signal\n };\n }\n // add metadata to init without editing the original\n const clonedInit = {\n ...init,\n next: {\n ...init == null ? void 0 : init.next,\n fetchType: 'origin',\n fetchIdx\n }\n };\n return originFetch(input, clonedInit).then(async (res)=>{\n if (!isStale && fetchStart) {\n trackFetchMetric(workStore, {\n start: fetchStart,\n url: fetchUrl,\n cacheReason: cacheReasonOverride || cacheReason,\n cacheStatus: finalRevalidate === 0 || cacheReasonOverride ? 'skip' : 'miss',\n cacheWarning,\n status: res.status,\n method: clonedInit.method || 'GET'\n });\n }\n if (res.status === 200 && incrementalCache && cacheKey && (isCacheableRevalidate || serverComponentsHmrCache)) {\n const normalizedRevalidate = finalRevalidate >= INFINITE_CACHE ? CACHE_ONE_YEAR : finalRevalidate;\n const incrementalCacheConfig = isCacheableRevalidate ? {\n fetchCache: true,\n fetchUrl,\n fetchIdx,\n tags,\n isImplicitBuildTimeCache\n } : undefined;\n switch(workUnitStore == null ? void 0 : workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n return createCachedPrerenderResponse(res, cacheKey, incrementalCacheConfig, incrementalCache, normalizedRevalidate, handleUnlock);\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering && workUnitStore.cacheSignal) {\n // We're filling caches for a staged render,\n // so we need to wait for the response to finish instead of streaming.\n return createCachedPrerenderResponse(res, cacheKey, incrementalCacheConfig, incrementalCache, normalizedRevalidate, handleUnlock);\n }\n // fallthrough\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case undefined:\n return createCachedDynamicResponse(workStore, res, cacheKey, incrementalCacheConfig, incrementalCache, serverComponentsHmrCache, normalizedRevalidate, input, handleUnlock);\n default:\n workUnitStore;\n }\n }\n // we had response that we determined shouldn't be cached so we return it\n // and don't cache it. This also needs to unlock the cache lock we acquired.\n await handleUnlock();\n return res;\n }).catch((error)=>{\n handleUnlock();\n throw error;\n });\n };\n let cacheReasonOverride;\n let isForegroundRevalidate = false;\n let isHmrRefreshCache = false;\n if (cacheKey && incrementalCache) {\n let cachedFetchData;\n if (isHmrRefresh && serverComponentsHmrCache) {\n cachedFetchData = serverComponentsHmrCache.get(cacheKey);\n isHmrRefreshCache = true;\n }\n if (isCacheableRevalidate && !cachedFetchData) {\n handleUnlock = await incrementalCache.lock(cacheKey);\n const entry = workStore.isOnDemandRevalidate ? null : await incrementalCache.get(cacheKey, {\n kind: IncrementalCacheKind.FETCH,\n revalidate: finalRevalidate,\n fetchUrl,\n fetchIdx,\n tags,\n softTags: implicitTags == null ? void 0 : implicitTags.tags\n });\n if (hasNoExplicitCacheConfig && workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n // We sometimes use the cache to dedupe fetches that do not\n // specify a cache configuration. In these cases we want to\n // make sure we still exclude them from prerenders if\n // cacheComponents is on so we introduce an artificial task boundary\n // here.\n await getTimeoutBoundary();\n break;\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n if (entry) {\n await handleUnlock();\n } else {\n // in dev, incremental cache response will be null in case the browser adds `cache-control: no-cache` in the request headers\n // TODO: it seems like we also hit this after revalidates in dev?\n cacheReasonOverride = 'cache-control: no-cache (hard refresh)';\n }\n if ((entry == null ? void 0 : entry.value) && entry.value.kind === CachedRouteKind.FETCH) {\n // when stale and is revalidating we wait for fresh data\n // so the revalidated entry has the updated data\n if (workStore.isStaticGeneration && entry.isStale) {\n isForegroundRevalidate = true;\n } else {\n if (entry.isStale) {\n workStore.pendingRevalidates ??= {};\n if (!workStore.pendingRevalidates[cacheKey]) {\n const pendingRevalidate = doOriginalFetch(true).then(async (response)=>({\n body: await response.arrayBuffer(),\n headers: response.headers,\n status: response.status,\n statusText: response.statusText\n })).finally(()=>{\n workStore.pendingRevalidates ??= {};\n delete workStore.pendingRevalidates[cacheKey || ''];\n });\n // Attach the empty catch here so we don't get a \"unhandled\n // promise rejection\" warning.\n pendingRevalidate.catch(console.error);\n workStore.pendingRevalidates[cacheKey] = pendingRevalidate;\n }\n }\n cachedFetchData = entry.value.data;\n }\n }\n }\n if (cachedFetchData) {\n if (fetchStart) {\n trackFetchMetric(workStore, {\n start: fetchStart,\n url: fetchUrl,\n cacheReason,\n cacheStatus: isHmrRefreshCache ? 'hmr' : 'hit',\n cacheWarning,\n status: cachedFetchData.status || 200,\n method: (init == null ? void 0 : init.method) || 'GET'\n });\n }\n const response = new Response(Buffer.from(cachedFetchData.body, 'base64'), {\n headers: cachedFetchData.headers,\n status: cachedFetchData.status\n });\n Object.defineProperty(response, 'url', {\n value: cachedFetchData.url\n });\n return response;\n }\n }\n if ((workStore.isStaticGeneration || process.env.NODE_ENV === 'development' && process.env.__NEXT_CACHE_COMPONENTS && workUnitStore && // eslint-disable-next-line no-restricted-syntax\n workUnitStore.type === 'request' && workUnitStore.stagedRendering) && init && typeof init === 'object') {\n const { cache } = init;\n // Delete `cache` property as Cloudflare Workers will throw an error\n if (isEdgeRuntime) delete init.cache;\n if (cache === 'no-store') {\n // If enabled, we should bail out of static generation.\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n markCurrentScopeAsDynamic(workStore, workUnitStore, `no-store fetch ${input} ${workStore.route}`);\n }\n const hasNextConfig = 'next' in init;\n const { next = {} } = init;\n if (typeof next.revalidate === 'number' && revalidateStore && next.revalidate < revalidateStore.revalidate) {\n if (next.revalidate === 0) {\n // If enabled, we should bail out of static generation.\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'prerender-legacy':\n case 'prerender-ppr':\n break;\n default:\n workUnitStore;\n }\n }\n markCurrentScopeAsDynamic(workStore, workUnitStore, `revalidate: 0 fetch ${input} ${workStore.route}`);\n }\n if (!workStore.forceStatic || next.revalidate !== 0) {\n revalidateStore.revalidate = next.revalidate;\n }\n }\n if (hasNextConfig) delete init.next;\n }\n // if we are revalidating the whole page via time or on-demand and\n // the fetch cache entry is stale we should still de-dupe the\n // origin hit if it's a cache-able entry\n if (cacheKey && isForegroundRevalidate) {\n const pendingRevalidateKey = cacheKey;\n workStore.pendingRevalidates ??= {};\n let pendingRevalidate = workStore.pendingRevalidates[pendingRevalidateKey];\n if (pendingRevalidate) {\n const revalidatedResult = await pendingRevalidate;\n return new Response(revalidatedResult.body, {\n headers: revalidatedResult.headers,\n status: revalidatedResult.status,\n statusText: revalidatedResult.statusText\n });\n }\n // We used to just resolve the Response and clone it however for\n // static generation with cacheComponents we need the response to be able to\n // be resolved in a microtask and cloning the response will never have\n // a body that can resolve in a microtask in node (as observed through\n // experimentation) So instead we await the body and then when it is\n // available we construct manually cloned Response objects with the\n // body as an ArrayBuffer. This will be resolvable in a microtask\n // making it compatible with cacheComponents.\n const pendingResponse = doOriginalFetch(true, cacheReasonOverride)// We're cloning the response using this utility because there\n // exists a bug in the undici library around response cloning.\n // See the following pull request for more details:\n // https://github.com/vercel/next.js/pull/73274\n .then(cloneResponse);\n pendingRevalidate = pendingResponse.then(async (responses)=>{\n const response = responses[0];\n return {\n body: await response.arrayBuffer(),\n headers: response.headers,\n status: response.status,\n statusText: response.statusText\n };\n }).finally(()=>{\n var _workStore_pendingRevalidates;\n // If the pending revalidate is not present in the store, then\n // we have nothing to delete.\n if (!((_workStore_pendingRevalidates = workStore.pendingRevalidates) == null ? void 0 : _workStore_pendingRevalidates[pendingRevalidateKey])) {\n return;\n }\n delete workStore.pendingRevalidates[pendingRevalidateKey];\n });\n // Attach the empty catch here so we don't get a \"unhandled promise\n // rejection\" warning\n pendingRevalidate.catch(()=>{});\n workStore.pendingRevalidates[pendingRevalidateKey] = pendingRevalidate;\n return pendingResponse.then((responses)=>responses[1]);\n } else {\n return doOriginalFetch(false, cacheReasonOverride);\n }\n });\n if (cacheSignal) {\n try {\n return await result;\n } finally{\n if (cacheSignal) {\n cacheSignal.endRead();\n }\n }\n }\n return result;\n };\n // Attach the necessary properties to the patched fetch function.\n // We don't use this to determine if the fetch function has been patched,\n // but for external consumers to determine if the fetch function has been\n // patched.\n patched.__nextPatched = true;\n patched.__nextGetStaticStore = ()=>workAsyncStorage;\n patched._nextOriginalFetch = originFetch;\n globalThis[NEXT_PATCH_SYMBOL] = true;\n // Assign the function name also as a name property, so that it's preserved\n // even when mangling is enabled.\n Object.defineProperty(patched, 'name', {\n value: 'fetch',\n writable: false\n });\n return patched;\n}\n// we patch fetch to collect cache information used for\n// determining if a page is static or not\nexport function patchFetch(options) {\n // If we've already patched fetch, we should not patch it again.\n if (isFetchPatched()) return;\n // Grab the original fetch function. We'll attach this so we can use it in\n // the patched fetch function.\n const original = createDedupeFetch(globalThis.fetch);\n // Set the global fetch to the patched fetch.\n globalThis.fetch = createPatchedFetcher(original, options);\n}\nlet currentTimeoutBoundary = null;\nfunction getTimeoutBoundary() {\n if (!currentTimeoutBoundary) {\n currentTimeoutBoundary = new Promise((r)=>{\n setTimeout(()=>{\n currentTimeoutBoundary = null;\n r();\n }, 0);\n });\n }\n return currentTimeoutBoundary;\n}\n\n//# sourceMappingURL=patch-fetch.js.map","import { InvariantError } from '../../shared/lib/invariant-error';\nimport { createPromiseWithResolvers } from '../../shared/lib/promise-with-resolvers';\nexport var RenderStage = /*#__PURE__*/ function(RenderStage) {\n RenderStage[RenderStage[\"Before\"] = 1] = \"Before\";\n RenderStage[RenderStage[\"Static\"] = 2] = \"Static\";\n RenderStage[RenderStage[\"Runtime\"] = 3] = \"Runtime\";\n RenderStage[RenderStage[\"Dynamic\"] = 4] = \"Dynamic\";\n RenderStage[RenderStage[\"Abandoned\"] = 5] = \"Abandoned\";\n return RenderStage;\n}({});\nexport class StagedRenderingController {\n constructor(abortSignal = null, hasRuntimePrefetch){\n this.abortSignal = abortSignal;\n this.hasRuntimePrefetch = hasRuntimePrefetch;\n this.currentStage = 1;\n this.staticInterruptReason = null;\n this.runtimeInterruptReason = null;\n this.staticStageEndTime = Infinity;\n this.runtimeStageEndTime = Infinity;\n this.runtimeStageListeners = [];\n this.dynamicStageListeners = [];\n this.runtimeStagePromise = createPromiseWithResolvers();\n this.dynamicStagePromise = createPromiseWithResolvers();\n this.mayAbandon = false;\n if (abortSignal) {\n abortSignal.addEventListener('abort', ()=>{\n const { reason } = abortSignal;\n if (this.currentStage < 3) {\n this.runtimeStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections\n ;\n this.runtimeStagePromise.reject(reason);\n }\n if (this.currentStage < 4 || this.currentStage === 5) {\n this.dynamicStagePromise.promise.catch(ignoreReject) // avoid unhandled rejections\n ;\n this.dynamicStagePromise.reject(reason);\n }\n }, {\n once: true\n });\n this.mayAbandon = true;\n }\n }\n onStage(stage, callback) {\n if (this.currentStage >= stage) {\n callback();\n } else if (stage === 3) {\n this.runtimeStageListeners.push(callback);\n } else if (stage === 4) {\n this.dynamicStageListeners.push(callback);\n } else {\n // This should never happen\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n canSyncInterrupt() {\n // If we haven't started the render yet, it can't be interrupted.\n if (this.currentStage === 1) {\n return false;\n }\n const boundaryStage = this.hasRuntimePrefetch ? 4 : 3;\n return this.currentStage < boundaryStage;\n }\n syncInterruptCurrentStageWithReason(reason) {\n if (this.currentStage === 1) {\n return;\n }\n // If Sync IO occurs during the initial (abandonable) render, we'll retry it,\n // so we want a slightly different flow.\n // See the implementation of `abandonRenderImpl` for more explanation.\n if (this.mayAbandon) {\n return this.abandonRenderImpl();\n }\n // If we're in the final render, we cannot abandon it. We need to advance to the Dynamic stage\n // and capture the interruption reason.\n switch(this.currentStage){\n case 2:\n {\n this.staticInterruptReason = reason;\n this.advanceStage(4);\n return;\n }\n case 3:\n {\n // We only error for Sync IO in the runtime stage if the route\n // is configured to use runtime prefetching.\n // We do this to reflect the fact that during a runtime prefetch,\n // Sync IO aborts aborts the render.\n // Note that `canSyncInterrupt` should prevent us from getting here at all\n // if runtime prefetching isn't enabled.\n if (this.hasRuntimePrefetch) {\n this.runtimeInterruptReason = reason;\n this.advanceStage(4);\n }\n return;\n }\n case 4:\n case 5:\n default:\n }\n }\n getStaticInterruptReason() {\n return this.staticInterruptReason;\n }\n getRuntimeInterruptReason() {\n return this.runtimeInterruptReason;\n }\n getStaticStageEndTime() {\n return this.staticStageEndTime;\n }\n getRuntimeStageEndTime() {\n return this.runtimeStageEndTime;\n }\n abandonRender() {\n if (!this.mayAbandon) {\n throw Object.defineProperty(new InvariantError('`abandonRender` called on a stage controller that cannot be abandoned.'), \"__NEXT_ERROR_CODE\", {\n value: \"E938\",\n enumerable: false,\n configurable: true\n });\n }\n this.abandonRenderImpl();\n }\n abandonRenderImpl() {\n // In staged rendering, only the initial render is abandonable.\n // We can abandon the initial render if\n // 1. We notice a cache miss, and need to wait for caches to fill\n // 2. A sync IO error occurs, and the render should be interrupted\n // (this might be a lazy intitialization of a module,\n // so we still want to restart in this case and see if it still occurs)\n // In either case, we'll be doing another render after this one,\n // so we only want to unblock the Runtime stage, not Dynamic, because\n // unblocking the dynamic stage would likely lead to wasted (uncached) IO.\n const { currentStage } = this;\n switch(currentStage){\n case 2:\n {\n this.currentStage = 5;\n this.resolveRuntimeStage();\n return;\n }\n case 3:\n {\n this.currentStage = 5;\n return;\n }\n case 4:\n case 1:\n case 5:\n break;\n default:\n {\n currentStage;\n }\n }\n }\n advanceStage(stage) {\n // If we're already at the target stage or beyond, do nothing.\n // (this can happen e.g. if sync IO advanced us to the dynamic stage)\n if (stage <= this.currentStage) {\n return;\n }\n let currentStage = this.currentStage;\n this.currentStage = stage;\n if (currentStage < 3 && stage >= 3) {\n this.staticStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveRuntimeStage();\n }\n if (currentStage < 4 && stage >= 4) {\n this.runtimeStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveDynamicStage();\n return;\n }\n }\n /** Fire the `onStage` listeners for the runtime stage and unblock any promises waiting for it. */ resolveRuntimeStage() {\n const runtimeListeners = this.runtimeStageListeners;\n for(let i = 0; i < runtimeListeners.length; i++){\n runtimeListeners[i]();\n }\n runtimeListeners.length = 0;\n this.runtimeStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the dynamic stage and unblock any promises waiting for it. */ resolveDynamicStage() {\n const dynamicListeners = this.dynamicStageListeners;\n for(let i = 0; i < dynamicListeners.length; i++){\n dynamicListeners[i]();\n }\n dynamicListeners.length = 0;\n this.dynamicStagePromise.resolve();\n }\n getStagePromise(stage) {\n switch(stage){\n case 3:\n {\n return this.runtimeStagePromise.promise;\n }\n case 4:\n {\n return this.dynamicStagePromise.promise;\n }\n default:\n {\n stage;\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n waitForStage(stage) {\n return this.getStagePromise(stage);\n }\n delayUntilStage(stage, displayName, resolvedValue) {\n const ioTriggerPromise = this.getStagePromise(stage);\n const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);\n // Analogously to `makeHangingPromise`, we might reject this promise if the signal is invoked.\n // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it).\n // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning.\n if (this.abortSignal) {\n promise.catch(ignoreReject);\n }\n return promise;\n }\n}\nfunction ignoreReject() {}\n// TODO(restart-on-cache-miss): the layering of `delayUntilStage`,\n// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise`\n// is confusing, we should clean it up.\nfunction makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {\n // If we create a `new Promise` and give it a displayName\n // (with no userspace code above us in the stack)\n // React Devtools will use it as the IO cause when determining \"suspended by\".\n // In particular, it should shadow any inner IO that resolved/rejected the promise\n // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage)\n const promise = new Promise((resolve, reject)=>{\n ioTrigger.then(resolve.bind(null, resolvedValue), reject);\n });\n if (displayName !== undefined) {\n // @ts-expect-error\n promise.displayName = displayName;\n }\n return promise;\n}\n\n//# sourceMappingURL=staged-rendering.js.map","// TODO: isWellKnownError -> isNextInternalError\n// isReactLargeShellError -> isWarning\nexport function isReactLargeShellError(error) {\n return typeof error === 'object' && error !== null && 'message' in error && typeof error.message === 'string' && error.message.startsWith('This rendered a large document (>');\n}\n\n//# sourceMappingURL=react-large-shell-error.js.map","import { getDigestForWellKnownError } from './create-error-handler';\nimport { isReactLargeShellError } from './react-large-shell-error';\nexport var Phase = /*#__PURE__*/ function(Phase) {\n Phase[\"ProspectiveRender\"] = \"the prospective render\";\n Phase[\"SegmentCollection\"] = \"segment collection\";\n return Phase;\n}({});\nexport function printDebugThrownValueForProspectiveRender(thrownValue, route, phase) {\n // We don't need to print well-known Next.js errors.\n if (getDigestForWellKnownError(thrownValue)) {\n return;\n }\n if (isReactLargeShellError(thrownValue)) {\n // TODO: Aggregate\n console.error(thrownValue);\n return undefined;\n }\n let message;\n if (typeof thrownValue === 'object' && thrownValue !== null && typeof thrownValue.message === 'string') {\n message = thrownValue.message;\n if (typeof thrownValue.stack === 'string') {\n const originalErrorStack = thrownValue.stack;\n const stackStart = originalErrorStack.indexOf('\\n');\n if (stackStart > -1) {\n const error = Object.defineProperty(new Error(`Route ${route} errored during ${phase}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled.\n \nOriginal Error: ${message}`), \"__NEXT_ERROR_CODE\", {\n value: \"E949\",\n enumerable: false,\n configurable: true\n });\n error.stack = 'Error: ' + error.message + originalErrorStack.slice(stackStart);\n console.error(error);\n return;\n }\n }\n } else if (typeof thrownValue === 'string') {\n message = thrownValue;\n }\n if (message) {\n console.error(`Route ${route} errored during ${phase}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. No stack was provided.\n \nOriginal Message: ${message}`);\n return;\n }\n console.error(`Route ${route} errored during ${phase}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. The thrown value is logged just following this message`);\n console.error(thrownValue);\n return;\n}\n\n//# sourceMappingURL=prospective-render-utils.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React from 'react';\nimport { MetaFilter } from './meta';\nfunction AlternateLink({ descriptor, ...props }) {\n if (!descriptor.url) return null;\n return /*#__PURE__*/ _jsx(\"link\", {\n ...props,\n ...descriptor.title && {\n title: descriptor.title\n },\n href: descriptor.url.toString()\n });\n}\nexport function AlternatesMetadata({ alternates }) {\n if (!alternates) return null;\n const { canonical, languages, media, types } = alternates;\n return MetaFilter([\n canonical ? AlternateLink({\n rel: 'canonical',\n descriptor: canonical\n }) : null,\n languages ? Object.entries(languages).flatMap(([locale, descriptors])=>descriptors == null ? void 0 : descriptors.map((descriptor)=>AlternateLink({\n rel: 'alternate',\n hrefLang: locale,\n descriptor\n }))) : null,\n media ? Object.entries(media).flatMap(([mediaName, descriptors])=>descriptors == null ? void 0 : descriptors.map((descriptor)=>AlternateLink({\n rel: 'alternate',\n media: mediaName,\n descriptor\n }))) : null,\n types ? Object.entries(types).flatMap(([type, descriptors])=>descriptors == null ? void 0 : descriptors.map((descriptor)=>AlternateLink({\n rel: 'alternate',\n type,\n descriptor\n }))) : null\n ]);\n}\n\n//# sourceMappingURL=alternate.js.map","import { resolveAsArrayOrUndefined } from '../generate/utils';\nimport { isStringOrURL } from './resolve-url';\nimport { IconKeys } from '../constants';\nexport function resolveIcon(icon) {\n if (isStringOrURL(icon)) return {\n url: icon\n };\n else if (Array.isArray(icon)) return icon;\n return icon;\n}\nexport const resolveIcons = (icons)=>{\n if (!icons) {\n return null;\n }\n const resolved = {\n icon: [],\n apple: []\n };\n if (Array.isArray(icons)) {\n resolved.icon = icons.map(resolveIcon).filter(Boolean);\n } else if (isStringOrURL(icons)) {\n resolved.icon = [\n resolveIcon(icons)\n ];\n } else {\n for (const key of IconKeys){\n const values = resolveAsArrayOrUndefined(icons[key]);\n if (values) resolved[key] = values.map(resolveIcon);\n }\n }\n return resolved;\n};\n\n//# sourceMappingURL=resolve-icons.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React from 'react';\nimport { nonNullable } from '../../non-nullable';\nexport function Meta({ name, property, content, media }) {\n if (typeof content !== 'undefined' && content !== null && content !== '') {\n return /*#__PURE__*/ _jsx(\"meta\", {\n ...name ? {\n name\n } : {\n property\n },\n ...media ? {\n media\n } : undefined,\n content: typeof content === 'string' ? content : content.toString()\n });\n }\n return null;\n}\nexport function MetaFilter(items) {\n const acc = [];\n for (const item of items){\n if (Array.isArray(item)) {\n acc.push(...item.filter(nonNullable));\n } else if (nonNullable(item)) {\n acc.push(item);\n }\n }\n return acc;\n}\nfunction camelToSnake(camelCaseStr) {\n return camelCaseStr.replace(/([A-Z])/g, function(match) {\n return '_' + match.toLowerCase();\n });\n}\nconst aliasPropPrefixes = new Set([\n 'og:image',\n 'twitter:image',\n 'og:video',\n 'og:audio'\n]);\nfunction getMetaKey(prefix, key) {\n // Use `twitter:image` and `og:image` instead of `twitter:image:url` and `og:image:url`\n // to be more compatible as it's a more common format.\n // `og:video` & `og:audio` do not have a `:url` suffix alias\n if (aliasPropPrefixes.has(prefix) && key === 'url') {\n return prefix;\n }\n if (prefix.startsWith('og:') || prefix.startsWith('twitter:')) {\n key = camelToSnake(key);\n }\n return prefix + ':' + key;\n}\nfunction ExtendMeta({ content, namePrefix, propertyPrefix }) {\n if (!content) return null;\n return MetaFilter(Object.entries(content).map(([k, v])=>{\n return typeof v === 'undefined' ? null : Meta({\n ...propertyPrefix && {\n property: getMetaKey(propertyPrefix, k)\n },\n ...namePrefix && {\n name: getMetaKey(namePrefix, k)\n },\n content: typeof v === 'string' ? v : v == null ? void 0 : v.toString()\n });\n }));\n}\nexport function MultiMeta({ propertyPrefix, namePrefix, contents }) {\n if (typeof contents === 'undefined' || contents === null) {\n return null;\n }\n return MetaFilter(contents.map((content)=>{\n if (typeof content === 'string' || typeof content === 'number' || content instanceof URL) {\n return Meta({\n ...propertyPrefix ? {\n property: propertyPrefix\n } : {\n name: namePrefix\n },\n content\n });\n } else {\n return ExtendMeta({\n namePrefix,\n propertyPrefix,\n content\n });\n }\n }));\n}\n\n//# sourceMappingURL=meta.js.map","import { resolveArray, resolveAsArrayOrUndefined } from '../generate/utils';\nimport { getSocialImageMetadataBaseFallback, isStringOrURL, resolveUrl, resolveAbsoluteUrlWithPathname } from './resolve-url';\nimport { resolveTitle } from './resolve-title';\nimport { isFullStringUrl } from '../../url';\nimport { warnOnce } from '../../../build/output/log';\nconst OgTypeFields = {\n article: [\n 'authors',\n 'tags'\n ],\n song: [\n 'albums',\n 'musicians'\n ],\n playlist: [\n 'albums',\n 'musicians'\n ],\n radio: [\n 'creators'\n ],\n video: [\n 'actors',\n 'directors',\n 'writers',\n 'tags'\n ],\n basic: [\n 'emails',\n 'phoneNumbers',\n 'faxNumbers',\n 'alternateLocale',\n 'audio',\n 'videos'\n ]\n};\nfunction resolveAndValidateImage(item, metadataBase, isStaticMetadataRouteFile) {\n if (!item) return undefined;\n const isItemUrl = isStringOrURL(item);\n const inputUrl = isItemUrl ? item : item.url;\n if (!inputUrl) return undefined;\n // process.env.VERCEL is set to \"1\" when System Environment Variables are\n // exposed. When exposed, validation is not necessary since we are falling back to\n // process.env.VERCEL_PROJECT_PRODUCTION_URL, process.env.VERCEL_BRANCH_URL, or\n // process.env.VERCEL_URL for the `metadataBase`. process.env.VERCEL is undefined\n // when System Environment Variables are not exposed. When not exposed, we cannot\n // detect in the build environment if the deployment is a Vercel deployment or not.\n //\n // x-ref: https://vercel.com/docs/projects/environment-variables/system-environment-variables#system-environment-variables\n const isUsingVercelSystemEnvironmentVariables = Boolean(process.env.VERCEL);\n const isRelativeUrl = typeof inputUrl === 'string' && !isFullStringUrl(inputUrl);\n // When no explicit metadataBase is specified by the user, we'll override it with the fallback metadata\n // under the following conditions:\n // - The provided URL is relative (ie ./og-image).\n // - The image is statically generated by Next.js (such as the special `opengraph-image` route)\n // In both cases, we want to ensure that across all environments, the ogImage is a fully qualified URL.\n // In the `opengraph-image` case, since the user isn't explicitly passing a relative path, this ensures\n // the ogImage will be properly discovered across different environments without the user needing to\n // have a bunch of `process.env` checks when defining their `metadataBase`.\n if (isRelativeUrl && (!metadataBase || isStaticMetadataRouteFile)) {\n const fallbackMetadataBase = getSocialImageMetadataBaseFallback(metadataBase);\n // When not using Vercel environment variables for URL injection, we aren't able to determine\n // a fallback value for `metadataBase`. For self-hosted setups, we want to warn\n // about this since the only fallback we'll be able to generate is `localhost`.\n // In development, we'll only warn for relative metadata that isn't part of the static\n // metadata conventions (eg `opengraph-image`), as otherwise it's currently very noisy\n // for common cases. Eventually we should remove this warning all together in favor of\n // devtools.\n const shouldWarn = !isUsingVercelSystemEnvironmentVariables && !metadataBase && (process.env.NODE_ENV === 'production' || !isStaticMetadataRouteFile);\n if (shouldWarn) {\n warnOnce(`metadataBase property in metadata export is not set for resolving social open graph or twitter images, using \"${fallbackMetadataBase.origin}\". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase`);\n }\n metadataBase = fallbackMetadataBase;\n }\n return isItemUrl ? {\n url: resolveUrl(inputUrl, metadataBase)\n } : {\n ...item,\n // Update image descriptor url\n url: resolveUrl(inputUrl, metadataBase)\n };\n}\nexport function resolveImages(images, metadataBase, isStaticMetadataRouteFile) {\n const resolvedImages = resolveAsArrayOrUndefined(images);\n if (!resolvedImages) return resolvedImages;\n const nonNullableImages = [];\n for (const item of resolvedImages){\n const resolvedItem = resolveAndValidateImage(item, metadataBase, isStaticMetadataRouteFile);\n if (!resolvedItem) continue;\n nonNullableImages.push(resolvedItem);\n }\n return nonNullableImages;\n}\nconst ogTypeToFields = {\n article: OgTypeFields.article,\n book: OgTypeFields.article,\n 'music.song': OgTypeFields.song,\n 'music.album': OgTypeFields.song,\n 'music.playlist': OgTypeFields.playlist,\n 'music.radio_station': OgTypeFields.radio,\n 'video.movie': OgTypeFields.video,\n 'video.episode': OgTypeFields.video\n};\nfunction getFieldsByOgType(ogType) {\n if (!ogType || !(ogType in ogTypeToFields)) return OgTypeFields.basic;\n return ogTypeToFields[ogType].concat(OgTypeFields.basic);\n}\nexport const resolveOpenGraph = async (openGraph, metadataBase, pathname, metadataContext, titleTemplate)=>{\n if (!openGraph) return null;\n function resolveProps(target, og) {\n const ogType = og && 'type' in og ? og.type : undefined;\n const keys = getFieldsByOgType(ogType);\n for (const k of keys){\n const key = k;\n if (key in og && key !== 'url') {\n const value = og[key];\n target[key] = value ? resolveArray(value) : null;\n }\n }\n target.images = resolveImages(og.images, metadataBase, metadataContext.isStaticMetadataRouteFile);\n }\n const resolved = {\n ...openGraph,\n title: resolveTitle(openGraph.title, titleTemplate)\n };\n resolveProps(resolved, openGraph);\n resolved.url = openGraph.url ? resolveAbsoluteUrlWithPathname(openGraph.url, metadataBase, await pathname, metadataContext) : null;\n return resolved;\n};\nconst TwitterBasicInfoKeys = [\n 'site',\n 'siteId',\n 'creator',\n 'creatorId',\n 'description'\n];\nexport const resolveTwitter = (twitter, metadataBase, metadataContext, titleTemplate)=>{\n var _resolved_images;\n if (!twitter) return null;\n let card = 'card' in twitter ? twitter.card : undefined;\n const resolved = {\n ...twitter,\n title: resolveTitle(twitter.title, titleTemplate)\n };\n for (const infoKey of TwitterBasicInfoKeys){\n resolved[infoKey] = twitter[infoKey] || null;\n }\n resolved.images = resolveImages(twitter.images, metadataBase, metadataContext.isStaticMetadataRouteFile);\n card = card || (((_resolved_images = resolved.images) == null ? void 0 : _resolved_images.length) ? 'summary_large_image' : 'summary');\n resolved.card = card;\n if ('card' in resolved) {\n switch(resolved.card){\n case 'player':\n {\n resolved.players = resolveAsArrayOrUndefined(resolved.players) || [];\n break;\n }\n case 'app':\n {\n resolved.app = resolved.app || {};\n break;\n }\n case 'summary':\n case 'summary_large_image':\n break;\n default:\n resolved;\n }\n }\n return resolved;\n};\n\n//# sourceMappingURL=resolve-opengraph.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Meta, MetaFilter, MultiMeta } from './meta';\nimport { ViewportMetaKeys } from '../constants';\nimport { getOrigin } from './utils';\n// convert viewport object to string for viewport meta tag\nfunction resolveViewportLayout(viewport) {\n let resolved = null;\n if (viewport && typeof viewport === 'object') {\n resolved = '';\n for(const viewportKey_ in ViewportMetaKeys){\n const viewportKey = viewportKey_;\n if (viewportKey in viewport) {\n let value = viewport[viewportKey];\n if (typeof value === 'boolean') {\n value = value ? 'yes' : 'no';\n } else if (!value && viewportKey === 'initialScale') {\n value = undefined;\n }\n if (value) {\n if (resolved) resolved += ', ';\n resolved += `${ViewportMetaKeys[viewportKey]}=${value}`;\n }\n }\n }\n }\n return resolved;\n}\nexport function ViewportMeta({ viewport }) {\n return MetaFilter([\n /*#__PURE__*/ _jsx(\"meta\", {\n charSet: \"utf-8\"\n }),\n Meta({\n name: 'viewport',\n content: resolveViewportLayout(viewport)\n }),\n ...viewport.themeColor ? viewport.themeColor.map((themeColor)=>Meta({\n name: 'theme-color',\n content: themeColor.color,\n media: themeColor.media\n })) : [],\n Meta({\n name: 'color-scheme',\n content: viewport.colorScheme\n })\n ]);\n}\nexport function BasicMeta({ metadata }) {\n var _metadata_keywords, _metadata_robots, _metadata_robots1;\n const manifestOrigin = metadata.manifest ? getOrigin(metadata.manifest) : undefined;\n return MetaFilter([\n metadata.title !== null && metadata.title.absolute ? /*#__PURE__*/ _jsx(\"title\", {\n children: metadata.title.absolute\n }) : null,\n Meta({\n name: 'description',\n content: metadata.description\n }),\n Meta({\n name: 'application-name',\n content: metadata.applicationName\n }),\n ...metadata.authors ? metadata.authors.map((author)=>[\n author.url ? /*#__PURE__*/ _jsx(\"link\", {\n rel: \"author\",\n href: author.url.toString()\n }) : null,\n Meta({\n name: 'author',\n content: author.name\n })\n ]) : [],\n metadata.manifest ? /*#__PURE__*/ _jsx(\"link\", {\n rel: \"manifest\",\n href: metadata.manifest.toString(),\n // If it's same origin, and it's a preview deployment,\n // including credentials for manifest request.\n crossOrigin: !manifestOrigin && process.env.VERCEL_ENV === 'preview' ? 'use-credentials' : undefined\n }) : null,\n Meta({\n name: 'generator',\n content: metadata.generator\n }),\n Meta({\n name: 'keywords',\n content: (_metadata_keywords = metadata.keywords) == null ? void 0 : _metadata_keywords.join(',')\n }),\n Meta({\n name: 'referrer',\n content: metadata.referrer\n }),\n Meta({\n name: 'creator',\n content: metadata.creator\n }),\n Meta({\n name: 'publisher',\n content: metadata.publisher\n }),\n Meta({\n name: 'robots',\n content: (_metadata_robots = metadata.robots) == null ? void 0 : _metadata_robots.basic\n }),\n Meta({\n name: 'googlebot',\n content: (_metadata_robots1 = metadata.robots) == null ? void 0 : _metadata_robots1.googleBot\n }),\n Meta({\n name: 'abstract',\n content: metadata.abstract\n }),\n ...metadata.archives ? metadata.archives.map((archive)=>/*#__PURE__*/ _jsx(\"link\", {\n rel: \"archives\",\n href: archive\n })) : [],\n ...metadata.assets ? metadata.assets.map((asset)=>/*#__PURE__*/ _jsx(\"link\", {\n rel: \"assets\",\n href: asset\n })) : [],\n ...metadata.bookmarks ? metadata.bookmarks.map((bookmark)=>/*#__PURE__*/ _jsx(\"link\", {\n rel: \"bookmarks\",\n href: bookmark\n })) : [],\n ...metadata.pagination ? [\n metadata.pagination.previous ? /*#__PURE__*/ _jsx(\"link\", {\n rel: \"prev\",\n href: metadata.pagination.previous\n }) : null,\n metadata.pagination.next ? /*#__PURE__*/ _jsx(\"link\", {\n rel: \"next\",\n href: metadata.pagination.next\n }) : null\n ] : [],\n Meta({\n name: 'category',\n content: metadata.category\n }),\n Meta({\n name: 'classification',\n content: metadata.classification\n }),\n ...metadata.other ? Object.entries(metadata.other).map(([name, content])=>{\n if (Array.isArray(content)) {\n return content.map((contentItem)=>Meta({\n name,\n content: contentItem\n }));\n } else {\n return Meta({\n name,\n content\n });\n }\n }) : []\n ]);\n}\nexport function ItunesMeta({ itunes }) {\n if (!itunes) return null;\n const { appId, appArgument } = itunes;\n let content = `app-id=${appId}`;\n if (appArgument) {\n content += `, app-argument=${appArgument}`;\n }\n return /*#__PURE__*/ _jsx(\"meta\", {\n name: \"apple-itunes-app\",\n content: content\n });\n}\nexport function FacebookMeta({ facebook }) {\n if (!facebook) return null;\n const { appId, admins } = facebook;\n return MetaFilter([\n appId ? /*#__PURE__*/ _jsx(\"meta\", {\n property: \"fb:app_id\",\n content: appId\n }) : null,\n ...admins ? admins.map((admin)=>/*#__PURE__*/ _jsx(\"meta\", {\n property: \"fb:admins\",\n content: admin\n })) : []\n ]);\n}\nexport function PinterestMeta({ pinterest }) {\n if (!pinterest || pinterest.richPin === undefined) return null;\n const { richPin } = pinterest;\n return /*#__PURE__*/ _jsx(\"meta\", {\n property: \"pinterest-rich-pin\",\n content: richPin.toString()\n });\n}\nconst formatDetectionKeys = [\n 'telephone',\n 'date',\n 'address',\n 'email',\n 'url'\n];\nexport function FormatDetectionMeta({ formatDetection }) {\n if (!formatDetection) return null;\n let content = '';\n for (const key of formatDetectionKeys){\n if (formatDetection[key] === false) {\n if (content) content += ', ';\n content += `${key}=no`;\n }\n }\n return content ? /*#__PURE__*/ _jsx(\"meta\", {\n name: \"format-detection\",\n content: content\n }) : null;\n}\nexport function AppleWebAppMeta({ appleWebApp }) {\n if (!appleWebApp) return null;\n const { capable, title, startupImage, statusBarStyle } = appleWebApp;\n return MetaFilter([\n capable ? Meta({\n name: 'mobile-web-app-capable',\n content: 'yes'\n }) : null,\n Meta({\n name: 'apple-mobile-web-app-title',\n content: title\n }),\n startupImage ? startupImage.map((image)=>/*#__PURE__*/ _jsx(\"link\", {\n href: image.url,\n media: image.media,\n rel: \"apple-touch-startup-image\"\n })) : null,\n statusBarStyle ? Meta({\n name: 'apple-mobile-web-app-status-bar-style',\n content: statusBarStyle\n }) : null\n ]);\n}\nexport function VerificationMeta({ verification }) {\n if (!verification) return null;\n return MetaFilter([\n MultiMeta({\n namePrefix: 'google-site-verification',\n contents: verification.google\n }),\n MultiMeta({\n namePrefix: 'y_key',\n contents: verification.yahoo\n }),\n MultiMeta({\n namePrefix: 'yandex-verification',\n contents: verification.yandex\n }),\n MultiMeta({\n namePrefix: 'me',\n contents: verification.me\n }),\n ...verification.other ? Object.entries(verification.other).map(([key, value])=>MultiMeta({\n namePrefix: key,\n contents: value\n })) : []\n ]);\n}\n\n//# sourceMappingURL=basic.js.map","import { delayUntilRuntimeStage, postponeWithTracking } from '../app-render/dynamic-rendering';\nimport { throwInvariantForMissingStore, workUnitAsyncStorage } from '../app-render/work-unit-async-storage.external';\nimport { makeHangingPromise } from '../dynamic-rendering-utils';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nexport function createServerPathnameForMetadata(underlyingPathname, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n {\n return createPrerenderPathname(underlyingPathname, workStore, workUnitStore);\n }\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerPathnameForMetadata should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E740\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return delayUntilRuntimeStage(workUnitStore, createRenderPathname(underlyingPathname));\n case 'request':\n return createRenderPathname(underlyingPathname);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nfunction createPrerenderPathname(underlyingPathname, workStore, prerenderStore) {\n switch(prerenderStore.type){\n case 'prerender-client':\n throw Object.defineProperty(new InvariantError('createPrerenderPathname was called inside a client component scope.'), \"__NEXT_ERROR_CODE\", {\n value: \"E694\",\n enumerable: false,\n configurable: true\n });\n case 'prerender':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`pathname`');\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return makeErroringPathname(workStore, prerenderStore.dynamicTracking);\n }\n break;\n }\n case 'prerender-legacy':\n break;\n default:\n prerenderStore;\n }\n // We don't have any fallback params so we have an entirely static safe params object\n return Promise.resolve(underlyingPathname);\n}\nfunction makeErroringPathname(workStore, dynamicTracking) {\n let reject = null;\n const promise = new Promise((_, re)=>{\n reject = re;\n });\n const originalThen = promise.then.bind(promise);\n // We instrument .then so that we can generate a tracking event only if you actually\n // await this promise, not just that it is created.\n promise.then = (onfulfilled, onrejected)=>{\n if (reject) {\n try {\n postponeWithTracking(workStore.route, 'metadata relative url resolving', dynamicTracking);\n } catch (error) {\n reject(error);\n reject = null;\n }\n }\n return originalThen(onfulfilled, onrejected);\n };\n // We wrap in a noop proxy to trick the runtime into thinking it\n // isn't a native promise (it's not really). This is so that awaiting\n // the promise will call the `then` property triggering the lazy postpone\n return new Proxy(promise, {});\n}\nfunction createRenderPathname(underlyingPathname) {\n return Promise.resolve(underlyingPathname);\n}\n\n//# sourceMappingURL=pathname.js.map","/**\n * Calls the given function only when the returned promise-like object is\n * awaited. Afterwards, it provides the resolved value synchronously as `value`\n * property.\n */ export function createLazyResult(fn) {\n let pendingResult;\n const result = {\n then (onfulfilled, onrejected) {\n if (!pendingResult) {\n pendingResult = Promise.resolve(fn());\n }\n pendingResult.then((value)=>{\n result.value = value;\n }).catch(()=>{\n // The externally awaited result will be rejected via `onrejected`. We\n // don't need to handle it here. But we do want to avoid an unhandled\n // rejection.\n });\n return pendingResult.then(onfulfilled, onrejected);\n }\n };\n return result;\n}\nexport function isResolvedLazyResult(result) {\n return result.hasOwnProperty('value');\n}\n\n//# sourceMappingURL=lazy-result.js.map","/**\n * Based on https://github.com/facebook/react/blob/d4e78c42a94be027b4dc7ed2659a5fddfbf9bd4e/packages/react/src/ReactFetch.js\n */ import * as React from 'react';\nimport { cloneResponse } from './clone-response';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nconst simpleCacheKey = '[\"GET\",[],null,\"follow\",null,null,null,null]' // generateCacheKey(new Request('https://blank'));\n;\n// Headers that should not affect deduplication\n// traceparent and tracestate are used for distributed tracing and should not affect cache keys\nconst headersToExcludeInCacheKey = new Set([\n 'traceparent',\n 'tracestate'\n]);\nfunction generateCacheKey(request) {\n // We pick the fields that goes into the key used to dedupe requests.\n // We don't include the `cache` field, because we end up using whatever\n // caching resulted from the first request.\n // Notably we currently don't consider non-standard (or future) options.\n // This might not be safe. TODO: warn for non-standard extensions differing.\n // IF YOU CHANGE THIS UPDATE THE simpleCacheKey ABOVE.\n const filteredHeaders = Array.from(request.headers.entries()).filter(([key])=>!headersToExcludeInCacheKey.has(key.toLowerCase()));\n return JSON.stringify([\n request.method,\n filteredHeaders,\n request.mode,\n request.redirect,\n request.credentials,\n request.referrer,\n request.referrerPolicy,\n request.integrity\n ]);\n}\nexport function createDedupeFetch(originalFetch) {\n const getCacheEntries = React.cache(// eslint-disable-next-line @typescript-eslint/no-unused-vars -- url is the cache key\n (url)=>[]);\n return function dedupeFetch(resource, options) {\n if (options && options.signal) {\n // If we're passed a signal, then we assume that\n // someone else controls the lifetime of this object and opts out of\n // caching. It's effectively the opt-out mechanism.\n // Ideally we should be able to check this on the Request but\n // it always gets initialized with its own signal so we don't\n // know if it's supposed to override - unless we also override the\n // Request constructor.\n return originalFetch(resource, options);\n }\n // Normalize the Request\n let url;\n let cacheKey;\n if (typeof resource === 'string' && !options) {\n // Fast path.\n cacheKey = simpleCacheKey;\n url = resource;\n } else {\n // Normalize the request.\n // if resource is not a string or a URL (its an instance of Request)\n // then do not instantiate a new Request but instead\n // reuse the request as to not disturb the body in the event it's a ReadableStream.\n const request = typeof resource === 'string' || resource instanceof URL ? new Request(resource, options) : resource;\n if (request.method !== 'GET' && request.method !== 'HEAD' || request.keepalive) {\n // We currently don't dedupe requests that might have side-effects. Those\n // have to be explicitly cached. We assume that the request doesn't have a\n // body if it's GET or HEAD.\n // keepalive gets treated the same as if you passed a custom cache signal.\n return originalFetch(resource, options);\n }\n cacheKey = generateCacheKey(request);\n url = request.url;\n }\n const cacheEntries = getCacheEntries(url);\n for(let i = 0, j = cacheEntries.length; i < j; i += 1){\n const [key, promise] = cacheEntries[i];\n if (key === cacheKey) {\n return promise.then(()=>{\n const response = cacheEntries[i][2];\n if (!response) throw Object.defineProperty(new InvariantError('No cached response'), \"__NEXT_ERROR_CODE\", {\n value: \"E579\",\n enumerable: false,\n configurable: true\n });\n // We're cloning the response using this utility because there exists\n // a bug in the undici library around response cloning. See the\n // following pull request for more details:\n // https://github.com/vercel/next.js/pull/73274\n const [cloned1, cloned2] = cloneResponse(response);\n cacheEntries[i][2] = cloned2;\n return cloned1;\n });\n }\n }\n // We pass the original arguments here in case normalizing the Request\n // doesn't include all the options in this environment.\n const promise = originalFetch(resource, options);\n const entry = [\n cacheKey,\n promise,\n null\n ];\n cacheEntries.push(entry);\n return promise.then((response)=>{\n // We're cloning the response using this utility because there exists\n // a bug in the undici library around response cloning. See the\n // following pull request for more details:\n // https://github.com/vercel/next.js/pull/73274\n const [cloned1, cloned2] = cloneResponse(response);\n entry[2] = cloned2;\n return cloned1;\n });\n };\n}\n\n//# sourceMappingURL=dedupe-fetch.js.map","/*\n\nFiles in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader.\n\n*/ import * as React from 'react';\nfunction notImplemented() {\n throw Object.defineProperty(new Error('Taint can only be used with the taint flag.'), \"__NEXT_ERROR_CODE\", {\n value: \"E354\",\n enumerable: false,\n configurable: true\n });\n}\nexport const taintObjectReference = process.env.__NEXT_EXPERIMENTAL_REACT ? React.experimental_taintObjectReference : notImplemented;\nexport const taintUniqueValue = process.env.__NEXT_EXPERIMENTAL_REACT ? React.experimental_taintUniqueValue : notImplemented;\n\n//# sourceMappingURL=taint.js.map","import { isHTTPAccessFallbackError } from './http-access-fallback/http-access-fallback';\nimport { isRedirectError } from './redirect-error';\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */ export function isNextRouterError(error) {\n return isRedirectError(error) || isHTTPAccessFallbackError(error);\n}\n\n//# sourceMappingURL=is-next-router-error.js.map","import { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect';\nimport { throwToInterruptStaticGeneration, postponeWithTracking, delayUntilRuntimeStage } from '../app-render/dynamic-rendering';\nimport { workUnitAsyncStorage, throwInvariantForMissingStore } from '../app-render/work-unit-async-storage.external';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { describeStringPropertyAccess, wellKnownProperties } from '../../shared/lib/utils/reflect-utils';\nimport { makeDevtoolsIOAwarePromise, makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger';\nimport { dynamicAccessAsyncStorage } from '../app-render/dynamic-access-async-storage.external';\nimport { RenderStage } from '../app-render/staged-rendering';\nexport function createParamsFromClient(underlyingParams, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(underlyingParams, workStore, workUnitStore);\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createParamsFromClient should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E736\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createParamsFromClient should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E770\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams;\n return createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, workUnitStore);\n } else {\n return createRenderParamsInProd(underlyingParams);\n }\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport const createServerParamsForMetadata = createServerParamsForServerSegment;\n// routes always runs in RSC context so it is equivalent to a Server Page Component\nexport function createServerParamsForRoute(underlyingParams, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(underlyingParams, workStore, workUnitStore);\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerParamsForRoute should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E738\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return createRuntimePrerenderParams(underlyingParams, workUnitStore);\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams;\n return createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, workUnitStore);\n } else {\n return createRenderParamsInProd(underlyingParams);\n }\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createServerParamsForServerSegment(underlyingParams, workStore) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(underlyingParams, workStore, workUnitStore);\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerParamsForServerSegment should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E743\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return createRuntimePrerenderParams(underlyingParams, workUnitStore);\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const devFallbackParams = workUnitStore.devFallbackParams;\n return createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, workUnitStore);\n } else {\n return createRenderParamsInProd(underlyingParams);\n }\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createPrerenderParamsForClientSegment(underlyingParams) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Missing workStore in createPrerenderParamsForClientSegment'), \"__NEXT_ERROR_CODE\", {\n value: \"E773\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams) {\n for(let key in underlyingParams){\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, '`params`');\n }\n }\n }\n break;\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createPrerenderParamsForClientSegment should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E734\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'prerender-runtime':\n case 'request':\n break;\n default:\n workUnitStore;\n }\n }\n // We're prerendering in a mode that does not abort. We resolve the promise without\n // any tracking because we're just transporting a value from server to client where the tracking\n // will be applied.\n return Promise.resolve(underlyingParams);\n}\nfunction createStaticPrerenderParams(underlyingParams, workStore, prerenderStore) {\n switch(prerenderStore.type){\n case 'prerender':\n case 'prerender-client':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams) {\n for(const key in underlyingParams){\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingParams(underlyingParams, workStore, prerenderStore);\n }\n }\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams) {\n for(const key in underlyingParams){\n if (fallbackParams.has(key)) {\n return makeErroringParams(underlyingParams, fallbackParams, workStore, prerenderStore);\n }\n }\n }\n break;\n }\n case 'prerender-legacy':\n break;\n default:\n prerenderStore;\n }\n return makeUntrackedParams(underlyingParams);\n}\nfunction createRuntimePrerenderParams(underlyingParams, workUnitStore) {\n return delayUntilRuntimeStage(workUnitStore, makeUntrackedParams(underlyingParams));\n}\nfunction createRenderParamsInProd(underlyingParams) {\n return makeUntrackedParams(underlyingParams);\n}\nfunction createRenderParamsInDev(underlyingParams, devFallbackParams, workStore, requestStore) {\n let hasFallbackParams = false;\n if (devFallbackParams) {\n for(let key in underlyingParams){\n if (devFallbackParams.has(key)) {\n hasFallbackParams = true;\n break;\n }\n }\n }\n return makeDynamicallyTrackedParamsWithDevWarnings(underlyingParams, hasFallbackParams, workStore, requestStore);\n}\nconst CachedParams = new WeakMap();\nconst fallbackParamsProxyHandler = {\n get: function get(target, prop, receiver) {\n if (prop === 'then' || prop === 'catch' || prop === 'finally') {\n const originalMethod = ReflectAdapter.get(target, prop, receiver);\n return ({\n [prop]: (...args)=>{\n const store = dynamicAccessAsyncStorage.getStore();\n if (store) {\n store.abortController.abort(Object.defineProperty(new Error(`Accessed fallback \\`params\\` during prerendering.`), \"__NEXT_ERROR_CODE\", {\n value: \"E691\",\n enumerable: false,\n configurable: true\n }));\n }\n return new Proxy(originalMethod.apply(target, args), fallbackParamsProxyHandler);\n }\n })[prop];\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n};\nfunction makeHangingParams(underlyingParams, workStore, prerenderStore) {\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n const promise = new Proxy(makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`params`'), fallbackParamsProxyHandler);\n CachedParams.set(underlyingParams, promise);\n return promise;\n}\nfunction makeErroringParams(underlyingParams, fallbackParams, workStore, prerenderStore) {\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n const augmentedUnderlying = {\n ...underlyingParams\n };\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = Promise.resolve(augmentedUnderlying);\n CachedParams.set(underlyingParams, promise);\n Object.keys(underlyingParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n if (fallbackParams.has(prop)) {\n Object.defineProperty(augmentedUnderlying, prop, {\n get () {\n const expression = describeStringPropertyAccess('params', prop);\n // In most dynamic APIs we also throw if `dynamic = \"error\"` however\n // for params is only dynamic when we're generating a fallback shell\n // and even when `dynamic = \"error\"` we still support generating dynamic\n // fallback shells\n // TODO remove this comment when cacheComponents is the default since there\n // will be no `dynamic = \"error\"`\n if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(workStore.route, expression, prerenderStore.dynamicTracking);\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(expression, workStore, prerenderStore);\n }\n },\n enumerable: true\n });\n }\n }\n });\n return promise;\n}\nfunction makeUntrackedParams(underlyingParams) {\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n const promise = Promise.resolve(underlyingParams);\n CachedParams.set(underlyingParams, promise);\n return promise;\n}\nfunction makeDynamicallyTrackedParamsWithDevWarnings(underlyingParams, hasFallbackParams, workStore, requestStore) {\n if (requestStore.asyncApiPromises && hasFallbackParams) {\n // We wrap each instance of params in a `new Promise()`, because deduping\n // them across requests doesn't work anyway and this let us show each\n // await a different set of values. This is important when all awaits\n // are in third party which would otherwise track all the way to the\n // internal params.\n const sharedParamsParent = requestStore.asyncApiPromises.sharedParamsParent;\n const promise = new Promise((resolve, reject)=>{\n sharedParamsParent.then(()=>resolve(underlyingParams), reject);\n });\n // @ts-expect-error\n promise.displayName = 'params';\n return instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore);\n }\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = hasFallbackParams ? makeDevtoolsIOAwarePromise(underlyingParams, requestStore, RenderStage.Runtime) : Promise.resolve(underlyingParams);\n const proxiedPromise = instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore);\n CachedParams.set(underlyingParams, proxiedPromise);\n return proxiedPromise;\n}\nfunction instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore) {\n // Track which properties we should warn for.\n const proxiedProperties = new Set();\n Object.keys(underlyingParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop);\n }\n });\n return new Proxy(promise, {\n get (target, prop, receiver) {\n if (typeof prop === 'string') {\n if (// We are accessing a property that was proxied to the promise instance\n proxiedProperties.has(prop)) {\n const expression = describeStringPropertyAccess('params', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop);\n }\n return ReflectAdapter.set(target, prop, value, receiver);\n },\n ownKeys (target) {\n const expression = '`...params` or similar expression';\n warnForSyncAccess(workStore.route, expression);\n return Reflect.ownKeys(target);\n }\n });\n}\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(createParamsAccessError);\nfunction createParamsAccessError(route, expression) {\n const prefix = route ? `Route \"${route}\" ` : 'This route ';\n return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\\`params\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), \"__NEXT_ERROR_CODE\", {\n value: \"E834\",\n enumerable: false,\n configurable: true\n });\n}\n\n//# sourceMappingURL=params.js.map","/**\n * Extracts info about the server reference for the given server reference ID by\n * parsing the first byte of the hex-encoded ID.\n *\n * ```\n * Bit positions: [7] [6] [5] [4] [3] [2] [1] [0]\n * Bits: typeBit argMask restArgs\n * ```\n *\n * If the `typeBit` is `1` the server reference represents a `\"use cache\"`\n * function, otherwise a server action.\n *\n * The `argMask` encodes whether the function uses the argument at the\n * respective position.\n *\n * The `restArgs` bit indicates whether the function uses a rest parameter. It's\n * also set to 1 if the function has more than 6 args.\n *\n * @param id hex-encoded server reference ID\n */ export function extractInfoFromServerReferenceId(id) {\n const infoByte = parseInt(id.slice(0, 2), 16);\n const typeBit = infoByte >> 7 & 0x1;\n const argMask = infoByte >> 1 & 0x3f;\n const restArgs = infoByte & 0x1;\n const usedArgs = Array(6);\n for(let index = 0; index < 6; index++){\n const bitPosition = 5 - index;\n const bit = argMask >> bitPosition & 0x1;\n usedArgs[index] = bit === 1;\n }\n return {\n type: typeBit === 1 ? 'use-cache' : 'server-action',\n usedArgs: usedArgs,\n hasRestArgs: restArgs === 1\n };\n}\n/**\n * Creates a sparse array containing only the used arguments based on the\n * provided action info.\n */ export function omitUnusedArgs(args, info) {\n const filteredArgs = new Array(args.length);\n for(let index = 0; index < args.length; index++){\n if (index < 6 && info.usedArgs[index] || // This assumes that the server reference info byte has the restArgs bit\n // set to 1 if there are more than 6 args.\n index >= 6 && info.hasRestArgs) {\n filteredArgs[index] = args[index];\n }\n }\n return filteredArgs;\n}\n\n//# sourceMappingURL=server-reference-info.js.map","/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */ // Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react';\nimport { DynamicServerError } from '../../client/components/hooks-server-context';\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { getRuntimeStagePromise, throwForMissingRequestStore, workUnitAsyncStorage } from './work-unit-async-storage.external';\nimport { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { makeHangingPromise } from '../dynamic-rendering-utils';\nimport { METADATA_BOUNDARY_NAME, VIEWPORT_BOUNDARY_NAME, OUTLET_BOUNDARY_NAME, ROOT_LAYOUT_BOUNDARY_NAME } from '../../lib/framework/boundary-constants';\nimport { scheduleOnNextTick } from '../../lib/scheduler';\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nconst hasPostpone = typeof React.unstable_postpone === 'function';\nexport function createDynamicTrackingState(isDebugDynamicAccesses) {\n return {\n isDebugDynamicAccesses,\n dynamicAccesses: [],\n syncDynamicErrorWithStack: null\n };\n}\nexport function createDynamicValidationState() {\n return {\n hasSuspenseAboveBody: false,\n hasDynamicMetadata: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: []\n };\n}\nexport function getFirstDynamicReason(trackingState) {\n var _trackingState_dynamicAccesses_;\n return (_trackingState_dynamicAccesses_ = trackingState.dynamicAccesses[0]) == null ? void 0 : _trackingState_dynamicAccesses_.expression;\n}\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */ export function markCurrentScopeAsDynamic(store, workUnitStore, expression) {\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'request':\n break;\n default:\n workUnitStore;\n }\n }\n // If we're forcing dynamic rendering or we're forcing static rendering, we\n // don't need to do anything here because the entire page is already dynamic\n // or it's static and it should not throw or postpone here.\n if (store.forceDynamic || store.forceStatic) return;\n if (store.dynamicShouldError) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E553\",\n enumerable: false,\n configurable: true\n });\n }\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-ppr':\n return postponeWithTracking(store.route, expression, workUnitStore.dynamicTracking);\n case 'prerender-legacy':\n workUnitStore.revalidate = 0;\n // We aren't prerendering, but we are generating a static page. We need\n // to bail out of static generation.\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E550\",\n enumerable: false,\n configurable: true\n });\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n default:\n workUnitStore;\n }\n }\n}\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */ export function throwToInterruptStaticGeneration(expression, store, prerenderStore) {\n // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E558\",\n enumerable: false,\n configurable: true\n });\n prerenderStore.revalidate = 0;\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n}\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */ export function trackDynamicDataInDynamicRender(workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n break;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n default:\n workUnitStore;\n }\n}\nfunction abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore) {\n const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`;\n const error = createPrerenderInterruptedError(reason);\n prerenderStore.controller.abort(error);\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function abortOnSynchronousPlatformIOAccess(route, expression, errorWithStack, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n}\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */ export function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {\n const prerenderSignal = prerenderStore.controller.signal;\n if (prerenderSignal.aborted === false) {\n // TODO it would be better to move this aborted check into the callsite so we can avoid making\n // the error object when it isn't relevant to the aborting of the prerender however\n // since we need the throw semantics regardless of whether we abort it is easier to land\n // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n // to ideal implementation\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n }\n throw createPrerenderInterruptedError(`Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`);\n}\nexport function Postpone({ reason, route }) {\n const prerenderStore = workUnitAsyncStorage.getStore();\n const dynamicTracking = prerenderStore && prerenderStore.type === 'prerender-ppr' ? prerenderStore.dynamicTracking : null;\n postponeWithTracking(route, reason, dynamicTracking);\n}\nexport function postponeWithTracking(route, expression, dynamicTracking) {\n assertPostpone();\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n React.unstable_postpone(createPostponeReason(route, expression));\n}\nfunction createPostponeReason(route, expression) {\n return `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` + `React throws this special object to indicate where. It should not be caught by ` + `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;\n}\nexport function isDynamicPostpone(err) {\n if (typeof err === 'object' && err !== null && typeof err.message === 'string') {\n return isDynamicPostponeReason(err.message);\n }\n return false;\n}\nfunction isDynamicPostponeReason(reason) {\n return reason.includes('needs to bail out of prerendering at this point because it used') && reason.includes('Learn more: https://nextjs.org/docs/messages/ppr-caught-error');\n}\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n throw Object.defineProperty(new Error('Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'), \"__NEXT_ERROR_CODE\", {\n value: \"E296\",\n enumerable: false,\n configurable: true\n });\n}\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED';\nfunction createPrerenderInterruptedError(message) {\n const error = Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = NEXT_PRERENDER_INTERRUPTED;\n return error;\n}\nexport function isPrerenderInterruptedError(error) {\n return typeof error === 'object' && error !== null && error.digest === NEXT_PRERENDER_INTERRUPTED && 'name' in error && 'message' in error && error instanceof Error;\n}\nexport function accessedDynamicData(dynamicAccesses) {\n return dynamicAccesses.length > 0;\n}\nexport function consumeDynamicAccess(serverDynamic, clientDynamic) {\n // We mutate because we only call this once we are no longer writing\n // to the dynamicTrackingState and it's more efficient than creating a new\n // array.\n serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses);\n return serverDynamic.dynamicAccesses;\n}\nexport function formatDynamicAPIAccesses(dynamicAccesses) {\n return dynamicAccesses.filter((access)=>typeof access.stack === 'string' && access.stack.length > 0).map(({ expression, stack })=>{\n stack = stack.split('\\n')// Remove the \"Error: \" prefix from the first line of the stack trace as\n // well as the first 4 lines of the stack trace which is the distance\n // from the user code and the `new Error().stack` call.\n .slice(4).filter((line)=>{\n // Exclude Next.js internals from the stack trace.\n if (line.includes('node_modules/next/')) {\n return false;\n }\n // Exclude anonymous functions from the stack trace.\n if (line.includes(' ()')) {\n return false;\n }\n // Exclude Node.js internals from the stack trace.\n if (line.includes(' (node:')) {\n return false;\n }\n return true;\n }).join('\\n');\n return `Dynamic API Usage Debug - ${expression}:\\n${stack}`;\n });\n}\nfunction assertPostpone() {\n if (!hasPostpone) {\n throw Object.defineProperty(new Error(`Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`), \"__NEXT_ERROR_CODE\", {\n value: \"E224\",\n enumerable: false,\n configurable: true\n });\n }\n}\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */ export function createRenderInBrowserAbortSignal() {\n const controller = new AbortController();\n controller.abort(Object.defineProperty(new BailoutToCSRError('Render in Browser'), \"__NEXT_ERROR_CODE\", {\n value: \"E721\",\n enumerable: false,\n configurable: true\n }));\n return controller.signal;\n}\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */ export function createHangingInputAbortSignal(workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n const controller = new AbortController();\n if (workUnitStore.cacheSignal) {\n // If we have a cacheSignal it means we're in a prospective render. If\n // the input we're waiting on is coming from another cache, we do want\n // to wait for it so that we can resolve this cache entry too.\n workUnitStore.cacheSignal.inputReady().then(()=>{\n controller.abort();\n });\n } else {\n // Otherwise we're in the final render and we should already have all\n // our caches filled.\n // If the prerender uses stages, we have wait until the runtime stage,\n // at which point all runtime inputs will be resolved.\n // (otherwise, a runtime prerender might consider `cookies()` hanging\n // even though they'd resolve in the next task.)\n //\n // We might still be waiting on some microtasks so we\n // wait one tick before giving up. When we give up, we still want to\n // render the content of this cache as deeply as we can so that we can\n // suspend as deeply as possible in the tree or not at all if we don't\n // end up waiting for the input.\n const runtimeStagePromise = getRuntimeStagePromise(workUnitStore);\n if (runtimeStagePromise) {\n runtimeStagePromise.then(()=>scheduleOnNextTick(()=>controller.abort()));\n } else {\n scheduleOnNextTick(()=>controller.abort());\n }\n }\n return controller.signal;\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n return undefined;\n default:\n workUnitStore;\n }\n}\nexport function annotateDynamicAccess(expression, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function useDynamicRouteParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workStore && workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-client':\n case 'prerender':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n // We are in a prerender with cacheComponents semantics. We are going to\n // hang here and never resolve. This will cause the currently\n // rendering component to effectively be a dynamic hole.\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return postponeWithTracking(workStore.route, expression, workUnitStore.dynamicTracking);\n }\n break;\n }\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E771\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-legacy':\n case 'request':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n}\nexport function useDynamicSearchParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (!workStore) {\n // We assume pages router context and just return\n return;\n }\n if (!workUnitStore) {\n throwForMissingRequestStore(expression);\n }\n switch(workUnitStore.type){\n case 'prerender-client':\n {\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n break;\n }\n case 'prerender-legacy':\n case 'prerender-ppr':\n {\n if (workStore.forceStatic) {\n return;\n }\n throw Object.defineProperty(new BailoutToCSRError(expression), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n }\n case 'prerender':\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E795\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'unstable-cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n return;\n default:\n workUnitStore;\n }\n}\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(\\)/;\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags = 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6';\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n// at Suspense ()\n// at __next_root_layout_boundary__ ()\n//\n// Or with other components in between (but not body/html/implicit-body):\n// at Suspense ()\n// at SomeComponent ()\n// at __next_root_layout_boundary__ ()\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(`\\\\n\\\\s+at Suspense \\\\(\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`);\nconst hasMetadataRegex = new RegExp(`\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasViewportRegex = new RegExp(`\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`);\nexport function trackAllowedDynamicAccess(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n dynamicValidation.hasDynamicMetadata = true;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n dynamicValidation.hasDynamicViewport = true;\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Uncached data was accessed outside of ` + '. This delays the entire page from rendering, resulting in a ' + 'slow user experience. Learn more: ' + 'https://nextjs.org/docs/messages/blocking-route';\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\nexport function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\nexport function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = createErrorWithComponentOrOwnerStack(message, componentStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n */ function createErrorWithComponentOrOwnerStack(message, componentStack) {\n const ownerStack = process.env.NODE_ENV !== 'production' && React.captureOwnerStack ? React.captureOwnerStack() : null;\n const error = Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n //\n error.stack = error.name + ': ' + message + (ownerStack || componentStack);\n return error;\n}\nexport var PreludeState = /*#__PURE__*/ function(PreludeState) {\n PreludeState[PreludeState[\"Full\"] = 0] = \"Full\";\n PreludeState[PreludeState[\"Empty\"] = 1] = \"Empty\";\n PreludeState[PreludeState[\"Errored\"] = 2] = \"Errored\";\n return PreludeState;\n}({});\nexport function logDisallowedDynamicError(workStore, error) {\n console.error(error);\n if (!workStore.dev) {\n if (workStore.hasReadableErrorStacks) {\n console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.`);\n } else {\n console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.\n - Rerun the production build with \\`next build --debug-prerender\\` to generate better stack traces.`);\n }\n }\n}\nexport function throwIfDisallowedDynamic(workStore, prelude, dynamicValidation, serverDynamic) {\n if (serverDynamic.syncDynamicErrorWithStack) {\n logDisallowedDynamicError(workStore, serverDynamic.syncDynamicErrorWithStack);\n throw new StaticGenBailoutError();\n }\n if (prelude !== 0) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return;\n }\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n for(let i = 0; i < dynamicErrors.length; i++){\n logDisallowedDynamicError(workStore, dynamicErrors[i]);\n }\n throw new StaticGenBailoutError();\n }\n // If we got this far then the only other thing that could be blocking\n // the root is dynamic Viewport. If this is dynamic then\n // you need to opt into that by adding a Suspense boundary above the body\n // to indicate your are ok with fully dynamic rendering.\n if (dynamicValidation.hasDynamicViewport) {\n console.error(`Route \"${workStore.route}\" has a \\`generateViewport\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`);\n throw new StaticGenBailoutError();\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n console.error(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`);\n throw new StaticGenBailoutError();\n }\n } else {\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.hasDynamicMetadata) {\n console.error(`Route \"${workStore.route}\" has a \\`generateMetadata\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`);\n throw new StaticGenBailoutError();\n }\n }\n}\nexport function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return [];\n }\n if (prelude !== 0) {\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n return [\n Object.defineProperty(new InvariantError(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`), \"__NEXT_ERROR_CODE\", {\n value: \"E936\",\n enumerable: false,\n configurable: true\n })\n ];\n }\n } else {\n // We have a prelude but we might still have dynamic metadata without any other dynamic access\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {\n return [\n dynamicValidation.dynamicMetadata\n ];\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return [];\n}\nexport function delayUntilRuntimeStage(prerenderStore, result) {\n if (prerenderStore.runtimeStagePromise) {\n return prerenderStore.runtimeStagePromise.then(()=>result);\n }\n return result;\n}\n\n//# sourceMappingURL=dynamic-rendering.js.map"],"names":["module","exports","require","vendored","ReactServerDOMTurbopackStatic","React","Activity","useContext","use","Suspense","useDeferredValue","ReactDOM","LayoutRouterContext","GlobalLayoutRouterContext","TemplateContext","unresolvedThenable","ErrorBoundary","matchSegment","disableSmoothScrollDuringRouteTransition","RedirectBoundary","HTTPAccessFallbackBoundary","createRouterCacheKey","useRouterBFCache","normalizeAppPath","NavigationPromisesContext","getParamValueFromCacheKey","isDeferredRsc","__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","findDOMNode","instance","window","internal_reactDOMfindDOMNode","rectProperties","shouldSkipElement","element","includes","getComputedStyle","position","rect","getBoundingClientRect","every","item","topOfElementInViewport","viewportHeight","top","getHashFragmentDomNode","hashFragment","document","body","getElementById","getElementsByName","InnerScrollAndFocusHandler","Component","componentDidMount","handlePotentialScroll","componentDidUpdate","props","focusAndScrollRef","apply","render","children","segmentPath","segmentPaths","length","some","scrollRefSegmentPath","segment","index","domNode","Element","HTMLElement","process","env","NODE_ENV","parentElement","localName","nextElementSibling","scrollIntoView","htmlElement","documentElement","clientHeight","scrollTop","dontForceLayout","onlyHashChange","focus","ScrollAndFocusHandler","context","Error","InnerLayoutRouter","tree","debugNameContext","cacheNode","maybeCacheNode","params","url","isActive","parentNavPromises","resolvedPrefetchRsc","prefetchRsc","rsc","resolvedRsc","unwrappedRsc","navigationPromises","createNestedLayoutNavigationPromises","Provider","value","parentTree","parentCacheNode","parentSegmentPath","parentParams","LoadingBoundary","name","loading","loadingModuleData","then","promiseForLoading","loadingRsc","loadingStyles","loadingScripts","fallback","OuterLayoutRouter","parallelRouterKey","error","errorStyles","errorScripts","templateStyles","templateScripts","template","notFound","forbidden","unauthorized","segmentViewBoundaries","parentParallelRoutes","parallelRoutes","segmentMap","get","Map","set","parentTreeSegment","concat","activeTree","undefined","activeSegment","activeStateKey","bfcacheEntry","stateKey","cacheKey","segmentBoundaryTriggerNode","segmentViewStateNode","SegmentBoundaryTriggerNode","SegmentViewStateNode","pagePrefix","page","Array","isArray","paramName","paramCacheKey","paramType","paramValue","debugName","getBoundaryDebugNameFromSegment","childDebugNameContext","isVirtual","debugNameToDisplay","child","errorComponent","SegmentStateProvider","__NEXT_CACHE_COMPONENTS","mode","push","next","isVirtualLayout","RenderFromTemplateContext","InvariantError","urlSearchParamsToParsedUrlQuery","SearchParamsContext","ClientPageRoot","serverProvidedParams","searchParams","layoutRouterContext","workAsyncStorage","clientSearchParams","clientParams","store","getStore","createSearchParamsFromClient","createParamsFromClient","createRenderSearchParamsFromClient","createRenderParamsFromClient","ClientSegmentRoot","slots","useUntrackedPathname","HTTPAccessErrorStatus","getAccessFallbackHTTPStatus","getAccessFallbackErrorTypeByStatus","isHTTPAccessFallbackError","warnOnce","MissingSlotContext","HTTPAccessFallbackErrorBoundary","constructor","state","triggeredStatus","previousPathname","pathname","componentDidCatch","missingSlots","size","has","warningMessage","formattedSlots","from","sort","a","b","localeCompare","map","slot","join","getDerivedStateFromError","httpStatus","getDerivedStateFromProps","errorComponents","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","isNotFound","isForbidden","isUnauthorized","meta","content","hasErrorFallback","IconMark","path","NEXT_RUNTIME","METADATA_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","NameSpace","MetadataBoundary","slice","ViewportBoundary","OutletBoundary","RootLayoutBoundary"],"mappings":"4CAAAA,GAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEC,6BAA6B,kBCDtD,GAAM,yBAAE,CAAuB,CAAE,CAAA,EAAA,CAAA,CAAA,OAEjC,EAAsB,CAAC,CAAC,EAAwB,+IAFhD,GAAM,yBAAE,CAAuB,CAAE,CAAA,EAAA,CAAA,CAAA,OAEjC,EAAsB,CAAC,CAAC,EAAwB,sLEFhD,GAAM,yBAAE,CAAuB,CAAE,CAAA,EAAA,CAAA,CAAA,OAEjC,EAAsB,CAAC,CAAC,EAAwB,6JAFhD,GAAM,yBAAE,CAAuB,CAAE,CAAA,EAAA,CAAA,CAAA,OAEjC,EAAsB,CAAC,CAAC,EAAwB,mMEFhD,GAAM,CAAE,yBAAuB,CAAE,CAAA,EAAA,CAAA,CAAA,OAEjC,EAAsB,CAAC,CAAC,EAA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A,CAnBA,EALkE,AAK9C,EAAgB,IAAI,CAAC,MAAO,IAC5C,IAAM,EAAW,CAAS,CAAC,EAAE,CAC7B,MAAO,CACH,KAAM,MAAM,EAAS,WAAW,GARwF,AASxH,QAAS,EAAS,OAAO,CACzB,OAAQ,EAAS,MAAM,CACvB,WAAY,EAAS,UAAU,AACnC,CACJ,GAAG,OAAO,CAAC,KACP,IAAI,GAGoE,AAAlE,OAAC,EAAgC,EAAU,kBAAA,AAAkB,EAAY,KAAK,EAAI,CAA6B,CAAC,EAAA,AAAqB,GAAG,AAG9I,OAAO,EAAU,kBAAkB,CAAC,EAAqB,AAC7D,EAAA,EAGkB,KAAK,CAAC,KAAK,GAC7B,EAAU,kBAAkB,CAAC,EAAqB,CAAG,EAC9C,EAAgB,IAAI,CAAC,AAAC,GAAY,CAAS,CAAC,EAAE,CACzD,CAGJ,GACA,GAJW,AAIP,EACA,GAAI,CACA,OAFS,AAEF,MAAM,CACjB,QAAS,CACD,GACA,EAAY,OAAO,CADN,CAGrB,CAEJ,OAAO,CACX,EAeA,OAVA,EAAQ,aAAa,EAAG,EACxB,EAAQ,oBAAoB,CAAG,IAAI,EACnC,EAAQ,kBAAkB,CAAG,EAC7B,UAAU,CAAC,GAAkB,EAAG,EAGhC,OAAO,cAAc,CAAC,EAAS,OAAQ,CACnC,MAAO,QACP,UAAU,CACd,GACO,CACX,EAU4C,EAAU,EACtD,EnCt1BuB,CACf,iBAAA,EAAA,gBAAgB,CAChB,qBAAA,EAAA,oBAAoB,AACxB,EACJ,CAZI,WAAW,2BAA2B,CAAA,EAAA,CAAA","ignoreList":[0,1,3,5,7,9,11,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05412e92._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05412e92._.js index 78b4fa2..28eabed 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05412e92._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05412e92._.js @@ -1,4 +1,4 @@ -module.exports=[38090,a=>{a.n(a.i(36877))},64220,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["world",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(38090),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/world/page",pathname:"/project/[id]/world",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/world/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[38090,a=>{a.n(a.i(36877))},64220,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["world",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(38090),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/world/page",pathname:"/project/[id]/world",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/world/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],79345),a.i(79345),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],64220)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_05412e92._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05d2851f._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05d2851f._.js index a20b2d0..44af68f 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05d2851f._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_05d2851f._.js @@ -1,4 +1,4 @@ -module.exports=[51548,a=>{a.n(a.i(15849))},48587,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["login",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(51548),"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/login/page",pathname:"/login",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/login/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[51548,a=>{a.n(a.i(15849))},48587,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["login",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(51548),"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/login/page",pathname:"/login",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/login/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],80557),a.i(80557),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],48587)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_05d2851f._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0aafbefe._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0aafbefe._.js index 2ded562..965eb34 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0aafbefe._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0aafbefe._.js @@ -1,4 +1,4 @@ -module.exports=[98121,a=>{a.n(a.i(2038))},97355,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["ideas",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(98121),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/ideas/page",pathname:"/project/[id]/ideas",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/ideas/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[98121,a=>{a.n(a.i(2038))},97355,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["ideas",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(98121),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/ideas/page",pathname:"/project/[id]/ideas",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/ideas/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],86013),a.i(86013),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],97355)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_0aafbefe._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js index 11dbf64..5841eb8 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js @@ -1,3 +1,3 @@ -module.exports=[45285,a=>{"use strict";let b=(0,a.i(29892).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);a.s(["Target",()=>b],45285)},49089,a=>{"use strict";let b=(0,a.i(29892).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);a.s(["Clock",()=>b],49089)},10704,a=>{"use strict";let b=(0,a.i(29892).default)("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);a.s(["Feather",()=>b],10704)},27131,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(68239),e=a.i(20769),f=a.i(14294),g=a.i(10704),h=a.i(29892);let i=(0,h.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);var j=a.i(49089),k=a.i(45285);let l=(0,h.default)("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]),m={genre:"",subGenre:"",targetAudience:"",tone:"",pov:"",tense:"",synopsis:"",themes:""},n=({project:a,onUpdate:h,onDeleteProject:n})=>{let[o,p]=(0,c.useState)(a.settings||m),[q,r]=(0,c.useState)(!1);(0,c.useEffect)(()=>{a.settings&&p(a.settings)},[a.settings]);let s=(b,c)=>{let d={...o,[b]:c};p(d),h({...a,settings:d})};return(0,b.jsx)("div",{className:"h-full bg-theme-bg p-8 overflow-y-auto transition-colors duration-300",children:(0,b.jsxs)("div",{className:"max-w-4xl mx-auto bg-theme-panel rounded-xl shadow-lg border border-theme-border overflow-hidden transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"bg-slate-900 text-white p-6 border-b border-slate-800 flex items-center gap-4",children:[(0,b.jsx)("div",{className:"bg-blue-600 p-3 rounded-lg",children:(0,b.jsx)(e.Settings,{size:24})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-2xl font-bold",children:"Paramètres Généraux du Roman"}),(0,b.jsx)("p",{className:"text-slate-400 text-sm",children:"Définissez l'identité, le ton et les règles de votre œuvre pour guider l'IA."})]})]}),(0,b.jsxs)("div",{className:"p-8 space-y-8",children:[(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,b.jsx)(f.Book,{size:18,className:"text-blue-600"})," Informations de Base"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Titre du Roman"}),(0,b.jsx)("input",{type:"text",value:a.title,onChange:b=>h({...a,title:b.target.value}),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Nom d'Auteur"}),(0,b.jsx)("input",{type:"text",value:a.author,onChange:b=>h({...a,author:b.target.value}),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Synopsis Global"}),(0,b.jsx)("textarea",{value:o.synopsis,onChange:a=>s("synopsis",a.target.value),className:"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300",placeholder:"De quoi parle votre histoire dans les grandes lignes ?"})]})]}),(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,b.jsx)(k.Target,{size:18,className:"text-red-500"})," Genre & Public"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Genre Principal"}),(0,b.jsx)("input",{type:"text",list:"genre-suggestions",value:o.genre,onChange:a=>s("genre",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Fantasy"}),(0,b.jsx)("datalist",{id:"genre-suggestions",children:d.GENRES.map(a=>(0,b.jsx)("option",{value:a},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Sous-Genre"}),(0,b.jsx)("input",{type:"text",value:o.subGenre||"",onChange:a=>s("subGenre",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Dark Fantasy"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Public Cible"}),(0,b.jsx)("input",{type:"text",value:o.targetAudience,onChange:a=>s("targetAudience",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Jeune Adulte, Adulte..."})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Thèmes Clés"}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(l,{size:14,className:"absolute left-3 top-3 text-theme-muted"}),(0,b.jsx)("input",{type:"text",value:o.themes,onChange:a=>s("themes",a.target.value),className:"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Vengeance, Rédemption, Voyage initiatique..."})]})]})]}),(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,b.jsx)(g.Feather,{size:18,className:"text-purple-600"})," Narration & Style"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:"block text-sm font-semibold text-theme-muted mb-1 flex items-center gap-1",children:[(0,b.jsx)(i,{size:14})," Point de Vue (POV)"]}),(0,b.jsxs)("select",{value:o.pov,onChange:a=>s("pov",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",children:[(0,b.jsx)("option",{value:"",children:"Sélectionner..."}),d.POV_OPTIONS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))]})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:"block text-sm font-semibold text-theme-muted mb-1 flex items-center gap-1",children:[(0,b.jsx)(j.Clock,{size:14})," Temps du récit"]}),(0,b.jsxs)("select",{value:o.tense,onChange:a=>s("tense",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",children:[(0,b.jsx)("option",{value:"",children:"Sélectionner..."}),d.TENSE_OPTIONS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Ton Général"}),(0,b.jsx)("input",{type:"text",list:"tone-suggestions",value:o.tone,onChange:a=>s("tone",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Sombre, Ironique..."}),(0,b.jsx)("datalist",{id:"tone-suggestions",children:d.TONES.map(a=>(0,b.jsx)("option",{value:a},a))})]})]}),(0,b.jsxs)("div",{className:"mt-4",children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Guide de Style & Instructions IA (Prompt Système)"}),(0,b.jsx)("p",{className:"text-xs text-theme-muted mb-2",children:'Ces instructions seront envoyées à l\'IA à chaque génération. Décrivez ici le style d\'écriture désiré (ex: "phrases courtes", "vocabulaire soutenu", "beaucoup de métaphores").'}),(0,b.jsx)("textarea",{value:a.styleGuide||"",onChange:b=>{var c;return c=b.target.value,void h({...a,styleGuide:c})},className:"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300",placeholder:"Ex: Utilise un style descriptif et sensoriel. Évite les adverbes. Le narrateur est cynique."})]})]}),(0,b.jsxs)("section",{className:"space-y-4 pt-8 border-t border-red-200",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-red-600 flex items-center gap-2 pb-2",children:[(0,b.jsx)("span",{className:"bg-red-100 p-1 rounded",children:"⚠️"})," Zone de Danger"]}),(0,b.jsxs)("div",{className:"bg-red-50 border border-red-200 rounded-lg p-6",children:[(0,b.jsx)("h4",{className:"font-bold text-red-900 mb-2",children:"Supprimer le projet"}),(0,b.jsx)("p",{className:"text-sm text-red-700 mb-4",children:"Cette action est irréversible. Toutes les données associées à ce projet (chapitres, entités, idées) seront définitivement effacées."}),q?(0,b.jsxs)("div",{className:"flex items-center gap-4 bg-theme-panel p-4 rounded border border-red-200",children:[(0,b.jsx)("span",{className:"text-sm font-bold text-theme-text",children:"Êtes-vous sûr ?"}),(0,b.jsx)("button",{onClick:n,className:"px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 text-sm font-bold opacity-90 transition-opacity",children:"Oui, supprimer définitivement"}),(0,b.jsx)("button",{onClick:()=>r(!1),className:"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity",children:"Annuler"})]}):(0,b.jsx)("button",{onClick:()=>r(!0),className:"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300",children:"Supprimer ce projet"})]})]})]})]})})};var o=a.i(46344),p=a.i(34896);function q(){let{project:a,updateProject:c,deleteProject:d}=(0,o.useProjectContext)(),e=(0,p.useRouter)();return(0,b.jsx)(n,{project:a,onUpdate:a=>c(a),onDeleteProject:async()=>{await d(),e.push("/dashboard")}})}a.s(["default",()=>q],27131)}]; +module.exports=[45285,a=>{"use strict";let b=(0,a.i(29892).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);a.s(["Target",()=>b],45285)},49089,a=>{"use strict";let b=(0,a.i(29892).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);a.s(["Clock",()=>b],49089)},10704,a=>{"use strict";let b=(0,a.i(29892).default)("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);a.s(["Feather",()=>b],10704)},27131,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(68239),e=a.i(20769),f=a.i(14294),g=a.i(10704),h=a.i(29892);let i=(0,h.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);var j=a.i(49089),k=a.i(45285);let l=(0,h.default)("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);var m=a.i(54607);let n={genre:"",subGenre:"",targetAudience:"",tone:"",pov:"",tense:"",synopsis:"",themes:""},o=({project:a,onUpdate:h,onDeleteProject:o})=>{let{t:p}=(0,m.useLanguage)(),[q,r]=(0,c.useState)(a.settings||n),[s,t]=(0,c.useState)(!1);(0,c.useEffect)(()=>{a.settings&&r(a.settings)},[a.settings]);let u=(b,c)=>{let d={...q,[b]:c};r(d),h({...a,settings:d})};return(0,b.jsx)("div",{className:"h-full bg-theme-bg p-8 overflow-y-auto transition-colors duration-300",children:(0,b.jsxs)("div",{className:"max-w-4xl mx-auto bg-theme-panel rounded-xl shadow-lg border border-theme-border overflow-hidden transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"bg-slate-900 text-white p-6 border-b border-slate-800 flex items-center gap-4",children:[(0,b.jsx)("div",{className:"bg-blue-600 p-3 rounded-lg",children:(0,b.jsx)(e.Settings,{size:24})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-2xl font-bold",children:p("book_settings.title")}),(0,b.jsx)("p",{className:"text-slate-400 text-sm",children:p("book_settings.subtitle")})]})]}),(0,b.jsxs)("div",{className:"p-8 space-y-8",children:[(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,b.jsx)(f.Book,{size:18,className:"text-blue-600"})," ",p("book_settings.basic_info")]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.novel_title")}),(0,b.jsx)("input",{type:"text",value:a.title,onChange:b=>h({...a,title:b.target.value}),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.author_name")}),(0,b.jsx)("input",{type:"text",value:a.author,onChange:b=>h({...a,author:b.target.value}),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.global_synopsis")}),(0,b.jsx)("textarea",{value:q.synopsis,onChange:a=>u("synopsis",a.target.value),className:"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300",placeholder:p("book_settings.synopsis_placeholder")})]})]}),(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,b.jsx)(k.Target,{size:18,className:"text-red-500"})," ",p("book_settings.genre_audience")]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.main_genre")}),(0,b.jsx)("input",{type:"text",list:"genre-suggestions",value:q.genre,onChange:a=>u("genre",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:p("book_settings.genre_placeholder")}),(0,b.jsx)("datalist",{id:"genre-suggestions",children:d.GENRES.map(a=>(0,b.jsx)("option",{value:a},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.sub_genre")}),(0,b.jsx)("input",{type:"text",value:q.subGenre||"",onChange:a=>u("subGenre",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:p("book_settings.subgenre_placeholder")})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.target_audience")}),(0,b.jsx)("input",{type:"text",value:q.targetAudience,onChange:a=>u("targetAudience",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:p("book_settings.audience_placeholder")})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.key_themes")}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(l,{size:14,className:"absolute left-3 top-3 text-theme-muted"}),(0,b.jsx)("input",{type:"text",value:q.themes,onChange:a=>u("themes",a.target.value),className:"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:p("book_settings.themes_placeholder")})]})]})]}),(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,b.jsx)(g.Feather,{size:18,className:"text-purple-600"})," ",p("book_settings.narration_style")]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:"block text-sm font-semibold text-theme-muted mb-1 flex items-center gap-1",children:[(0,b.jsx)(i,{size:14})," ",p("book_settings.pov")]}),(0,b.jsxs)("select",{value:q.pov,onChange:a=>u("pov",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",children:[(0,b.jsx)("option",{value:"",children:p("book_settings.select")}),d.POV_OPTIONS.map(a=>(0,b.jsx)("option",{value:a,children:p(`pov_options.${a.toLowerCase().replace(/\s+/g,"_")}`)||a},a))]})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:"block text-sm font-semibold text-theme-muted mb-1 flex items-center gap-1",children:[(0,b.jsx)(j.Clock,{size:14})," ",p("book_settings.tense")]}),(0,b.jsxs)("select",{value:q.tense,onChange:a=>u("tense",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",children:[(0,b.jsx)("option",{value:"",children:p("book_settings.select")}),d.TENSE_OPTIONS.map(a=>(0,b.jsx)("option",{value:a,children:p(`tense_options.${a.toLowerCase().replace(/\s+/g,"_")}`)||a},a))]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.general_tone")}),(0,b.jsx)("input",{type:"text",list:"tone-suggestions",value:q.tone,onChange:a=>u("tone",a.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:p("book_settings.tone_placeholder")}),(0,b.jsx)("datalist",{id:"tone-suggestions",children:d.TONES.map(a=>(0,b.jsx)("option",{value:a},a))})]})]}),(0,b.jsxs)("div",{className:"mt-4",children:[(0,b.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:p("book_settings.style_guide")}),(0,b.jsx)("p",{className:"text-xs text-theme-muted mb-2",children:p("book_settings.style_guide_help")}),(0,b.jsx)("textarea",{value:a.styleGuide||"",onChange:b=>{var c;return c=b.target.value,void h({...a,styleGuide:c})},className:"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300",placeholder:p("book_settings.style_guide_placeholder")})]})]}),(0,b.jsxs)("section",{className:"space-y-4 pt-8 border-t border-red-200",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-red-600 flex items-center gap-2 pb-2",children:[(0,b.jsx)("span",{className:"bg-red-100 p-1 rounded",children:"⚠️"})," ",p("book_settings.danger_zone")]}),(0,b.jsxs)("div",{className:"bg-red-50 border border-red-200 rounded-lg p-6",children:[(0,b.jsx)("h4",{className:"font-bold text-red-900 mb-2",children:p("book_settings.delete_project")}),(0,b.jsx)("p",{className:"text-sm text-red-700 mb-4",children:p("book_settings.delete_warning")}),s?(0,b.jsxs)("div",{className:"flex items-center gap-4 bg-theme-panel p-4 rounded border border-red-200",children:[(0,b.jsx)("span",{className:"text-sm font-bold text-theme-text",children:p("book_settings.are_you_sure")}),(0,b.jsx)("button",{onClick:o,className:"px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 text-sm font-bold opacity-90 transition-opacity",children:p("book_settings.confirm_delete")}),(0,b.jsx)("button",{onClick:()=>t(!1),className:"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity",children:p("book_settings.cancel")})]}):(0,b.jsx)("button",{onClick:()=>t(!0),className:"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300",children:p("book_settings.delete_button")})]})]})]})]})})};var p=a.i(46344),q=a.i(34896);function r(){let{project:a,updateProject:c,deleteProject:d}=(0,p.useProjectContext)(),e=(0,q.useRouter)();return(0,b.jsx)(o,{project:a,onUpdate:a=>c(a),onDeleteProject:async()=>{await d(),e.push("/dashboard")}})}a.s(["default",()=>r],27131)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_0e608513._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js.map b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js.map index a280c08..ca0cc98 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js.map +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_0e608513._.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/feather.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/BookSettings.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/settings/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/users.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/hash.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __iconNode);\n\nexport default Target;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z',\n key: '18jl4k',\n },\n ],\n ['path', { d: 'M16 8 2 22', key: 'vp34q' }],\n ['path', { d: 'M17.5 15H9', key: '1oz8nu' }],\n];\n\n/**\n * @component @name Feather\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuNjcgMTlhMiAyIDAgMCAwIDEuNDE2LS41ODhsNi4xNTQtNi4xNzJhNiA2IDAgMCAwLTguNDktOC40OUw1LjU4NiA5LjkxNEEyIDIgMCAwIDAgNSAxMS4zMjhWMThhMSAxIDAgMCAwIDEgMXoiIC8+CiAgPHBhdGggZD0iTTE2IDggMiAyMiIgLz4KICA8cGF0aCBkPSJNMTcuNSAxNUg5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/feather\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Feather = createLucideIcon('feather', __iconNode);\n\nexport default Feather;\n","'use client';\n\nimport React, { useEffect, useState } from 'react';\nimport { BookProject, BookSettings } from '@/lib/types';\nimport { GENRES, TONES, POV_OPTIONS, TENSE_OPTIONS } from '@/lib/constants';\nimport { Settings, Book, Feather, Users, Clock, Target, Hash } from 'lucide-react';\n\ninterface BookSettingsProps {\n project: BookProject;\n onUpdate: (project: BookProject) => void;\n onDeleteProject: () => void;\n}\n\nconst DEFAULT_SETTINGS: BookSettings = {\n genre: '',\n subGenre: '',\n targetAudience: '',\n tone: '',\n pov: '',\n tense: '',\n synopsis: '',\n themes: ''\n};\n\nconst BookSettingsComponent: React.FC = ({ project, onUpdate, onDeleteProject }) => {\n const [settings, setSettings] = useState(project.settings || DEFAULT_SETTINGS);\n const [showDeleteConfirm, setShowDeleteConfirm] = useState(false);\n\n useEffect(() => {\n if (project.settings) {\n setSettings(project.settings);\n }\n }, [project.settings]);\n\n const handleChange = (key: keyof BookSettings, value: string) => {\n const newSettings = { ...settings, [key]: value };\n setSettings(newSettings);\n onUpdate({ ...project, settings: newSettings });\n };\n\n const handleStyleGuideChange = (value: string) => {\n onUpdate({ ...project, styleGuide: value });\n };\n\n return (\n
\n
\n\n
\n
\n \n
\n
\n

Paramètres Généraux du Roman

\n

Définissez l'identité, le ton et les règles de votre œuvre pour guider l'IA.

\n
\n
\n\n
\n
\n

\n Informations de Base\n

\n
\n
\n \n onUpdate({ ...project, title: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300\"\n />\n
\n
\n \n onUpdate({ ...project, author: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n />\n
\n
\n
\n \n handleChange('synopsis', e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300\"\n placeholder=\"De quoi parle votre histoire dans les grandes lignes ?\"\n />\n
\n
\n\n
\n

\n Genre & Public\n

\n
\n
\n \n handleChange('genre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Fantasy\"\n />\n \n {GENRES.map(g => \n
\n
\n \n handleChange('subGenre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Dark Fantasy\"\n />\n
\n
\n \n handleChange('targetAudience', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Jeune Adulte, Adulte...\"\n />\n
\n
\n
\n \n
\n \n handleChange('themes', e.target.value)}\n className=\"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Vengeance, Rédemption, Voyage initiatique...\"\n />\n
\n
\n
\n\n
\n

\n Narration & Style\n

\n
\n
\n \n handleChange('pov', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {POV_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tense', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {TENSE_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tone', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder=\"Ex: Sombre, Ironique...\"\n />\n \n {TONES.map(t => \n
\n
\n\n
\n \n

\n Ces instructions seront envoyées à l'IA à chaque génération. Décrivez ici le style d'écriture désiré (ex: \"phrases courtes\", \"vocabulaire soutenu\", \"beaucoup de métaphores\").\n

\n handleStyleGuideChange(e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300\"\n placeholder=\"Ex: Utilise un style descriptif et sensoriel. Évite les adverbes. Le narrateur est cynique.\"\n />\n
\n
\n\n
\n

\n ⚠️ Zone de Danger\n

\n
\n

Supprimer le projet

\n

\n Cette action est irréversible. Toutes les données associées à ce projet (chapitres, entités, idées) seront définitivement effacées.\n

\n {showDeleteConfirm ? (\n
\n Êtes-vous sûr ?\n \n Oui, supprimer définitivement\n \n setShowDeleteConfirm(false)}\n className=\"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity\"\n >\n Annuler\n \n
\n ) : (\n setShowDeleteConfirm(true)}\n className=\"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300\"\n >\n Supprimer ce projet\n \n )}\n
\n
\n
\n
\n
\n );\n};\n\nexport default BookSettingsComponent;","'use client';\r\n\r\nimport BookSettingsComponent from '@/components/BookSettings';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function SettingsPage() {\r\n const { project, updateProject, deleteProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject(updates)}\r\n onDeleteProject={async () => {\r\n await deleteProject();\r\n router.push('/dashboard');\r\n }}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2', key: '1yyitq' }],\n ['path', { d: 'M16 3.128a4 4 0 0 1 0 7.744', key: '16gr8j' }],\n ['path', { d: 'M22 21v-2a4 4 0 0 0-3-3.87', key: 'kshegd' }],\n ['circle', { cx: '9', cy: '7', r: '4', key: 'nufk8' }],\n];\n\n/**\n * @component @name Users\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTYgMjF2LTJhNCA0IDAgMCAwLTQtNEg2YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8cGF0aCBkPSJNMTYgMy4xMjhhNCA0IDAgMCAxIDAgNy43NDQiIC8+CiAgPHBhdGggZD0iTTIyIDIxdi0yYTQgNCAwIDAgMC0zLTMuODciIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/users\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Users = createLucideIcon('users', __iconNode);\n\nexport default Users;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n];\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iOSIgeTI9IjkiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE1IiB5Mj0iMTUiIC8+CiAgPGxpbmUgeDE9IjEwIiB4Mj0iOCIgeTE9IjMiIHkyPSIyMSIgLz4KICA8bGluZSB4MT0iMTYiIHgyPSIxNCIgeTE9IjMiIHkyPSIyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon('hash', __iconNode);\n\nexport default Hash;\n"],"names":[],"mappings":"uCAoBA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAN,CAAM,CAAA,EAAS,CAAT,AAAS,CAAT,AAAS,CAAT,AAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAjBI,CAiBM,AAhBxC,CAgBwC,AAhBvC,CAgBuC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAhBvC,CAAA,AAAU,AAgBuC,CAhBvC,AAAE,AAgBqC,EAhBrC,CAAA,AAAI,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,AAAI,IAAA,CAAM,AAAN,CAAM,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,AAAM,GAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACzD,CAAC,QAAA,CAAA,AAAU,CAAA,AAAE,EAAA,CAAA,AAAI,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,AAAI,IAAA,CAAA,AAAM,CAAA,CAAG,CAAA,CAAA,CAAA,CAAK,AAAL,GAAK,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,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QAAS,EACT,UAAU,oHACb,kCAGD,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CACG,QAAS,IAAM,GAAqB,GACpC,UAAU,gIACb,eAKL,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CACG,QAAS,IAAM,GAAqB,GACpC,UAAU,gJACb,qCAUjC,ECxPA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,GAAM,CAAE,SAAO,eAAE,CAAa,eAAE,CAAa,CAAE,CAAG,CAAA,EAAA,EAAA,iBAAA,AAAiB,IAC7D,EAAS,CAAA,EAAA,EAAA,SAAA,AAAS,IAExB,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,QAAS,EACT,SAAU,AAAC,GAAY,EAAc,GACrC,gBAAiB,UACb,MAAM,IACN,EAAO,IAAI,CAAC,aAChB,GAGZ","ignoreList":[0,1,2,5,6]} \ No newline at end of file +{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/feather.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/BookSettings.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/settings/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/hash.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/users.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __iconNode);\n\nexport default Target;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z',\n key: '18jl4k',\n },\n ],\n ['path', { d: 'M16 8 2 22', key: 'vp34q' }],\n ['path', { d: 'M17.5 15H9', key: '1oz8nu' }],\n];\n\n/**\n * @component @name Feather\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuNjcgMTlhMiAyIDAgMCAwIDEuNDE2LS41ODhsNi4xNTQtNi4xNzJhNiA2IDAgMCAwLTguNDktOC40OUw1LjU4NiA5LjkxNEEyIDIgMCAwIDAgNSAxMS4zMjhWMThhMSAxIDAgMCAwIDEgMXoiIC8+CiAgPHBhdGggZD0iTTE2IDggMiAyMiIgLz4KICA8cGF0aCBkPSJNMTcuNSAxNUg5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/feather\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Feather = createLucideIcon('feather', __iconNode);\n\nexport default Feather;\n","'use client';\n\nimport React, { useEffect, useState } from 'react';\nimport { BookProject, BookSettings } from '@/lib/types';\nimport { GENRES, TONES, POV_OPTIONS, TENSE_OPTIONS } from '@/lib/constants';\nimport { Settings, Book, Feather, Users, Clock, Target, Hash } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { TranslationKey } from '@/lib/i18n/translations';\n\ninterface BookSettingsProps {\n project: BookProject;\n onUpdate: (project: BookProject) => void;\n onDeleteProject: () => void;\n}\n\nconst DEFAULT_SETTINGS: BookSettings = {\n genre: '',\n subGenre: '',\n targetAudience: '',\n tone: '',\n pov: '',\n tense: '',\n synopsis: '',\n themes: ''\n};\n\nconst BookSettingsComponent: React.FC = ({ project, onUpdate, onDeleteProject }) => {\n const { t } = useLanguage();\n const [settings, setSettings] = useState(project.settings || DEFAULT_SETTINGS);\n const [showDeleteConfirm, setShowDeleteConfirm] = useState(false);\n\n useEffect(() => {\n if (project.settings) {\n setSettings(project.settings);\n }\n }, [project.settings]);\n\n const handleChange = (key: keyof BookSettings, value: string) => {\n const newSettings = { ...settings, [key]: value };\n setSettings(newSettings);\n onUpdate({ ...project, settings: newSettings });\n };\n\n const handleStyleGuideChange = (value: string) => {\n onUpdate({ ...project, styleGuide: value });\n };\n\n return (\n
\n
\n\n
\n
\n \n
\n
\n

{t('book_settings.title')}

\n

{t('book_settings.subtitle')}

\n
\n
\n\n
\n
\n

\n {t('book_settings.basic_info')}\n

\n
\n
\n \n onUpdate({ ...project, title: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300\"\n />\n
\n
\n \n onUpdate({ ...project, author: e.target.value })}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n />\n
\n
\n
\n \n handleChange('synopsis', e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300\"\n placeholder={t('book_settings.synopsis_placeholder')}\n />\n
\n
\n\n
\n

\n {t('book_settings.genre_audience')}\n

\n
\n
\n \n handleChange('genre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.genre_placeholder')}\n />\n \n {GENRES.map(g => \n
\n
\n \n handleChange('subGenre', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.subgenre_placeholder')}\n />\n
\n
\n \n handleChange('targetAudience', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.audience_placeholder')}\n />\n
\n
\n
\n \n
\n \n handleChange('themes', e.target.value)}\n className=\"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.themes_placeholder')}\n />\n
\n
\n
\n\n
\n

\n {t('book_settings.narration_style')}\n

\n
\n
\n \n handleChange('pov', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {POV_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tense', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n >\n \n {TENSE_OPTIONS.map(o => )}\n \n
\n
\n \n handleChange('tone', e.target.value)}\n className=\"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300\"\n placeholder={t('book_settings.tone_placeholder')}\n />\n \n {TONES.map(tOption => \n
\n
\n\n
\n \n

\n {t('book_settings.style_guide_help')}\n

\n handleStyleGuideChange(e.target.value)}\n className=\"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300\"\n placeholder={t('book_settings.style_guide_placeholder')}\n />\n
\n
\n\n
\n

\n ⚠️ {t('book_settings.danger_zone')}\n

\n
\n

{t('book_settings.delete_project')}

\n

\n {t('book_settings.delete_warning')}\n

\n {showDeleteConfirm ? (\n
\n {t('book_settings.are_you_sure')}\n \n {t('book_settings.confirm_delete')}\n \n setShowDeleteConfirm(false)}\n className=\"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity\"\n >\n {t('book_settings.cancel')}\n \n
\n ) : (\n setShowDeleteConfirm(true)}\n className=\"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300\"\n >\n {t('book_settings.delete_button')}\n \n )}\n
\n
\n
\n
\n
\n );\n};\n\nexport default BookSettingsComponent;","'use client';\r\n\r\nimport BookSettingsComponent from '@/components/BookSettings';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function SettingsPage() {\r\n const { project, updateProject, deleteProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject(updates)}\r\n onDeleteProject={async () => {\r\n await deleteProject();\r\n router.push('/dashboard');\r\n }}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n];\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iOSIgeTI9IjkiIC8+CiAgPGxpbmUgeDE9IjQiIHgyPSIyMCIgeTE9IjE1IiB5Mj0iMTUiIC8+CiAgPGxpbmUgeDE9IjEwIiB4Mj0iOCIgeTE9IjMiIHkyPSIyMSIgLz4KICA8bGluZSB4MT0iMTYiIHgyPSIxNCIgeTE9IjMiIHkyPSIyMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon('hash', __iconNode);\n\nexport default Hash;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2', key: '1yyitq' }],\n ['path', { d: 'M16 3.128a4 4 0 0 1 0 7.744', key: '16gr8j' }],\n ['path', { d: 'M22 21v-2a4 4 0 0 0-3-3.87', key: 'kshegd' }],\n ['circle', { cx: '9', cy: '7', r: '4', key: 'nufk8' }],\n];\n\n/**\n * @component @name Users\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTYgMjF2LTJhNCA0IDAgMCAwLTQtNEg2YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8cGF0aCBkPSJNMTYgMy4xMjhhNCA0IDAgMCAxIDAgNy43NDQiIC8+CiAgPHBhdGggZD0iTTIyIDIxdi0yYTQgNCAwIDAgMC0zLTMuODciIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/users\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Users = createLucideIcon('users', __iconNode);\n\nexport default Users;\n"],"names":[],"mappings":"uCAoBA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAN,CAAM,CAAA,EAAS,CAAT,AAAS,CAAT,AAAS,CAAT,AAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAjBI,CAiBM,AAhBxC,CAgBwC,AAhBvC,CAgBuC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAhBvC,CAAA,AAAU,AAgBuC,CAhBvC,AAAE,AAgBqC,EAhBrC,CAAA,AAAI,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,AAAI,IAAA,CAAM,AAAN,CAAM,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,AAAM,GAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACzD,CAAC,QAAA,CAAA,AAAU,CAAA,AAAE,EAAA,CAAA,AAAI,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,AAAI,IAAA,CAAA,AAAM,CAAA,CAAG,CAAA,CAAA,CAAA,CAAK,AAAL,GAAK,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACxD,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,AAAV,CAAY,CAAA,CAAA,CAAA,AAAI,IAAA,CAAA,AAAM,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAA,CAAA,AAAG,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,AAAK,QAAA,CAAU,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GAAA,EAAC,IAAA,CAAE,UAAU,qCACR,EAAE,kCAEN,EACG,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAI,UAAU,qFACX,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,6CAAqC,EAAE,gCACvD,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CACG,QAAS,EACT,UAAU,oHAET,EAAE,kCAEP,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CACG,QAAS,IAAM,GAAqB,GACpC,UAAU,gIAET,EAAE,6BAIX,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CACG,QAAS,IAAM,GAAqB,GACpC,UAAU,gJAET,EAAE,8CASvC,EC3PA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,GAAM,SAAE,CAAO,eAAE,CAAa,eAAE,CAAa,CAAE,CAAG,CAAA,EAAA,EAAA,iBAAA,AAAiB,IAC7D,EAAS,CAAA,EAAA,EAAA,SAAA,AAAS,IAExB,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,QAAS,EACT,SAAU,AAAC,GAAY,EAAc,GACrC,gBAAiB,UACb,MAAM,IACN,EAAO,IAAI,CAAC,aAChB,GAGZ","ignoreList":[0,1,2,5,6]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_59d02a22._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_59d02a22._.js index c5d456f..a2001ac 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_59d02a22._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_59d02a22._.js @@ -1,4 +1,4 @@ -module.exports=[46055,a=>{a.n(a.i(98018))},15846,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["pricing",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(46055),"[project]/Documents/00 - projet/plumeia/src/app/pricing/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/pricing/page",pathname:"/pricing",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/pricing/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[46055,a=>{a.n(a.i(98018))},15846,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["pricing",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(46055),"[project]/Documents/00 - projet/plumeia/src/app/pricing/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/pricing/page",pathname:"/pricing",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/pricing/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],7865),a.i(7865),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],15846)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_59d02a22._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_6744f8d6._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_6744f8d6._.js index 53c8130..7bd253f 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_6744f8d6._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_6744f8d6._.js @@ -1,4 +1,4 @@ -module.exports=[69401,a=>{a.n(a.i(62871))},67446,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(69401),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx"]}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/page",pathname:"/project/[id]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[69401,a=>{a.n(a.i(62871))},67446,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(69401),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page.tsx"]}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/page",pathname:"/project/[id]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],58528),a.i(58528),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],67446)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_6744f8d6._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_73e30adc._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_73e30adc._.js index ccc6a37..50e05cc 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_73e30adc._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_73e30adc._.js @@ -1,4 +1,4 @@ -module.exports=[66504,a=>{a.n(a.i(61086))},60465,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["settings",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(66504),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/settings/page",pathname:"/project/[id]/settings",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/settings/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[66504,a=>{a.n(a.i(61086))},60465,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["settings",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(66504),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/settings/page",pathname:"/project/[id]/settings",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/settings/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],8360),a.i(8360),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],60465)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_73e30adc._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_7e493979._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_7e493979._.js index 05e11f8..9b9eb1b 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_7e493979._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_7e493979._.js @@ -1,4 +1,4 @@ -module.exports=[61254,a=>{a.n(a.i(13607))},9548,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["profile",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(61254),"[project]/Documents/00 - projet/plumeia/src/app/profile/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/profile/page",pathname:"/profile",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/profile/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[61254,a=>{a.n(a.i(13607))},9548,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["profile",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(61254),"[project]/Documents/00 - projet/plumeia/src/app/profile/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/profile/page",pathname:"/profile",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/profile/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],78852),a.i(78852),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],9548)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_7e493979._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_826d656c._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_826d656c._.js index fcb85cf..81b5385 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_826d656c._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_826d656c._.js @@ -1,4 +1,4 @@ -module.exports=[674,a=>{a.n(a.i(81233))},10946,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(674),"[project]/Documents/00 - projet/plumeia/src/app/page.tsx"]}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[674,a=>{a.n(a.i(81233))},10946,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(674),"[project]/Documents/00 - projet/plumeia/src/app/page.tsx"]}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],3865),a.i(3865),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],10946)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_826d656c._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js index 6021875..c368eb0 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js @@ -1,3 +1,3 @@ -module.exports=[98205,a=>{"use strict";let b=(0,a.i(29892).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);a.s(["Save",()=>b],98205)},68565,a=>{"use strict";let b=(0,a.i(29892).default)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);a.s(["Edit3",()=>b],68565)},49089,a=>{"use strict";let b=(0,a.i(29892).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);a.s(["Clock",()=>b],49089)},71549,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(33782),e=a.i(40400),f=a.i(29892);let g=(0,f.default)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]),h=(0,f.default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),i=(0,f.default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var j=a.i(49089),k=a.i(63287);let l=(0,f.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);var m=a.i(46451),n=a.i(68565),o=a.i(98205);let p={plot:{label:"Intrigue",color:"bg-rose-100 text-rose-800 border-rose-200",icon:k.Lightbulb},character:{label:"Personnage",color:"bg-blue-100 text-blue-800 border-blue-200",icon:l},research:{label:"Recherche",color:"bg-amber-100 text-amber-800 border-amber-200",icon:l},todo:{label:"À faire",color:"bg-slate-100 text-slate-800 border-slate-200",icon:h}},q={todo:"Idées / À faire",progress:"En cours",done:"Terminé / Validé"},r=({ideas:a,onUpdate:f})=>{let[l,r]=(0,c.useState)(""),[s,t]=(0,c.useState)("plot"),[u,v]=(0,c.useState)(null),[w,x]=(0,c.useState)(null),y=b=>{confirm("Supprimer cette carte ?")&&(f(a.filter(a=>a.id!==b)),w?.id===b&&x(null))},z=a=>{x({title:"",description:"",category:"plot",status:a})},A=a=>{x({...a})},B=a=>{a.preventDefault(),a.dataTransfer.dropEffect="move"},C=({title:c,status:e,icon:h})=>{let i=a.filter(a=>a.status===e);return(0,b.jsxs)("div",{className:"flex-1 bg-theme-bg/50 rounded-xl border border-theme-border flex flex-col h-full overflow-hidden transition-colors hover:border-blue-300",onDragOver:B,onDrop:b=>{b.preventDefault(),u&&(f(a.map(a=>a.id===u?{...a,status:e}:a)),v(null))},onDoubleClick:()=>z(e),title:"Double-cliquez dans le vide pour ajouter une carte ici",children:[(0,b.jsxs)("div",{className:`p-4 border-b border-theme-border flex justify-between items-center transition-colors duration-300 ${"todo"===e?"bg-theme-bg":"progress"===e?"bg-indigo-500/10":"bg-green-500/10"}`,children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 font-bold text-theme-text",children:[(0,b.jsx)(h,{size:18}),c]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:a=>{a.stopPropagation(),z(e)},className:"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors",children:(0,b.jsx)(d.Plus,{size:16})}),(0,b.jsx)("span",{className:"text-xs font-semibold bg-theme-panel px-2 py-1 rounded-full border border-theme-border text-theme-muted",children:i.length})]})]}),(0,b.jsxs)("div",{className:"flex-1 overflow-y-auto p-3 space-y-3 custom-scrollbar",children:[i.map(a=>{let c=a.description.length>300?a.description.substring(0,300)+"...":a.description;return(0,b.jsxs)("div",{draggable:!0,onDragStart:b=>{v(a.id),b.dataTransfer.effectAllowed="move"},onDoubleClick:b=>{b.stopPropagation(),A(a)},className:"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,b.jsx)("span",{className:`text-[10px] uppercase font-bold px-2 py-0.5 rounded-full flex items-center gap-1 ${p[a.category].color}`,children:p[a.category].label}),(0,b.jsxs)("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),A(a)},className:"text-slate-300 hover:text-blue-500",children:(0,b.jsx)(n.Edit3,{size:14})}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),y(a.id)},className:"text-slate-300 hover:text-red-500",children:(0,b.jsx)(m.Trash2,{size:14})})]})]}),(0,b.jsxs)("div",{className:"mb-2",children:[(0,b.jsx)("h4",{className:"font-bold text-theme-text text-sm mb-1 leading-tight",children:a.title}),a.description&&(0,b.jsx)("p",{className:"text-xs text-theme-muted line-clamp-3 leading-relaxed",title:a.description.length>300?"Description tronquée (voir détail)":void 0,children:c})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs text-theme-muted border-t border-theme-border pt-2 mt-2 transition-colors duration-300",children:[(0,b.jsxs)("span",{className:"flex items-center gap-1",children:[(0,b.jsx)(j.Clock,{size:10})," ",new Date(a.createdAt).toLocaleDateString()]}),(0,b.jsx)(g,{size:14,className:"opacity-20"})]})]},a.id)}),0===i.length&&(0,b.jsxs)("div",{className:"h-full flex flex-col items-center justify-center text-slate-300 text-sm italic border-2 border-dashed border-indigo-200 rounded-lg m-1",children:[(0,b.jsx)("span",{className:"mb-2",children:"Vide"}),(0,b.jsx)("span",{className:"text-xs opacity-70",children:"Double-cliquez pour ajouter"})]})]})]})};return(0,b.jsxs)("div",{className:"flex flex-col h-full bg-theme-bg p-6 gap-6 relative transition-colors duration-300 -m-8",children:[(0,b.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center gap-4 bg-theme-panel p-4 rounded-xl border border-theme-border shadow-sm shrink-0 transition-colors duration-300",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-2xl font-bold text-theme-text flex items-center gap-2",children:[(0,b.jsx)(k.Lightbulb,{className:"text-yellow-500"})," Boîte à Idées"]}),(0,b.jsx)("p",{className:"text-theme-muted text-sm",children:"Organisez vos tâches, idées de scènes et recherches."})]}),(0,b.jsxs)("form",{onSubmit:b=>{b.preventDefault(),l.trim()&&(f([...a,{id:`idea-${Date.now()}`,title:l,description:"",category:s,status:"todo",createdAt:Date.now()}]),r(""))},className:"flex-1 w-full md:w-auto max-w-2xl flex gap-2",children:[(0,b.jsx)("select",{value:s,onChange:a=>t(a.target.value),className:"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300",children:Object.entries(p).map(([a,c])=>(0,b.jsx)("option",{value:a,children:c.label},a))}),(0,b.jsx)("input",{type:"text",value:l,onChange:a=>r(a.target.value),placeholder:"Titre de la nouvelle idée...",className:"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300"}),(0,b.jsx)("button",{type:"submit",disabled:!l.trim(),className:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 disabled:opacity-50 transition-colors flex items-center gap-2",children:(0,b.jsx)(d.Plus,{size:18})})]})]}),(0,b.jsxs)("div",{className:"flex-1 grid grid-cols-1 md:grid-cols-3 gap-6 min-h-0",children:[(0,b.jsx)(C,{title:"Idées / À faire",status:"todo",icon:i}),(0,b.jsx)(C,{title:"En cours",status:"progress",icon:j.Clock}),(0,b.jsx)(C,{title:"Terminé",status:"done",icon:h})]}),w&&(0,b.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black/40 backdrop-blur-sm p-4 animate-in fade-in duration-200",children:(0,b.jsxs)("div",{className:"bg-theme-panel rounded-xl shadow-2xl w-full max-w-lg overflow-hidden flex flex-col max-h-[90%] transition-colors duration-300 border border-theme-border",children:[(0,b.jsxs)("div",{className:"bg-theme-bg border-b border-theme-border p-4 flex justify-between items-center",children:[(0,b.jsxs)("h3",{className:"font-bold text-theme-text flex items-center gap-2",children:[w.id?(0,b.jsx)(n.Edit3,{size:18}):(0,b.jsx)(d.Plus,{size:18}),w.id?"Éditer la carte":"Ajouter une carte"]}),(0,b.jsx)("button",{onClick:()=>x(null),className:"text-theme-muted hover:text-theme-text",children:(0,b.jsx)(e.X,{size:20})})]}),(0,b.jsxs)("div",{className:"p-6 space-y-4 overflow-y-auto",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Titre"}),(0,b.jsx)("input",{type:"text",value:w.title,onChange:a=>x({...w,title:a.target.value}),className:"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300",placeholder:"Titre de la tâche ou de l'idée...",autoFocus:!0})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Description"}),(0,b.jsx)("textarea",{value:w.description,onChange:a=>x({...w,description:a.target.value}),maxLength:500,className:"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300",placeholder:"Détails, notes, liens..."}),(0,b.jsxs)("div",{className:`text-right text-xs mt-1 transition-colors ${(w.description?.length||0)>=500?"text-red-500 font-bold":(w.description?.length||0)>450?"text-orange-500":"text-slate-400"}`,children:[w.description?.length||0," / ",500," caractères"]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Catégorie"}),(0,b.jsx)("select",{value:w.category,onChange:a=>x({...w,category:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300",children:Object.entries(p).map(([a,c])=>(0,b.jsx)("option",{value:a,children:c.label},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Statut"}),(0,b.jsx)("select",{value:w.status,onChange:a=>x({...w,status:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300",children:Object.entries(q).map(([a,c])=>(0,b.jsx)("option",{value:a,children:c},a))})]})]})]}),(0,b.jsxs)("div",{className:"p-4 border-t border-theme-border bg-theme-bg flex justify-end gap-2 shrink-0 transition-colors duration-300",children:[w.id&&(0,b.jsx)("button",{onClick:()=>y(w.id),className:"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2",children:"Supprimer"}),(0,b.jsx)("button",{onClick:()=>x(null),className:"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300",children:"Annuler"}),(0,b.jsxs)("button",{onClick:()=>{w&&w.title?.trim()&&(w.id?f(a.map(a=>a.id===w.id?{...a,...w}:a)):f([...a,{id:`idea-${Date.now()}`,title:w.title||"",description:w.description||"",category:w.category||"plot",status:w.status||"todo",createdAt:Date.now()}]),x(null))},disabled:!w.title?.trim(),className:"px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg text-sm font-medium shadow-sm disabled:opacity-50 flex items-center gap-2",children:[(0,b.jsx)(o.Save,{size:16})," Enregistrer"]})]})]})})]})};var s=a.i(46344);function t(){let{project:a,updateProject:c}=(0,s.useProjectContext)();return(0,b.jsx)(r,{ideas:a.ideas||[],onUpdate:a=>c({ideas:a})})}a.s(["default",()=>t],71549)}]; +module.exports=[98205,a=>{"use strict";let b=(0,a.i(29892).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);a.s(["Save",()=>b],98205)},68565,a=>{"use strict";let b=(0,a.i(29892).default)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);a.s(["Edit3",()=>b],68565)},49089,a=>{"use strict";let b=(0,a.i(29892).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);a.s(["Clock",()=>b],49089)},71549,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(33782),e=a.i(40400),f=a.i(29892);let g=(0,f.default)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]),h=(0,f.default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),i=(0,f.default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var j=a.i(49089),k=a.i(63287);let l=(0,f.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);var m=a.i(46451),n=a.i(68565),o=a.i(98205),p=a.i(54607);let q={plot:{labelKey:"ideaboard.cat_plot",color:"bg-rose-100 text-rose-800 border-rose-200",icon:k.Lightbulb},character:{labelKey:"ideaboard.cat_char",color:"bg-blue-100 text-blue-800 border-blue-200",icon:l},research:{labelKey:"ideaboard.cat_research",color:"bg-amber-100 text-amber-800 border-amber-200",icon:l},todo:{labelKey:"ideaboard.cat_todo",color:"bg-slate-100 text-slate-800 border-slate-200",icon:h}},r={todo:"ideaboard.stat_todo",progress:"ideaboard.stat_prog",done:"ideaboard.stat_done"},s=({ideas:a,onUpdate:f})=>{let{t:l}=(0,p.useLanguage)(),[s,t]=(0,c.useState)(""),[u,v]=(0,c.useState)("plot"),[w,x]=(0,c.useState)(null),[y,z]=(0,c.useState)(null),A=b=>{confirm(l("ideaboard.delete")+" ?")&&(f(a.filter(a=>a.id!==b)),y?.id===b&&z(null))},B=a=>{z({title:"",description:"",category:"plot",status:a})},C=a=>{z({...a})},D=a=>{a.preventDefault(),a.dataTransfer.dropEffect="move"},E=({title:c,status:e,icon:h})=>{let i=a.filter(a=>a.status===e);return(0,b.jsxs)("div",{className:"flex-1 bg-theme-bg/50 rounded-xl border border-theme-border flex flex-col h-full overflow-hidden transition-colors hover:border-blue-300",onDragOver:D,onDrop:b=>{b.preventDefault(),w&&(f(a.map(a=>a.id===w?{...a,status:e}:a)),x(null))},onDoubleClick:()=>B(e),title:l("ideaboard.empty_desc"),children:[(0,b.jsxs)("div",{className:`p-4 border-b border-theme-border flex justify-between items-center transition-colors duration-300 ${"todo"===e?"bg-theme-bg":"progress"===e?"bg-indigo-500/10":"bg-green-500/10"}`,children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 font-bold text-theme-text",children:[(0,b.jsx)(h,{size:18}),c]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:a=>{a.stopPropagation(),B(e)},className:"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors",children:(0,b.jsx)(d.Plus,{size:16})}),(0,b.jsx)("span",{className:"text-xs font-semibold bg-theme-panel px-2 py-1 rounded-full border border-theme-border text-theme-muted",children:i.length})]})]}),(0,b.jsxs)("div",{className:"flex-1 overflow-y-auto p-3 space-y-3 custom-scrollbar",children:[i.map(a=>{let c=a.description.length>300?a.description.substring(0,300)+"...":a.description;return(0,b.jsxs)("div",{draggable:!0,onDragStart:b=>{x(a.id),b.dataTransfer.effectAllowed="move"},onDoubleClick:b=>{b.stopPropagation(),C(a)},className:"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,b.jsx)("span",{className:`text-[10px] uppercase font-bold px-2 py-0.5 rounded-full flex items-center gap-1 ${q[a.category].color}`,children:l(q[a.category].labelKey)}),(0,b.jsxs)("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),C(a)},className:"text-slate-300 hover:text-blue-500",children:(0,b.jsx)(n.Edit3,{size:14})}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),A(a.id)},className:"text-slate-300 hover:text-red-500",children:(0,b.jsx)(m.Trash2,{size:14})})]})]}),(0,b.jsxs)("div",{className:"mb-2",children:[(0,b.jsx)("h4",{className:"font-bold text-theme-text text-sm mb-1 leading-tight",children:a.title}),a.description&&(0,b.jsx)("p",{className:"text-xs text-theme-muted line-clamp-3 leading-relaxed",title:a.description.length>300?"Description tronquée (voir détail)":void 0,children:c})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs text-theme-muted border-t border-theme-border pt-2 mt-2 transition-colors duration-300",children:[(0,b.jsxs)("span",{className:"flex items-center gap-1",children:[(0,b.jsx)(j.Clock,{size:10})," ",new Date(a.createdAt).toLocaleDateString("fr-FR")]}),(0,b.jsx)(g,{size:14,className:"opacity-20"})]})]},a.id)}),0===i.length&&(0,b.jsxs)("div",{className:"h-full flex flex-col items-center justify-center text-slate-300 text-sm italic border-2 border-dashed border-indigo-200 rounded-lg m-1",children:[(0,b.jsx)("span",{className:"mb-2",children:l("ideaboard.empty")}),(0,b.jsx)("span",{className:"text-xs opacity-70",children:l("ideaboard.empty_desc")})]})]})]})};return(0,b.jsxs)("div",{className:"flex flex-col h-full bg-theme-bg p-6 gap-6 relative transition-colors duration-300 -m-8",children:[(0,b.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center gap-4 bg-theme-panel p-4 rounded-xl border border-theme-border shadow-sm shrink-0 transition-colors duration-300",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-2xl font-bold text-theme-text flex items-center gap-2",children:[(0,b.jsx)(k.Lightbulb,{className:"text-yellow-500"})," ",l("ideaboard.title")]}),(0,b.jsx)("p",{className:"text-theme-muted text-sm",children:l("ideaboard.desc")})]}),(0,b.jsxs)("form",{onSubmit:b=>{b.preventDefault(),s.trim()&&(f([...a,{id:`idea-${Date.now()}`,title:s,description:"",category:u,status:"todo",createdAt:Date.now()}]),t(""))},className:"flex-1 w-full md:w-auto max-w-2xl flex gap-2",children:[(0,b.jsx)("select",{value:u,onChange:a=>v(a.target.value),className:"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300",children:Object.entries(q).map(([a,c])=>(0,b.jsx)("option",{value:a,children:l(c.labelKey)},a))}),(0,b.jsx)("input",{type:"text",value:s,onChange:a=>t(a.target.value),placeholder:l("ideaboard.add_idea"),className:"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300"}),(0,b.jsx)("button",{type:"submit",disabled:!s.trim(),className:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 disabled:opacity-50 transition-colors flex items-center gap-2",children:(0,b.jsx)(d.Plus,{size:18})})]})]}),(0,b.jsxs)("div",{className:"flex-1 grid grid-cols-1 md:grid-cols-3 gap-6 min-h-0",children:[(0,b.jsx)(E,{title:l("ideaboard.stat_todo"),status:"todo",icon:i}),(0,b.jsx)(E,{title:l("ideaboard.stat_prog"),status:"progress",icon:j.Clock}),(0,b.jsx)(E,{title:l("ideaboard.stat_done"),status:"done",icon:h})]}),y&&(0,b.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black/40 backdrop-blur-sm p-4 animate-in fade-in duration-200",children:(0,b.jsxs)("div",{className:"bg-theme-panel rounded-xl shadow-2xl w-full max-w-lg overflow-hidden flex flex-col max-h-[90%] transition-colors duration-300 border border-theme-border",children:[(0,b.jsxs)("div",{className:"bg-theme-bg border-b border-theme-border p-4 flex justify-between items-center",children:[(0,b.jsxs)("h3",{className:"font-bold text-theme-text flex items-center gap-2",children:[y.id?(0,b.jsx)(n.Edit3,{size:18}):(0,b.jsx)(d.Plus,{size:18}),y.id?l("ideaboard.edit_card"):l("ideaboard.add_card")]}),(0,b.jsx)("button",{onClick:()=>z(null),className:"text-theme-muted hover:text-theme-text",children:(0,b.jsx)(e.X,{size:20})})]}),(0,b.jsxs)("div",{className:"p-6 space-y-4 overflow-y-auto",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:l("ideaboard.title_label")}),(0,b.jsx)("input",{type:"text",value:y.title,onChange:a=>z({...y,title:a.target.value}),className:"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300",placeholder:l("ideaboard.add_idea"),autoFocus:!0})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:l("ideaboard.desc_label")}),(0,b.jsx)("textarea",{value:y.description,onChange:a=>z({...y,description:a.target.value}),maxLength:500,className:"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300",placeholder:"Détails, notes, liens..."}),(0,b.jsxs)("div",{className:`text-right text-xs mt-1 transition-colors ${(y.description?.length||0)>=500?"text-red-500 font-bold":(y.description?.length||0)>450?"text-orange-500":"text-slate-400"}`,children:[y.description?.length||0," / ",500," caractères"]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:l("ideaboard.cat_label")}),(0,b.jsx)("select",{value:y.category,onChange:a=>z({...y,category:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300",children:Object.entries(q).map(([a,c])=>(0,b.jsx)("option",{value:a,children:l(c.labelKey)},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:l("ideaboard.stat_label")}),(0,b.jsx)("select",{value:y.status,onChange:a=>z({...y,status:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300",children:Object.entries(r).map(([a,c])=>(0,b.jsx)("option",{value:a,children:l(c)},a))})]})]})]}),(0,b.jsxs)("div",{className:"p-4 border-t border-theme-border bg-theme-bg flex justify-end gap-2 shrink-0 transition-colors duration-300",children:[y.id&&(0,b.jsx)("button",{onClick:()=>A(y.id),className:"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2",children:l("ideaboard.delete")}),(0,b.jsx)("button",{onClick:()=>z(null),className:"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300",children:l("ideaboard.cancel")}),(0,b.jsxs)("button",{onClick:()=>{y&&y.title?.trim()&&(y.id?f(a.map(a=>a.id===y.id?{...a,...y}:a)):f([...a,{id:`idea-${Date.now()}`,title:y.title||"",description:y.description||"",category:y.category||"plot",status:y.status||"todo",createdAt:Date.now()}]),z(null))},disabled:!y.title?.trim(),className:"px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg text-sm font-medium shadow-sm disabled:opacity-50 flex items-center gap-2",children:[(0,b.jsx)(o.Save,{size:16})," ",l("ideaboard.save")]})]})]})})]})};var t=a.i(46344);function u(){let{project:a,updateProject:c}=(0,t.useProjectContext)();return(0,b.jsx)(s,{ideas:a.ideas||[],onUpdate:a=>c({ideas:a})})}a.s(["default",()=>u],71549)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_834a77e3._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js.map b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js.map index fff47f4..a867a46 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js.map +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_834a77e3._.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/save.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/pen-line.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/IdeaBoard.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/ideas/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/search.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/grip-vertical.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-check-big.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n key: '1c8476',\n },\n ],\n ['path', { d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7', key: '1ydtos' }],\n ['path', { d: 'M7 3v4a1 1 0 0 0 1 1h7', key: 't51u73' }],\n];\n\n/**\n * @component @name Save\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUuMiAzYTIgMiAwIDAgMSAxLjQuNmwzLjggMy44YTIgMiAwIDAgMSAuNiAxLjRWMTlhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yeiIgLz4KICA8cGF0aCBkPSJNMTcgMjF2LTdhMSAxIDAgMCAwLTEtMUg4YTEgMSAwIDAgMC0xIDF2NyIgLz4KICA8cGF0aCBkPSJNNyAzdjRhMSAxIDAgMCAwIDEgMWg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/save\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Save = createLucideIcon('save', __iconNode);\n\nexport default Save;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M13 21h8', key: '1jsn5i' }],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name PenLine\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgMjFoOCIgLz4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen-line\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PenLine = createLucideIcon('pen-line', __iconNode);\n\nexport default PenLine;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n","'use client';\n\nimport React, { useState } from 'react';\nimport { Idea, IdeaStatus, IdeaCategory } from '@/lib/types';\nimport { Plus, X, GripVertical, CheckCircle, Circle, Clock, Lightbulb, Search, Trash2, Edit3, Save } from 'lucide-react';\n\ninterface IdeaBoardProps {\n ideas: Idea[];\n onUpdate: (ideas: Idea[]) => void;\n}\n\nconst CATEGORIES: Record = {\n plot: { label: 'Intrigue', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: Lightbulb },\n character: { label: 'Personnage', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: Search },\n research: { label: 'Recherche', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: Search },\n todo: { label: 'À faire', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: CheckCircle },\n};\n\nconst STATUS_LABELS: Record = {\n todo: 'Idées / À faire',\n progress: 'En cours',\n done: 'Terminé / Validé'\n};\n\nconst MAX_DESCRIPTION_LENGTH = 500;\n\nconst IdeaBoard: React.FC = ({ ideas, onUpdate }) => {\n const [newIdeaTitle, setNewIdeaTitle] = useState('');\n const [newIdeaCategory, setNewIdeaCategory] = useState('plot');\n\n // Drag and Drop State\n const [draggedIdeaId, setDraggedIdeaId] = useState(null);\n\n // Modal State for Edit/Quick Add\n const [editingItem, setEditingItem] = useState | null>(null);\n\n // --- ACTIONS ---\n\n const handleAddIdea = (e: React.FormEvent) => {\n e.preventDefault();\n if (!newIdeaTitle.trim()) return;\n\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: newIdeaTitle,\n description: '',\n category: newIdeaCategory,\n status: 'todo',\n createdAt: Date.now()\n };\n\n onUpdate([...ideas, newIdea]);\n setNewIdeaTitle('');\n };\n\n const handleDelete = (id: string) => {\n if (confirm(\"Supprimer cette carte ?\")) {\n onUpdate(ideas.filter(i => i.id !== id));\n if (editingItem?.id === id) setEditingItem(null);\n }\n };\n\n const handleSaveEdit = () => {\n if (!editingItem || !editingItem.title?.trim()) return;\n\n if (editingItem.id) {\n // Update existing\n onUpdate(ideas.map(i => i.id === editingItem.id ? { ...i, ...editingItem } as Idea : i));\n } else {\n // Create new from modal\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: editingItem.title || '',\n description: editingItem.description || '',\n category: editingItem.category || 'plot',\n status: editingItem.status || 'todo',\n createdAt: Date.now()\n };\n onUpdate([...ideas, newIdea]);\n }\n setEditingItem(null);\n };\n\n const openQuickAdd = (status: IdeaStatus) => {\n setEditingItem({\n title: '',\n description: '',\n category: 'plot',\n status: status\n });\n };\n\n const openEdit = (idea: Idea) => {\n setEditingItem({ ...idea });\n };\n\n // --- DRAG HANDLERS ---\n\n const handleDragStart = (e: React.DragEvent, id: string) => {\n setDraggedIdeaId(id);\n e.dataTransfer.effectAllowed = 'move';\n };\n\n const handleDrop = (e: React.DragEvent, status: IdeaStatus) => {\n e.preventDefault();\n if (draggedIdeaId) {\n const updatedIdeas = ideas.map(idea =>\n idea.id === draggedIdeaId ? { ...idea, status } : idea\n );\n onUpdate(updatedIdeas);\n setDraggedIdeaId(null);\n }\n };\n\n const handleDragOver = (e: React.DragEvent) => {\n e.preventDefault();\n e.dataTransfer.dropEffect = 'move';\n };\n\n // --- RENDERERS ---\n\n const Column = ({ title, status, icon: Icon }: { title: string, status: IdeaStatus, icon: any }) => {\n const columnIdeas = ideas.filter(i => i.status === status);\n\n return (\n handleDrop(e, status)}\n onDoubleClick={() => openQuickAdd(status)}\n title=\"Double-cliquez dans le vide pour ajouter une carte ici\"\n >\n {/* Column Header */}\n
\n
\n \n {title}\n
\n
\n { e.stopPropagation(); openQuickAdd(status); }}\n className=\"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors\"\n >\n \n \n \n {columnIdeas.length}\n \n
\n
\n\n {/* Column Body */}\n
\n {columnIdeas.map(idea => {\n const truncatedDesc = idea.description.length > 300\n ? idea.description.substring(0, 300) + '...'\n : idea.description;\n\n return (\n handleDragStart(e, idea.id)}\n onDoubleClick={(e) => {\n e.stopPropagation(); // Prevent column double-click\n openEdit(idea);\n }}\n className=\"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200\"\n >\n
\n \n {CATEGORIES[idea.category].label}\n \n
\n { e.stopPropagation(); openEdit(idea); }}\n className=\"text-slate-300 hover:text-blue-500\"\n >\n \n \n { e.stopPropagation(); handleDelete(idea.id); }}\n className=\"text-slate-300 hover:text-red-500\"\n >\n \n \n
\n
\n\n {/* CARD CONTENT */}\n
\n

{idea.title}

\n {idea.description && (\n

300 ? \"Description tronquée (voir détail)\" : undefined}>\n {truncatedDesc}\n

\n )}\n
\n\n
\n \n {new Date(idea.createdAt).toLocaleDateString()}\n \n \n
\n
\n );\n })}\n {columnIdeas.length === 0 && (\n
\n Vide\n Double-cliquez pour ajouter\n
\n )}\n
\n
\n );\n };\n\n return (\n
\n\n {/* Header & Add Form (Top Bar) */}\n
\n
\n

\n Boîte à Idées\n

\n

Organisez vos tâches, idées de scènes et recherches.

\n
\n\n
\n setNewIdeaCategory(e.target.value as IdeaCategory)}\n className=\"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n setNewIdeaTitle(e.target.value)}\n placeholder=\"Titre de la nouvelle idée...\"\n className=\"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300\"\n />\n \n \n \n \n
\n\n {/* Kanban Board */}\n
\n \n \n \n
\n\n {/* EDIT / QUICK ADD MODAL */}\n {editingItem && (\n
\n
\n
\n

\n {editingItem.id ? : }\n {editingItem.id ? 'Éditer la carte' : 'Ajouter une carte'}\n

\n \n
\n\n
\n
\n \n setEditingItem({ ...editingItem, title: e.target.value })}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300\"\n placeholder=\"Titre de la tâche ou de l'idée...\"\n autoFocus\n />\n
\n\n
\n \n setEditingItem({ ...editingItem, description: e.target.value })}\n maxLength={MAX_DESCRIPTION_LENGTH}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300\"\n placeholder=\"Détails, notes, liens...\"\n />\n
= MAX_DESCRIPTION_LENGTH ? 'text-red-500 font-bold' :\n (editingItem.description?.length || 0) > MAX_DESCRIPTION_LENGTH * 0.9 ? 'text-orange-500' : 'text-slate-400'\n }`}>\n {editingItem.description?.length || 0} / {MAX_DESCRIPTION_LENGTH} caractères\n
\n
\n\n
\n
\n \n setEditingItem({ ...editingItem, category: e.target.value as IdeaCategory })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n
\n
\n \n setEditingItem({ ...editingItem, status: e.target.value as IdeaStatus })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(STATUS_LABELS).map(([key, val]) => (\n \n ))}\n \n
\n
\n
\n\n
\n {editingItem.id && (\n handleDelete(editingItem.id!)}\n className=\"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2\"\n >\n Supprimer\n \n )}\n setEditingItem(null)}\n className=\"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300\"\n >\n Annuler\n \n \n Enregistrer\n \n
\n
\n
\n )}\n\n
\n );\n};\n\nexport default IdeaBoard;","'use client';\r\n\r\nimport IdeaBoard from '@/components/IdeaBoard';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function IdeasPage() {\r\n const { project, updateProject } = useProjectContext();\r\n\r\n return (\r\n updateProject({ ideas })}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '9', cy: '12', r: '1', key: '1vctgf' }],\n ['circle', { cx: '9', cy: '5', r: '1', key: 'hp0tcf' }],\n ['circle', { cx: '9', cy: '19', r: '1', key: 'fkjjf6' }],\n ['circle', { cx: '15', cy: '12', r: '1', key: '1tmaij' }],\n ['circle', { cx: '15', cy: '5', r: '1', key: '19l28e' }],\n ['circle', { cx: '15', cy: '19', r: '1', key: 'f4zoj3' }],\n];\n\n/**\n * @component @name GripVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjUiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjE5IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iMTUiIGN5PSI1IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTkiIHI9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/grip-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GripVertical = createLucideIcon('grip-vertical', __iconNode);\n\nexport default GripVertical;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21.801 10A10 10 0 1 1 17 3.335', key: 'yps3ct' }],\n ['path', { d: 'm9 11 3 3L22 4', key: '1pflzl' }],\n];\n\n/**\n * @component @name CircleCheckBig\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuODAxIDEwQTEwIDEwIDAgMSAxIDE3IDMuMzM1IiAvPgogIDxwYXRoIGQ9Im05IDExIDMgM0wyMiA0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check-big\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheckBig = createLucideIcon('circle-check-big', __iconNode);\n\nexport default CircleCheckBig;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }]];\n\n/**\n * @component @name Circle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Circle = createLucideIcon('circle', __iconNode);\n\nexport default Circle;\n"],"names":[],"mappings":"uCA0BA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAN,CAAM,CAAA,CAAA,CAAA,AAAO,CAAP,AAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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A,EAAC,EAAA,IAAI,CAAA,CAAC,KAAM,KAAM,4BASlD,EC7WA,IAAA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,GAAM,SAAE,CAAO,eAAE,CAAa,CAAE,CAAG,CAAA,EAAA,EAAA,iBAAA,AAAiB,IAEpD,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,MAAO,EAAQ,KAAK,EAAI,EAAE,CAC1B,SAAU,AAAC,GAAU,EAAc,OAAE,CAAM,IAGvD","ignoreList":[0,1,2,5,6,7,8]} \ No newline at end of file +{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/save.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/pen-line.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/clock.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/IdeaBoard.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/ideas/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/search.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/grip-vertical.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-check-big.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n key: '1c8476',\n },\n ],\n ['path', { d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7', key: '1ydtos' }],\n ['path', { d: 'M7 3v4a1 1 0 0 0 1 1h7', key: 't51u73' }],\n];\n\n/**\n * @component @name Save\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUuMiAzYTIgMiAwIDAgMSAxLjQuNmwzLjggMy44YTIgMiAwIDAgMSAuNiAxLjRWMTlhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yeiIgLz4KICA8cGF0aCBkPSJNMTcgMjF2LTdhMSAxIDAgMCAwLTEtMUg4YTEgMSAwIDAgMC0xIDF2NyIgLz4KICA8cGF0aCBkPSJNNyAzdjRhMSAxIDAgMCAwIDEgMWg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/save\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Save = createLucideIcon('save', __iconNode);\n\nexport default Save;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M13 21h8', key: '1jsn5i' }],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name PenLine\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgMjFoOCIgLz4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen-line\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PenLine = createLucideIcon('pen-line', __iconNode);\n\nexport default PenLine;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNnY2bDQgMiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n","'use client';\n\nimport React, { useState } from 'react';\nimport { Idea, IdeaStatus, IdeaCategory } from '@/lib/types';\nimport { Plus, X, GripVertical, CheckCircle, Circle, Clock, Lightbulb, Search, Trash2, Edit3, Save } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { TranslationKey } from '@/lib/i18n/translations';\n\ninterface IdeaBoardProps {\n ideas: Idea[];\n onUpdate: (ideas: Idea[]) => void;\n}\n\nconst CATEGORIES: Record = {\n plot: { labelKey: 'ideaboard.cat_plot', color: 'bg-rose-100 text-rose-800 border-rose-200', icon: Lightbulb },\n character: { labelKey: 'ideaboard.cat_char', color: 'bg-blue-100 text-blue-800 border-blue-200', icon: Search },\n research: { labelKey: 'ideaboard.cat_research', color: 'bg-amber-100 text-amber-800 border-amber-200', icon: Search },\n todo: { labelKey: 'ideaboard.cat_todo', color: 'bg-slate-100 text-slate-800 border-slate-200', icon: CheckCircle },\n};\n\nconst STATUS_LABELS: Record = {\n todo: 'ideaboard.stat_todo',\n progress: 'ideaboard.stat_prog',\n done: 'ideaboard.stat_done'\n};\n\nconst MAX_DESCRIPTION_LENGTH = 500;\n\nconst IdeaBoard: React.FC = ({ ideas, onUpdate }) => {\n const { t } = useLanguage();\n const [newIdeaTitle, setNewIdeaTitle] = useState('');\n const [newIdeaCategory, setNewIdeaCategory] = useState('plot');\n\n // Drag and Drop State\n const [draggedIdeaId, setDraggedIdeaId] = useState(null);\n\n // Modal State for Edit/Quick Add\n const [editingItem, setEditingItem] = useState | null>(null);\n\n // --- ACTIONS ---\n\n const handleAddIdea = (e: React.FormEvent) => {\n e.preventDefault();\n if (!newIdeaTitle.trim()) return;\n\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: newIdeaTitle,\n description: '',\n category: newIdeaCategory,\n status: 'todo',\n createdAt: Date.now()\n };\n\n onUpdate([...ideas, newIdea]);\n setNewIdeaTitle('');\n };\n\n const handleDelete = (id: string) => {\n if (confirm(t('ideaboard.delete') + \" ?\")) {\n onUpdate(ideas.filter(i => i.id !== id));\n if (editingItem?.id === id) setEditingItem(null);\n }\n };\n\n const handleSaveEdit = () => {\n if (!editingItem || !editingItem.title?.trim()) return;\n\n if (editingItem.id) {\n // Update existing\n onUpdate(ideas.map(i => i.id === editingItem.id ? { ...i, ...editingItem } as Idea : i));\n } else {\n // Create new from modal\n const newIdea: Idea = {\n id: `idea-${Date.now()}`,\n title: editingItem.title || '',\n description: editingItem.description || '',\n category: editingItem.category || 'plot',\n status: editingItem.status || 'todo',\n createdAt: Date.now()\n };\n onUpdate([...ideas, newIdea]);\n }\n setEditingItem(null);\n };\n\n const openQuickAdd = (status: IdeaStatus) => {\n setEditingItem({\n title: '',\n description: '',\n category: 'plot',\n status: status\n });\n };\n\n const openEdit = (idea: Idea) => {\n setEditingItem({ ...idea });\n };\n\n // --- DRAG HANDLERS ---\n\n const handleDragStart = (e: React.DragEvent, id: string) => {\n setDraggedIdeaId(id);\n e.dataTransfer.effectAllowed = 'move';\n };\n\n const handleDrop = (e: React.DragEvent, status: IdeaStatus) => {\n e.preventDefault();\n if (draggedIdeaId) {\n const updatedIdeas = ideas.map(idea =>\n idea.id === draggedIdeaId ? { ...idea, status } : idea\n );\n onUpdate(updatedIdeas);\n setDraggedIdeaId(null);\n }\n };\n\n const handleDragOver = (e: React.DragEvent) => {\n e.preventDefault();\n e.dataTransfer.dropEffect = 'move';\n };\n\n // --- RENDERERS ---\n\n const Column = ({ title, status, icon: Icon }: { title: string, status: IdeaStatus, icon: any }) => {\n const columnIdeas = ideas.filter(i => i.status === status);\n\n return (\n handleDrop(e, status)}\n onDoubleClick={() => openQuickAdd(status)}\n title={t('ideaboard.empty_desc')}\n >\n {/* Column Header */}\n
\n
\n \n {title}\n
\n
\n { e.stopPropagation(); openQuickAdd(status); }}\n className=\"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors\"\n >\n \n \n \n {columnIdeas.length}\n \n
\n
\n\n {/* Column Body */}\n
\n {columnIdeas.map(idea => {\n const truncatedDesc = idea.description.length > 300\n ? idea.description.substring(0, 300) + '...'\n : idea.description;\n\n return (\n handleDragStart(e, idea.id)}\n onDoubleClick={(e) => {\n e.stopPropagation(); // Prevent column double-click\n openEdit(idea);\n }}\n className=\"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200\"\n >\n
\n \n {t(CATEGORIES[idea.category].labelKey as TranslationKey)}\n \n
\n { e.stopPropagation(); openEdit(idea); }}\n className=\"text-slate-300 hover:text-blue-500\"\n >\n \n \n { e.stopPropagation(); handleDelete(idea.id); }}\n className=\"text-slate-300 hover:text-red-500\"\n >\n \n \n
\n
\n\n
\n

{idea.title}

\n {idea.description && (\n

300 ? \"Description tronquée (voir détail)\" : undefined}>\n {truncatedDesc}\n

\n )}\n
\n\n
\n \n {new Date(idea.createdAt).toLocaleDateString('fr-FR')}\n \n \n
\n
\n );\n })}\n {columnIdeas.length === 0 && (\n
\n {t('ideaboard.empty')}\n {t('ideaboard.empty_desc')}\n
\n )}\n
\n
\n );\n };\n\n return (\n
\n\n {/* Header & Add Form (Top Bar) */}\n
\n
\n

\n {t('ideaboard.title')}\n

\n

{t('ideaboard.desc')}

\n
\n\n
\n setNewIdeaCategory(e.target.value as IdeaCategory)}\n className=\"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n setNewIdeaTitle(e.target.value)}\n placeholder={t('ideaboard.add_idea')}\n className=\"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300\"\n />\n \n \n \n \n
\n\n {/* Kanban Board */}\n
\n \n \n \n
\n\n {/* EDIT / QUICK ADD MODAL */}\n {editingItem && (\n
\n
\n
\n

\n {editingItem.id ? : }\n {editingItem.id ? t('ideaboard.edit_card') : t('ideaboard.add_card')}\n

\n \n
\n\n
\n
\n \n setEditingItem({ ...editingItem, title: e.target.value })}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300\"\n placeholder={t('ideaboard.add_idea')}\n autoFocus\n />\n
\n\n
\n \n setEditingItem({ ...editingItem, description: e.target.value })}\n maxLength={MAX_DESCRIPTION_LENGTH}\n className=\"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300\"\n placeholder=\"Détails, notes, liens...\"\n />\n
= MAX_DESCRIPTION_LENGTH ? 'text-red-500 font-bold' :\n (editingItem.description?.length || 0) > MAX_DESCRIPTION_LENGTH * 0.9 ? 'text-orange-500' : 'text-slate-400'\n }`}>\n {editingItem.description?.length || 0} / {MAX_DESCRIPTION_LENGTH} caractères\n
\n
\n\n
\n
\n \n setEditingItem({ ...editingItem, category: e.target.value as IdeaCategory })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(CATEGORIES).map(([key, val]) => (\n \n ))}\n \n
\n
\n \n setEditingItem({ ...editingItem, status: e.target.value as IdeaStatus })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300\"\n >\n {Object.entries(STATUS_LABELS).map(([key, val]) => (\n \n ))}\n \n
\n
\n
\n\n
\n {editingItem.id && (\n handleDelete(editingItem.id!)}\n className=\"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2\"\n >\n {t('ideaboard.delete')}\n \n )}\n setEditingItem(null)}\n className=\"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300\"\n >\n {t('ideaboard.cancel')}\n \n \n {t('ideaboard.save')}\n \n
\n
\n
\n )}\n\n
\n );\n};\n\nexport default IdeaBoard;","'use client';\r\n\r\nimport IdeaBoard from '@/components/IdeaBoard';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function IdeasPage() {\r\n const { project, updateProject } = useProjectContext();\r\n\r\n return (\r\n updateProject({ ideas })}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '9', cy: '12', r: '1', key: '1vctgf' }],\n ['circle', { cx: '9', cy: '5', r: '1', key: 'hp0tcf' }],\n ['circle', { cx: '9', cy: '19', r: '1', key: 'fkjjf6' }],\n ['circle', { cx: '15', cy: '12', r: '1', key: '1tmaij' }],\n ['circle', { cx: '15', cy: '5', r: '1', key: '19l28e' }],\n ['circle', { cx: '15', cy: '19', r: '1', key: 'f4zoj3' }],\n];\n\n/**\n * @component @name GripVertical\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI5IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjUiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iOSIgY3k9IjE5IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTIiIHI9IjEiIC8+CiAgPGNpcmNsZSBjeD0iMTUiIGN5PSI1IiByPSIxIiAvPgogIDxjaXJjbGUgY3g9IjE1IiBjeT0iMTkiIHI9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/grip-vertical\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GripVertical = createLucideIcon('grip-vertical', __iconNode);\n\nexport default GripVertical;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21.801 10A10 10 0 1 1 17 3.335', key: 'yps3ct' }],\n ['path', { d: 'm9 11 3 3L22 4', key: '1pflzl' }],\n];\n\n/**\n * @component @name CircleCheckBig\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuODAxIDEwQTEwIDEwIDAgMSAxIDE3IDMuMzM1IiAvPgogIDxwYXRoIGQ9Im05IDExIDMgM0wyMiA0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check-big\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheckBig = createLucideIcon('circle-check-big', __iconNode);\n\nexport default CircleCheckBig;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }]];\n\n/**\n * @component @name Circle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Circle = createLucideIcon('circle', __iconNode);\n\nexport default Circle;\n"],"names":[],"mappings":"uCA0BA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAN,CAAM,CAAA,CAAA,CAAA,AAAO,CAAP,AAAO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA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AClB,GAAI,CAAC,KAAK,EAAE,KAAK,GAAG,GAAA,CAAI,CACxB,MAAO,EAAY,KAAK,EAAI,GAC5B,YAAa,EAAY,WAAW,EAAI,GACxC,SAAU,EAAY,QAAQ,EAAI,OAClC,OAAQ,EAAY,MAAM,EAAI,OAC9B,UAAW,KAAK,GAAG,EACvB,EAC4B,EAEhC,EAAe,MACnB,EAkR4B,SAAU,CAAC,EAAY,KAAK,EAAE,OAC9B,UAAU,oJAEV,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,IAAI,CAAA,CAAC,KAAM,KAAM,IAAE,EAAE,+BAStD,EC/WA,IAAA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,GAAM,CAAE,SAAO,eAAE,CAAa,CAAE,CAAG,CAAA,EAAA,EAAA,iBAAA,AAAiB,IAEpD,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,MAAO,EAAQ,KAAK,EAAI,EAAE,CAC1B,SAAU,AAAC,GAAU,EAAc,OAAE,CAAM,IAGvD","ignoreList":[0,1,2,5,6,7,8]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_9b3d7672._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_9b3d7672._.js index ef5cde1..319759e 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_9b3d7672._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_9b3d7672._.js @@ -1,4 +1,4 @@ -module.exports=[46015,a=>{a.n(a.i(28253))},58827,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["dashboard",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(46015),"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/dashboard/page",pathname:"/dashboard",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/dashboard/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[46015,a=>{a.n(a.i(28253))},58827,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["dashboard",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(46015),"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/dashboard/page",pathname:"/dashboard",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/dashboard/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],17370),a.i(17370),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],58827)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_9b3d7672._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a0a73c03._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a0a73c03._.js index 1230330..e53ac2d 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a0a73c03._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a0a73c03._.js @@ -1,4 +1,4 @@ -module.exports=[54528,a=>{a.n(a.i(78715))},23516,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["features",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(54528),"[project]/Documents/00 - projet/plumeia/src/app/features/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/features/page",pathname:"/features",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/features/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[54528,a=>{a.n(a.i(78715))},23516,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["features",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(54528),"[project]/Documents/00 - projet/plumeia/src/app/features/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/features/page",pathname:"/features",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/features/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],72997),a.i(72997),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],23516)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_a0a73c03._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a47a1c37._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a47a1c37._.js index a8ea2c4..1ff38ca 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a47a1c37._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_a47a1c37._.js @@ -1,4 +1,4 @@ -module.exports=[85002,a=>{a.n(a.i(87215))},99533,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["checkout",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(85002),"[project]/Documents/00 - projet/plumeia/src/app/checkout/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/checkout/page",pathname:"/checkout",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/checkout/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[85002,a=>{a.n(a.i(87215))},99533,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["checkout",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(85002),"[project]/Documents/00 - projet/plumeia/src/app/checkout/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/checkout/page",pathname:"/checkout",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/checkout/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],56082),a.i(56082),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],99533)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_a47a1c37._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_c0669bf4._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_c0669bf4._.js index 748b14f..b9a8ff9 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_c0669bf4._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_c0669bf4._.js @@ -1,4 +1,4 @@ -module.exports=[34197,a=>{a.n(a.i(25238))},23322,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["workflow",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(34197),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/workflow/page",pathname:"/project/[id]/workflow",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/workflow/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[34197,a=>{a.n(a.i(25238))},23322,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["project",{children:["[id]",{children:["workflow",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(34197),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page.tsx"]}]},{metadata:{}}]},{metadata:{},layout:[()=>a.r(98135),"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/layout.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/project/[id]/workflow/page",pathname:"/project/[id]/workflow",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/project/[id]/workflow/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],70522),a.i(70522),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],23322)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_c0669bf4._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_dacda503._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_dacda503._.js index 2cedc0f..ab0cd97 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_dacda503._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_dacda503._.js @@ -1,4 +1,4 @@ -module.exports=[68342,a=>{a.n(a.i(20394))},75524,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(16266),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["signup",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(68342),"[project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/signup/page",pathname:"/signup",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/signup/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +module.exports=[68342,a=>{a.n(a.i(20394))},75524,a=>{"use strict";var b=a.i(97521),c=a.i(30177),d=a.i(65027),e=a.i(53439),f=a.i(58350),g=a.i(20044),h=a.i(69298),i=a.i(78044),j=a.i(76776),k=a.i(97842),l=a.i(77560),m=a.i(91442),n=a.i(20261),o=a.i(57110),p=a.i(75512),q=a.i(75556),r=a.i(30991);a.i(87590);var s=a.i(41182),t=a.i(98865),u=a.i(20433),v=a.i(80203),w=a.i(91489),x=a.i(78356),y=a.i(93695),z=a.i(13030),A=a.i(71880);a.i(79466);var B=a.i(61178),C=a.i(67850),D=a.i(50975),E=a.i(97527),F=a.i(87730);let G=["",{children:["signup",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(68342),"[project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx"]}]},{metadata:{}}]},{layout:[()=>a.r(52263),"[project]/Documents/00 - projet/plumeia/src/app/layout.tsx"],"not-found":[()=>a.r(41780),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(48220),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(3402),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(71880),"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"]}],H={require:a.r.bind(a),loadChunk:a.l.bind(a)},I=new b.AppPageRouteModule({definition:{kind:c.RouteKind.APP_PAGE,page:"/signup/page",pathname:"/signup",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:G},distDir:".next",relativeProjectDir:""});async function J(a,b,K){var L;I.isDev&&(0,f.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let M=!!(0,f.getRequestMeta)(a,"minimalMode"),N="/signup/page";N=N.replace(/\/index$/,"")||"/";let O=await I.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==K.waitUntil||K.waitUntil.call(K,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,o.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,F.isInterceptionRouteAppPath)(_)?null:I.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,r.getBotType)(ak),am=(0,n.isHtmlBotRequest)(a),an=(0,f.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[q.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,f.getRequestMeta)(a,"isRSCRequest")??!!a.headers[q.RSC_HEADER],ap=(0,p.getIsPossibleServerAction)(a),aq=(0,k.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,f.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[v.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,f.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(L=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:L.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,f.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;M&&(av=av&&!!au);let aw=(0,f.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,n.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===I.isDev||!ay||"string"==typeof au||(az&&(0,f.getRequestMeta)(a,"onCacheEntryV2")?av&&!M:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&I.isDev&&(aD=_),I.isDev||$||!ay||!ao||av||(0,i.stripFlightHeaders)(a.headers);let aE={...B,tree:G,GlobalError:A.default,handler:J,routeModule:I,__next_app__:H};W&&X&&(0,m.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,e.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let d=I.getVaryHeader(_,ae);b.setHeader("Vary",d);let i=async(c,d)=>{let e=new j.NodeNextRequest(a),f=new j.NodeNextResponse(b);return I.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==g.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},k=(0,f.getRequestMeta)(a,"incrementalCache"),m=async({span:c,postponed:d,fallbackRouteParams:e,forceStaticRender:g})=>{let j={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,f.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,h.interopDefault)(aE),params:R,routeModule:I,page:N,postponed:d,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof d||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:require("path").join(process.cwd(),I.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:k,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,z.parseMaxPostponedStateSize)(ac.experimental.maxPostponedStateSize)},waitUntil:K.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>I.onRequestError(a,b,d,e,ab),err:(0,f.getRequestMeta)(a,"invokeError"),dev:I.isDev}};as&&(j.renderOpts.nextExport=!0,j.renderOpts.supportsDynamicResponse=!1,j.renderOpts.isDebugDynamicAccesses=as),g&&(j.renderOpts.supportsDynamicResponse=!1);let l=await i(c,j),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=m;if(p&&(o[v.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=q,ay&&(null==n?void 0:n.revalidate)===0&&!I.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:s.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:d,previousCacheEntry:e,isRevalidating:g,span:h,forceStaticRender:i=!1})=>{let j,o=!1===I.isDev,p=d||b.writableEnded;if(ah&&aa&&!e&&!M)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,t.parseFallbackField)(ai.fallback)),j===t.FallbackMode.PRERENDER&&(0,r.isBot)(ak)&&(!ar||am)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),(null==e?void 0:e.isStale)===-1&&(ah=!0),ah&&(j!==t.FallbackMode.NOT_FOUND||e)&&(j=t.FallbackMode.BLOCKING_STATIC_RENDER),!M&&j!==t.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!p&&!$&&S&&(o||!aj)){if((o||ai)&&j===t.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new y.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=o&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,d=o&&(null==ai?void 0:ai.fallbackRouteParams)?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null,e=await I.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:c.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:h,postponed:void 0,fallbackRouteParams:d,forceStaticRender:!1}),waitUntil:K.waitUntil,isMinimalMode:M});if(null===e)return null;if(e)return delete e.cacheControl,e}}let q=ah||g||!au?void 0:au;if(az&&!M&&k&&av&&!i){let b=await k.get(_,{kind:s.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===s.CachedRouteKind.APP_PAGE&&(q=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,E.scheduleOnNextTick)(async()=>{let b=I.getResponseCache(a);try{await b.revalidate(_,k,ar,!1,a=>n({...a,forceStaticRender:!0}),null,d,K.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==q)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:s.CachedRouteKind.PAGES,html:u.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let v=o&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,f.getRequestMeta)(a,"renderFallbackShell")?(0,l.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,l.getFallbackRouteParams)(ag,I):null;return m({span:h,postponed:q,fallbackRouteParams:v,forceStaticRender:i})},o=async d=>{var e,g,h,i,j;let k,l=await I.handleResponse({cacheKey:aC,responseGenerator:a=>n({span:d,...a}),routeKind:c.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:K.waitUntil,isMinimalMode:M});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),I.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!l){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=l.value)?void 0:e.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=l.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof l.value.postponed;ay&&!av&&(!o||an)&&(M||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),b.setHeader(q.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=l;if(au)k={revalidate:0,expire:void 0};else if(av)k={revalidate:0,expire:void 0};else if(!I.isDev)if($)k={revalidate:0,expire:void 0};else if(ay){if(l.cacheControl)if("number"==typeof l.cacheControl.revalidate){if(l.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});k={revalidate:l.cacheControl.revalidate,expire:(null==(i=l.cacheControl)?void 0:i.expire)??ac.expireTime}}else k={revalidate:v.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(k={revalidate:0,expire:void 0});if(l.cacheControl=k,"string"==typeof aw&&(null==p?void 0:p.kind)===s.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(j=p.headers)?void 0:j[v.NEXT_CACHE_TAGS_HEADER];M&&ay&&c&&"string"==typeof c&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aw);return void 0!==d?(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(d,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl}):(b.statusCode=204,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl}))}let r=az?(0,f.getRequestMeta)(a,"onCacheEntryV2")??(0,f.getRequestMeta)(a,"onCacheEntry"):(0,f.getRequestMeta)(a,"onCacheEntry");if(r&&await r(l,{url:(0,f.getRequestMeta)(a,"initURL")??a.url}))return null;if(p.headers){let a={...p.headers};for(let[c,d]of(M&&ay||delete a[v.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=p.headers)?void 0:g[v.NEXT_CACHE_TAGS_HEADER];if(M&&ay&&t&&"string"==typeof t&&b.setHeader(v.NEXT_CACHE_TAGS_HEADER,t),!p.status||ao&&ar||(b.statusCode=p.status),!M&&p.status&&C.RedirectStatusCode[p.status]&&ao&&(b.statusCode=200),o&&!av&&b.setHeader(q.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===p.rscData){if(p.html.contentType!==q.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.EMPTY,cacheControl:l.cacheControl});else throw Object.defineProperty(new D.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:p.html,cacheControl:l.cacheControl})}return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:u.default.fromStatic(p.rscData,q.RSC_CONTENT_TYPE_HEADER),cacheControl:l.cacheControl})}let y=p.html;if(!o||M||ao)return(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:l.cacheControl});if(as)return y.push(new ReadableStream({start(a){a.enqueue(w.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}});let z=new TransformStream;return y.push(z.readable),m({span:d,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==s.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(z.writable)}).catch(a=>{z.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,x.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:y,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(g.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:e.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},o));await o(aH)}catch(b){throw b instanceof y.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}a.s(["__next_app__",0,H,"handler",()=>J,"routeModule",0,I],2110),a.i(2110),a.s(["ClientPageRoot",()=>B.ClientPageRoot,"ClientSegmentRoot",()=>B.ClientSegmentRoot,"Fragment",()=>B.Fragment,"GlobalError",()=>A.default,"HTTPAccessFallbackBoundary",()=>B.HTTPAccessFallbackBoundary,"LayoutRouter",()=>B.LayoutRouter,"Postpone",()=>B.Postpone,"RenderFromTemplateContext",()=>B.RenderFromTemplateContext,"RootLayoutBoundary",()=>B.RootLayoutBoundary,"SegmentViewNode",()=>B.SegmentViewNode,"SegmentViewStateNode",()=>B.SegmentViewStateNode,"__next_app__",0,H,"actionAsyncStorage",()=>B.actionAsyncStorage,"captureOwnerStack",()=>B.captureOwnerStack,"collectSegmentData",()=>B.collectSegmentData,"createElement",()=>B.createElement,"createMetadataComponents",()=>B.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>B.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>B.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>B.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>B.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>B.createTemporaryReferenceSet,"decodeAction",()=>B.decodeAction,"decodeFormState",()=>B.decodeFormState,"decodeReply",()=>B.decodeReply,"handler",()=>J,"patchFetch",()=>B.patchFetch,"preconnect",()=>B.preconnect,"preloadFont",()=>B.preloadFont,"preloadStyle",()=>B.preloadStyle,"prerender",()=>B.prerender,"renderToReadableStream",()=>B.renderToReadableStream,"routeModule",0,I,"serverHooks",()=>B.serverHooks,"taintObjectReference",()=>B.taintObjectReference,"workAsyncStorage",()=>B.workAsyncStorage,"workUnitAsyncStorage",()=>B.workUnitAsyncStorage],75524)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_dacda503._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js index 50d7b33..156a91b 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js @@ -1,4 +1,4 @@ -module.exports=[74007,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(34896),e=a.i(95121),f=a.i(46344),g=a.i(3622),h=a.i(31715),i=a.i(806),j=a.i(29892);let k=(0,j.default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var l=a.i(45044),m=a.i(73258);let n=(0,j.default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]),o=(0,j.default)("brain-circuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);var p=a.i(72071);let q=({chatHistory:a,onSendMessage:d,onInsertText:e,selectedText:f,isGenerating:g,usage:h})=>{let[j,q]=(0,c.useState)(""),r=(0,c.useRef)(null);(0,c.useEffect)(()=>{r.current?.scrollIntoView({behavior:"smooth"})},[a,g]);let s=!!h&&h.aiActionsCurrent>=h.aiActionsLimit;return(0,b.jsxs)("div",{className:"flex flex-col h-full bg-theme-panel border-l border-theme-border shadow-xl w-80 lg:w-96 transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"p-4 bg-indigo-600 text-white flex items-center justify-between shadow-md",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(i.Sparkles,{size:20,className:"animate-pulse"}),(0,b.jsx)("h3",{className:"font-bold tracking-tight",children:"Assistant IA"})]}),h&&(0,b.jsxs)("div",{className:"bg-indigo-900/50 px-2 py-1 rounded text-[10px] font-black flex items-center gap-1",children:[(0,b.jsx)(p.Zap,{size:10,fill:"currentColor"})," ",h.aiActionsCurrent," / ",999999===h.aiActionsLimit?"∞":h.aiActionsLimit]})]}),f&&(0,b.jsxs)("div",{className:"bg-indigo-50 p-3 border-b border-indigo-100 text-xs text-indigo-800",children:[(0,b.jsxs)("div",{className:"font-bold flex items-center gap-1 mb-1",children:[(0,b.jsx)(m.BookOpen,{size:12})," Contexte :"]}),(0,b.jsxs)("div",{className:"italic truncate opacity-80",children:['"',f.substring(0,60),'..."']})]}),(0,b.jsxs)("div",{className:"flex-1 overflow-y-auto p-4 space-y-4 bg-theme-bg transition-colors duration-300",children:[0===a.length&&(0,b.jsxs)("div",{className:"text-center text-theme-muted mt-10",children:[(0,b.jsx)(n,{size:48,className:"mx-auto mb-2 opacity-50"}),(0,b.jsx)("p",{className:"text-sm",children:"Bonjour ! Comment puis-je vous aider aujourd'hui ?"}),s&&(0,b.jsx)("div",{className:"mt-4 p-4 bg-red-50 border border-red-100 rounded-xl text-red-600 text-xs font-bold uppercase animate-pulse",children:"Limite atteinte ! Améliorez votre plan."})]}),a.map(a=>(0,b.jsx)("div",{className:`flex flex-col ${"user"===a.role?"items-end":"items-start"}`,children:(0,b.jsxs)("div",{className:`max-w-[85%] rounded-2xl p-4 text-sm shadow-sm transition-colors duration-300 ${"user"===a.role?"bg-indigo-600 text-white rounded-br-none":"bg-theme-panel text-theme-text border border-theme-border rounded-bl-none"}`,children:["model"===a.role&&"reflection"===a.responseType&&(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] font-black text-amber-600 mb-1.5 uppercase tracking-wide",children:[(0,b.jsx)(o,{size:12})," Réflexion"]}),(0,b.jsx)("div",{className:"whitespace-pre-wrap leading-relaxed",children:a.text})]})},a.id)),g&&(0,b.jsx)("div",{className:"flex justify-start",children:(0,b.jsxs)("div",{className:"bg-theme-panel p-3 rounded-2xl rounded-bl-none shadow-sm border border-theme-border flex items-center gap-2 text-xs text-theme-muted transition-colors duration-300",children:[(0,b.jsx)(l.RefreshCw,{size:14,className:"animate-spin"})," L'IA travaille..."]})}),(0,b.jsx)("div",{ref:r})]}),(0,b.jsx)("div",{className:"p-4 bg-theme-panel border-t border-theme-border transition-colors duration-300",children:(0,b.jsxs)("form",{onSubmit:a=>{a.preventDefault(),j.trim()&&!g&&(d(j),q(""))},className:"relative",children:[(0,b.jsx)("input",{type:"text",value:j,onChange:a=>q(a.target.value),placeholder:s?"Limite atteinte...":"Votre message...",className:"w-full pl-4 pr-12 py-3 bg-theme-bg text-theme-text border border-theme-border rounded-2xl text-sm focus:outline-none focus:border-indigo-500 transition-all disabled:opacity-50",disabled:g||s}),(0,b.jsx)("button",{type:"submit",disabled:!j.trim()||g||s,className:"absolute right-1.5 top-1.5 p-2 bg-indigo-600 text-white rounded-xl hover:bg-indigo-700 disabled:opacity-50 transition-colors shadow-md",children:(0,b.jsx)(k,{size:18})})]})})]})};var r=a.i(14294);let s=(0,j.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);var t=a.i(95556),u=a.i(27197),v=a.i(63287),w=a.i(20769);let x=(0,j.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var y=a.i(5127);let z=(0,j.default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),A=(0,j.default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),B=(0,j.default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var C=a.i(38089);let D=(0,j.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);var E=a.i(82772),F=a.i(33782),G=a.i(46451);let H=a=>{let{project:d,user:e,viewMode:f,currentChapterId:g,children:h}=a,[i,j]=(0,c.useState)(!0),[k,l]=(0,c.useState)(!0),m=d.chapters.find(a=>a.id===g);return(0,b.jsxs)("div",{className:"flex h-screen overflow-hidden no-print bg-theme-bg text-theme-text transition-colors duration-300",children:[(0,b.jsxs)("aside",{className:`${i?"w-64":"w-0"} bg-slate-900 text-slate-300 flex-shrink-0 transition-all duration-300 overflow-hidden flex flex-col border-r border-slate-800`,children:[(0,b.jsxs)("div",{className:"p-4 border-b border-slate-700",children:[(0,b.jsxs)("h1",{className:"text-white font-bold flex items-center gap-2 mb-4 cursor-pointer",onClick:()=>a.onViewModeChange("dashboard"),children:[(0,b.jsx)(r.Book,{className:"text-blue-400"})," PlumeIA"]}),(0,b.jsx)("input",{type:"text",value:d.title,onChange:b=>a.onUpdateProject({title:b.target.value}),className:"w-full bg-transparent font-serif font-bold text-white text-lg mb-1 focus:outline-none focus:border-b focus:border-blue-500 truncate",placeholder:"Titre du livre"}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("dashboard"),className:"w-full flex items-center gap-2 text-xs hover:bg-slate-800 p-2 rounded transition-colors text-slate-400",children:[(0,b.jsx)(D,{size:14})," Retour au Dashboard"]})]}),(0,b.jsxs)("div",{className:"flex-1 overflow-y-auto py-2",children:[(0,b.jsxs)("div",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase flex justify-between items-center",children:["Chapitres ",(0,b.jsx)("button",{onClick:a.onAddChapter,className:"hover:text-blue-400",children:(0,b.jsx)(F.Plus,{size:14})})]}),d.chapters.map((c,d)=>(0,b.jsxs)("div",{className:"group relative",children:[(0,b.jsxs)("button",{onClick:()=>a.onChapterSelect(c.id),className:`w-full text-left px-4 py-2 text-sm truncate transition-colors ${g===c.id&&"write"===f?"bg-blue-900 text-white border-r-2 border-blue-400":"hover:bg-slate-800"}`,children:[d+1,". ",c.title]}),(0,b.jsx)("button",{onClick:()=>a.onDeleteChapter(c.id),className:"absolute right-2 top-2 text-slate-600 hover:text-red-400 opacity-0 group-hover:opacity-100",children:(0,b.jsx)(G.Trash2,{size:14})})]},c.id)),(0,b.jsx)("div",{className:"mt-6 px-4 py-2 text-xs font-semibold text-slate-500 uppercase",children:"Outils & Bible"}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("write"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"write"===f?"bg-blue-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(s,{size:16})," Retour à la rédaction"]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("world_building"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"world_building"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(t.Globe,{size:16})," Bible du Monde"]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("workflow"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"workflow"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(u.GitGraph,{size:16})," Workflow"]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("ideas"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"ideas"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(v.Lightbulb,{size:16})," Boîte à Idées"]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("settings"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"settings"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(w.Settings,{size:16})," Paramètres"]})]}),(0,b.jsxs)("div",{className:"p-4 border-t border-slate-800",children:[(0,b.jsxs)("div",{className:"bg-slate-800 rounded-lg p-3 mb-4",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] text-slate-400 uppercase font-bold mb-1",children:[(0,b.jsx)("span",{children:"Actions IA"}),(0,b.jsxs)("span",{children:[e.usage.aiActionsCurrent," / ",999999===e.usage.aiActionsLimit?"∞":e.usage.aiActionsLimit]})]}),(0,b.jsx)("div",{className:"h-1.5 w-full bg-slate-700 rounded-full overflow-hidden",children:(0,b.jsx)("div",{className:"h-full bg-blue-500",style:{width:`${Math.min(100,e.usage.aiActionsCurrent/e.usage.aiActionsLimit*100)}%`}})})]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("profile"),className:"w-full flex items-center gap-2 px-3 py-2 text-xs text-slate-400 hover:bg-slate-800 rounded mb-2",children:[(0,b.jsx)(E.User,{size:14})," Mon Compte"]}),(0,b.jsxs)("button",{onClick:a.onLogout,className:"w-full flex items-center gap-2 px-3 py-2 text-xs text-red-400 hover:bg-red-900/20 rounded",children:[(0,b.jsx)(C.LogOut,{size:14})," Déconnexion"]})]})]}),(0,b.jsxs)("div",{className:"flex-1 flex flex-col h-full overflow-hidden",children:[(0,b.jsxs)("header",{className:"h-14 bg-theme-panel border-b border-theme-border flex items-center justify-between px-4 shadow-sm z-10 text-theme-text transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsx)("button",{onClick:()=>j(!i),className:"text-theme-muted hover:text-theme-text",children:(0,b.jsx)(x,{size:20})}),"write"===f?(0,b.jsx)("input",{type:"text",value:m?.title||"",onChange:b=>a.onUpdateProject({chapters:d.chapters.map(a=>a.id===g?{...a,title:b.target.value}:a)}),className:"font-serif font-bold text-lg bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none"}):(0,b.jsx)("span",{className:"font-bold uppercase tracking-widest text-xs",children:f})]}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("button",{onClick:a.onOpenExport,className:"bg-blue-600 text-white px-4 py-1.5 rounded-lg text-sm font-medium hover:bg-blue-700 flex items-center gap-2",children:[(0,b.jsx)(A,{size:16})," Publier"]}),(0,b.jsx)("button",{onClick:a.onOpenHelp,className:"p-2 text-slate-400 hover:text-blue-600 rounded-full",children:(0,b.jsx)(B,{size:20})}),(0,b.jsx)("button",{onClick:()=>l(!k),className:`p-2 rounded-full ${k?"bg-indigo-100 text-indigo-600":"text-slate-500 hover:bg-slate-100"}`,children:k?(0,b.jsx)(y.ChevronRight,{size:20}):(0,b.jsx)(z,{size:20})})]})]}),(0,b.jsx)("main",{className:"flex-1 overflow-hidden relative",children:h})]}),(0,b.jsx)("div",{className:`${k?"w-80 lg:w-96":"w-0"} transition-all duration-300 flex-shrink-0 h-full border-l border-theme-border relative bg-theme-panel`,children:k&&(0,b.jsx)(q,{chatHistory:a.chatHistory,onSendMessage:a.onSendMessage,onInsertText:a.onInsertText,selectedText:"",isGenerating:a.isGenerating,usage:e.usage})})]})},I=(0,j.default)("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);var J=a.i(40400);let K=(0,j.default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),L=(0,j.default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]),M=({isOpen:a,onClose:d,project:e,onPrint:f})=>{let[g,h]=(0,c.useState)("pdf"),[i,j]=(0,c.useState)("A4"),[k,l]=(0,c.useState)(!0),[m,n]=(0,c.useState)(!0);if(!a)return null;let o=()=>{let a=` +module.exports=[74007,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(34896),e=a.i(95121),f=a.i(46344),g=a.i(3622),h=a.i(31715),i=a.i(806),j=a.i(29892);let k=(0,j.default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var l=a.i(45044),m=a.i(73258);let n=(0,j.default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]),o=(0,j.default)("brain-circuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);var p=a.i(72071),q=a.i(54607);let r=({chatHistory:a,onSendMessage:d,onInsertText:e,selectedText:f,isGenerating:g,usage:h})=>{let{t:j}=(0,q.useLanguage)(),[r,s]=(0,c.useState)(""),t=(0,c.useRef)(null);(0,c.useEffect)(()=>{t.current?.scrollIntoView({behavior:"smooth"})},[a,g]);let u=!!h&&h.aiActionsCurrent>=h.aiActionsLimit;return(0,b.jsxs)("div",{className:"flex flex-col h-full bg-theme-panel border-l border-theme-border shadow-xl w-80 lg:w-96 transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"p-4 bg-indigo-600 text-white flex items-center justify-between shadow-md",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(i.Sparkles,{size:20,className:"animate-pulse"}),(0,b.jsx)("h3",{className:"font-bold tracking-tight",children:j("ai_panel.title")})]}),h&&(0,b.jsxs)("div",{className:"bg-indigo-900/50 px-2 py-1 rounded text-[10px] font-black flex items-center gap-1",children:[(0,b.jsx)(p.Zap,{size:10,fill:"currentColor"})," ",h.aiActionsCurrent," / ",999999===h.aiActionsLimit?"∞":h.aiActionsLimit]})]}),f&&(0,b.jsxs)("div",{className:"bg-indigo-50 p-3 border-b border-indigo-100 text-xs text-indigo-800",children:[(0,b.jsxs)("div",{className:"font-bold flex items-center gap-1 mb-1",children:[(0,b.jsx)(m.BookOpen,{size:12})," ",j("ai_panel.context")]}),(0,b.jsxs)("div",{className:"italic truncate opacity-80",children:['"',f.substring(0,60),'..."']})]}),(0,b.jsxs)("div",{className:"flex-1 overflow-y-auto p-4 space-y-4 bg-theme-bg transition-colors duration-300",children:[0===a.length&&(0,b.jsxs)("div",{className:"text-center text-theme-muted mt-10",children:[(0,b.jsx)(n,{size:48,className:"mx-auto mb-2 opacity-50"}),(0,b.jsx)("p",{className:"text-sm",children:j("ai_panel.greeting")}),u&&(0,b.jsx)("div",{className:"mt-4 p-4 bg-red-50 border border-red-100 rounded-xl text-red-600 text-xs font-bold uppercase animate-pulse",children:j("ai_panel.limit_reached_upgrade")})]}),a.map(a=>(0,b.jsx)("div",{className:`flex flex-col ${"user"===a.role?"items-end":"items-start"}`,children:(0,b.jsxs)("div",{className:`max-w-[85%] rounded-2xl p-4 text-sm shadow-sm transition-colors duration-300 ${"user"===a.role?"bg-indigo-600 text-white rounded-br-none":"bg-theme-panel text-theme-text border border-theme-border rounded-bl-none"}`,children:["model"===a.role&&"reflection"===a.responseType&&(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] font-black text-amber-600 mb-1.5 uppercase tracking-wide",children:[(0,b.jsx)(o,{size:12})," ",j("ai_panel.reflection")]}),(0,b.jsx)("div",{className:"whitespace-pre-wrap leading-relaxed",children:a.text})]})},a.id)),g&&(0,b.jsx)("div",{className:"flex justify-start",children:(0,b.jsxs)("div",{className:"bg-theme-panel p-3 rounded-2xl rounded-bl-none shadow-sm border border-theme-border flex items-center gap-2 text-xs text-theme-muted transition-colors duration-300",children:[(0,b.jsx)(l.RefreshCw,{size:14,className:"animate-spin"})," ",j("ai_panel.ai_working")]})}),(0,b.jsx)("div",{ref:t})]}),(0,b.jsx)("div",{className:"p-4 bg-theme-panel border-t border-theme-border transition-colors duration-300",children:(0,b.jsxs)("form",{onSubmit:a=>{a.preventDefault(),r.trim()&&!g&&(d(r),s(""))},className:"relative",children:[(0,b.jsx)("input",{type:"text",value:r,onChange:a=>s(a.target.value),placeholder:u?j("ai_panel.limit_reached"):j("ai_panel.your_message"),className:"w-full pl-4 pr-12 py-3 bg-theme-bg text-theme-text border border-theme-border rounded-2xl text-sm focus:outline-none focus:border-indigo-500 transition-all disabled:opacity-50",disabled:g||u}),(0,b.jsx)("button",{type:"submit",disabled:!r.trim()||g||u,className:"absolute right-1.5 top-1.5 p-2 bg-indigo-600 text-white rounded-xl hover:bg-indigo-700 disabled:opacity-50 transition-colors shadow-md",children:(0,b.jsx)(k,{size:18})})]})})]})};var s=a.i(14294);let t=(0,j.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);var u=a.i(95556),v=a.i(27197),w=a.i(63287),x=a.i(20769);let y=(0,j.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var z=a.i(5127);let A=(0,j.default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),B=(0,j.default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),C=(0,j.default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var D=a.i(38089);let E=(0,j.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);var F=a.i(82772),G=a.i(33782),H=a.i(46451),I=a.i(54455);let J=a=>{let{project:d,user:e,viewMode:f,currentChapterId:g,children:h}=a,[i,j]=(0,c.useState)(!0),[k,l]=(0,c.useState)(!0),{t:m}=(0,q.useLanguage)(),n=d.chapters.find(a=>a.id===g);return(0,c.useEffect)(()=>{},[f,g]),(0,b.jsxs)("div",{className:"flex h-screen overflow-hidden no-print bg-theme-bg text-theme-text transition-colors duration-300 relative",children:[i&&(0,b.jsx)("div",{className:"fixed inset-0 bg-black/50 z-30 lg:hidden",onClick:()=>j(!1)}),(0,b.jsxs)("aside",{className:`${i?"w-64":"w-0"} bg-slate-900 text-slate-300 flex-shrink-0 transition-all duration-300 overflow-hidden flex flex-col border-r border-slate-800 absolute lg:relative z-40 h-full shadow-2xl lg:shadow-none`,children:[(0,b.jsxs)("div",{className:"p-4 border-b border-slate-700",children:[(0,b.jsxs)("h1",{className:"text-white font-bold flex items-center gap-2 mb-4 cursor-pointer",onClick:()=>a.onViewModeChange("dashboard"),children:[(0,b.jsx)(s.Book,{className:"text-blue-400"})," Pluume"]}),(0,b.jsx)("input",{type:"text",value:d.title,onChange:b=>a.onUpdateProject({title:b.target.value}),className:"w-full bg-transparent font-serif font-bold text-white text-lg mb-1 focus:outline-none focus:border-b focus:border-blue-500 truncate",placeholder:m("header.title_placeholder")}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("dashboard"),className:"w-full flex items-center gap-2 text-xs hover:bg-slate-800 p-2 rounded transition-colors text-slate-400",children:[(0,b.jsx)(E,{size:14})," ",m("nav.dashboard")]}),(0,b.jsx)("div",{className:"mt-2 text-slate-400",children:(0,b.jsx)(I.LanguageSwitcher,{})})]}),(0,b.jsxs)("div",{className:"flex-1 overflow-y-auto py-2",children:[(0,b.jsxs)("div",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase flex justify-between items-center",children:[m("nav.chapters")," ",(0,b.jsx)("button",{onClick:a.onAddChapter,className:"hover:text-blue-400",children:(0,b.jsx)(G.Plus,{size:14})})]}),d.chapters.map((c,d)=>(0,b.jsxs)("div",{className:"group relative",children:[(0,b.jsxs)("button",{onClick:()=>a.onChapterSelect(c.id),className:`w-full text-left px-4 py-2 text-sm truncate transition-colors ${g===c.id&&"write"===f?"bg-blue-900 text-white border-r-2 border-blue-400":"hover:bg-slate-800"}`,children:[d+1,". ",c.title]}),(0,b.jsx)("button",{onClick:()=>a.onDeleteChapter(c.id),className:"absolute right-2 top-2 text-slate-600 hover:text-red-400 opacity-0 group-hover:opacity-100",children:(0,b.jsx)(H.Trash2,{size:14})})]},c.id)),(0,b.jsx)("div",{className:"mt-6 px-4 py-2 text-xs font-semibold text-slate-500 uppercase",children:m("nav.tools")}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("write"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"write"===f?"bg-blue-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(t,{size:16})," ",m("sidebar.write")]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("world_building"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"world_building"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(u.Globe,{size:16})," ",m("sidebar.world_building")]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("workflow"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"workflow"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(v.GitGraph,{size:16})," ",m("sidebar.workflow")]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("ideas"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"ideas"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(w.Lightbulb,{size:16})," ",m("sidebar.ideas")]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("settings"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"settings"===f?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,b.jsx)(x.Settings,{size:16})," ",m("sidebar.settings")]})]}),(0,b.jsxs)("div",{className:"p-4 border-t border-slate-800",children:[(0,b.jsxs)("div",{className:"bg-slate-800 rounded-lg p-3 mb-4",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] text-slate-400 uppercase font-bold mb-1",children:[(0,b.jsx)("span",{children:m("sidebar.ai_actions")}),(0,b.jsxs)("span",{children:[e.usage.aiActionsCurrent," / ",999999===e.usage.aiActionsLimit?"∞":e.usage.aiActionsLimit]})]}),(0,b.jsx)("div",{className:"h-1.5 w-full bg-slate-700 rounded-full overflow-hidden",children:(0,b.jsx)("div",{className:"h-full bg-blue-500",style:{width:`${Math.min(100,e.usage.aiActionsCurrent/e.usage.aiActionsLimit*100)}%`}})})]}),(0,b.jsxs)("button",{onClick:()=>a.onViewModeChange("profile"),className:"w-full flex items-center gap-2 px-3 py-2 text-xs text-slate-400 hover:bg-slate-800 rounded mb-2",children:[(0,b.jsx)(F.User,{size:14})," ",m("sidebar.account")]}),(0,b.jsxs)("button",{onClick:a.onLogout,className:"w-full flex items-center gap-2 px-3 py-2 text-xs text-red-400 hover:bg-red-900/20 rounded",children:[(0,b.jsx)(D.LogOut,{size:14})," ",m("sidebar.logout")]})]})]}),(0,b.jsxs)("div",{className:"flex-1 flex flex-col h-full overflow-hidden",children:[(0,b.jsxs)("header",{className:"h-14 bg-theme-panel border-b border-theme-border flex items-center justify-between px-4 shadow-sm z-10 text-theme-text transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsx)("button",{onClick:()=>j(!i),className:"text-theme-muted hover:text-theme-text",children:(0,b.jsx)(y,{size:20})}),"write"===f?(0,b.jsx)("input",{type:"text",value:n?.title||"",onChange:b=>a.onUpdateProject({chapters:d.chapters.map(a=>a.id===g?{...a,title:b.target.value}:a)}),className:"font-serif font-bold text-lg bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none"}):(0,b.jsx)("span",{className:"font-bold uppercase tracking-widest text-xs",children:f})]}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("button",{onClick:a.onOpenExport,className:"bg-blue-600 text-white px-4 py-1.5 rounded-lg text-sm font-medium hover:bg-blue-700 flex items-center gap-2",children:[(0,b.jsx)(B,{size:16})," Publier"]}),(0,b.jsx)("button",{onClick:a.onOpenHelp,className:"p-2 text-slate-400 hover:text-blue-600 rounded-full",children:(0,b.jsx)(C,{size:20})}),(0,b.jsx)("button",{onClick:()=>l(!k),className:`p-2 rounded-full ${k?"bg-indigo-100 text-indigo-600":"text-slate-500 hover:bg-slate-100"}`,children:k?(0,b.jsx)(z.ChevronRight,{size:20}):(0,b.jsx)(A,{size:20})})]})]}),(0,b.jsx)("main",{className:"flex-1 overflow-hidden relative",children:h})]}),k&&(0,b.jsx)("div",{className:"fixed inset-0 bg-black/50 z-30 lg:hidden",onClick:()=>l(!1)}),(0,b.jsx)("div",{className:`${k?"w-80 lg:w-96":"w-0"} transition-all duration-300 flex-shrink-0 h-full border-l border-theme-border flex flex-col bg-theme-panel absolute right-0 lg:relative z-40 shadow-2xl lg:shadow-none`,children:k&&(0,b.jsx)(r,{chatHistory:a.chatHistory,onSendMessage:a.onSendMessage,onInsertText:a.onInsertText,selectedText:"",isGenerating:a.isGenerating,usage:e.usage})})]})},K=(0,j.default)("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);var L=a.i(40400);let M=(0,j.default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),N=(0,j.default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]),O=({isOpen:a,onClose:d,project:e,onPrint:f})=>{let[g,h]=(0,c.useState)("pdf"),[i,j]=(0,c.useState)("A4"),[k,l]=(0,c.useState)(!0),[m,n]=(0,c.useState)(!0),{t:o}=(0,q.useLanguage)();if(!a)return null;let p=()=>{let a=` @@ -27,7 +27,7 @@ module.exports=[74007,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(34896

${b.title}

${b.content}
- `}),a+=""},p=(a,b)=>{let c=URL.createObjectURL(a),e=document.createElement("a");e.href=c,e.download=b,document.body.appendChild(e),e.click(),document.body.removeChild(e),URL.revokeObjectURL(c),d()};return(0,b.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200 no-print",children:(0,b.jsxs)("div",{className:"bg-white rounded-xl shadow-2xl w-[600px] overflow-hidden flex flex-col max-h-[90vh]",children:[(0,b.jsxs)("div",{className:"bg-slate-900 text-white p-6 flex justify-between items-center",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-xl font-bold flex items-center gap-2",children:[(0,b.jsx)(K,{size:24})," Exporter le livre"]}),(0,b.jsx)("p",{className:"text-slate-400 text-sm mt-1",children:e.title})]}),(0,b.jsx)("button",{onClick:d,className:"text-slate-400 hover:text-white transition-colors",children:(0,b.jsx)(J.X,{size:24})})]}),(0,b.jsxs)("div",{className:"p-6 overflow-y-auto flex-1",children:[(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[(0,b.jsxs)("button",{onClick:()=>h("pdf"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"pdf"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(I,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:"PDF (Impression)"})]}),(0,b.jsxs)("button",{onClick:()=>h("word"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"word"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(s,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:"Microsoft Word"})]}),(0,b.jsxs)("button",{onClick:()=>h("epub"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"epub"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(r.Book,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:"EPUB / Ebook"})]}),(0,b.jsxs)("button",{onClick:()=>h("markdown"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"markdown"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(L,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:"Markdown"})]})]}),(0,b.jsxs)("div",{className:"bg-slate-50 rounded-lg p-5 border border-slate-200",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-slate-500 uppercase tracking-wider mb-4",children:["Paramètres d'exportation (",g.toUpperCase(),")"]}),(0,b.jsxs)("div",{className:"space-y-4",children:["pdf"===g&&(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex flex-col",children:[(0,b.jsx)("label",{className:"text-slate-700 font-medium",children:"Format du papier"}),(0,b.jsx)("span",{className:"text-xs text-slate-400",children:"Géré par l'imprimante (A4, A5...)"})]}),(0,b.jsx)("div",{className:"bg-slate-200 px-3 py-1 rounded text-xs font-mono text-slate-600",children:"Auto"})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("label",{className:"text-slate-700 font-medium cursor-pointer",htmlFor:"cover",children:"Inclure la page de titre"}),(0,b.jsx)("input",{id:"cover",type:"checkbox",checked:k,onChange:a=>l(a.target.checked),className:"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500"})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("label",{className:"text-slate-700 font-medium cursor-pointer",htmlFor:"toc",children:"Générer la table des matières"}),(0,b.jsx)("input",{id:"toc",type:"checkbox",checked:m,onChange:a=>n(a.target.checked),className:"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500"})]}),"epub"===g&&(0,b.jsx)("p",{className:"text-xs text-amber-600 bg-amber-50 p-2 rounded mt-2",children:"Note: L'export EPUB génère un fichier XHTML optimisé prêt à être converti par Calibre ou Kindle Previewer."})]})]})]}),(0,b.jsxs)("div",{className:"p-4 border-t border-slate-200 bg-slate-50 flex justify-end gap-3",children:[(0,b.jsx)("button",{onClick:d,className:"px-5 py-2 text-slate-600 hover:bg-slate-200 rounded-lg font-medium transition-colors",children:"Annuler"}),(0,b.jsxs)("button",{onClick:()=>{let a=e.title.replace(/[^a-z0-9]/gi,"_").toLowerCase();if("pdf"===g){let a=o(),b=window.open("","_blank");b&&(b.document.write(a),b.document.close(),b.focus(),setTimeout(()=>{b.print()},300)),d()}else if("word"===g)p(new Blob(["\uFEFF",o()],{type:"application/msword"}),`${a}.doc`);else if("epub"===g)p(new Blob([o()],{type:"application/xhtml+xml"}),`${a}.xhtml`);else if("markdown"===g){let b=`# ${e.title} + `}),a+=""},r=(a,b)=>{let c=URL.createObjectURL(a),e=document.createElement("a");e.href=c,e.download=b,document.body.appendChild(e),e.click(),document.body.removeChild(e),URL.revokeObjectURL(c),d()};return(0,b.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200 no-print",children:(0,b.jsxs)("div",{className:"bg-white rounded-xl shadow-2xl w-[600px] overflow-hidden flex flex-col max-h-[90vh]",children:[(0,b.jsxs)("div",{className:"bg-slate-900 text-white p-6 flex justify-between items-center",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-xl font-bold flex items-center gap-2",children:[(0,b.jsx)(M,{size:24})," ",o("export.title")]}),(0,b.jsx)("p",{className:"text-slate-400 text-sm mt-1",children:e.title})]}),(0,b.jsx)("button",{onClick:d,className:"text-slate-400 hover:text-white transition-colors",children:(0,b.jsx)(L.X,{size:24})})]}),(0,b.jsxs)("div",{className:"p-6 overflow-y-auto flex-1",children:[(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[(0,b.jsxs)("button",{onClick:()=>h("pdf"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"pdf"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(K,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:o("export.pdf_format")})]}),(0,b.jsxs)("button",{onClick:()=>h("word"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"word"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(t,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:o("export.word_format")})]}),(0,b.jsxs)("button",{onClick:()=>h("epub"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"epub"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(s.Book,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:o("export.epub_format")})]}),(0,b.jsxs)("button",{onClick:()=>h("markdown"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"markdown"===g?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,b.jsx)(N,{size:32}),(0,b.jsx)("div",{className:"font-semibold",children:o("export.markdown_format")})]})]}),(0,b.jsxs)("div",{className:"bg-slate-50 rounded-lg p-5 border border-slate-200",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-slate-500 uppercase tracking-wider mb-4",children:[o("export.settings")," (",g.toUpperCase(),")"]}),(0,b.jsxs)("div",{className:"space-y-4",children:["pdf"===g&&(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex flex-col",children:[(0,b.jsx)("label",{className:"text-slate-700 font-medium",children:o("export.paper_format")}),(0,b.jsx)("span",{className:"text-xs text-slate-400",children:o("export.printer_managed")})]}),(0,b.jsx)("div",{className:"bg-slate-200 px-3 py-1 rounded text-xs font-mono text-slate-600",children:o("export.auto")})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("label",{className:"text-slate-700 font-medium cursor-pointer",htmlFor:"cover",children:o("export.include_cover")}),(0,b.jsx)("input",{id:"cover",type:"checkbox",checked:k,onChange:a=>l(a.target.checked),className:"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500"})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("label",{className:"text-slate-700 font-medium cursor-pointer",htmlFor:"toc",children:o("export.generate_toc")}),(0,b.jsx)("input",{id:"toc",type:"checkbox",checked:m,onChange:a=>n(a.target.checked),className:"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500"})]}),"epub"===g&&(0,b.jsx)("p",{className:"text-xs text-amber-600 bg-amber-50 p-2 rounded mt-2",children:o("export.epub_note")})]})]})]}),(0,b.jsxs)("div",{className:"p-4 border-t border-slate-200 bg-slate-50 flex justify-end gap-3",children:[(0,b.jsx)("button",{onClick:d,className:"px-5 py-2 text-slate-600 hover:bg-slate-200 rounded-lg font-medium transition-colors",children:o("export.cancel")}),(0,b.jsxs)("button",{onClick:()=>{let a=e.title.replace(/[^a-z0-9]/gi,"_").toLowerCase();if("pdf"===g){let a=p(),b=window.open("","_blank");b&&(b.document.write(a),b.document.close(),b.focus(),setTimeout(()=>{b.print()},300)),d()}else if("word"===g)r(new Blob(["\uFEFF",p()],{type:"application/msword"}),`${a}.doc`);else if("epub"===g)r(new Blob([p()],{type:"application/xhtml+xml"}),`${a}.xhtml`);else if("markdown"===g){let b=`# ${e.title} By ${e.author} `;e.chapters.forEach(a=>{let c=a.content.replace(/<[^>]+>/g,"\n");b+=`## ${a.title} @@ -36,6 +36,6 @@ ${c} --- -`}),p(new Blob([b],{type:"text/markdown"}),`${a}.md`)}},className:"px-6 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg font-medium shadow-md transition-all flex items-center gap-2",children:["pdf"===g?(0,b.jsx)(I,{size:18}):(0,b.jsx)(K,{size:18}),"pdf"===g?"Imprimer / Enregistrer PDF":`T\xe9l\xe9charger .${"word"===g?"doc":"epub"===g?"xhtml":"md"}`]})]})]})})},N=(0,j.default)("keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);var O=a.i(76763),P=a.i(6111);let Q=(0,j.default)("command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);var R=a.i(75108);let S=({children:a})=>(0,b.jsx)("kbd",{className:"px-2 py-1 text-xs font-semibold text-slate-800 bg-slate-100 border border-slate-300 rounded-md shadow-[0px_2px_0px_0px_rgba(203,213,225,1)] mx-1 font-mono",children:a}),T=({isOpen:a,onClose:c,viewMode:d})=>a?(0,b.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200",children:(0,b.jsxs)("div",{className:"bg-white rounded-xl shadow-2xl w-[800px] max-h-[90vh] flex flex-col overflow-hidden",children:[(0,b.jsxs)("div",{className:"bg-slate-900 text-white p-6 flex justify-between items-center shrink-0",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-xl font-bold flex items-center gap-2",children:[(0,b.jsx)(m.BookOpen,{size:24,className:"text-blue-400"})," Aide : ","workflow"===d?"Workflow & Dialogues":"world_building"===d?"Bible du Monde":"settings"===d?"Paramètres":"ideas"===d?"Boîte à Idées":"Éditeur & IA"]}),(0,b.jsx)("p",{className:"text-slate-400 text-sm mt-1",children:"Astuces pour l'écran actuel."})]}),(0,b.jsx)("button",{onClick:c,className:"text-slate-400 hover:text-white transition-colors p-2 hover:bg-slate-800 rounded-full",children:(0,b.jsx)(J.X,{size:24})})]}),(0,b.jsxs)("div",{className:"overflow-y-auto p-8",children:[(()=>{switch(d){case"ideas":return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-yellow-600 flex items-center gap-2 border-b border-yellow-100 pb-2 mb-4",children:[(0,b.jsx)(v.Lightbulb,{size:20})," Boîte à Idées & Tâches"]}),(0,b.jsxs)("div",{className:"text-sm text-slate-600 space-y-4",children:[(0,b.jsx)("p",{children:"Un espace de type Kanban pour ne rien oublier. Utilisez-le pour noter des idées fugaces, planifier des recherches ou lister les scènes à écrire."}),(0,b.jsxs)("ul",{className:"space-y-3",children:[(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(O.MousePointerClick,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Glisser-Déposer :"})," Déplacez les cartes d'une colonne à l'autre (À faire → En cours → Validé) pour suivre votre progression."]})]}),(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(R.Layout,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Catégories :"})," Utilisez les catégories (Intrigue, Personnage, Recherche) pour filtrer visuellement vos tâches grâce aux codes couleurs."]})]})]})]})]});case"workflow":return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-indigo-700 flex items-center gap-2 border-b border-indigo-100 pb-2 mb-4",children:[(0,b.jsx)(u.GitGraph,{size:20})," Organisation Narrative"]}),(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-sm text-slate-600",children:(0,b.jsxs)("ul",{className:"space-y-3",children:[(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(O.MousePointerClick,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Sélection :"})," ",(0,b.jsx)(S,{children:"Ctrl"})," + Clic pour sélectionner plusieurs cartes. Glissez pour déplacer tout un groupe."]})]}),(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(Q,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Copier / Coller :"})," ",(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"C"})," pour copier les nœuds sélectionnés, ",(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"V"})," pour coller."]})]}),(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(R.Layout,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Connexions :"})," Tirez depuis le cercle à droite d'une carte pour lier les événements."]})]})]})})]}),(0,b.jsxs)("section",{className:"bg-blue-50 p-6 rounded-xl border border-blue-100 mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-blue-800 flex items-center gap-2 border-b border-blue-200 pb-2 mb-4",children:[(0,b.jsx)(P.MessageCircle,{size:20})," Mode Dialogue (Workflow)"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-sm",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"font-semibold text-slate-800 mb-1",children:"Écriture Rapide"}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed mb-3",children:["Tapez un nom et ",(0,b.jsx)(S,{children:"Entrée"})," : le formatage ",(0,b.jsx)("code",{children:"Nom: "})," s'ajoute seul."]}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed",children:["Dans un dialogue, ",(0,b.jsx)(S,{children:"Entrée"})," change de ligne et ",(0,b.jsx)("strong",{children:"devine le prochain interlocuteur"})," automatiquement."]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"font-semibold text-slate-800 mb-1",children:"Rotation & Insertion"}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed mb-3",children:[(0,b.jsx)(S,{children:"Tab"})," permute instantanément entre les personnages présents dans la scène."]}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed",children:["Utilisez ",(0,b.jsx)(S,{children:"@"})," pour insérer un personnage, ",(0,b.jsx)(S,{children:"#"})," pour un lieu."]})]})]})]})]});case"world_building":return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-green-700 flex items-center gap-2 border-b border-green-100 pb-2 mb-4",children:[(0,b.jsx)(t.Globe,{size:20})," Bible du Monde"]}),(0,b.jsxs)("div",{className:"text-sm text-slate-600 space-y-4",children:[(0,b.jsxs)("p",{children:["La bible du monde permet de centraliser toutes les informations sur vos personnages et lieux. Ces informations sont ",(0,b.jsx)("strong",{children:"lues par l'IA"})," pour assurer la cohérence de l'histoire."]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mt-4",children:[(0,b.jsxs)("div",{className:"bg-slate-50 p-4 rounded-lg",children:[(0,b.jsx)("h4",{className:"font-bold text-slate-800 mb-2",children:"Modèles Personnalisés"}),(0,b.jsx)("p",{children:'Cliquez sur le bouton "Modèles" pour ajouter des champs spécifiques (ex: "Type de Magie", "Allégeance") à tous vos personnages ou lieux.'})]}),(0,b.jsxs)("div",{className:"bg-slate-50 p-4 rounded-lg",children:[(0,b.jsx)("h4",{className:"font-bold text-slate-800 mb-2",children:"Contexte Automatique"}),(0,b.jsx)("p",{children:"Le champ \"Contexte Narratif\" se remplit automatiquement au fur et à mesure que vous écrivez votre histoire et que l'IA détecte l'évolution des personnages."})]})]})]})]});case"settings":return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-slate-700 flex items-center gap-2 border-b border-slate-100 pb-2 mb-4",children:[(0,b.jsx)(w.Settings,{size:20})," Paramètres du Livre"]}),(0,b.jsx)("p",{className:"text-sm text-slate-600 mb-4",children:'Ces réglages sont cruciaux pour l\'Assistant IA. Ils définissent le "ton" de toutes les générations de texte.'}),(0,b.jsxs)("ul",{className:"list-disc pl-5 space-y-2 text-sm text-slate-600",children:[(0,b.jsxs)("li",{children:[(0,b.jsx)("strong",{children:"Style Guide :"}),' Soyez précis sur le style (ex: "phrases courtes", "beaucoup de métaphores", "humour noir").']}),(0,b.jsxs)("li",{children:[(0,b.jsx)("strong",{children:"POV (Point de Vue) :"}),' Définit si l\'IA doit écrire en "Je" ou "Il/Elle".']})]})]});default:return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-amber-600 flex items-center gap-2 border-b border-amber-100 pb-2 mb-4",children:[(0,b.jsx)(i.Sparkles,{size:20})," Éditeur & Assistant IA"]}),(0,b.jsxs)("div",{className:"space-y-4 text-sm text-slate-600",children:[(0,b.jsxs)("div",{className:"bg-amber-50 p-4 rounded-lg border border-amber-100",children:[(0,b.jsx)("h4",{className:"font-bold text-amber-800 mb-2",children:"Menu Contextuel Intelligent"}),(0,b.jsxs)("p",{children:["Sélectionnez du texte et faites un ",(0,b.jsx)("strong",{children:"clic droit"})," pour :"]}),(0,b.jsxs)("ul",{className:"grid grid-cols-2 gap-2 mt-2 pl-4",children:[(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Corriger l'orthographe"]}),(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Reformuler / Améliorer"]}),(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Développer (Show, don't tell)"]}),(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Continuer l'écriture"]})]})]}),(0,b.jsxs)("p",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Historique des versions :"})," Activez la marge de droite (icône horloge) pour voir toutes les interventions de l'IA et revenir en arrière si nécessaire."]}),(0,b.jsxs)("p",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Chat Latéral :"})," Posez des questions sur votre histoire, demandez des résumés ou des idées de rebondissements. L'IA connaît le contexte de vos chapitres précédents et de vos fiches personnages."]}),(0,b.jsxs)("div",{className:"mt-6 border-t border-slate-100 pt-4",children:[(0,b.jsxs)("h4",{className:"font-bold text-slate-700 mb-3 flex items-center gap-2",children:[(0,b.jsx)(N,{size:16})," Raccourcis Clavier (Éditeur)"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 bg-slate-50 p-4 rounded-lg border border-slate-100",children:[(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Mettre en Gras"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"B"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Mettre en Italique"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"I"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Souligner"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"U"})]})]})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Tout sélectionner"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"A"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Annuler"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"Z"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Rétablir"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(S,{children:"Ctrl"})," + ",(0,b.jsx)(S,{children:"Shift"})," + ",(0,b.jsx)(S,{children:"Z"})]})]})]})]})]})]})]})}})(),(0,b.jsxs)("div",{className:"border-t border-slate-100 pt-6 mt-6",children:[(0,b.jsx)("h4",{className:"text-sm font-bold text-slate-500 uppercase tracking-wider mb-4",children:"Raccourcis Généraux"}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-xs text-slate-600",children:[(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("span",{children:"Sauvegarde Automatique"}),(0,b.jsx)("span",{className:"font-mono text-slate-400",children:"Permanente"})]}),(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("span",{children:"Menu Latéral"}),(0,b.jsx)("span",{children:"Clic sur le burger"})]})]})]})]}),(0,b.jsx)("div",{className:"p-4 border-t border-slate-200 bg-slate-50 flex justify-end",children:(0,b.jsx)("button",{onClick:c,className:"px-6 py-2 bg-slate-800 text-white rounded-lg hover:bg-slate-900 transition-colors font-medium",children:"Fermer"})})]})}):null;var U=a.i(79080);function V({children:a}){let i=(0,d.useParams)(),j=(0,d.useRouter)(),k=(0,d.usePathname)(),l=i.id,{user:n,logout:o,incrementUsage:p,loading:q}=(0,e.useAuthContext)(),{projects:r,setCurrentProjectId:s,updateProject:t,updateChapter:u,addChapter:v,createEntity:w,updateEntity:x,deleteEntity:y,deleteProject:z}=(0,g.useProjects)(n),{chatHistory:A,isGenerating:B,sendMessage:C}=(()=>{let[a,b]=(0,c.useState)([]),[d,e]=(0,c.useState)(!1);return{chatHistory:a,isGenerating:d,sendMessage:async(a,c,d,f,g)=>{let i={id:Date.now().toString(),role:"user",text:d};b(a=>[...a,i]),e(!0);try{let e=await h.default.ai.generate(a,"global"===c?"":c,d,f);g();let i={id:(Date.now()+1).toString(),role:"model",text:e.text,responseType:e.type};b(a=>[...a,i])}catch{b(a=>[...a,{id:Date.now().toString(),role:"model",text:"Désolé, une erreur est survenue lors de la génération."}])}finally{e(!1)}}}})(),[D,E]=(0,c.useState)(""),[F,G]=(0,c.useState)(!1),[I,J]=(0,c.useState)(!1),K=k.endsWith("/world")?"world_building":k.endsWith("/ideas")?"ideas":k.endsWith("/workflow")?"workflow":k.endsWith("/settings")?"settings":"write";(0,c.useEffect)(()=>{l&&s(l)},[l,s]),(0,c.useEffect)(()=>{q||n||j.replace("/login")},[n,q,j]);let L=r.find(a=>a.id===l);return((0,c.useEffect)(()=>{!L||D&&L.chapters.some(a=>a.id===D)||E(L.chapters[0]?.id||"")},[L,D]),q||!n)?(0,b.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,b.jsx)(U.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(m.BookOpen,{className:"text-blue-500",size:20}),(0,b.jsx)("span",{className:"text-lg font-bold",children:"PlumeIA"})]})]}):L?(0,b.jsx)(f.ProjectProvider,{value:{project:L,user:n,projectId:l,currentChapterId:D,setCurrentChapterId:E,updateProject:a=>t(l,a),updateChapter:(a,b)=>u(l,a,b),createEntity:(a,b)=>w(l,a,b),updateEntity:(a,b)=>x(l,a,b),deleteEntity:a=>y(l,a),deleteProject:()=>z(l),incrementUsage:p},children:(0,b.jsxs)(H,{project:L,user:n,viewMode:K,currentChapterId:D,chatHistory:A,isGenerating:B,onViewModeChange:a=>{let b=`/project/${l}`;switch(a){case"write":default:j.push(b);break;case"world_building":j.push(`${b}/world`);break;case"ideas":j.push(`${b}/ideas`);break;case"workflow":j.push(`${b}/workflow`);break;case"settings":j.push(`${b}/settings`);break;case"dashboard":j.push("/dashboard")}},onChapterSelect:a=>{E(a),j.push(`/project/${l}`)},onUpdateProject:a=>t(l,a),onAddChapter:async()=>{let a=await v(l,{});a&&(E(a),j.push(`/project/${l}`))},onDeleteChapter:a=>{if(L.chapters.length>1){let b=L.chapters.filter(b=>b.id!==a);t(l,{chapters:b}),D===a&&E(b[0].id)}},onLogout:()=>{o(),j.push("/")},onSendMessage:a=>{L&&n&&C(L,"global",a,n,p)},onInsertText:()=>{},onOpenExport:()=>G(!0),onOpenHelp:()=>J(!0),children:[(0,b.jsx)(M,{isOpen:F,onClose:()=>G(!1),project:L,onPrint:()=>{}}),(0,b.jsx)(T,{isOpen:I,onClose:()=>J(!1),viewMode:K}),a]})}):(0,b.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,b.jsx)(U.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,b.jsx)("p",{className:"text-slate-400",children:"Chargement du projet..."})]})}a.s(["default",()=>V],74007)}]; +`}),r(new Blob([b],{type:"text/markdown"}),`${a}.md`)}},className:"px-6 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg font-medium shadow-md transition-all flex items-center gap-2",children:["pdf"===g?(0,b.jsx)(K,{size:18}):(0,b.jsx)(M,{size:18}),"pdf"===g?o("export.print_save_pdf"):`${o("export.download")} .${"word"===g?"doc":"epub"===g?"xhtml":"md"}`]})]})]})})},P=(0,j.default)("keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);var Q=a.i(76763),R=a.i(6111);let S=(0,j.default)("command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);var T=a.i(75108);let U=({children:a})=>(0,b.jsx)("kbd",{className:"px-2 py-1 text-xs font-semibold text-slate-800 bg-slate-100 border border-slate-300 rounded-md shadow-[0px_2px_0px_0px_rgba(203,213,225,1)] mx-1 font-mono",children:a}),V=({isOpen:a,onClose:c,viewMode:d})=>{let{t:e}=(0,q.useLanguage)();return a?(0,b.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200",children:(0,b.jsxs)("div",{className:"bg-white rounded-xl shadow-2xl w-[800px] max-h-[90vh] flex flex-col overflow-hidden",children:[(0,b.jsxs)("div",{className:"bg-slate-900 text-white p-6 flex justify-between items-center shrink-0",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-xl font-bold flex items-center gap-2",children:[(0,b.jsx)(m.BookOpen,{size:24,className:"text-blue-400"})," ",e("help.title")," : ",e("workflow"===d?"help.workflow_title_doc":"world_building"===d?"help.world_building_title":"settings"===d?"help.settings_title":"ideas"===d?"help.ideas_title":"help.editor_ai_title")]}),(0,b.jsx)("p",{className:"text-slate-400 text-sm mt-1",children:e("help.subtitle")})]}),(0,b.jsx)("button",{onClick:c,className:"text-slate-400 hover:text-white transition-colors p-2 hover:bg-slate-800 rounded-full",children:(0,b.jsx)(L.X,{size:24})})]}),(0,b.jsxs)("div",{className:"overflow-y-auto p-8",children:[(()=>{switch(d){case"ideas":return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-yellow-600 flex items-center gap-2 border-b border-yellow-100 pb-2 mb-4",children:[(0,b.jsx)(w.Lightbulb,{size:20})," Boîte à Idées & Tâches"]}),(0,b.jsxs)("div",{className:"text-sm text-slate-600 space-y-4",children:[(0,b.jsx)("p",{children:"Un espace de type Kanban pour ne rien oublier. Utilisez-le pour noter des idées fugaces, planifier des recherches ou lister les scènes à écrire."}),(0,b.jsxs)("ul",{className:"space-y-3",children:[(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(Q.MousePointerClick,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Glisser-Déposer :"})," Déplacez les cartes d'une colonne à l'autre (À faire → En cours → Validé) pour suivre votre progression."]})]}),(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(T.Layout,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Catégories :"})," Utilisez les catégories (Intrigue, Personnage, Recherche) pour filtrer visuellement vos tâches grâce aux codes couleurs."]})]})]})]})]});case"workflow":return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-indigo-700 flex items-center gap-2 border-b border-indigo-100 pb-2 mb-4",children:[(0,b.jsx)(v.GitGraph,{size:20})," Organisation Narrative"]}),(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-sm text-slate-600",children:(0,b.jsxs)("ul",{className:"space-y-3",children:[(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(Q.MousePointerClick,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Sélection :"})," ",(0,b.jsx)(U,{children:"Ctrl"})," + Clic pour sélectionner plusieurs cartes. Glissez pour déplacer tout un groupe."]})]}),(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(S,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Copier / Coller :"})," ",(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"C"})," pour copier les nœuds sélectionnés, ",(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"V"})," pour coller."]})]}),(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)(T.Layout,{size:16,className:"mt-0.5 shrink-0"}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Connexions :"})," Tirez depuis le cercle à droite d'une carte pour lier les événements."]})]})]})})]}),(0,b.jsxs)("section",{className:"bg-blue-50 p-6 rounded-xl border border-blue-100 mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-blue-800 flex items-center gap-2 border-b border-blue-200 pb-2 mb-4",children:[(0,b.jsx)(R.MessageCircle,{size:20})," Mode Dialogue (Workflow)"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-sm",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"font-semibold text-slate-800 mb-1",children:"Écriture Rapide"}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed mb-3",children:["Tapez un nom et ",(0,b.jsx)(U,{children:"Entrée"})," : le formatage ",(0,b.jsx)("code",{children:"Nom: "})," s'ajoute seul."]}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed",children:["Dans un dialogue, ",(0,b.jsx)(U,{children:"Entrée"})," change de ligne et ",(0,b.jsx)("strong",{children:"devine le prochain interlocuteur"})," automatiquement."]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"font-semibold text-slate-800 mb-1",children:"Rotation & Insertion"}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed mb-3",children:[(0,b.jsx)(U,{children:"Tab"})," permute instantanément entre les personnages présents dans la scène."]}),(0,b.jsxs)("p",{className:"text-slate-600 leading-relaxed",children:["Utilisez ",(0,b.jsx)(U,{children:"@"})," pour insérer un personnage, ",(0,b.jsx)(U,{children:"#"})," pour un lieu."]})]})]})]})]});case"world_building":return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-green-700 flex items-center gap-2 border-b border-green-100 pb-2 mb-4",children:[(0,b.jsx)(u.Globe,{size:20})," Bible du Monde"]}),(0,b.jsxs)("div",{className:"text-sm text-slate-600 space-y-4",children:[(0,b.jsxs)("p",{children:["La bible du monde permet de centraliser toutes les informations sur vos personnages et lieux. Ces informations sont ",(0,b.jsx)("strong",{children:"lues par l'IA"})," pour assurer la cohérence de l'histoire."]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mt-4",children:[(0,b.jsxs)("div",{className:"bg-slate-50 p-4 rounded-lg",children:[(0,b.jsx)("h4",{className:"font-bold text-slate-800 mb-2",children:"Modèles Personnalisés"}),(0,b.jsx)("p",{children:'Cliquez sur le bouton "Modèles" pour ajouter des champs spécifiques (ex: "Type de Magie", "Allégeance") à tous vos personnages ou lieux.'})]}),(0,b.jsxs)("div",{className:"bg-slate-50 p-4 rounded-lg",children:[(0,b.jsx)("h4",{className:"font-bold text-slate-800 mb-2",children:"Contexte Automatique"}),(0,b.jsx)("p",{children:"Le champ \"Contexte Narratif\" se remplit automatiquement au fur et à mesure que vous écrivez votre histoire et que l'IA détecte l'évolution des personnages."})]})]})]})]});case"settings":return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-slate-700 flex items-center gap-2 border-b border-slate-100 pb-2 mb-4",children:[(0,b.jsx)(x.Settings,{size:20})," Paramètres du Livre"]}),(0,b.jsx)("p",{className:"text-sm text-slate-600 mb-4",children:'Ces réglages sont cruciaux pour l\'Assistant IA. Ils définissent le "ton" de toutes les générations de texte.'}),(0,b.jsxs)("ul",{className:"list-disc pl-5 space-y-2 text-sm text-slate-600",children:[(0,b.jsxs)("li",{children:[(0,b.jsx)("strong",{children:"Style Guide :"}),' Soyez précis sur le style (ex: "phrases courtes", "beaucoup de métaphores", "humour noir").']}),(0,b.jsxs)("li",{children:[(0,b.jsx)("strong",{children:"POV (Point de Vue) :"}),' Définit si l\'IA doit écrire en "Je" ou "Il/Elle".']})]})]});default:return(0,b.jsxs)("section",{className:"mb-8",children:[(0,b.jsxs)("h3",{className:"text-lg font-bold text-amber-600 flex items-center gap-2 border-b border-amber-100 pb-2 mb-4",children:[(0,b.jsx)(i.Sparkles,{size:20})," Éditeur & Assistant IA"]}),(0,b.jsxs)("div",{className:"space-y-4 text-sm text-slate-600",children:[(0,b.jsxs)("div",{className:"bg-amber-50 p-4 rounded-lg border border-amber-100",children:[(0,b.jsx)("h4",{className:"font-bold text-amber-800 mb-2",children:"Menu Contextuel Intelligent"}),(0,b.jsxs)("p",{children:["Sélectionnez du texte et faites un ",(0,b.jsx)("strong",{children:"clic droit"})," pour :"]}),(0,b.jsxs)("ul",{className:"grid grid-cols-2 gap-2 mt-2 pl-4",children:[(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Corriger l'orthographe"]}),(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Reformuler / Améliorer"]}),(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Développer (Show, don't tell)"]}),(0,b.jsxs)("li",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Continuer l'écriture"]})]})]}),(0,b.jsxs)("p",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Historique des versions :"})," Activez la marge de droite (icône horloge) pour voir toutes les interventions de l'IA et revenir en arrière si nécessaire."]}),(0,b.jsxs)("p",{children:[(0,b.jsx)("span",{className:"font-semibold text-slate-800",children:"Chat Latéral :"})," Posez des questions sur votre histoire, demandez des résumés ou des idées de rebondissements. L'IA connaît le contexte de vos chapitres précédents et de vos fiches personnages."]}),(0,b.jsxs)("div",{className:"mt-6 border-t border-slate-100 pt-4",children:[(0,b.jsxs)("h4",{className:"font-bold text-slate-700 mb-3 flex items-center gap-2",children:[(0,b.jsx)(P,{size:16})," Raccourcis Clavier (Éditeur)"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 bg-slate-50 p-4 rounded-lg border border-slate-100",children:[(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Mettre en Gras"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"B"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Mettre en Italique"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"I"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Souligner"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"U"})]})]})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Tout sélectionner"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"A"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Annuler"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"Z"})]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,b.jsx)("span",{className:"text-slate-600",children:"Rétablir"}),(0,b.jsxs)("span",{children:[(0,b.jsx)(U,{children:"Ctrl"})," + ",(0,b.jsx)(U,{children:"Shift"})," + ",(0,b.jsx)(U,{children:"Z"})]})]})]})]})]})]})]})}})(),(0,b.jsxs)("div",{className:"border-t border-slate-100 pt-6 mt-6",children:[(0,b.jsx)("h4",{className:"text-sm font-bold text-slate-500 uppercase tracking-wider mb-4",children:e("help.general_shortcuts")}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-xs text-slate-600",children:[(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("span",{children:e("help.auto_save")}),(0,b.jsx)("span",{className:"font-mono text-slate-400",children:e("help.permanent")})]}),(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("span",{children:e("help.side_menu")}),(0,b.jsx)("span",{children:e("help.click_burger")})]})]})]})]}),(0,b.jsx)("div",{className:"p-4 border-t border-slate-200 bg-slate-50 flex justify-end",children:(0,b.jsx)("button",{onClick:c,className:"px-6 py-2 bg-slate-800 text-white rounded-lg hover:bg-slate-900 transition-colors font-medium",children:e("help.close")})})]})}):null};var W=a.i(79080);function X({children:a}){let i=(0,d.useParams)(),j=(0,d.useRouter)(),k=(0,d.usePathname)(),l=i.id,{user:n,logout:o,incrementUsage:p,loading:q}=(0,e.useAuthContext)(),{projects:r,setCurrentProjectId:s,updateProject:t,updateChapter:u,addChapter:v,createEntity:w,updateEntity:x,deleteEntity:y,deleteProject:z}=(0,g.useProjects)(n),{chatHistory:A,isGenerating:B,sendMessage:C}=(()=>{let[a,b]=(0,c.useState)([]),[d,e]=(0,c.useState)(!1);return{chatHistory:a,isGenerating:d,sendMessage:async(a,c,d,f,g)=>{let i={id:Date.now().toString(),role:"user",text:d};b(a=>[...a,i]),e(!0);try{let e=await h.default.ai.generate(a,"global"===c?"":c,d,f);g();let i={id:(Date.now()+1).toString(),role:"model",text:e.text,responseType:e.type};b(a=>[...a,i])}catch{b(a=>[...a,{id:Date.now().toString(),role:"model",text:"Désolé, une erreur est survenue lors de la génération."}])}finally{e(!1)}}}})(),[D,E]=(0,c.useState)(""),[F,G]=(0,c.useState)(!1),[H,I]=(0,c.useState)(!1),K=k.endsWith("/world")?"world_building":k.endsWith("/ideas")?"ideas":k.endsWith("/workflow")?"workflow":k.endsWith("/settings")?"settings":"write";(0,c.useEffect)(()=>{l&&s(l)},[l,s]),(0,c.useEffect)(()=>{q||n||j.replace("/login")},[n,q,j]);let L=r.find(a=>a.id===l);return((0,c.useEffect)(()=>{!L||D&&L.chapters.some(a=>a.id===D)||E(L.chapters[0]?.id||"")},[L,D]),q||!n)?(0,b.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,b.jsx)(W.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(m.BookOpen,{className:"text-blue-500",size:20}),(0,b.jsx)("span",{className:"text-lg font-bold",children:"Pluume"})]})]}):L?(0,b.jsx)(f.ProjectProvider,{value:{project:L,user:n,projectId:l,currentChapterId:D,setCurrentChapterId:E,updateProject:a=>t(l,a),updateChapter:(a,b)=>u(l,a,b),createEntity:(a,b)=>w(l,a,b),updateEntity:(a,b)=>x(l,a,b),deleteEntity:a=>y(l,a),deleteProject:()=>z(l),incrementUsage:p},children:(0,b.jsxs)(J,{project:L,user:n,viewMode:K,currentChapterId:D,chatHistory:A,isGenerating:B,onViewModeChange:a=>{let b=`/project/${l}`;switch(a){case"write":default:j.push(b);break;case"world_building":j.push(`${b}/world`);break;case"ideas":j.push(`${b}/ideas`);break;case"workflow":j.push(`${b}/workflow`);break;case"settings":j.push(`${b}/settings`);break;case"dashboard":j.push("/dashboard")}},onChapterSelect:a=>{E(a),j.push(`/project/${l}`)},onUpdateProject:a=>t(l,a),onAddChapter:async()=>{let a=await v(l,{});a&&(E(a),j.push(`/project/${l}`))},onDeleteChapter:a=>{if(L.chapters.length>1){let b=L.chapters.filter(b=>b.id!==a);t(l,{chapters:b}),D===a&&E(b[0].id)}},onLogout:()=>{o(),j.push("/")},onSendMessage:a=>{L&&n&&C(L,"global",a,n,p)},onInsertText:()=>{},onOpenExport:()=>G(!0),onOpenHelp:()=>I(!0),children:[(0,b.jsx)(O,{isOpen:F,onClose:()=>G(!1),project:L,onPrint:()=>{}}),(0,b.jsx)(V,{isOpen:H,onClose:()=>I(!1),viewMode:K}),a]})}):(0,b.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,b.jsx)(W.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,b.jsx)("p",{className:"text-slate-400",children:"Chargement du projet..."})]})}a.s(["default",()=>X],74007)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_layout_tsx_8d39104f._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js.map b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js.map index f36137e..4ac8ed1 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js.map +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_layout_tsx_8d39104f._.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/components/AIPanel.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/layout/EditorShell.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/ExportModal.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/hooks/useChat.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/HelpModal.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/layout.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/chevron-left.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/keyboard.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/layout-dashboard.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/command.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/send.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-question-mark.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/file-text.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/menu.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/download.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/file-braces.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/printer.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/brain-circuit.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/bot.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/share-2.ts"],"sourcesContent":["'use client';\n\n\nimport React, { useState, useEffect, useRef } from 'react';\nimport { Sparkles, Send, RefreshCw, BookOpen, Bot, ArrowLeft, BrainCircuit, Zap } from 'lucide-react';\nimport { ChatMessage, UserUsage } from '@/lib/types';\n\ninterface AIPanelProps {\n chatHistory: ChatMessage[];\n onSendMessage: (msg: string) => void;\n onInsertText: (text: string) => void;\n selectedText: string;\n isGenerating: boolean;\n usage?: UserUsage;\n}\n\nconst AIPanel: React.FC = ({ chatHistory, onSendMessage, onInsertText, selectedText, isGenerating, usage }) => {\n const [input, setInput] = useState(\"\");\n const messagesEndRef = useRef(null);\n\n useEffect(() => {\n messagesEndRef.current?.scrollIntoView({ behavior: \"smooth\" });\n }, [chatHistory, isGenerating]);\n\n const handleSubmit = (e: React.FormEvent) => {\n e.preventDefault();\n if (!input.trim() || isGenerating) return;\n onSendMessage(input);\n setInput(\"\");\n };\n\n const isLimitReached = usage ? usage.aiActionsCurrent >= usage.aiActionsLimit : false;\n\n return (\n
\n {/* Header with Usage Counter */}\n
\n
\n \n

Assistant IA

\n
\n {usage && (\n
\n {usage.aiActionsCurrent} / {usage.aiActionsLimit === 999999 ? '∞' : usage.aiActionsLimit}\n
\n )}\n
\n\n {selectedText && (\n
\n
Contexte :
\n
\"{selectedText.substring(0, 60)}...\"
\n
\n )}\n\n
\n {chatHistory.length === 0 && (\n
\n \n

Bonjour ! Comment puis-je vous aider aujourd'hui ?

\n {isLimitReached && (\n
\n Limite atteinte ! Améliorez votre plan.\n
\n )}\n
\n )}\n\n {chatHistory.map((msg) => (\n
\n
\n {msg.role === 'model' && msg.responseType === 'reflection' && (\n
Réflexion
\n )}\n
{msg.text}
\n
\n
\n ))}\n\n {isGenerating && (\n
\n
\n L'IA travaille...\n
\n
\n )}\n
\n
\n\n
\n
\n setInput(e.target.value)}\n placeholder={isLimitReached ? \"Limite atteinte...\" : \"Votre message...\"}\n className=\"w-full pl-4 pr-12 py-3 bg-theme-bg text-theme-text border border-theme-border rounded-2xl text-sm focus:outline-none focus:border-indigo-500 transition-all disabled:opacity-50\"\n disabled={isGenerating || isLimitReached}\n />\n \n \n \n \n
\n
\n );\n};\n\nexport default AIPanel;\n","'use client';\n\n\nimport React, { useState } from 'react';\nimport { BookProject, UserProfile, ViewMode, ChatMessage } from '@/lib/types';\nimport AIPanel from '@/components/AIPanel';\nimport { Book, FileText, Globe, GitGraph, Lightbulb, Settings, Menu, ChevronRight, ChevronLeft, Share2, HelpCircle, LogOut, LayoutDashboard, User, Plus, Trash2 } from 'lucide-react';\n\ninterface EditorShellProps {\n project: BookProject;\n user: UserProfile;\n viewMode: ViewMode;\n currentChapterId: string;\n chatHistory: ChatMessage[];\n isGenerating: boolean;\n onViewModeChange: (mode: ViewMode) => void;\n onChapterSelect: (id: string) => void;\n onUpdateProject: (updates: Partial) => void;\n onAddChapter: () => Promise;\n onDeleteChapter: (id: string) => void;\n onLogout: () => void;\n onSendMessage: (msg: string) => void;\n onInsertText: (text: string) => void;\n onOpenExport: () => void;\n onOpenHelp: () => void;\n children: React.ReactNode;\n}\n\nconst EditorShell: React.FC = (props) => {\n const { project, user, viewMode, currentChapterId, children } = props;\n const [isSidebarOpen, setIsSidebarOpen] = useState(true);\n const [isAiPanelOpen, setIsAiPanelOpen] = useState(true);\n\n const currentChapter = project.chapters.find(c => c.id === currentChapterId);\n\n return (\n
\n\n {/* SIDEBAR */}\n \n\n {/* MAIN CONTENT */}\n
\n
\n
\n \n {viewMode === 'write' ? (\n props.onUpdateProject({ chapters: project.chapters.map(c => c.id === currentChapterId ? { ...c, title: e.target.value } : c) })}\n className=\"font-serif font-bold text-lg bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none\"\n />\n ) : (\n {viewMode}\n )}\n
\n
\n \n \n \n
\n
\n\n
\n {children}\n
\n
\n\n {/* AI PANEL */}\n
\n {isAiPanelOpen && }\n
\n
\n );\n};\n\nexport default EditorShell;\n","'use client';\n\nimport React, { useState } from 'react';\nimport { BookProject } from '@/lib/types';\nimport { FileText, FileType, Printer, X, Download, Book, FileJson } from 'lucide-react';\n\ninterface ExportModalProps {\n isOpen: boolean;\n onClose: () => void;\n project: BookProject;\n onPrint: (options: { includeCover: boolean, includeTOC: boolean }) => void;\n}\n\ntype ExportFormat = 'pdf' | 'word' | 'epub' | 'markdown';\ntype PageSize = 'A4' | 'A5' | 'Letter';\n\nconst ExportModal: React.FC = ({ isOpen, onClose, project, onPrint }) => {\n const [format, setFormat] = useState('pdf');\n const [pageSize, setPageSize] = useState('A4');\n const [includeCover, setIncludeCover] = useState(true);\n const [includeTOC, setIncludeTOC] = useState(true);\n\n if (!isOpen) return null;\n\n const generateContentHTML = () => {\n let html = `\n \n \n \n \n ${project.title}\n \n \n \n `;\n\n if (includeCover) {\n html += `\n
\n

${project.title}

\n

${project.author}

\n
\n `;\n }\n\n if (includeTOC) {\n html += `

Table des Matières

    `;\n project.chapters.forEach((chap, idx) => {\n html += `
  • ${chap.title}
  • `;\n });\n html += `
`;\n }\n\n project.chapters.forEach((chap, idx) => {\n html += `\n
\n

${chap.title}

\n ${chap.content}\n
\n `;\n });\n\n html += ``;\n return html;\n };\n\n const handleExport = () => {\n const filename = project.title.replace(/[^a-z0-9]/gi, '_').toLowerCase();\n\n if (format === 'pdf') {\n // Open print dialog with the formatted content\n const content = generateContentHTML();\n const printWindow = window.open('', '_blank');\n if (printWindow) {\n printWindow.document.write(content);\n printWindow.document.close();\n printWindow.focus();\n setTimeout(() => {\n printWindow.print();\n }, 300);\n }\n onClose();\n }\n else if (format === 'word') {\n // Export as HTML with specific Word namespaces -> interpreted as doc by Word\n const content = generateContentHTML();\n const blob = new Blob(['\\ufeff', content], {\n type: 'application/msword'\n });\n downloadBlob(blob, `${filename}.doc`);\n }\n else if (format === 'epub') {\n // Export as a single XHTML file (Ebook ready)\n const content = generateContentHTML();\n const blob = new Blob([content], {\n type: 'application/xhtml+xml'\n });\n downloadBlob(blob, `${filename}.xhtml`);\n }\n else if (format === 'markdown') {\n let md = `# ${project.title}\\nBy ${project.author}\\n\\n`;\n project.chapters.forEach(c => {\n // Very basic HTML to Text conversion\n const text = c.content.replace(/<[^>]+>/g, '\\n');\n md += `## ${c.title}\\n\\n${text}\\n\\n---\\n\\n`;\n });\n const blob = new Blob([md], { type: 'text/markdown' });\n downloadBlob(blob, `${filename}.md`);\n }\n };\n\n const downloadBlob = (blob: Blob, name: string) => {\n const url = URL.createObjectURL(blob);\n const a = document.createElement('a');\n a.href = url;\n a.download = name;\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n URL.revokeObjectURL(url);\n onClose();\n };\n\n return (\n
\n
\n\n {/* Header */}\n
\n
\n

\n Exporter le livre\n

\n

{project.title}

\n
\n \n
\n\n {/* Body */}\n
\n\n {/* Format Selection */}\n
\n setFormat('pdf')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'pdf' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
PDF (Impression)
\n \n\n setFormat('word')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'word' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
Microsoft Word
\n \n\n setFormat('epub')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'epub' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
EPUB / Ebook
\n \n\n setFormat('markdown')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'markdown' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
Markdown
\n \n
\n\n {/* Options Section */}\n
\n

\n Paramètres d'exportation ({format.toUpperCase()})\n

\n\n
\n {format === 'pdf' && (\n
\n
\n \n Géré par l'imprimante (A4, A5...)\n
\n
Auto
\n
\n )}\n\n
\n \n setIncludeCover(e.target.checked)}\n className=\"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500\"\n />\n
\n\n
\n \n setIncludeTOC(e.target.checked)}\n className=\"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500\"\n />\n
\n\n {format === 'epub' && (\n

\n Note: L'export EPUB génère un fichier XHTML optimisé prêt à être converti par Calibre ou Kindle Previewer.\n

\n )}\n
\n
\n
\n\n {/* Footer */}\n
\n \n Annuler\n \n \n {format === 'pdf' ? : }\n {format === 'pdf' ? 'Imprimer / Enregistrer PDF' : `Télécharger .${format === 'word' ? 'doc' : format === 'epub' ? 'xhtml' : 'md'}`}\n \n
\n
\n
\n );\n};\n\nexport default ExportModal;","'use client';\r\n\r\nimport { useState } from 'react';\r\nimport {\r\n BookProject,\r\n ChatMessage,\r\n UserProfile,\r\n} from '@/lib/types';\r\nimport api from '@/lib/api';\r\n\r\nexport const useChat = () => {\r\n const [chatHistory, setChatHistory] = useState([]);\r\n const [isGenerating, setIsGenerating] = useState(false);\r\n\r\n const sendMessage = async (\r\n project: BookProject,\r\n context: string,\r\n text: string,\r\n user: UserProfile,\r\n incrementUsage: () => void\r\n ) => {\r\n const userMsg: ChatMessage = {\r\n id: Date.now().toString(),\r\n role: 'user',\r\n text: text\r\n };\r\n setChatHistory(prev => [...prev, userMsg]);\r\n setIsGenerating(true);\r\n\r\n try {\r\n const response = await api.ai.generate(\r\n project,\r\n context === 'global' ? '' : context,\r\n text,\r\n user\r\n );\r\n\r\n incrementUsage();\r\n\r\n const aiMsg: ChatMessage = {\r\n id: (Date.now() + 1).toString(),\r\n role: 'model',\r\n text: response.text,\r\n responseType: response.type\r\n };\r\n setChatHistory(prev => [...prev, aiMsg]);\r\n } catch {\r\n setChatHistory(prev => [...prev, {\r\n id: Date.now().toString(),\r\n role: 'model',\r\n text: \"Désolé, une erreur est survenue lors de la génération.\"\r\n }]);\r\n } finally {\r\n setIsGenerating(false);\r\n }\r\n };\r\n\r\n return { chatHistory, isGenerating, sendMessage };\r\n};\r\n","'use client';\n\nimport React from 'react';\nimport { X, Keyboard, MousePointerClick, MessageCircle, Sparkles, GitGraph, BookOpen, Command, Globe, Layout, Settings, Lightbulb } from 'lucide-react';\nimport { ViewMode } from '@/lib/types';\n\ninterface HelpModalProps {\n isOpen: boolean;\n onClose: () => void;\n viewMode: ViewMode;\n}\n\nconst Kbd: React.FC<{ children: React.ReactNode }> = ({ children }) => (\n \n {children}\n \n);\n\nconst HelpModal: React.FC = ({ isOpen, onClose, viewMode }) => {\n if (!isOpen) return null;\n\n const renderContent = () => {\n switch (viewMode) {\n case 'ideas':\n return (\n
\n

\n Boîte à Idées & Tâches\n

\n
\n

\n Un espace de type Kanban pour ne rien oublier. Utilisez-le pour noter des idées fugaces, planifier des recherches ou lister les scènes à écrire.\n

\n
    \n
  • \n \n \n Glisser-Déposer : Déplacez les cartes d'une colonne à l'autre (À faire → En cours → Validé) pour suivre votre progression.\n \n
  • \n
  • \n \n \n Catégories : Utilisez les catégories (Intrigue, Personnage, Recherche) pour filtrer visuellement vos tâches grâce aux codes couleurs.\n \n
  • \n
\n
\n
\n );\n\n case 'workflow':\n return (\n <>\n {/* Workflow Section */}\n
\n

\n Organisation Narrative\n

\n
\n
    \n
  • \n \n \n Sélection : Ctrl + Clic pour sélectionner plusieurs cartes. Glissez pour déplacer tout un groupe.\n \n
  • \n
  • \n \n \n Copier / Coller : Ctrl + C pour copier les nœuds sélectionnés, Ctrl + V pour coller.\n \n
  • \n
  • \n \n \n Connexions : Tirez depuis le cercle à droite d'une carte pour lier les événements.\n \n
  • \n
\n
\n
\n\n {/* Dialogue Intelligent */}\n
\n

\n Mode Dialogue (Workflow)\n

\n
\n
\n
Écriture Rapide
\n

\n Tapez un nom et Entrée : le formatage Nom: s'ajoute seul.\n

\n

\n Dans un dialogue, Entrée change de ligne et devine le prochain interlocuteur automatiquement.\n

\n
\n
\n
Rotation & Insertion
\n

\n Tab permute instantanément entre les personnages présents dans la scène.\n

\n

\n Utilisez @ pour insérer un personnage, # pour un lieu.\n

\n
\n
\n
\n \n );\n\n case 'world_building':\n return (\n
\n

\n Bible du Monde\n

\n
\n

\n La bible du monde permet de centraliser toutes les informations sur vos personnages et lieux.\n Ces informations sont lues par l'IA pour assurer la cohérence de l'histoire.\n

\n
\n
\n

Modèles Personnalisés

\n

\n Cliquez sur le bouton \"Modèles\" pour ajouter des champs spécifiques (ex: \"Type de Magie\", \"Allégeance\") à tous vos personnages ou lieux.\n

\n
\n
\n

Contexte Automatique

\n

\n Le champ \"Contexte Narratif\" se remplit automatiquement au fur et à mesure que vous écrivez votre histoire et que l'IA détecte l'évolution des personnages.\n

\n
\n
\n
\n
\n );\n\n case 'settings':\n return (\n
\n

\n Paramètres du Livre\n

\n

\n Ces réglages sont cruciaux pour l'Assistant IA. Ils définissent le \"ton\" de toutes les générations de texte.\n

\n
    \n
  • Style Guide : Soyez précis sur le style (ex: \"phrases courtes\", \"beaucoup de métaphores\", \"humour noir\").
  • \n
  • POV (Point de Vue) : Définit si l'IA doit écrire en \"Je\" ou \"Il/Elle\".
  • \n
\n
\n );\n\n case 'write':\n default:\n return (\n
\n

\n Éditeur & Assistant IA\n

\n
\n
\n

Menu Contextuel Intelligent

\n

Sélectionnez du texte et faites un clic droit pour :

\n
    \n
  • Corriger l'orthographe
  • \n
  • Reformuler / Améliorer
  • \n
  • Développer (Show, don't tell)
  • \n
  • Continuer l'écriture
  • \n
\n
\n

\n Historique des versions : Activez la marge de droite (icône horloge) pour voir toutes les interventions de l'IA et revenir en arrière si nécessaire.\n

\n

\n Chat Latéral : Posez des questions sur votre histoire, demandez des résumés ou des idées de rebondissements. L'IA connaît le contexte de vos chapitres précédents et de vos fiches personnages.\n

\n \n
\n

\n Raccourcis Clavier (Éditeur)\n

\n
\n
\n
\n Mettre en Gras\n Ctrl + B\n
\n
\n Mettre en Italique\n Ctrl + I\n
\n
\n Souligner\n Ctrl + U\n
\n
\n
\n
\n Tout sélectionner\n Ctrl + A\n
\n
\n Annuler\n Ctrl + Z\n
\n
\n Rétablir\n Ctrl + Shift + Z\n
\n
\n
\n
\n
\n
\n );\n }\n };\n\n return (\n
\n
\n \n {/* Header */}\n
\n
\n

\n Aide : {\n viewMode === 'workflow' ? 'Workflow & Dialogues' :\n viewMode === 'world_building' ? 'Bible du Monde' :\n viewMode === 'settings' ? 'Paramètres' :\n viewMode === 'ideas' ? 'Boîte à Idées' :\n 'Éditeur & IA'\n }\n

\n

Astuces pour l'écran actuel.

\n
\n \n
\n\n {/* Content */}\n
\n \n {/* Context Specific Content */}\n {renderContent()}\n\n {/* General Footer Section (Always visible) */}\n
\n

Raccourcis Généraux

\n
\n
\n Sauvegarde Automatique\n Permanente\n
\n
\n Menu Latéral\n Clic sur le burger\n
\n
\n
\n\n
\n\n {/* Footer */}\n
\n \n
\n\n
\n
\n );\n};\n\nexport default HelpModal;","'use client';\r\n\r\nimport React, { useState, useEffect } from 'react';\r\nimport { useParams, useRouter, usePathname } from 'next/navigation';\r\nimport { useAuthContext } from '@/providers/AuthProvider';\r\nimport { ProjectProvider } from '@/providers/ProjectProvider';\r\nimport { useProjects } from '@/hooks/useProjects';\r\nimport { useChat } from '@/hooks/useChat';\r\nimport { ViewMode } from '@/lib/types';\r\nimport EditorShell from '@/components/layout/EditorShell';\r\nimport ExportModal from '@/components/ExportModal';\r\nimport HelpModal from '@/components/HelpModal';\r\nimport { Loader2, BookOpen } from 'lucide-react';\r\n\r\nfunction getViewModeFromPath(pathname: string): ViewMode {\r\n if (pathname.endsWith('/world')) return 'world_building';\r\n if (pathname.endsWith('/ideas')) return 'ideas';\r\n if (pathname.endsWith('/workflow')) return 'workflow';\r\n if (pathname.endsWith('/settings')) return 'settings';\r\n return 'write';\r\n}\r\n\r\nexport default function ProjectLayout({ children }: { children: React.ReactNode }) {\r\n const params = useParams();\r\n const router = useRouter();\r\n const pathname = usePathname();\r\n const projectId = params.id as string;\r\n\r\n const { user, logout, incrementUsage, loading: authLoading } = useAuthContext();\r\n const {\r\n projects, setCurrentProjectId,\r\n updateProject, updateChapter, addChapter,\r\n createEntity, updateEntity, deleteEntity, deleteProject\r\n } = useProjects(user);\r\n const { chatHistory, isGenerating, sendMessage } = useChat();\r\n\r\n const [currentChapterId, setCurrentChapterId] = useState('');\r\n const [isExportModalOpen, setIsExportModalOpen] = useState(false);\r\n const [isHelpModalOpen, setIsHelpModalOpen] = useState(false);\r\n\r\n const viewMode = getViewModeFromPath(pathname);\r\n\r\n useEffect(() => {\r\n if (projectId) setCurrentProjectId(projectId);\r\n }, [projectId, setCurrentProjectId]);\r\n\r\n useEffect(() => {\r\n if (!authLoading && !user) router.replace('/login');\r\n }, [user, authLoading, router]);\r\n\r\n const project = projects.find(p => p.id === projectId);\r\n\r\n useEffect(() => {\r\n if (project && (!currentChapterId || !project.chapters.some(c => c.id === currentChapterId))) {\r\n setCurrentChapterId(project.chapters[0]?.id || '');\r\n }\r\n }, [project, currentChapterId]);\r\n\r\n if (authLoading || !user) {\r\n return (\r\n
\r\n \r\n
\r\n \r\n PlumeIA\r\n
\r\n
\r\n );\r\n }\r\n\r\n if (!project) {\r\n return (\r\n
\r\n \r\n

Chargement du projet...

\r\n
\r\n );\r\n }\r\n\r\n const handleViewModeChange = (mode: ViewMode) => {\r\n const base = `/project/${projectId}`;\r\n switch (mode) {\r\n case 'write': router.push(base); break;\r\n case 'world_building': router.push(`${base}/world`); break;\r\n case 'ideas': router.push(`${base}/ideas`); break;\r\n case 'workflow': router.push(`${base}/workflow`); break;\r\n case 'settings': router.push(`${base}/settings`); break;\r\n case 'dashboard': router.push('/dashboard'); break;\r\n default: router.push(base);\r\n }\r\n };\r\n\r\n return (\r\n updateProject(projectId, updates),\r\n updateChapter: (chapterId, data) => updateChapter(projectId, chapterId, data),\r\n createEntity: (type, data) => createEntity(projectId, type, data),\r\n updateEntity: (entityId, data) => updateEntity(projectId, entityId, data),\r\n deleteEntity: (entityId) => deleteEntity(projectId, entityId),\r\n deleteProject: () => deleteProject(projectId),\r\n incrementUsage,\r\n }}>\r\n { setCurrentChapterId(id); router.push(`/project/${projectId}`); }}\r\n onUpdateProject={(updates) => updateProject(projectId, updates)}\r\n onAddChapter={async () => {\r\n const id = await addChapter(projectId, {});\r\n if (id) {\r\n setCurrentChapterId(id);\r\n router.push(`/project/${projectId}`);\r\n }\r\n }}\r\n onDeleteChapter={(id) => {\r\n if (project.chapters.length > 1) {\r\n const newChapters = project.chapters.filter(c => c.id !== id);\r\n updateProject(projectId, { chapters: newChapters });\r\n if (currentChapterId === id) setCurrentChapterId(newChapters[0].id);\r\n }\r\n }}\r\n onLogout={() => { logout(); router.push('/'); }}\r\n onSendMessage={(msg) => {\r\n if (project && user) sendMessage(project, 'global', msg, user, incrementUsage);\r\n }}\r\n onInsertText={() => { }}\r\n onOpenExport={() => setIsExportModalOpen(true)}\r\n onOpenHelp={() => setIsHelpModalOpen(true)}\r\n >\r\n setIsExportModalOpen(false)} project={project} onPrint={() => { }} />\r\n setIsHelpModalOpen(false)} viewMode={viewMode} />\r\n {children}\r\n \r\n \r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm15 18-6-6 6-6', key: '1wnfg3' }]];\n\n/**\n * @component @name ChevronLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTUgMTgtNi02IDYtNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronLeft = createLucideIcon('chevron-left', __iconNode);\n\nexport default ChevronLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10 8h.01', key: '1r9ogq' }],\n ['path', { d: 'M12 12h.01', key: '1mp3jc' }],\n ['path', { d: 'M14 8h.01', key: '1primd' }],\n ['path', { d: 'M16 12h.01', key: '1l6xoz' }],\n ['path', { d: 'M18 8h.01', key: 'emo2bl' }],\n ['path', { d: 'M6 8h.01', key: 'x9i8wu' }],\n ['path', { d: 'M7 16h10', key: 'wp8him' }],\n ['path', { d: 'M8 12h.01', key: 'czm47f' }],\n ['rect', { width: '20', height: '16', x: '2', y: '4', rx: '2', key: '18n3k1' }],\n];\n\n/**\n * @component @name Keyboard\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAgOGguMDEiIC8+CiAgPHBhdGggZD0iTTEyIDEyaC4wMSIgLz4KICA8cGF0aCBkPSJNMTQgOGguMDEiIC8+CiAgPHBhdGggZD0iTTE2IDEyaC4wMSIgLz4KICA8cGF0aCBkPSJNMTggOGguMDEiIC8+CiAgPHBhdGggZD0iTTYgOGguMDEiIC8+CiAgPHBhdGggZD0iTTcgMTZoMTAiIC8+CiAgPHBhdGggZD0iTTggMTJoLjAxIiAvPgogIDxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIxNiIgeD0iMiIgeT0iNCIgcng9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/keyboard\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Keyboard = createLucideIcon('keyboard', __iconNode);\n\nexport default Keyboard;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '7', height: '9', x: '3', y: '3', rx: '1', key: '10lvy0' }],\n ['rect', { width: '7', height: '5', x: '14', y: '3', rx: '1', key: '16une8' }],\n ['rect', { width: '7', height: '9', x: '14', y: '12', rx: '1', key: '1hutg5' }],\n ['rect', { width: '7', height: '5', x: '3', y: '16', rx: '1', key: 'ldoo1y' }],\n];\n\n/**\n * @component @name LayoutDashboard\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSI5IiB4PSIzIiB5PSIzIiByeD0iMSIgLz4KICA8cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSI1IiB4PSIxNCIgeT0iMyIgcng9IjEiIC8+CiAgPHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iOSIgeD0iMTQiIHk9IjEyIiByeD0iMSIgLz4KICA8cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSI1IiB4PSIzIiB5PSIxNiIgcng9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/layout-dashboard\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LayoutDashboard = createLucideIcon('layout-dashboard', __iconNode);\n\nexport default LayoutDashboard;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n { d: 'M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3', key: '11bfej' },\n ],\n];\n\n/**\n * @component @name Command\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgNnYxMmEzIDMgMCAxIDAgMy0zSDZhMyAzIDAgMSAwIDMgM1Y2YTMgMyAwIDEgMC0zIDNoMTJhMyAzIDAgMSAwLTMtMyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/command\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Command = createLucideIcon('command', __iconNode);\n\nexport default Command;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z',\n key: '1ffxy3',\n },\n ],\n ['path', { d: 'm21.854 2.147-10.94 10.939', key: '12cjpa' }],\n];\n\n/**\n * @component @name Send\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQuNTM2IDIxLjY4NmEuNS41IDAgMCAwIC45MzctLjAyNGw2LjUtMTlhLjQ5Ni40OTYgMCAwIDAtLjYzNS0uNjM1bC0xOSA2LjVhLjUuNSAwIDAgMC0uMDI0LjkzN2w3LjkzIDMuMThhMiAyIDAgMCAxIDEuMTEyIDEuMTF6IiAvPgogIDxwYXRoIGQ9Im0yMS44NTQgMi4xNDctMTAuOTQgMTAuOTM5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/send\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Send = createLucideIcon('send', __iconNode);\n\nexport default Send;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3', key: '1u773s' }],\n ['path', { d: 'M12 17h.01', key: 'p32p05' }],\n];\n\n/**\n * @component @name CircleQuestionMark\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNOS4wOSA5YTMgMyAwIDAgMSA1LjgzIDFjMCAyLTMgMy0zIDMiIC8+CiAgPHBhdGggZD0iTTEyIDE3aC4wMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle-question-mark\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleQuestionMark = createLucideIcon('circle-question-mark', __iconNode);\n\nexport default CircleQuestionMark;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n key: '1oefj6',\n },\n ],\n ['path', { d: 'M14 2v5a1 1 0 0 0 1 1h5', key: 'wfsgrz' }],\n ['path', { d: 'M10 9H8', key: 'b1mrlr' }],\n ['path', { d: 'M16 13H8', key: 't4e002' }],\n ['path', { d: 'M16 17H8', key: 'z1uh3a' }],\n];\n\n/**\n * @component @name FileText\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAyMmEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg4YTIuNCAyLjQgMCAwIDEgMS43MDQuNzA2bDMuNTg4IDMuNTg4QTIuNCAyLjQgMCAwIDEgMjAgOHYxMmEyIDIgMCAwIDEtMiAyeiIgLz4KICA8cGF0aCBkPSJNMTQgMnY1YTEgMSAwIDAgMCAxIDFoNSIgLz4KICA8cGF0aCBkPSJNMTAgOUg4IiAvPgogIDxwYXRoIGQ9Ik0xNiAxM0g4IiAvPgogIDxwYXRoIGQ9Ik0xNiAxN0g4IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/file-text\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FileText = createLucideIcon('file-text', __iconNode);\n\nexport default FileText;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 5h16', key: '1tepv9' }],\n ['path', { d: 'M4 12h16', key: '1lakjw' }],\n ['path', { d: 'M4 19h16', key: '1djgab' }],\n];\n\n/**\n * @component @name Menu\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCA1aDE2IiAvPgogIDxwYXRoIGQ9Ik00IDEyaDE2IiAvPgogIDxwYXRoIGQ9Ik00IDE5aDE2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/menu\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Menu = createLucideIcon('menu', __iconNode);\n\nexport default Menu;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 15V3', key: 'm9g1x1' }],\n ['path', { d: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4', key: 'ih7n3h' }],\n ['path', { d: 'm7 10 5 5 5-5', key: 'brsn70' }],\n];\n\n/**\n * @component @name Download\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMTVWMyIgLz4KICA8cGF0aCBkPSJNMjEgMTV2NGEyIDIgMCAwIDEtMiAySDVhMiAyIDAgMCAxLTItMnYtNCIgLz4KICA8cGF0aCBkPSJtNyAxMCA1IDUgNS01IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/download\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Download = createLucideIcon('download', __iconNode);\n\nexport default Download;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n key: '1oefj6',\n },\n ],\n ['path', { d: 'M14 2v5a1 1 0 0 0 1 1h5', key: 'wfsgrz' }],\n [\n 'path',\n { d: 'M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1', key: '1oajmo' },\n ],\n [\n 'path',\n { d: 'M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1', key: 'mpwhp6' },\n ],\n];\n\n/**\n * @component @name FileBraces\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAyMmEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg4YTIuNCAyLjQgMCAwIDEgMS43MDQuNzA2bDMuNTg4IDMuNTg4QTIuNCAyLjQgMCAwIDEgMjAgOHYxMmEyIDIgMCAwIDEtMiAyeiIgLz4KICA8cGF0aCBkPSJNMTQgMnY1YTEgMSAwIDAgMCAxIDFoNSIgLz4KICA8cGF0aCBkPSJNMTAgMTJhMSAxIDAgMCAwLTEgMXYxYTEgMSAwIDAgMS0xIDEgMSAxIDAgMCAxIDEgMXYxYTEgMSAwIDAgMCAxIDEiIC8+CiAgPHBhdGggZD0iTTE0IDE4YTEgMSAwIDAgMCAxLTF2LTFhMSAxIDAgMCAxIDEtMSAxIDEgMCAwIDEtMS0xdi0xYTEgMSAwIDAgMC0xLTEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/file-braces\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FileBraces = createLucideIcon('file-braces', __iconNode);\n\nexport default FileBraces;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2',\n key: '143wyd',\n },\n ],\n ['path', { d: 'M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6', key: '1itne7' }],\n ['rect', { x: '6', y: '14', width: '12', height: '8', rx: '1', key: '1ue0tg' }],\n];\n\n/**\n * @component @name Printer\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAxOEg0YTIgMiAwIDAgMS0yLTJ2LTVhMiAyIDAgMCAxIDItMmgxNmEyIDIgMCAwIDEgMiAydjVhMiAyIDAgMCAxLTIgMmgtMiIgLz4KICA8cGF0aCBkPSJNNiA5VjNhMSAxIDAgMCAxIDEtMWgxMGExIDEgMCAwIDEgMSAxdjYiIC8+CiAgPHJlY3QgeD0iNiIgeT0iMTQiIHdpZHRoPSIxMiIgaGVpZ2h0PSI4IiByeD0iMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/printer\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Printer = createLucideIcon('printer', __iconNode);\n\nexport default Printer;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z',\n key: 'l5xja',\n },\n ],\n ['path', { d: 'M9 13a4.5 4.5 0 0 0 3-4', key: '10igwf' }],\n ['path', { d: 'M6.003 5.125A3 3 0 0 0 6.401 6.5', key: '105sqy' }],\n ['path', { d: 'M3.477 10.896a4 4 0 0 1 .585-.396', key: 'ql3yin' }],\n ['path', { d: 'M6 18a4 4 0 0 1-1.967-.516', key: '2e4loj' }],\n ['path', { d: 'M12 13h4', key: '1ku699' }],\n ['path', { d: 'M12 18h6a2 2 0 0 1 2 2v1', key: '105ag5' }],\n ['path', { d: 'M12 8h8', key: '1lhi5i' }],\n ['path', { d: 'M16 8V5a2 2 0 0 1 2-2', key: 'u6izg6' }],\n ['circle', { cx: '16', cy: '13', r: '.5', key: 'ry7gng' }],\n ['circle', { cx: '18', cy: '3', r: '.5', key: '1aiba7' }],\n ['circle', { cx: '20', cy: '21', r: '.5', key: 'yhc1fs' }],\n ['circle', { cx: '20', cy: '8', r: '.5', key: '1e43v0' }],\n];\n\n/**\n * @component @name BrainCircuit\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNWEzIDMgMCAxIDAtNS45OTcuMTI1IDQgNCAwIDAgMC0yLjUyNiA1Ljc3IDQgNCAwIDAgMCAuNTU2IDYuNTg4QTQgNCAwIDEgMCAxMiAxOFoiIC8+CiAgPHBhdGggZD0iTTkgMTNhNC41IDQuNSAwIDAgMCAzLTQiIC8+CiAgPHBhdGggZD0iTTYuMDAzIDUuMTI1QTMgMyAwIDAgMCA2LjQwMSA2LjUiIC8+CiAgPHBhdGggZD0iTTMuNDc3IDEwLjg5NmE0IDQgMCAwIDEgLjU4NS0uMzk2IiAvPgogIDxwYXRoIGQ9Ik02IDE4YTQgNCAwIDAgMS0xLjk2Ny0uNTE2IiAvPgogIDxwYXRoIGQ9Ik0xMiAxM2g0IiAvPgogIDxwYXRoIGQ9Ik0xMiAxOGg2YTIgMiAwIDAgMSAyIDJ2MSIgLz4KICA8cGF0aCBkPSJNMTIgOGg4IiAvPgogIDxwYXRoIGQ9Ik0xNiA4VjVhMiAyIDAgMCAxIDItMiIgLz4KICA8Y2lyY2xlIGN4PSIxNiIgY3k9IjEzIiByPSIuNSIgLz4KICA8Y2lyY2xlIGN4PSIxOCIgY3k9IjMiIHI9Ii41IiAvPgogIDxjaXJjbGUgY3g9IjIwIiBjeT0iMjEiIHI9Ii41IiAvPgogIDxjaXJjbGUgY3g9IjIwIiBjeT0iOCIgcj0iLjUiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/brain-circuit\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BrainCircuit = createLucideIcon('brain-circuit', __iconNode);\n\nexport default BrainCircuit;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 8V4H8', key: 'hb8ula' }],\n ['rect', { width: '16', height: '12', x: '4', y: '8', rx: '2', key: 'enze0r' }],\n ['path', { d: 'M2 14h2', key: 'vft8re' }],\n ['path', { d: 'M20 14h2', key: '4cs60a' }],\n ['path', { d: 'M15 13v2', key: '1xurst' }],\n ['path', { d: 'M9 13v2', key: 'rq6x2g' }],\n];\n\n/**\n * @component @name Bot\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgOFY0SDgiIC8+CiAgPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjEyIiB4PSI0IiB5PSI4IiByeD0iMiIgLz4KICA8cGF0aCBkPSJNMiAxNGgyIiAvPgogIDxwYXRoIGQ9Ik0yMCAxNGgyIiAvPgogIDxwYXRoIGQ9Ik0xNSAxM3YyIiAvPgogIDxwYXRoIGQ9Ik05IDEzdjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/bot\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bot = createLucideIcon('bot', __iconNode);\n\nexport default Bot;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '18', cy: '5', r: '3', key: 'gq8acd' }],\n ['circle', { cx: '6', cy: '12', r: '3', key: 'w7nqdw' }],\n ['circle', { cx: '18', cy: '19', r: '3', key: '1xt0gg' }],\n ['line', { x1: '8.59', x2: '15.42', y1: '13.51', y2: '17.49', key: '47mynk' }],\n ['line', { x1: '15.41', x2: '8.59', y1: '6.51', y2: '10.49', key: '1n3mei' }],\n];\n\n/**\n * @component @name Share2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxOCIgY3k9IjUiIHI9IjMiIC8+CiAgPGNpcmNsZSBjeD0iNiIgY3k9IjEyIiByPSIzIiAvPgogIDxjaXJjbGUgY3g9IjE4IiBjeT0iMTkiIHI9IjMiIC8+CiAgPGxpbmUgeDE9IjguNTkiIHgyPSIxNS40MiIgeTE9IjEzLjUxIiB5Mj0iMTcuNDkiIC8+CiAgPGxpbmUgeDE9IjE1LjQxIiB4Mj0iOC41OSIgeTE9IjYuNTEiIHkyPSIxMC40OSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/share-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Share2 = createLucideIcon('share-2', __iconNode);\n\nexport default Share2;\n"],"names":[],"mappings":"wDKEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MFEA,EAAA,EAAA,CAAA,CAAA,OHJA,EAAA,EAAA,CAAA,CAAA,iQUQA,EVRA,IAAA,EAAA,EAAA,CAAA,CAAA,OAAA,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ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/AIPanel.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/layout/EditorShell.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/ExportModal.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/HelpModal.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/layout.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/chevron-left.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/layout-dashboard.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/keyboard.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/share-2.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-question-mark.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/menu.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/bot.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/download.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/command.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/file-text.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/printer.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/brain-circuit.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/send.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/file-braces.ts"],"sourcesContent":["'use client';\r\n\r\nimport { useState } from 'react';\r\nimport {\r\n BookProject,\r\n ChatMessage,\r\n UserProfile,\r\n} from '@/lib/types';\r\nimport api from '@/lib/api';\r\n\r\nexport const useChat = () => {\r\n const [chatHistory, setChatHistory] = useState([]);\r\n const [isGenerating, setIsGenerating] = useState(false);\r\n\r\n const sendMessage = async (\r\n project: BookProject,\r\n context: string,\r\n text: string,\r\n user: UserProfile,\r\n incrementUsage: () => void\r\n ) => {\r\n const userMsg: ChatMessage = {\r\n id: Date.now().toString(),\r\n role: 'user',\r\n text: text\r\n };\r\n setChatHistory(prev => [...prev, userMsg]);\r\n setIsGenerating(true);\r\n\r\n try {\r\n const response = await api.ai.generate(\r\n project,\r\n context === 'global' ? '' : context,\r\n text,\r\n user\r\n );\r\n\r\n incrementUsage();\r\n\r\n const aiMsg: ChatMessage = {\r\n id: (Date.now() + 1).toString(),\r\n role: 'model',\r\n text: response.text,\r\n responseType: response.type\r\n };\r\n setChatHistory(prev => [...prev, aiMsg]);\r\n } catch {\r\n setChatHistory(prev => [...prev, {\r\n id: Date.now().toString(),\r\n role: 'model',\r\n text: \"Désolé, une erreur est survenue lors de la génération.\"\r\n }]);\r\n } finally {\r\n setIsGenerating(false);\r\n }\r\n };\r\n\r\n return { chatHistory, isGenerating, sendMessage };\r\n};\r\n","'use client';\n\n\nimport React, { useState, useEffect, useRef } from 'react';\nimport { Sparkles, Send, RefreshCw, BookOpen, Bot, ArrowLeft, BrainCircuit, Zap } from 'lucide-react';\nimport { ChatMessage, UserUsage } from '@/lib/types';\nimport { useLanguage } from '@/providers/LanguageProvider';\n\ninterface AIPanelProps {\n chatHistory: ChatMessage[];\n onSendMessage: (msg: string) => void;\n onInsertText: (text: string) => void;\n selectedText: string;\n isGenerating: boolean;\n usage?: UserUsage;\n}\n\nconst AIPanel: React.FC = ({ chatHistory, onSendMessage, onInsertText, selectedText, isGenerating, usage }) => {\n const { t } = useLanguage();\n const [input, setInput] = useState(\"\");\n const messagesEndRef = useRef(null);\n\n useEffect(() => {\n messagesEndRef.current?.scrollIntoView({ behavior: \"smooth\" });\n }, [chatHistory, isGenerating]);\n\n const handleSubmit = (e: React.FormEvent) => {\n e.preventDefault();\n if (!input.trim() || isGenerating) return;\n onSendMessage(input);\n setInput(\"\");\n };\n\n const isLimitReached = usage ? usage.aiActionsCurrent >= usage.aiActionsLimit : false;\n\n return (\n
\n {/* Header with Usage Counter */}\n
\n
\n \n

{t('ai_panel.title')}

\n
\n {usage && (\n
\n {usage.aiActionsCurrent} / {usage.aiActionsLimit === 999999 ? '∞' : usage.aiActionsLimit}\n
\n )}\n
\n\n {selectedText && (\n
\n
{t('ai_panel.context')}
\n
\"{selectedText.substring(0, 60)}...\"
\n
\n )}\n\n
\n {chatHistory.length === 0 && (\n
\n \n

{t('ai_panel.greeting')}

\n {isLimitReached && (\n
\n {t('ai_panel.limit_reached_upgrade')}\n
\n )}\n
\n )}\n\n {chatHistory.map((msg) => (\n
\n
\n {msg.role === 'model' && msg.responseType === 'reflection' && (\n
{t('ai_panel.reflection')}
\n )}\n
{msg.text}
\n
\n
\n ))}\n\n {isGenerating && (\n
\n
\n {t('ai_panel.ai_working')}\n
\n
\n )}\n
\n
\n\n
\n
\n setInput(e.target.value)}\n placeholder={isLimitReached ? t('ai_panel.limit_reached') : t('ai_panel.your_message')}\n className=\"w-full pl-4 pr-12 py-3 bg-theme-bg text-theme-text border border-theme-border rounded-2xl text-sm focus:outline-none focus:border-indigo-500 transition-all disabled:opacity-50\"\n disabled={isGenerating || isLimitReached}\n />\n \n \n \n \n
\n
\n );\n};\n\nexport default AIPanel;\n","'use client';\n\n\nimport React, { useState, useEffect } from 'react';\nimport { BookProject, UserProfile, ViewMode, ChatMessage } from '@/lib/types';\nimport AIPanel from '@/components/AIPanel';\nimport { Book, FileText, Globe, GitGraph, Lightbulb, Settings, Menu, ChevronRight, ChevronLeft, Share2, HelpCircle, LogOut, LayoutDashboard, User, Plus, Trash2 } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { LanguageSwitcher } from '@/components/LanguageSwitcher';\n\ninterface EditorShellProps {\n project: BookProject;\n user: UserProfile;\n viewMode: ViewMode;\n currentChapterId: string;\n chatHistory: ChatMessage[];\n isGenerating: boolean;\n onViewModeChange: (mode: ViewMode) => void;\n onChapterSelect: (id: string) => void;\n onUpdateProject: (updates: Partial) => void;\n onAddChapter: () => Promise;\n onDeleteChapter: (id: string) => void;\n onLogout: () => void;\n onSendMessage: (msg: string) => void;\n onInsertText: (text: string) => void;\n onOpenExport: () => void;\n onOpenHelp: () => void;\n children: React.ReactNode;\n}\n\nconst EditorShell: React.FC = (props) => {\n const { project, user, viewMode, currentChapterId, children } = props;\n const [isSidebarOpen, setIsSidebarOpen] = useState(true);\n const [isAiPanelOpen, setIsAiPanelOpen] = useState(true);\n const { t } = useLanguage();\n\n const currentChapter = project.chapters.find(c => c.id === currentChapterId);\n\n // Auto-close sidebars on mobile when navigating\n useEffect(() => {\n if (typeof window !== 'undefined' && window.innerWidth < 1024) {\n setIsSidebarOpen(false);\n setIsAiPanelOpen(false);\n }\n }, [viewMode, currentChapterId]);\n\n return (\n
\n\n {/* Mobile Sidebar Overlay */}\n {isSidebarOpen && (\n setIsSidebarOpen(false)}\n />\n )}\n\n {/* SIDEBAR */}\n \n\n {/* MAIN CONTENT */}\n
\n
\n
\n \n {viewMode === 'write' ? (\n props.onUpdateProject({ chapters: project.chapters.map(c => c.id === currentChapterId ? { ...c, title: e.target.value } : c) })}\n className=\"font-serif font-bold text-lg bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none\"\n />\n ) : (\n {viewMode}\n )}\n
\n
\n \n \n \n
\n
\n\n
\n {children}\n
\n
\n\n {/* Mobile AI Panel Overlay */}\n {isAiPanelOpen && (\n setIsAiPanelOpen(false)}\n />\n )}\n\n {/* AI PANEL */}\n
\n {isAiPanelOpen && }\n
\n
\n );\n};\n\nexport default EditorShell;\n","'use client';\n\nimport React, { useState } from 'react';\nimport { BookProject } from '@/lib/types';\nimport { FileText, FileType, Printer, X, Download, Book, FileJson } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\n\ninterface ExportModalProps {\n isOpen: boolean;\n onClose: () => void;\n project: BookProject;\n onPrint: (options: { includeCover: boolean, includeTOC: boolean }) => void;\n}\n\ntype ExportFormat = 'pdf' | 'word' | 'epub' | 'markdown';\ntype PageSize = 'A4' | 'A5' | 'Letter';\n\nconst ExportModal: React.FC = ({ isOpen, onClose, project, onPrint }) => {\n const [format, setFormat] = useState('pdf');\n const [pageSize, setPageSize] = useState('A4');\n const [includeCover, setIncludeCover] = useState(true);\n const [includeTOC, setIncludeTOC] = useState(true);\n const { t } = useLanguage();\n\n if (!isOpen) return null;\n\n const generateContentHTML = () => {\n let html = `\n \n \n \n \n ${project.title}\n \n \n \n `;\n\n if (includeCover) {\n html += `\n
\n

${project.title}

\n

${project.author}

\n
\n `;\n }\n\n if (includeTOC) {\n html += `

Table des Matières

    `;\n project.chapters.forEach((chap, idx) => {\n html += `
  • ${chap.title}
  • `;\n });\n html += `
`;\n }\n\n project.chapters.forEach((chap, idx) => {\n html += `\n
\n

${chap.title}

\n ${chap.content}\n
\n `;\n });\n\n html += ``;\n return html;\n };\n\n const handleExport = () => {\n const filename = project.title.replace(/[^a-z0-9]/gi, '_').toLowerCase();\n\n if (format === 'pdf') {\n // Open print dialog with the formatted content\n const content = generateContentHTML();\n const printWindow = window.open('', '_blank');\n if (printWindow) {\n printWindow.document.write(content);\n printWindow.document.close();\n printWindow.focus();\n setTimeout(() => {\n printWindow.print();\n }, 300);\n }\n onClose();\n }\n else if (format === 'word') {\n // Export as HTML with specific Word namespaces -> interpreted as doc by Word\n const content = generateContentHTML();\n const blob = new Blob(['\\ufeff', content], {\n type: 'application/msword'\n });\n downloadBlob(blob, `${filename}.doc`);\n }\n else if (format === 'epub') {\n // Export as a single XHTML file (Ebook ready)\n const content = generateContentHTML();\n const blob = new Blob([content], {\n type: 'application/xhtml+xml'\n });\n downloadBlob(blob, `${filename}.xhtml`);\n }\n else if (format === 'markdown') {\n let md = `# ${project.title}\\nBy ${project.author}\\n\\n`;\n project.chapters.forEach(c => {\n // Very basic HTML to Text conversion\n const text = c.content.replace(/<[^>]+>/g, '\\n');\n md += `## ${c.title}\\n\\n${text}\\n\\n---\\n\\n`;\n });\n const blob = new Blob([md], { type: 'text/markdown' });\n downloadBlob(blob, `${filename}.md`);\n }\n };\n\n const downloadBlob = (blob: Blob, name: string) => {\n const url = URL.createObjectURL(blob);\n const a = document.createElement('a');\n a.href = url;\n a.download = name;\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n URL.revokeObjectURL(url);\n onClose();\n };\n\n return (\n
\n
\n\n {/* Header */}\n
\n
\n

\n {t('export.title')}\n

\n

{project.title}

\n
\n \n
\n\n {/* Body */}\n
\n\n {/* Format Selection */}\n
\n setFormat('pdf')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'pdf' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
{t('export.pdf_format')}
\n \n\n setFormat('word')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'word' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
{t('export.word_format')}
\n \n\n setFormat('epub')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'epub' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
{t('export.epub_format')}
\n \n\n setFormat('markdown')}\n className={`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${format === 'markdown' ? 'border-blue-600 bg-blue-50 text-blue-800' : 'border-slate-200 hover:border-slate-300 text-slate-600'}`}\n >\n \n
{t('export.markdown_format')}
\n \n
\n\n {/* Options Section */}\n
\n

\n {t('export.settings')} ({format.toUpperCase()})\n

\n\n
\n {format === 'pdf' && (\n
\n
\n \n {t('export.printer_managed')}\n
\n
{t('export.auto')}
\n
\n )}\n\n
\n \n setIncludeCover(e.target.checked)}\n className=\"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500\"\n />\n
\n\n
\n \n setIncludeTOC(e.target.checked)}\n className=\"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500\"\n />\n
\n\n {format === 'epub' && (\n

\n {t('export.epub_note')}\n

\n )}\n
\n
\n
\n\n {/* Footer */}\n
\n \n {t('export.cancel')}\n \n \n {format === 'pdf' ? : }\n {format === 'pdf' ? t('export.print_save_pdf') : `${t('export.download')} .${format === 'word' ? 'doc' : format === 'epub' ? 'xhtml' : 'md'}`}\n \n
\n
\n
\n );\n};\n\nexport default ExportModal;","'use client';\n\nimport React from 'react';\nimport { X, Keyboard, MousePointerClick, MessageCircle, Sparkles, GitGraph, BookOpen, Command, Globe, Layout, Settings, Lightbulb } from 'lucide-react';\nimport { ViewMode } from '@/lib/types';\nimport { useLanguage } from '@/providers/LanguageProvider';\n\ninterface HelpModalProps {\n isOpen: boolean;\n onClose: () => void;\n viewMode: ViewMode;\n}\n\nconst Kbd: React.FC<{ children: React.ReactNode }> = ({ children }) => (\n \n {children}\n \n);\n\nconst HelpModal: React.FC = ({ isOpen, onClose, viewMode }) => {\n const { t } = useLanguage();\n\n if (!isOpen) return null;\n\n const renderContent = () => {\n switch (viewMode) {\n case 'ideas':\n return (\n
\n

\n Boîte à Idées & Tâches\n

\n
\n

\n Un espace de type Kanban pour ne rien oublier. Utilisez-le pour noter des idées fugaces, planifier des recherches ou lister les scènes à écrire.\n

\n
    \n
  • \n \n \n Glisser-Déposer : Déplacez les cartes d'une colonne à l'autre (À faire → En cours → Validé) pour suivre votre progression.\n \n
  • \n
  • \n \n \n Catégories : Utilisez les catégories (Intrigue, Personnage, Recherche) pour filtrer visuellement vos tâches grâce aux codes couleurs.\n \n
  • \n
\n
\n
\n );\n\n case 'workflow':\n return (\n <>\n {/* Workflow Section */}\n
\n

\n Organisation Narrative\n

\n
\n
    \n
  • \n \n \n Sélection : Ctrl + Clic pour sélectionner plusieurs cartes. Glissez pour déplacer tout un groupe.\n \n
  • \n
  • \n \n \n Copier / Coller : Ctrl + C pour copier les nœuds sélectionnés, Ctrl + V pour coller.\n \n
  • \n
  • \n \n \n Connexions : Tirez depuis le cercle à droite d'une carte pour lier les événements.\n \n
  • \n
\n
\n
\n\n {/* Dialogue Intelligent */}\n
\n

\n Mode Dialogue (Workflow)\n

\n
\n
\n
Écriture Rapide
\n

\n Tapez un nom et Entrée : le formatage Nom: s'ajoute seul.\n

\n

\n Dans un dialogue, Entrée change de ligne et devine le prochain interlocuteur automatiquement.\n

\n
\n
\n
Rotation & Insertion
\n

\n Tab permute instantanément entre les personnages présents dans la scène.\n

\n

\n Utilisez @ pour insérer un personnage, # pour un lieu.\n

\n
\n
\n
\n \n );\n\n case 'world_building':\n return (\n
\n

\n Bible du Monde\n

\n
\n

\n La bible du monde permet de centraliser toutes les informations sur vos personnages et lieux.\n Ces informations sont lues par l'IA pour assurer la cohérence de l'histoire.\n

\n
\n
\n

Modèles Personnalisés

\n

\n Cliquez sur le bouton \"Modèles\" pour ajouter des champs spécifiques (ex: \"Type de Magie\", \"Allégeance\") à tous vos personnages ou lieux.\n

\n
\n
\n

Contexte Automatique

\n

\n Le champ \"Contexte Narratif\" se remplit automatiquement au fur et à mesure que vous écrivez votre histoire et que l'IA détecte l'évolution des personnages.\n

\n
\n
\n
\n
\n );\n\n case 'settings':\n return (\n
\n

\n Paramètres du Livre\n

\n

\n Ces réglages sont cruciaux pour l'Assistant IA. Ils définissent le \"ton\" de toutes les générations de texte.\n

\n
    \n
  • Style Guide : Soyez précis sur le style (ex: \"phrases courtes\", \"beaucoup de métaphores\", \"humour noir\").
  • \n
  • POV (Point de Vue) : Définit si l'IA doit écrire en \"Je\" ou \"Il/Elle\".
  • \n
\n
\n );\n\n case 'write':\n default:\n return (\n
\n

\n Éditeur & Assistant IA\n

\n
\n
\n

Menu Contextuel Intelligent

\n

Sélectionnez du texte et faites un clic droit pour :

\n
    \n
  • Corriger l'orthographe
  • \n
  • Reformuler / Améliorer
  • \n
  • Développer (Show, don't tell)
  • \n
  • Continuer l'écriture
  • \n
\n
\n

\n Historique des versions : Activez la marge de droite (icône horloge) pour voir toutes les interventions de l'IA et revenir en arrière si nécessaire.\n

\n

\n Chat Latéral : Posez des questions sur votre histoire, demandez des résumés ou des idées de rebondissements. L'IA connaît le contexte de vos chapitres précédents et de vos fiches personnages.\n

\n\n
\n

\n Raccourcis Clavier (Éditeur)\n

\n
\n
\n
\n Mettre en Gras\n Ctrl + B\n
\n
\n Mettre en Italique\n Ctrl + I\n
\n
\n Souligner\n Ctrl + U\n
\n
\n
\n
\n Tout sélectionner\n Ctrl + A\n
\n
\n Annuler\n Ctrl + Z\n
\n
\n Rétablir\n Ctrl + Shift + Z\n
\n
\n
\n
\n
\n
\n );\n }\n };\n\n return (\n
\n
\n\n {/* Header */}\n
\n
\n

\n {t('help.title')} : {\n viewMode === 'workflow' ? t('help.workflow_title_doc') :\n viewMode === 'world_building' ? t('help.world_building_title') :\n viewMode === 'settings' ? t('help.settings_title') :\n viewMode === 'ideas' ? t('help.ideas_title') :\n t('help.editor_ai_title')\n }\n

\n

{t('help.subtitle')}

\n
\n \n
\n\n {/* Content */}\n
\n\n {/* Context Specific Content */}\n {renderContent()}\n\n {/* General Footer Section (Always visible) */}\n
\n

{t('help.general_shortcuts')}

\n
\n
\n {t('help.auto_save')}\n {t('help.permanent')}\n
\n
\n {t('help.side_menu')}\n {t('help.click_burger')}\n
\n
\n
\n\n
\n\n {/* Footer */}\n
\n \n {t('help.close')}\n \n
\n\n
\n
\n );\n};\n\nexport default HelpModal;","'use client';\r\n\r\nimport React, { useState, useEffect } from 'react';\r\nimport { useParams, useRouter, usePathname } from 'next/navigation';\r\nimport { useAuthContext } from '@/providers/AuthProvider';\r\nimport { ProjectProvider } from '@/providers/ProjectProvider';\r\nimport { useProjects } from '@/hooks/useProjects';\r\nimport { useChat } from '@/hooks/useChat';\r\nimport { ViewMode } from '@/lib/types';\r\nimport EditorShell from '@/components/layout/EditorShell';\r\nimport ExportModal from '@/components/ExportModal';\r\nimport HelpModal from '@/components/HelpModal';\r\nimport { Loader2, BookOpen } from 'lucide-react';\r\n\r\nfunction getViewModeFromPath(pathname: string): ViewMode {\r\n if (pathname.endsWith('/world')) return 'world_building';\r\n if (pathname.endsWith('/ideas')) return 'ideas';\r\n if (pathname.endsWith('/workflow')) return 'workflow';\r\n if (pathname.endsWith('/settings')) return 'settings';\r\n return 'write';\r\n}\r\n\r\nexport default function ProjectLayout({ children }: { children: React.ReactNode }) {\r\n const params = useParams();\r\n const router = useRouter();\r\n const pathname = usePathname();\r\n const projectId = params.id as string;\r\n\r\n const { user, logout, incrementUsage, loading: authLoading } = useAuthContext();\r\n const {\r\n projects, setCurrentProjectId,\r\n updateProject, updateChapter, addChapter,\r\n createEntity, updateEntity, deleteEntity, deleteProject\r\n } = useProjects(user);\r\n const { chatHistory, isGenerating, sendMessage } = useChat();\r\n\r\n const [currentChapterId, setCurrentChapterId] = useState('');\r\n const [isExportModalOpen, setIsExportModalOpen] = useState(false);\r\n const [isHelpModalOpen, setIsHelpModalOpen] = useState(false);\r\n\r\n const viewMode = getViewModeFromPath(pathname);\r\n\r\n useEffect(() => {\r\n if (projectId) setCurrentProjectId(projectId);\r\n }, [projectId, setCurrentProjectId]);\r\n\r\n useEffect(() => {\r\n if (!authLoading && !user) router.replace('/login');\r\n }, [user, authLoading, router]);\r\n\r\n const project = projects.find(p => p.id === projectId);\r\n\r\n useEffect(() => {\r\n if (project && (!currentChapterId || !project.chapters.some(c => c.id === currentChapterId))) {\r\n setCurrentChapterId(project.chapters[0]?.id || '');\r\n }\r\n }, [project, currentChapterId]);\r\n\r\n if (authLoading || !user) {\r\n return (\r\n
\r\n \r\n
\r\n \r\n Pluume\r\n
\r\n
\r\n );\r\n }\r\n\r\n if (!project) {\r\n return (\r\n
\r\n \r\n

Chargement du projet...

\r\n
\r\n );\r\n }\r\n\r\n const handleViewModeChange = (mode: ViewMode) => {\r\n const base = `/project/${projectId}`;\r\n switch (mode) {\r\n case 'write': router.push(base); break;\r\n case 'world_building': router.push(`${base}/world`); break;\r\n case 'ideas': router.push(`${base}/ideas`); break;\r\n case 'workflow': router.push(`${base}/workflow`); break;\r\n case 'settings': router.push(`${base}/settings`); break;\r\n case 'dashboard': router.push('/dashboard'); break;\r\n default: router.push(base);\r\n }\r\n };\r\n\r\n return (\r\n updateProject(projectId, updates),\r\n updateChapter: (chapterId, data) => updateChapter(projectId, chapterId, data),\r\n createEntity: (type, data) => createEntity(projectId, type, data),\r\n updateEntity: (entityId, data) => updateEntity(projectId, entityId, data),\r\n deleteEntity: (entityId) => deleteEntity(projectId, entityId),\r\n deleteProject: () => deleteProject(projectId),\r\n incrementUsage,\r\n }}>\r\n { setCurrentChapterId(id); router.push(`/project/${projectId}`); }}\r\n onUpdateProject={(updates) => updateProject(projectId, updates)}\r\n onAddChapter={async () => {\r\n const id = await addChapter(projectId, {});\r\n if (id) {\r\n setCurrentChapterId(id);\r\n router.push(`/project/${projectId}`);\r\n }\r\n }}\r\n onDeleteChapter={(id) => {\r\n if (project.chapters.length > 1) {\r\n const newChapters = project.chapters.filter(c => c.id !== id);\r\n updateProject(projectId, { chapters: newChapters });\r\n if (currentChapterId === id) setCurrentChapterId(newChapters[0].id);\r\n }\r\n }}\r\n onLogout={() => { logout(); router.push('/'); }}\r\n onSendMessage={(msg) => {\r\n if (project && user) sendMessage(project, 'global', msg, user, incrementUsage);\r\n }}\r\n onInsertText={() => { }}\r\n onOpenExport={() => setIsExportModalOpen(true)}\r\n onOpenHelp={() => setIsHelpModalOpen(true)}\r\n >\r\n setIsExportModalOpen(false)} project={project} onPrint={() => { }} />\r\n setIsHelpModalOpen(false)} viewMode={viewMode} />\r\n {children}\r\n \r\n \r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm15 18-6-6 6-6', key: '1wnfg3' }]];\n\n/**\n * @component @name ChevronLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTUgMTgtNi02IDYtNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronLeft = createLucideIcon('chevron-left', __iconNode);\n\nexport default ChevronLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '7', height: '9', x: '3', y: '3', rx: '1', key: '10lvy0' }],\n ['rect', { width: '7', height: '5', x: '14', y: '3', rx: '1', key: '16une8' }],\n ['rect', { width: '7', height: '9', x: '14', y: '12', rx: '1', key: '1hutg5' }],\n ['rect', { width: '7', height: '5', x: '3', y: '16', rx: '1', key: 'ldoo1y' }],\n];\n\n/**\n * @component @name LayoutDashboard\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSI5IiB4PSIzIiB5PSIzIiByeD0iMSIgLz4KICA8cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSI1IiB4PSIxNCIgeT0iMyIgcng9IjEiIC8+CiAgPHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iOSIgeD0iMTQiIHk9IjEyIiByeD0iMSIgLz4KICA8cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSI1IiB4PSIzIiB5PSIxNiIgcng9IjEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/layout-dashboard\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LayoutDashboard = createLucideIcon('layout-dashboard', __iconNode);\n\nexport default LayoutDashboard;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10 8h.01', key: '1r9ogq' }],\n ['path', { d: 'M12 12h.01', key: '1mp3jc' }],\n ['path', { d: 'M14 8h.01', key: '1primd' }],\n ['path', { d: 'M16 12h.01', key: '1l6xoz' }],\n ['path', { d: 'M18 8h.01', key: 'emo2bl' }],\n ['path', { d: 'M6 8h.01', key: 'x9i8wu' }],\n ['path', { d: 'M7 16h10', key: 'wp8him' }],\n ['path', { d: 'M8 12h.01', key: 'czm47f' }],\n ['rect', { width: '20', height: '16', x: '2', y: '4', rx: '2', key: '18n3k1' }],\n];\n\n/**\n * @component @name Keyboard\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAgOGguMDEiIC8+CiAgPHBhdGggZD0iTTEyIDEyaC4wMSIgLz4KICA8cGF0aCBkPSJNMTQgOGguMDEiIC8+CiAgPHBhdGggZD0iTTE2IDEyaC4wMSIgLz4KICA8cGF0aCBkPSJNMTggOGguMDEiIC8+CiAgPHBhdGggZD0iTTYgOGguMDEiIC8+CiAgPHBhdGggZD0iTTcgMTZoMTAiIC8+CiAgPHBhdGggZD0iTTggMTJoLjAxIiAvPgogIDxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIxNiIgeD0iMiIgeT0iNCIgcng9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/keyboard\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Keyboard = createLucideIcon('keyboard', __iconNode);\n\nexport default Keyboard;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '18', cy: '5', r: '3', key: 'gq8acd' }],\n ['circle', { cx: '6', cy: '12', r: '3', key: 'w7nqdw' }],\n ['circle', { cx: '18', cy: '19', r: '3', key: '1xt0gg' }],\n ['line', { x1: '8.59', x2: '15.42', y1: '13.51', y2: '17.49', key: '47mynk' }],\n ['line', { x1: '15.41', x2: '8.59', y1: '6.51', y2: '10.49', key: '1n3mei' }],\n];\n\n/**\n * @component @name Share2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxOCIgY3k9IjUiIHI9IjMiIC8+CiAgPGNpcmNsZSBjeD0iNiIgY3k9IjEyIiByPSIzIiAvPgogIDxjaXJjbGUgY3g9IjE4IiBjeT0iMTkiIHI9IjMiIC8+CiAgPGxpbmUgeDE9IjguNTkiIHgyPSIxNS40MiIgeTE9IjEzLjUxIiB5Mj0iMTcuNDkiIC8+CiAgPGxpbmUgeDE9IjE1LjQxIiB4Mj0iOC41OSIgeTE9IjYuNTEiIHkyPSIxMC40OSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/share-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Share2 = createLucideIcon('share-2', __iconNode);\n\nexport default Share2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3', key: '1u773s' }],\n ['path', { d: 'M12 17h.01', key: 'p32p05' }],\n];\n\n/**\n * @component @name CircleQuestionMark\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNOS4wOSA5YTMgMyAwIDAgMSA1LjgzIDFjMCAyLTMgMy0zIDMiIC8+CiAgPHBhdGggZD0iTTEyIDE3aC4wMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/circle-question-mark\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleQuestionMark = createLucideIcon('circle-question-mark', __iconNode);\n\nexport default CircleQuestionMark;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 5h16', key: '1tepv9' }],\n ['path', { d: 'M4 12h16', key: '1lakjw' }],\n ['path', { d: 'M4 19h16', key: '1djgab' }],\n];\n\n/**\n * @component @name Menu\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCA1aDE2IiAvPgogIDxwYXRoIGQ9Ik00IDEyaDE2IiAvPgogIDxwYXRoIGQ9Ik00IDE5aDE2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/menu\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Menu = createLucideIcon('menu', __iconNode);\n\nexport default Menu;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 8V4H8', key: 'hb8ula' }],\n ['rect', { width: '16', height: '12', x: '4', y: '8', rx: '2', key: 'enze0r' }],\n ['path', { d: 'M2 14h2', key: 'vft8re' }],\n ['path', { d: 'M20 14h2', key: '4cs60a' }],\n ['path', { d: 'M15 13v2', key: '1xurst' }],\n ['path', { d: 'M9 13v2', key: 'rq6x2g' }],\n];\n\n/**\n * @component @name Bot\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgOFY0SDgiIC8+CiAgPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjEyIiB4PSI0IiB5PSI4IiByeD0iMiIgLz4KICA8cGF0aCBkPSJNMiAxNGgyIiAvPgogIDxwYXRoIGQ9Ik0yMCAxNGgyIiAvPgogIDxwYXRoIGQ9Ik0xNSAxM3YyIiAvPgogIDxwYXRoIGQ9Ik05IDEzdjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/bot\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bot = createLucideIcon('bot', __iconNode);\n\nexport default Bot;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 15V3', key: 'm9g1x1' }],\n ['path', { d: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4', key: 'ih7n3h' }],\n ['path', { d: 'm7 10 5 5 5-5', key: 'brsn70' }],\n];\n\n/**\n * @component @name Download\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMTVWMyIgLz4KICA8cGF0aCBkPSJNMjEgMTV2NGEyIDIgMCAwIDEtMiAySDVhMiAyIDAgMCAxLTItMnYtNCIgLz4KICA8cGF0aCBkPSJtNyAxMCA1IDUgNS01IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/download\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Download = createLucideIcon('download', __iconNode);\n\nexport default Download;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n { d: 'M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3', key: '11bfej' },\n ],\n];\n\n/**\n * @component @name Command\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgNnYxMmEzIDMgMCAxIDAgMy0zSDZhMyAzIDAgMSAwIDMgM1Y2YTMgMyAwIDEgMC0zIDNoMTJhMyAzIDAgMSAwLTMtMyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/command\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Command = createLucideIcon('command', __iconNode);\n\nexport default Command;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n key: '1oefj6',\n },\n ],\n ['path', { d: 'M14 2v5a1 1 0 0 0 1 1h5', key: 'wfsgrz' }],\n ['path', { d: 'M10 9H8', key: 'b1mrlr' }],\n ['path', { d: 'M16 13H8', key: 't4e002' }],\n ['path', { d: 'M16 17H8', key: 'z1uh3a' }],\n];\n\n/**\n * @component @name FileText\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAyMmEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg4YTIuNCAyLjQgMCAwIDEgMS43MDQuNzA2bDMuNTg4IDMuNTg4QTIuNCAyLjQgMCAwIDEgMjAgOHYxMmEyIDIgMCAwIDEtMiAyeiIgLz4KICA8cGF0aCBkPSJNMTQgMnY1YTEgMSAwIDAgMCAxIDFoNSIgLz4KICA8cGF0aCBkPSJNMTAgOUg4IiAvPgogIDxwYXRoIGQ9Ik0xNiAxM0g4IiAvPgogIDxwYXRoIGQ9Ik0xNiAxN0g4IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/file-text\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FileText = createLucideIcon('file-text', __iconNode);\n\nexport default FileText;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2',\n key: '143wyd',\n },\n ],\n ['path', { d: 'M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6', key: '1itne7' }],\n ['rect', { x: '6', y: '14', width: '12', height: '8', rx: '1', key: '1ue0tg' }],\n];\n\n/**\n * @component @name Printer\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAxOEg0YTIgMiAwIDAgMS0yLTJ2LTVhMiAyIDAgMCAxIDItMmgxNmEyIDIgMCAwIDEgMiAydjVhMiAyIDAgMCAxLTIgMmgtMiIgLz4KICA8cGF0aCBkPSJNNiA5VjNhMSAxIDAgMCAxIDEtMWgxMGExIDEgMCAwIDEgMSAxdjYiIC8+CiAgPHJlY3QgeD0iNiIgeT0iMTQiIHdpZHRoPSIxMiIgaGVpZ2h0PSI4IiByeD0iMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/printer\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Printer = createLucideIcon('printer', __iconNode);\n\nexport default Printer;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z',\n key: 'l5xja',\n },\n ],\n ['path', { d: 'M9 13a4.5 4.5 0 0 0 3-4', key: '10igwf' }],\n ['path', { d: 'M6.003 5.125A3 3 0 0 0 6.401 6.5', key: '105sqy' }],\n ['path', { d: 'M3.477 10.896a4 4 0 0 1 .585-.396', key: 'ql3yin' }],\n ['path', { d: 'M6 18a4 4 0 0 1-1.967-.516', key: '2e4loj' }],\n ['path', { d: 'M12 13h4', key: '1ku699' }],\n ['path', { d: 'M12 18h6a2 2 0 0 1 2 2v1', key: '105ag5' }],\n ['path', { d: 'M12 8h8', key: '1lhi5i' }],\n ['path', { d: 'M16 8V5a2 2 0 0 1 2-2', key: 'u6izg6' }],\n ['circle', { cx: '16', cy: '13', r: '.5', key: 'ry7gng' }],\n ['circle', { cx: '18', cy: '3', r: '.5', key: '1aiba7' }],\n ['circle', { cx: '20', cy: '21', r: '.5', key: 'yhc1fs' }],\n ['circle', { cx: '20', cy: '8', r: '.5', key: '1e43v0' }],\n];\n\n/**\n * @component @name BrainCircuit\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgNWEzIDMgMCAxIDAtNS45OTcuMTI1IDQgNCAwIDAgMC0yLjUyNiA1Ljc3IDQgNCAwIDAgMCAuNTU2IDYuNTg4QTQgNCAwIDEgMCAxMiAxOFoiIC8+CiAgPHBhdGggZD0iTTkgMTNhNC41IDQuNSAwIDAgMCAzLTQiIC8+CiAgPHBhdGggZD0iTTYuMDAzIDUuMTI1QTMgMyAwIDAgMCA2LjQwMSA2LjUiIC8+CiAgPHBhdGggZD0iTTMuNDc3IDEwLjg5NmE0IDQgMCAwIDEgLjU4NS0uMzk2IiAvPgogIDxwYXRoIGQ9Ik02IDE4YTQgNCAwIDAgMS0xLjk2Ny0uNTE2IiAvPgogIDxwYXRoIGQ9Ik0xMiAxM2g0IiAvPgogIDxwYXRoIGQ9Ik0xMiAxOGg2YTIgMiAwIDAgMSAyIDJ2MSIgLz4KICA8cGF0aCBkPSJNMTIgOGg4IiAvPgogIDxwYXRoIGQ9Ik0xNiA4VjVhMiAyIDAgMCAxIDItMiIgLz4KICA8Y2lyY2xlIGN4PSIxNiIgY3k9IjEzIiByPSIuNSIgLz4KICA8Y2lyY2xlIGN4PSIxOCIgY3k9IjMiIHI9Ii41IiAvPgogIDxjaXJjbGUgY3g9IjIwIiBjeT0iMjEiIHI9Ii41IiAvPgogIDxjaXJjbGUgY3g9IjIwIiBjeT0iOCIgcj0iLjUiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/brain-circuit\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BrainCircuit = createLucideIcon('brain-circuit', __iconNode);\n\nexport default BrainCircuit;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z',\n key: '1ffxy3',\n },\n ],\n ['path', { d: 'm21.854 2.147-10.94 10.939', key: '12cjpa' }],\n];\n\n/**\n * @component @name Send\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQuNTM2IDIxLjY4NmEuNS41IDAgMCAwIC45MzctLjAyNGw2LjUtMTlhLjQ5Ni40OTYgMCAwIDAtLjYzNS0uNjM1bC0xOSA2LjVhLjUuNSAwIDAgMC0uMDI0LjkzN2w3LjkzIDMuMThhMiAyIDAgMCAxIDEuMTEyIDEuMTF6IiAvPgogIDxwYXRoIGQ9Im0yMS44NTQgMi4xNDctMTAuOTQgMTAuOTM5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/send\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Send = createLucideIcon('send', __iconNode);\n\nexport default Send;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n key: '1oefj6',\n },\n ],\n ['path', { d: 'M14 2v5a1 1 0 0 0 1 1h5', key: 'wfsgrz' }],\n [\n 'path',\n { d: 'M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1', key: '1oajmo' },\n ],\n [\n 'path',\n { d: 'M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1', key: 'mpwhp6' },\n ],\n];\n\n/**\n * @component @name FileBraces\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAyMmEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg4YTIuNCAyLjQgMCAwIDEgMS43MDQuNzA2bDMuNTg4IDMuNTg4QTIuNCAyLjQgMCAwIDEgMjAgOHYxMmEyIDIgMCAwIDEtMiAyeiIgLz4KICA8cGF0aCBkPSJNMTQgMnY1YTEgMSAwIDAgMCAxIDFoNSIgLz4KICA8cGF0aCBkPSJNMTAgMTJhMSAxIDAgMCAwLTEgMXYxYTEgMSAwIDAgMS0xIDEgMSAxIDAgMCAxIDEgMXYxYTEgMSAwIDAgMCAxIDEiIC8+CiAgPHBhdGggZD0iTTE0IDE4YTEgMSAwIDAgMCAxLTF2LTFhMSAxIDAgMCAxIDEtMSAxIDEgMCAwIDEtMS0xdi0xYTEgMSAwIDAgMC0xLTEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/file-braces\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FileBraces = createLucideIcon('file-braces', __iconNode);\n\nexport default FileBraces;\n"],"names":[],"mappings":"wDKEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MLEA,EAAA,EAAA,CAAA,CAAA,OCJA,EAAA,EAAA,CAAA,CAAA,iQiBQA,EjBRA,IAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,yBWmBY,EAAA,8GAlBoE,qJK+B1E,EAAA,CAAA,EAAe,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,EAAiB,iBAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,2MAxBR,CDAD,ARAA,ASAC,CTAD,ASAC,ADAD,UCCrD,kDAAuD,CAAA,CAAA,CAAA,KAAA,CAAU,CAAA,yCACtB,CDYF,ARAE,ASZA,GAAK,CDYP,ACZO,ATYL,CSZK,ATYL,AQAF,CAAU,ARAR,ASZK,CAAA,ATYL,AQAQ,CCZH,ATYK,CAAA,ASZL,CAAA,CAAA,CAAU,CAAA,CAC3D,CAAC,CAAA,CAAA,CAAA,CAAA,GAAQ,CAAE,AAAF,EAAK,CAAA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AAC,IAAM,EAC9C,cAAe,AAAC,IACR,GAAW,GAAM,EAAY,EAAS,SAAU,EAAK,EAAM,EACnE,EACA,aAAc,KAAQ,EACtB,aAAc,IAAM,GAAqB,GACzC,WAAY,IAAM,GAAmB,aAErC,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAY,OAAQ,EAAmB,QAAS,IAAM,EAAqB,IAAQ,QAAS,EAAS,QAAS,KAAQ,IACvH,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAU,OAAQ,EAAiB,QAAS,IAAM,EAAmB,IAAQ,SAAU,IACvF,OArEL,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAI,UAAU,8FACX,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAO,CAAA,CAAC,UAAU,kCAAkC,KAAM,KAC3D,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAE,UAAU,0BAAiB,8BAuE9C","ignoreList":[6,7,8,9,10,11,12,13,14,15,16,17,18,19]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js index 249bb97..3efb305 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js @@ -1,10 +1,10 @@ -module.exports=[32791,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(29892);let e=(0,d.default)("bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]),f=(0,d.default)("italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]),g=(0,d.default)("underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]),h=(0,d.default)("text-align-start",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]]),i=(0,d.default)("text-align-center",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 19H5",key:"vjpgq2"}]]),j=(0,d.default)("text-align-end",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 19H7",key:"4cu937"}]]);var k=a.i(35165);let l=(0,d.default)("heading-1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]),m=(0,d.default)("heading-2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]),n=(0,d.default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),o=(0,d.default)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);var p=a.i(20896),q=a.i(45044);let r=(0,d.default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);var s=a.i(79080),t=a.i(76763);let u=(0,d.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),v=(0,d.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),w=(0,d.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),x=(0,d.default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),y=(0,d.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),z=(0,c.forwardRef)(({initialContent:a,onChange:d,onSave:z,onSelectionChange:A,onAiTransform:B},C)=>{let D=(0,c.useRef)(null),E=(0,c.useRef)(null),[F,G]=(0,c.useState)(!1),[H,I]=(0,c.useState)("saved"),J=(0,c.useRef)(null),[K,L]=(0,c.useState)(null),[M,N]=(0,c.useState)(!1),[O,P]=(0,c.useState)([]),[Q,R]=(0,c.useState)(!0),[S,T]=(0,c.useState)(new Set),U=(0,c.useRef)(null),V=(0,c.useRef)(null),W=(0,c.useMemo)(()=>{let a=[...O].sort((a,b)=>b.timestamp-a.timestamp),b=[];return a.forEach(a=>{let c=b.find(b=>60>Math.abs(b.topOffset-a.topOffset));c?(c.versions.push(a),c.versions.sort((a,b)=>b.timestamp-a.timestamp)):b.push({id:`group-${a.id}`,topOffset:a.topOffset,versions:[a]})}),b},[O]),X=(a,b)=>{if(!D.current)return;let c=(()=>{let a=window.getSelection();if(a&&a.rangeCount>0&&D.current){let b=a.getRangeAt(0).getBoundingClientRect(),c=D.current.getBoundingClientRect();return b.top-c.top}return 0})(),d={id:Date.now().toString(),timestamp:Date.now(),type:a,content:D.current.innerHTML,snippet:b.substring(0,80)+(b.length>80?"...":""),topOffset:c};P(a=>[d,...a]),R(!0)},Y=a=>{D.current&&confirm("Restaurer cette version ? Le contenu actuel sera remplacé.")&&(D.current.innerHTML=a.content,Z())};(0,c.useImperativeHandle)(C,()=>({insertHtml:a=>{X("Insertion Chat","Insertion depuis le panneau IA"),D.current?.focus();let b=window.getSelection();if(V.current)b?.removeAllRanges(),b?.addRange(V.current);else if(D.current){let a=document.createRange();a.selectNodeContents(D.current),a.collapse(!1),b?.removeAllRanges(),b?.addRange(a)}let c=a.includes("<")?a:a.replace(/\n/g,"
");document.execCommand("insertHTML",!1,c),Z()}})),(0,c.useEffect)(()=>{D.current&&D.current.innerHTML!==a&&!F&&Math.abs(D.current.innerHTML.length-a.length)>5&&(D.current.innerHTML=a)},[a,F]);let Z=()=>{D.current&&(d&&d(D.current.innerHTML),z&&(I("unsaved"),J.current&&clearTimeout(J.current),J.current=setTimeout(async()=>{I("saving"),await z(D.current?.innerHTML||""),I("saved")},2e3)))},$=()=>{let a=window.getSelection();a&&a.rangeCount>0&&D.current?.contains(a.anchorNode)&&(V.current=a.getRangeAt(0).cloneRange())},_=()=>{let a=window.getSelection();$(),a&&a.toString().length>0&&A?A(a.toString()):A&&A("")},aa=async a=>{if(!B)return;let b=U.current,c=b?.toString()||"";if(c||"continue"===a){X({correct:"Correction",rewrite:"Reformulation",expand:"Développement",continue:"Continuation"}[a],c||"Position curseur"),N(!0);try{let d=await B(c,a);if(d){D.current?.focus();let c=window.getSelection();c?.removeAllRanges(),b&&c?.addRange(b),"continue"===a?(c?.collapseToEnd(),document.execCommand("insertText",!1," "+d)):document.execCommand("insertText",!1,d),Z()}}catch(a){console.error("AI Action failed",a)}finally{N(!1),L(null)}}},ab=({icon:a,cmd:c,arg:d,label:e,onClick:f,isActive:g})=>(0,b.jsx)("button",{onMouseDown:a=>{if(f)a.preventDefault(),f();else a.preventDefault(),document.execCommand(c,!1,d),Z(),D.current?.focus()},className:`p-1.5 rounded transition-colors ${g?"bg-indigo-100 text-indigo-700":"text-slate-500 hover:text-slate-800 hover:bg-slate-200"}`,title:e,children:(0,b.jsx)(a,{size:18})}),ac=U.current&&!U.current.collapsed;return(0,b.jsxs)("div",{className:"flex flex-col h-full bg-theme-panel rounded-lg shadow-sm border border-theme-border overflow-hidden relative transition-colors duration-300",children:[(0,b.jsx)("style",{children:` +module.exports=[32791,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(29892);let e=(0,d.default)("bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]),f=(0,d.default)("italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]),g=(0,d.default)("underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]),h=(0,d.default)("text-align-start",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]]),i=(0,d.default)("text-align-center",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 19H5",key:"vjpgq2"}]]),j=(0,d.default)("text-align-end",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 19H7",key:"4cu937"}]]);var k=a.i(35165);let l=(0,d.default)("heading-1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]),m=(0,d.default)("heading-2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]),n=(0,d.default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),o=(0,d.default)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);var p=a.i(20896),q=a.i(45044);let r=(0,d.default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);var s=a.i(79080),t=a.i(76763);let u=(0,d.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),v=(0,d.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);var w=a.i(54913);let x=(0,d.default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),y=(0,d.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),z=(0,c.forwardRef)(({initialContent:a,onChange:d,onSave:z,onSelectionChange:A,onAiTransform:B},C)=>{let D=(0,c.useRef)(null),E=(0,c.useRef)(null),[F,G]=(0,c.useState)(!1),[H,I]=(0,c.useState)("saved"),J=(0,c.useRef)(null),K=(0,c.useRef)(a),[L,M]=(0,c.useState)(null),[N,O]=(0,c.useState)(!1),[P,Q]=(0,c.useState)([]),[R,S]=(0,c.useState)(!0),[T,U]=(0,c.useState)(new Set),V=(0,c.useRef)(null),W=(0,c.useRef)(null),X=(0,c.useMemo)(()=>{let a=[...P].sort((a,b)=>b.timestamp-a.timestamp),b=[];return a.forEach(a=>{let c=b.find(b=>60>Math.abs(b.topOffset-a.topOffset));c?(c.versions.push(a),c.versions.sort((a,b)=>b.timestamp-a.timestamp)):b.push({id:`group-${a.id}`,topOffset:a.topOffset,versions:[a]})}),b},[P]),Y=(a,b)=>{if(!D.current)return;let c=(()=>{let a=window.getSelection();if(a&&a.rangeCount>0&&D.current){let b=a.getRangeAt(0).getBoundingClientRect(),c=D.current.getBoundingClientRect();return b.top-c.top}return 0})(),d={id:Date.now().toString(),timestamp:Date.now(),type:a,content:D.current.innerHTML,snippet:b.substring(0,80)+(b.length>80?"...":""),topOffset:c};Q(a=>[d,...a]),S(!0)},Z=a=>{D.current&&confirm("Restaurer cette version ? Le contenu actuel sera remplacé.")&&(D.current.innerHTML=a.content,$())};(0,c.useImperativeHandle)(C,()=>({insertHtml:a=>{Y("Insertion Chat","Insertion depuis le panneau IA"),D.current?.focus();let b=window.getSelection();if(W.current)b?.removeAllRanges(),b?.addRange(W.current);else if(D.current){let a=document.createRange();a.selectNodeContents(D.current),a.collapse(!1),b?.removeAllRanges(),b?.addRange(a)}let c=a.includes("<")?a:a.replace(/\n/g,"
");document.execCommand("insertHTML",!1,c),$()}})),(0,c.useEffect)(()=>{D.current&&void 0!==a&&a!==K.current&&(D.current.innerHTML=a,K.current=a)},[a]);let $=()=>{D.current&&(d&&d(D.current.innerHTML),z&&(I("unsaved"),J.current&&clearTimeout(J.current),J.current=setTimeout(async()=>{I("saving");let a=D.current?.innerHTML||"";await z(a),K.current=a,I("saved")},2e3)))},_=()=>{let a=window.getSelection();a&&a.rangeCount>0&&D.current?.contains(a.anchorNode)&&(W.current=a.getRangeAt(0).cloneRange())},aa=()=>{let a=window.getSelection();_(),a&&a.toString().length>0&&A?A(a.toString()):A&&A("")},ab=async a=>{if(!B)return;let b=V.current,c=b?.toString()||"";if(c||"continue"===a){Y({correct:"Correction",rewrite:"Reformulation",expand:"Développement",continue:"Continuation"}[a],c||"Position curseur"),O(!0);try{let d=await B(c,a);if(d){D.current?.focus();let c=window.getSelection();c?.removeAllRanges(),b&&c?.addRange(b),"continue"===a?(c?.collapseToEnd(),document.execCommand("insertText",!1," "+d)):document.execCommand("insertText",!1,d),$()}}catch(a){console.error("AI Action failed",a)}finally{O(!1),M(null)}}},ac=({icon:a,cmd:c,arg:d,label:e,onClick:f,isActive:g})=>(0,b.jsx)("button",{onMouseDown:a=>{if(f)a.preventDefault(),f();else a.preventDefault(),document.execCommand(c,!1,d),$(),D.current?.focus()},className:`p-1.5 rounded transition-colors ${g?"bg-indigo-100 text-indigo-700":"text-slate-500 hover:text-slate-800 hover:bg-slate-200"}`,title:e,children:(0,b.jsx)(a,{size:18})}),ad=V.current&&!V.current.collapsed;return(0,b.jsxs)("div",{className:"flex flex-col h-full bg-theme-panel rounded-lg shadow-sm border border-theme-border overflow-hidden relative transition-colors duration-300",children:[(0,b.jsx)("style",{children:` .editor-content:empty::before { content: attr(data-placeholder); color: #cbd5e1; font-style: italic; cursor: text; } - `}),(0,b.jsxs)("div",{className:"flex items-center gap-1 p-2 bg-theme-bg border-b border-theme-border flex-wrap relative z-20 shadow-sm transition-colors duration-300",children:[(0,b.jsx)(ab,{icon:e,cmd:"bold",label:"Gras"}),(0,b.jsx)(ab,{icon:f,cmd:"italic",label:"Italique"}),(0,b.jsx)(ab,{icon:g,cmd:"underline",label:"Souligné"}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ab,{icon:l,cmd:"formatBlock",arg:"H1",label:"Titre 1"}),(0,b.jsx)(ab,{icon:m,cmd:"formatBlock",arg:"H2",label:"Titre 2"}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ab,{icon:h,cmd:"justifyLeft",label:"Aligner à gauche"}),(0,b.jsx)(ab,{icon:i,cmd:"justifyCenter",label:"Centrer"}),(0,b.jsx)(ab,{icon:j,cmd:"justifyRight",label:"Aligner à droite"}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ab,{icon:k.List,cmd:"insertUnorderedList",label:"Liste"}),(0,b.jsx)("div",{className:"flex-1"}),(0,b.jsxs)("div",{className:"flex items-center gap-2 mr-4 text-xs font-medium text-slate-400",children:["saving"===H&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.Loader2,{size:12,className:"animate-spin"})," Sauvegarde..."]}),"saved"===H&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(p.Check,{size:12,className:"text-green-500"})," Sauvegardé"]}),"unsaved"===H&&(0,b.jsx)("span",{className:"text-amber-500",children:"Modifications non enregistrées..."})]}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ab,{icon:u,label:"Marge d'historique",onClick:()=>R(!Q),isActive:Q})]}),(0,b.jsx)("div",{className:"flex-1 overflow-y-auto relative bg-theme-bg/50 transition-colors duration-300",ref:E,children:(0,b.jsxs)("div",{className:"flex justify-center relative min-h-full py-8",children:[(0,b.jsx)("div",{ref:D,contentEditable:!0,suppressContentEditableWarning:!0,className:"bg-theme-editor-bg shadow-sm w-[800px] min-h-[1000px] p-12 outline-none font-serif text-lg leading-relaxed text-theme-editor-text editor-content transition-colors duration-300",onInput:Z,onBlur:()=>{G(!1),$()},onFocus:()=>G(!0),onKeyUp:$,onMouseUp:$,onSelect:_,onClick:()=>D.current?.focus(),onContextMenu:a=>{a.preventDefault();let b=window.getSelection();if(b&&b.rangeCount>0){let c=b.getRangeAt(0);if(D.current?.contains(c.commonAncestorContainer)){U.current=c.cloneRange(),L({x:a.clientX,y:a.clientY});return}}U.current=null,L({x:a.clientX,y:a.clientY})},"data-placeholder":"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)"}),Q&&(0,b.jsxs)("div",{className:"absolute left-[calc(50%+420px)] top-0 bottom-0 w-80 pt-8 pointer-events-none",children:[0===W.length&&(0,b.jsxs)("div",{className:"sticky top-10 text-center text-slate-300 p-4",children:[(0,b.jsx)(u,{size:48,className:"mx-auto mb-2 opacity-20"}),(0,b.jsx)("p",{className:"text-xs",children:"L'historique des modifications IA apparaîtra ici, aligné avec votre texte."})]}),W.map(a=>{let c=S.has(a.id),d=a.versions.length>1,e=a.versions[0];return(0,b.jsx)("div",{className:"absolute w-72 pointer-events-auto transition-all duration-300 ease-in-out",style:{top:`${a.topOffset+32}px`},children:(0,b.jsxs)("div",{className:`relative bg-white rounded-lg border shadow-sm transition-all duration-200 ${d&&!c?"border-indigo-200 shadow-md translate-x-1 translate-y-1":"border-slate-200"}`,children:[d&&!c&&(0,b.jsx)("div",{className:"absolute inset-0 bg-white border border-indigo-100 rounded-lg transform -translate-x-1 -translate-y-1 -z-10 shadow-sm"}),(0,b.jsxs)("div",{className:"p-2 border-b border-slate-100 flex justify-between items-center bg-slate-50 rounded-t-lg cursor-pointer hover:bg-slate-100",onClick:()=>{var b;let c;return d&&(b=a.id,void((c=new Set(S)).has(b)?c.delete(b):c.add(b),T(c)))},children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[d&&(0,b.jsx)(y,{size:14,className:"text-indigo-500"}),(0,b.jsx)("span",{className:`text-[10px] font-bold px-1.5 py-0.5 rounded uppercase tracking-wide ${e.type.includes("Correction")?"bg-green-100 text-green-700":e.type.includes("Insertion")?"bg-blue-100 text-blue-700":"bg-purple-100 text-purple-700"}`,children:e.type})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1",children:[(0,b.jsx)("span",{className:"text-[10px] text-slate-400",children:new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}),d&&(c?(0,b.jsx)(x,{size:14,className:"text-slate-400"}):(0,b.jsx)(w,{size:14,className:"text-slate-400"}))]})]}),!c&&(0,b.jsxs)("div",{className:"p-2",children:[(0,b.jsxs)("div",{className:"text-xs text-slate-500 italic line-clamp-2",children:['"',e.snippet,'"']}),(0,b.jsxs)("button",{onClick:()=>Y(e),className:"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors",children:[(0,b.jsx)(v,{size:10})," Restaurer"]})]}),c&&(0,b.jsx)("div",{className:"divide-y divide-slate-100 max-h-64 overflow-y-auto",children:a.versions.map((a,c)=>(0,b.jsxs)("div",{className:"p-2 bg-white hover:bg-slate-50 transition-colors",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center mb-1",children:[(0,b.jsx)("span",{className:"text-[10px] font-semibold text-slate-600",children:0===c?"Dernière version":`Version -${c}`}),(0,b.jsx)("span",{className:"text-[9px] text-slate-400",children:new Date(a.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})})]}),(0,b.jsxs)("div",{className:"text-xs text-slate-500 italic bg-slate-50 p-1.5 rounded mb-2 border border-slate-100",children:['"',a.snippet,'"']}),(0,b.jsxs)("button",{onClick:()=>Y(a),className:"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors",children:[(0,b.jsx)(v,{size:10})," Restaurer cette version"]})]},a.id))})]})},a.id)})]})]})}),K&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"fixed inset-0 z-40 bg-transparent",onClick:()=>L(null),onContextMenu:a=>{a.preventDefault(),L(null)}}),(0,b.jsx)("div",{className:"fixed z-50 bg-white border border-slate-200 rounded-lg shadow-xl py-1 w-56 animate-in fade-in zoom-in-95 duration-100 flex flex-col",style:{top:Math.min(K.y,window.innerHeight-200),left:Math.min(K.x,window.innerWidth-224)},children:M?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center py-4 text-indigo-600 gap-2",children:[(0,b.jsx)(s.Loader2,{className:"animate-spin",size:24}),(0,b.jsx)("span",{className:"text-xs font-medium",children:"L'IA travaille..."})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"px-3 py-1 text-[10px] font-bold text-slate-400 uppercase tracking-wider",children:"Outils IA"}),(0,b.jsxs)("button",{onClick:()=>aa("correct"),disabled:!ac,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ac?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,b.jsx)(p.Check,{size:14})," Corriger l'orthographe"]}),(0,b.jsxs)("button",{onClick:()=>aa("rewrite"),disabled:!ac,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ac?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,b.jsx)(q.RefreshCw,{size:14})," Reformuler"]}),(0,b.jsxs)("button",{onClick:()=>aa("expand"),disabled:!ac,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ac?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,b.jsx)(r,{size:14})," Développer"]}),(0,b.jsxs)("button",{onClick:()=>aa("continue"),className:"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors",children:[(0,b.jsx)(o,{size:14})," Continuer l'écriture"]}),(0,b.jsx)("div",{className:"h-px bg-slate-100 my-1"}),(0,b.jsx)("div",{className:"px-3 py-1 text-[10px] font-bold text-slate-400 uppercase tracking-wider",children:"Édition"}),(0,b.jsxs)("button",{onClick:()=>{if(U.current){let a=window.getSelection();a?.removeAllRanges(),a?.addRange(U.current),document.execCommand("copy")}L(null)},disabled:!ac,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ac?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-slate-50"}`,children:[(0,b.jsx)(n,{size:14})," Copier"]}),(0,b.jsxs)("button",{onClick:()=>{D.current?.focus(),document.execCommand("selectAll"),_(),L(null)},className:"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-slate-50 text-left transition-colors",children:[(0,b.jsx)(t.MousePointerClick,{size:14})," Tout sélectionner"]})]})})]})]})});var A=a.i(46344),B=a.i(31715);function C(){let a=(0,c.useRef)(null),{project:d,user:e,currentChapterId:f,updateChapter:g,incrementUsage:h}=(0,A.useProjectContext)();if(!f)return null;let i=d.chapters?.find(a=>a.id===f);return(0,b.jsx)(z,{ref:a,initialContent:i?.content||"",onSave:a=>g(f,{content:a}),onAiTransform:async(a,b)=>{let c=await B.default.ai.transform(a,b,i?.content||"",e);return h(),c}})}a.s(["default",()=>C],32791)}]; + `}),(0,b.jsxs)("div",{className:"flex items-center gap-1 p-2 bg-theme-bg border-b border-theme-border flex-wrap relative z-20 shadow-sm transition-colors duration-300",children:[(0,b.jsx)(ac,{icon:e,cmd:"bold",label:"Gras"}),(0,b.jsx)(ac,{icon:f,cmd:"italic",label:"Italique"}),(0,b.jsx)(ac,{icon:g,cmd:"underline",label:"Souligné"}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ac,{icon:l,cmd:"formatBlock",arg:"H1",label:"Titre 1"}),(0,b.jsx)(ac,{icon:m,cmd:"formatBlock",arg:"H2",label:"Titre 2"}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ac,{icon:h,cmd:"justifyLeft",label:"Aligner à gauche"}),(0,b.jsx)(ac,{icon:i,cmd:"justifyCenter",label:"Centrer"}),(0,b.jsx)(ac,{icon:j,cmd:"justifyRight",label:"Aligner à droite"}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ac,{icon:k.List,cmd:"insertUnorderedList",label:"Liste"}),(0,b.jsx)("div",{className:"flex-1"}),(0,b.jsxs)("div",{className:"flex items-center gap-2 mr-4 text-xs font-medium text-slate-400",children:["saving"===H&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.Loader2,{size:12,className:"animate-spin"})," Sauvegarde..."]}),"saved"===H&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(p.Check,{size:12,className:"text-green-500"})," Sauvegardé"]}),"unsaved"===H&&(0,b.jsx)("span",{className:"text-amber-500",children:"Modifications non enregistrées..."})]}),(0,b.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,b.jsx)(ac,{icon:u,label:"Marge d'historique",onClick:()=>S(!R),isActive:R})]}),(0,b.jsx)("div",{className:"flex-1 overflow-y-auto relative bg-theme-bg/50 transition-colors duration-300",ref:E,children:(0,b.jsxs)("div",{className:"flex justify-center relative min-h-full py-8",children:[(0,b.jsx)("div",{ref:D,contentEditable:!0,suppressContentEditableWarning:!0,spellCheck:!0,lang:"fr-FR",className:"bg-theme-editor-bg shadow-sm w-[800px] min-h-[1000px] p-12 outline-none font-serif text-lg leading-relaxed text-theme-editor-text editor-content transition-colors duration-300",onInput:$,onBlur:()=>{G(!1),_()},onFocus:()=>G(!0),onKeyUp:_,onMouseUp:_,onSelect:aa,onClick:()=>D.current?.focus(),onContextMenu:a=>{a.preventDefault();let b=window.getSelection();if(b&&b.rangeCount>0){let c=b.getRangeAt(0);if(D.current?.contains(c.commonAncestorContainer)){V.current=c.cloneRange(),M({x:a.clientX,y:a.clientY});return}}V.current=null,M({x:a.clientX,y:a.clientY})},"data-placeholder":"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)"}),R&&(0,b.jsxs)("div",{className:"absolute left-[calc(50%+420px)] top-0 bottom-0 w-80 pt-8 pointer-events-none",children:[0===X.length&&(0,b.jsxs)("div",{className:"sticky top-10 text-center text-slate-300 p-4",children:[(0,b.jsx)(u,{size:48,className:"mx-auto mb-2 opacity-20"}),(0,b.jsx)("p",{className:"text-xs",children:"L'historique des modifications IA apparaîtra ici, aligné avec votre texte."})]}),X.map(a=>{let c=T.has(a.id),d=a.versions.length>1,e=a.versions[0];return(0,b.jsx)("div",{className:"absolute w-72 pointer-events-auto transition-all duration-300 ease-in-out",style:{top:`${a.topOffset+32}px`},children:(0,b.jsxs)("div",{className:`relative bg-white rounded-lg border shadow-sm transition-all duration-200 ${d&&!c?"border-indigo-200 shadow-md translate-x-1 translate-y-1":"border-slate-200"}`,children:[d&&!c&&(0,b.jsx)("div",{className:"absolute inset-0 bg-white border border-indigo-100 rounded-lg transform -translate-x-1 -translate-y-1 -z-10 shadow-sm"}),(0,b.jsxs)("div",{className:"p-2 border-b border-slate-100 flex justify-between items-center bg-slate-50 rounded-t-lg cursor-pointer hover:bg-slate-100",onClick:()=>{var b;let c;return d&&(b=a.id,void((c=new Set(T)).has(b)?c.delete(b):c.add(b),U(c)))},children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[d&&(0,b.jsx)(y,{size:14,className:"text-indigo-500"}),(0,b.jsx)("span",{className:`text-[10px] font-bold px-1.5 py-0.5 rounded uppercase tracking-wide ${e.type.includes("Correction")?"bg-green-100 text-green-700":e.type.includes("Insertion")?"bg-blue-100 text-blue-700":"bg-purple-100 text-purple-700"}`,children:e.type})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1",children:[(0,b.jsx)("span",{className:"text-[10px] text-slate-400",children:new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}),d&&(c?(0,b.jsx)(x,{size:14,className:"text-slate-400"}):(0,b.jsx)(w.ChevronDown,{size:14,className:"text-slate-400"}))]})]}),!c&&(0,b.jsxs)("div",{className:"p-2",children:[(0,b.jsxs)("div",{className:"text-xs text-slate-500 italic line-clamp-2",children:['"',e.snippet,'"']}),(0,b.jsxs)("button",{onClick:()=>Z(e),className:"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors",children:[(0,b.jsx)(v,{size:10})," Restaurer"]})]}),c&&(0,b.jsx)("div",{className:"divide-y divide-slate-100 max-h-64 overflow-y-auto",children:a.versions.map((a,c)=>(0,b.jsxs)("div",{className:"p-2 bg-white hover:bg-slate-50 transition-colors",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center mb-1",children:[(0,b.jsx)("span",{className:"text-[10px] font-semibold text-slate-600",children:0===c?"Dernière version":`Version -${c}`}),(0,b.jsx)("span",{className:"text-[9px] text-slate-400",children:new Date(a.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})})]}),(0,b.jsxs)("div",{className:"text-xs text-slate-500 italic bg-slate-50 p-1.5 rounded mb-2 border border-slate-100",children:['"',a.snippet,'"']}),(0,b.jsxs)("button",{onClick:()=>Z(a),className:"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors",children:[(0,b.jsx)(v,{size:10})," Restaurer cette version"]})]},a.id))})]})},a.id)})]})]})}),L&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"fixed inset-0 z-40 bg-transparent",onClick:()=>M(null),onContextMenu:a=>{a.preventDefault(),M(null)}}),(0,b.jsx)("div",{className:"fixed z-50 bg-white border border-slate-200 rounded-lg shadow-xl py-1 w-56 animate-in fade-in zoom-in-95 duration-100 flex flex-col",style:{top:Math.min(L.y,window.innerHeight-200),left:Math.min(L.x,window.innerWidth-224)},children:N?(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center py-4 text-indigo-600 gap-2",children:[(0,b.jsx)(s.Loader2,{className:"animate-spin",size:24}),(0,b.jsx)("span",{className:"text-xs font-medium",children:"L'IA travaille..."})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"px-3 py-1 text-[10px] font-bold text-slate-400 uppercase tracking-wider",children:"Outils IA"}),(0,b.jsxs)("button",{onClick:()=>ab("correct"),disabled:!ad,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ad?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,b.jsx)(p.Check,{size:14})," Corriger l'orthographe"]}),(0,b.jsxs)("button",{onClick:()=>ab("rewrite"),disabled:!ad,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ad?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,b.jsx)(q.RefreshCw,{size:14})," Reformuler"]}),(0,b.jsxs)("button",{onClick:()=>ab("expand"),disabled:!ad,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ad?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,b.jsx)(r,{size:14})," Développer"]}),(0,b.jsxs)("button",{onClick:()=>ab("continue"),className:"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors",children:[(0,b.jsx)(o,{size:14})," Continuer l'écriture"]}),(0,b.jsx)("div",{className:"h-px bg-slate-100 my-1"}),(0,b.jsx)("div",{className:"px-3 py-1 text-[10px] font-bold text-slate-400 uppercase tracking-wider",children:"Édition"}),(0,b.jsxs)("button",{onClick:()=>{if(V.current){let a=window.getSelection();a?.removeAllRanges(),a?.addRange(V.current),document.execCommand("copy")}M(null)},disabled:!ad,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!ad?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-slate-50"}`,children:[(0,b.jsx)(n,{size:14})," Copier"]}),(0,b.jsxs)("button",{onClick:()=>{D.current?.focus(),document.execCommand("selectAll"),aa(),M(null)},className:"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-slate-50 text-left transition-colors",children:[(0,b.jsx)(t.MousePointerClick,{size:14})," Tout sélectionner"]})]})})]})]})});var A=a.i(46344),B=a.i(31715);function C(){let a=(0,c.useRef)(null),{project:d,user:e,currentChapterId:f,updateChapter:g,incrementUsage:h}=(0,A.useProjectContext)();if(!f)return null;let i=d.chapters?.find(a=>a.id===f);return(0,b.jsx)(z,{ref:a,initialContent:i?.content||"",onSave:a=>g(f,{content:a}),onAiTransform:async(a,b)=>{let c=await B.default.ai.transform(a,b,i?.content||"",e);return h(),c}})}a.s(["default",()=>C],32791)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_page_tsx_7aa6a1c0._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js.map b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js.map index 9cf1eff..b4a3f89 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js.map +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_page_tsx_7aa6a1c0._.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/components/RichTextEditor.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/chevron-up.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/chevron-down.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/rotate-ccw.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/copy.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/history.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/underline.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/maximize-2.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/heading-2.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/heading-1.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/text-align-center.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/text-align-end.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/text-align-start.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/italic.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/bold.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/wand-sparkles.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/layers.ts"],"sourcesContent":["'use client';\n\nimport React, { useRef, useEffect, useState, useImperativeHandle, forwardRef, useMemo } from 'react';\nimport {\n Bold, Italic, Underline, AlignLeft, AlignCenter, AlignRight, List, Heading1, Heading2,\n Copy, Wand2, Check, RefreshCw, Maximize2, Loader2, MousePointerClick, History, RotateCcw,\n ChevronDown, ChevronUp, Layers\n} from 'lucide-react';\n\nexport interface RichTextEditorHandle {\n insertHtml: (html: string) => void;\n}\n\ninterface RichTextEditorProps {\n initialContent: string;\n onChange?: (html: string) => void;\n onSave?: (html: string) => void;\n onSelectionChange?: (text: string) => void;\n onAiTransform?: (text: string, mode: 'correct' | 'rewrite' | 'expand' | 'continue') => Promise;\n}\n\ninterface Version {\n id: string;\n timestamp: number;\n type: string;\n content: string; // Full HTML snapshot\n snippet: string; // Selected text snippet before change\n topOffset: number; // Y position relative to editor top\n}\n\ninterface VersionGroup {\n id: string;\n topOffset: number;\n versions: Version[];\n}\n\nconst RichTextEditor = forwardRef(({ initialContent, onChange, onSave, onSelectionChange, onAiTransform }, ref) => {\n const contentRef = useRef(null);\n const scrollContainerRef = useRef(null);\n const [isFocused, setIsFocused] = useState(false);\n\n // Auto-Save State\n const [saveStatus, setSaveStatus] = useState<'saved' | 'saving' | 'unsaved'>('saved');\n const saveTimeoutRef = useRef(null);\n\n // Context Menu State\n const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);\n const [isAiLoading, setIsAiLoading] = useState(false);\n\n // History State\n const [versions, setVersions] = useState([]);\n const [showHistoryMargin, setShowHistoryMargin] = useState(true);\n const [expandedGroupIds, setExpandedGroupIds] = useState>(new Set());\n\n // Refs to track selection\n const savedRange = useRef(null);\n const lastCursorPosition = useRef(null);\n\n // --- Helpers ---\n\n // Group versions by proximity (within 60px) to stack them\n const versionGroups = useMemo(() => {\n const sortedVersions = [...versions].sort((a, b) => b.timestamp - a.timestamp);\n const groups: VersionGroup[] = [];\n\n sortedVersions.forEach(v => {\n // Find an existing group close to this version\n const existingGroup = groups.find(g => Math.abs(g.topOffset - v.topOffset) < 60);\n\n if (existingGroup) {\n existingGroup.versions.push(v);\n // Keep the group timestamp sorted\n existingGroup.versions.sort((a, b) => b.timestamp - a.timestamp);\n } else {\n groups.push({\n id: `group-${v.id}`,\n topOffset: v.topOffset,\n versions: [v]\n });\n }\n });\n\n return groups;\n }, [versions]);\n\n const toggleGroup = (groupId: string) => {\n const newSet = new Set(expandedGroupIds);\n if (newSet.has(groupId)) {\n newSet.delete(groupId);\n } else {\n newSet.add(groupId);\n }\n setExpandedGroupIds(newSet);\n };\n\n const getSelectionTopOffset = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current) {\n const range = sel.getRangeAt(0);\n const rect = range.getBoundingClientRect();\n // We need offset relative to the content container (contentRef)\n // contentRef is the white page div.\n const containerRect = contentRef.current.getBoundingClientRect();\n return rect.top - containerRect.top;\n }\n return 0;\n };\n\n const saveVersion = (type: string, textSnippet: string) => {\n if (!contentRef.current) return;\n\n const topOffset = getSelectionTopOffset();\n\n const newVersion: Version = {\n id: Date.now().toString(),\n timestamp: Date.now(),\n type: type,\n content: contentRef.current.innerHTML,\n snippet: textSnippet.substring(0, 80) + (textSnippet.length > 80 ? '...' : ''),\n topOffset\n };\n\n setVersions(prev => [newVersion, ...prev]);\n setShowHistoryMargin(true);\n };\n\n const restoreVersion = (version: Version) => {\n if (!contentRef.current) return;\n if (confirm('Restaurer cette version ? Le contenu actuel sera remplacé.')) {\n contentRef.current.innerHTML = version.content;\n handleInput();\n }\n };\n\n // --- Exposed Methods ---\n\n useImperativeHandle(ref, () => ({\n insertHtml: (text: string) => {\n saveVersion('Insertion Chat', 'Insertion depuis le panneau IA');\n\n contentRef.current?.focus();\n\n const sel = window.getSelection();\n if (lastCursorPosition.current) {\n sel?.removeAllRanges();\n sel?.addRange(lastCursorPosition.current);\n } else if (contentRef.current) {\n const range = document.createRange();\n range.selectNodeContents(contentRef.current);\n range.collapse(false);\n sel?.removeAllRanges();\n sel?.addRange(range);\n }\n\n const htmlToInsert = text.includes('<') ? text : text.replace(/\\n/g, '
');\n document.execCommand('insertHTML', false, htmlToInsert);\n handleInput();\n }\n }));\n\n // --- Effects ---\n\n useEffect(() => {\n if (contentRef.current && contentRef.current.innerHTML !== initialContent) {\n // Only update if difference is significant to avoid cursor jumps on small re-renders?\n // OR better: Only update if NOT focused?\n if (!isFocused && Math.abs(contentRef.current.innerHTML.length - initialContent.length) > 5) {\n contentRef.current.innerHTML = initialContent;\n }\n }\n }, [initialContent, isFocused]);\n\n // --- Event Handlers ---\n\n const execCommand = (command: string, value: string | undefined = undefined) => {\n document.execCommand(command, false, value);\n handleInput();\n contentRef.current?.focus();\n };\n\n const handleInput = () => {\n if (contentRef.current) {\n if (onChange) onChange(contentRef.current.innerHTML);\n\n // Auto-Save Debounce\n if (onSave) {\n setSaveStatus('unsaved');\n if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);\n\n saveTimeoutRef.current = setTimeout(async () => {\n setSaveStatus('saving');\n await onSave(contentRef.current?.innerHTML || \"\");\n setSaveStatus('saved');\n }, 2000); // 2 seconds\n }\n }\n };\n\n const saveSelection = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current?.contains(sel.anchorNode)) {\n lastCursorPosition.current = sel.getRangeAt(0).cloneRange();\n }\n };\n\n const handleSelection = () => {\n const selection = window.getSelection();\n saveSelection();\n\n if (selection && selection.toString().length > 0 && onSelectionChange) {\n onSelectionChange(selection.toString());\n } else if (onSelectionChange) {\n onSelectionChange(\"\");\n }\n };\n\n const handleContextMenu = (e: React.MouseEvent) => {\n e.preventDefault();\n const selection = window.getSelection();\n\n if (selection && selection.rangeCount > 0) {\n const range = selection.getRangeAt(0);\n if (contentRef.current?.contains(range.commonAncestorContainer)) {\n savedRange.current = range.cloneRange();\n setContextMenu({ x: e.clientX, y: e.clientY });\n return;\n }\n }\n\n savedRange.current = null;\n setContextMenu({ x: e.clientX, y: e.clientY });\n };\n\n const handleAiAction = async (mode: 'correct' | 'rewrite' | 'expand' | 'continue') => {\n if (!onAiTransform) return;\n\n const range = savedRange.current;\n const text = range?.toString() || \"\";\n\n if (!text && mode !== 'continue') return;\n\n const typeLabels: Record = {\n correct: 'Correction',\n rewrite: 'Reformulation',\n expand: 'Développement',\n continue: 'Continuation'\n };\n saveVersion(typeLabels[mode], text || \"Position curseur\");\n\n setIsAiLoading(true);\n try {\n const result = await onAiTransform(text, mode);\n\n if (result) {\n contentRef.current?.focus();\n const sel = window.getSelection();\n sel?.removeAllRanges();\n\n if (range) {\n sel?.addRange(range);\n }\n\n if (mode === 'continue') {\n sel?.collapseToEnd();\n document.execCommand('insertText', false, \" \" + result);\n } else {\n document.execCommand('insertText', false, result);\n }\n\n handleInput();\n }\n } catch (e) {\n console.error(\"AI Action failed\", e);\n } finally {\n setIsAiLoading(false);\n setContextMenu(null);\n }\n };\n\n const handleCopy = () => {\n if (savedRange.current) {\n const sel = window.getSelection();\n sel?.removeAllRanges();\n sel?.addRange(savedRange.current);\n document.execCommand('copy');\n }\n setContextMenu(null);\n };\n\n const handleSelectAll = () => {\n contentRef.current?.focus();\n document.execCommand('selectAll');\n handleSelection();\n setContextMenu(null);\n }\n\n const ToolbarButton = ({ icon: Icon, cmd, arg, label, onClick, isActive }: any) => (\n {\n if (onClick) {\n e.preventDefault();\n onClick();\n } else {\n e.preventDefault();\n execCommand(cmd, arg);\n }\n }}\n className={`p-1.5 rounded transition-colors ${isActive ? 'bg-indigo-100 text-indigo-700' : 'text-slate-500 hover:text-slate-800 hover:bg-slate-200'}`}\n title={label}\n >\n \n \n );\n\n const hasSelection = savedRange.current && !savedRange.current.collapsed;\n\n return (\n
\n \n\n {/* Toolbar */}\n
\n \n \n \n
\n \n \n
\n \n \n \n
\n \n\n
\n\n {/* Save Status Indicator */}\n
\n {saveStatus === 'saving' && <> Sauvegarde...}\n {saveStatus === 'saved' && <> Sauvegardé}\n {saveStatus === 'unsaved' && Modifications non enregistrées...}\n
\n\n
\n setShowHistoryMargin(!showHistoryMargin)}\n isActive={showHistoryMargin}\n />\n
\n\n {/* Main Container - Scrollable Area */}\n \n
\n\n {/* Editor Content Page */}\n { setIsFocused(false); saveSelection(); }}\n onFocus={() => setIsFocused(true)}\n onKeyUp={saveSelection}\n onMouseUp={saveSelection}\n onSelect={handleSelection}\n onClick={() => contentRef.current?.focus()}\n onContextMenu={handleContextMenu}\n data-placeholder=\"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)\"\n />\n\n {/* History Track - Moving with the page */}\n {showHistoryMargin && (\n
\n {/* Placeholder for empty history */}\n {versionGroups.length === 0 && (\n
\n \n

L'historique des modifications IA apparaîtra ici, aligné avec votre texte.

\n
\n )}\n\n {/* Render Groups */}\n {versionGroups.map((group) => {\n const isExpanded = expandedGroupIds.has(group.id);\n const isStack = group.versions.length > 1;\n const latest = group.versions[0];\n\n return (\n \n
\n\n {/* Stack Effect Background Card */}\n {isStack && !isExpanded && (\n
\n )}\n\n {/* Main Card Header */}\n isStack && toggleGroup(group.id)}\n >\n
\n {isStack && (\n \n )}\n \n {latest.type}\n \n
\n
\n \n {new Date(latest.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}\n \n {isStack && (\n isExpanded ? : \n )}\n
\n
\n\n {/* Card Content (Latest) */}\n {!isExpanded && (\n
\n
\n \"{latest.snippet}\"\n
\n restoreVersion(latest)}\n className=\"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors\"\n >\n Restaurer\n \n
\n )}\n\n {/* Expanded Stack View */}\n {isExpanded && (\n
\n {group.versions.map((v, i) => (\n
\n
\n \n {i === 0 ? 'Dernière version' : `Version -${i}`}\n \n \n {new Date(v.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit' })}\n \n
\n
\n \"{v.snippet}\"\n
\n restoreVersion(v)}\n className=\"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors\"\n >\n Restaurer cette version\n \n
\n ))}\n
\n )}\n
\n
\n );\n })}\n
\n )}\n
\n
\n\n {/* Context Menu Overlay */}\n {contextMenu && (\n <>\n setContextMenu(null)}\n onContextMenu={(e) => { e.preventDefault(); setContextMenu(null); }}\n />\n \n {isAiLoading ? (\n
\n \n L'IA travaille...\n
\n ) : (\n <>\n
\n Outils IA\n
\n\n handleAiAction('correct')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Corriger l'orthographe\n \n\n handleAiAction('rewrite')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Reformuler\n \n\n handleAiAction('expand')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Développer\n \n\n handleAiAction('continue')}\n className=\"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors\"\n >\n Continuer l'écriture\n \n\n
\n\n
\n Édition\n
\n\n \n Copier\n \n\n \n Tout sélectionner\n \n \n )}\n
\n \n )}\n
\n );\n});\n\nexport default RichTextEditor;\n","'use client';\r\n\r\nimport React, { useRef } from 'react';\r\nimport RichTextEditor, { RichTextEditorHandle } from '@/components/RichTextEditor';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport api from '@/lib/api';\r\n\r\nexport default function WritePage() {\r\n const editorRef = useRef(null);\r\n const { project, user, currentChapterId, updateChapter, incrementUsage } = useProjectContext();\r\n\r\n if (!currentChapterId) return null;\r\n\r\n const currentChapter = project.chapters?.find(c => c.id === currentChapterId);\r\n\r\n return (\r\n updateChapter(currentChapterId, { content: html })}\r\n onAiTransform={async (text, mode) => {\r\n const result = await api.ai.transform(text, mode, currentChapter?.content || '', user);\r\n incrementUsage();\r\n return result;\r\n }}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm18 15-6-6-6 6', key: '153udz' }]];\n\n/**\n * @component @name ChevronUp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTggMTUtNi02LTYgNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-up\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronUp = createLucideIcon('chevron-up', __iconNode);\n\nexport default ChevronUp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm6 9 6 6 6-6', key: 'qrunsl' }]];\n\n/**\n * @component @name ChevronDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtNiA5IDYgNiA2LTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/chevron-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronDown = createLucideIcon('chevron-down', __iconNode);\n\nexport default ChevronDown;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n];\n\n/**\n * @component @name RotateCcw\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAxIDAgOS05IDkuNzUgOS43NSAwIDAgMC02Ljc0IDIuNzRMMyA4IiAvPgogIDxwYXRoIGQ9Ik0zIDN2NWg1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/rotate-ccw\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst RotateCcw = createLucideIcon('rotate-ccw', __iconNode);\n\nexport default RotateCcw;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '14', height: '14', x: '8', y: '8', rx: '2', ry: '2', key: '17jyea' }],\n ['path', { d: 'M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2', key: 'zix9uf' }],\n];\n\n/**\n * @component @name Copy\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHg9IjgiIHk9IjgiIHJ4PSIyIiByeT0iMiIgLz4KICA8cGF0aCBkPSJNNCAxNmMtMS4xIDAtMi0uOS0yLTJWNGMwLTEuMS45LTIgMi0yaDEwYzEuMSAwIDIgLjkgMiAyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/copy\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Copy = createLucideIcon('copy', __iconNode);\n\nexport default Copy;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n ['path', { d: 'M12 7v5l4 2', key: '1fdv2h' }],\n];\n\n/**\n * @component @name History\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAxIDAgOS05IDkuNzUgOS43NSAwIDAgMC02Ljc0IDIuNzRMMyA4IiAvPgogIDxwYXRoIGQ9Ik0zIDN2NWg1IiAvPgogIDxwYXRoIGQ9Ik0xMiA3djVsNCAyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/history\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst History = createLucideIcon('history', __iconNode);\n\nexport default History;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M6 4v6a6 6 0 0 0 12 0V4', key: '9kb039' }],\n ['line', { x1: '4', x2: '20', y1: '20', y2: '20', key: 'nun2al' }],\n];\n\n/**\n * @component @name Underline\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiA0djZhNiA2IDAgMCAwIDEyIDBWNCIgLz4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iMjAiIHkyPSIyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/underline\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Underline = createLucideIcon('underline', __iconNode);\n\nexport default Underline;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 3h6v6', key: '1q9fwt' }],\n ['path', { d: 'm21 3-7 7', key: '1l2asr' }],\n ['path', { d: 'm3 21 7-7', key: 'tjx5ai' }],\n ['path', { d: 'M9 21H3v-6', key: 'wtvkvv' }],\n];\n\n/**\n * @component @name Maximize2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgM2g2djYiIC8+CiAgPHBhdGggZD0ibTIxIDMtNyA3IiAvPgogIDxwYXRoIGQ9Im0zIDIxIDctNyIgLz4KICA8cGF0aCBkPSJNOSAyMUgzdi02IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/maximize-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Maximize2 = createLucideIcon('maximize-2', __iconNode);\n\nexport default Maximize2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 12h8', key: '17cfdx' }],\n ['path', { d: 'M4 18V6', key: '1rz3zl' }],\n ['path', { d: 'M12 18V6', key: 'zqpxq5' }],\n ['path', { d: 'M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1', key: '9jr5yi' }],\n];\n\n/**\n * @component @name Heading2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxMmg4IiAvPgogIDxwYXRoIGQ9Ik00IDE4VjYiIC8+CiAgPHBhdGggZD0iTTEyIDE4VjYiIC8+CiAgPHBhdGggZD0iTTIxIDE4aC00YzAtNCA0LTMgNC02IDAtMS41LTItMi41LTQtMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/heading-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Heading2 = createLucideIcon('heading-2', __iconNode);\n\nexport default Heading2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 12h8', key: '17cfdx' }],\n ['path', { d: 'M4 18V6', key: '1rz3zl' }],\n ['path', { d: 'M12 18V6', key: 'zqpxq5' }],\n ['path', { d: 'm17 12 3-2v8', key: '1hhhft' }],\n];\n\n/**\n * @component @name Heading1\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxMmg4IiAvPgogIDxwYXRoIGQ9Ik00IDE4VjYiIC8+CiAgPHBhdGggZD0iTTEyIDE4VjYiIC8+CiAgPHBhdGggZD0ibTE3IDEyIDMtMnY4IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/heading-1\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Heading1 = createLucideIcon('heading-1', __iconNode);\n\nexport default Heading1;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21 5H3', key: '1fi0y6' }],\n ['path', { d: 'M17 12H7', key: '16if0g' }],\n ['path', { d: 'M19 19H5', key: 'vjpgq2' }],\n];\n\n/**\n * @component @name TextAlignCenter\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgNUgzIiAvPgogIDxwYXRoIGQ9Ik0xNyAxMkg3IiAvPgogIDxwYXRoIGQ9Ik0xOSAxOUg1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/text-align-center\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TextAlignCenter = createLucideIcon('text-align-center', __iconNode);\n\nexport default TextAlignCenter;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21 5H3', key: '1fi0y6' }],\n ['path', { d: 'M21 12H9', key: 'dn1m92' }],\n ['path', { d: 'M21 19H7', key: '4cu937' }],\n];\n\n/**\n * @component @name TextAlignEnd\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgNUgzIiAvPgogIDxwYXRoIGQ9Ik0yMSAxMkg5IiAvPgogIDxwYXRoIGQ9Ik0yMSAxOUg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/text-align-end\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TextAlignEnd = createLucideIcon('text-align-end', __iconNode);\n\nexport default TextAlignEnd;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21 5H3', key: '1fi0y6' }],\n ['path', { d: 'M15 12H3', key: '6jk70r' }],\n ['path', { d: 'M17 19H3', key: 'z6ezky' }],\n];\n\n/**\n * @component @name TextAlignStart\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgNUgzIiAvPgogIDxwYXRoIGQ9Ik0xNSAxMkgzIiAvPgogIDxwYXRoIGQ9Ik0xNyAxOUgzIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/text-align-start\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TextAlignStart = createLucideIcon('text-align-start', __iconNode);\n\nexport default TextAlignStart;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '19', x2: '10', y1: '4', y2: '4', key: '15jd3p' }],\n ['line', { x1: '14', x2: '5', y1: '20', y2: '20', key: 'bu0au3' }],\n ['line', { x1: '15', x2: '9', y1: '4', y2: '20', key: 'uljnxc' }],\n];\n\n/**\n * @component @name Italic\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iMTkiIHgyPSIxMCIgeTE9IjQiIHkyPSI0IiAvPgogIDxsaW5lIHgxPSIxNCIgeDI9IjUiIHkxPSIyMCIgeTI9IjIwIiAvPgogIDxsaW5lIHgxPSIxNSIgeDI9IjkiIHkxPSI0IiB5Mj0iMjAiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/italic\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Italic = createLucideIcon('italic', __iconNode);\n\nexport default Italic;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n { d: 'M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8', key: 'mg9rjx' },\n ],\n];\n\n/**\n * @component @name Bold\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAxMmg5YTQgNCAwIDAgMSAwIDhIN2ExIDEgMCAwIDEtMS0xVjVhMSAxIDAgMCAxIDEtMWg3YTQgNCAwIDAgMSAwIDgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/bold\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bold = createLucideIcon('bold', __iconNode);\n\nexport default Bold;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'm21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72',\n key: 'ul74o6',\n },\n ],\n ['path', { d: 'm14 7 3 3', key: '1r5n42' }],\n ['path', { d: 'M5 6v4', key: 'ilb8ba' }],\n ['path', { d: 'M19 14v4', key: 'blhpug' }],\n ['path', { d: 'M10 2v2', key: '7u0qdc' }],\n ['path', { d: 'M7 8H3', key: 'zfb6yr' }],\n ['path', { d: 'M21 16h-4', key: '1cnmox' }],\n ['path', { d: 'M11 3H9', key: '1obp7u' }],\n];\n\n/**\n * @component @name WandSparkles\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEuNjQgMy42NC0xLjI4LTEuMjhhMS4yMSAxLjIxIDAgMCAwLTEuNzIgMEwyLjM2IDE4LjY0YTEuMjEgMS4yMSAwIDAgMCAwIDEuNzJsMS4yOCAxLjI4YTEuMiAxLjIgMCAwIDAgMS43MiAwTDIxLjY0IDUuMzZhMS4yIDEuMiAwIDAgMCAwLTEuNzIiIC8+CiAgPHBhdGggZD0ibTE0IDcgMyAzIiAvPgogIDxwYXRoIGQ9Ik01IDZ2NCIgLz4KICA8cGF0aCBkPSJNMTkgMTR2NCIgLz4KICA8cGF0aCBkPSJNMTAgMnYyIiAvPgogIDxwYXRoIGQ9Ik03IDhIMyIgLz4KICA8cGF0aCBkPSJNMjEgMTZoLTQiIC8+CiAgPHBhdGggZD0iTTExIDNIOSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/wand-sparkles\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst WandSparkles = createLucideIcon('wand-sparkles', __iconNode);\n\nexport default WandSparkles;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z',\n key: 'zw3jo',\n },\n ],\n [\n 'path',\n {\n d: 'M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12',\n key: '1wduqc',\n },\n ],\n [\n 'path',\n {\n d: 'M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17',\n key: 'kqbvx6',\n },\n ],\n];\n\n/**\n * @component @name Layers\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuODMgMi4xOGEyIDIgMCAwIDAtMS42NiAwTDIuNiA2LjA4YTEgMSAwIDAgMCAwIDEuODNsOC41OCAzLjkxYTIgMiAwIDAgMCAxLjY2IDBsOC41OC0zLjlhMSAxIDAgMCAwIDAtMS44M3oiIC8+CiAgPHBhdGggZD0iTTIgMTJhMSAxIDAgMCAwIC41OC45MWw4LjYgMy45MWEyIDIgMCAwIDAgMS42NSAwbDguNTgtMy45QTEgMSAwIDAgMCAyMiAxMiIgLz4KICA8cGF0aCBkPSJNMiAxN2ExIDEgMCAwIDAgLjU4LjkxbDguNiAzLjkxYTIgMiAwIDAgMCAxLjY1IDBsOC41OC0zLjlBMSAxIDAgMCAwIDIyIDE3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/layers\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Layers = createLucideIcon('layers', __iconNode);\n\nexport default Layers;\n"],"names":[],"mappings":"wDCEA,EAAA,EAAA,CAAA,CAAA,0BcmBa,CNAP,CMAO,APAP,AEAA,ADAA,CAAA,ADAA,AOAO,ALAP,EAAA,OAAA,AKAO,EAAA,iBAfP,CPAH,AEAA,AKAG,AHAH,ACAA,AFAA,AFAA,AHAA,CSAG,ATAH,AEAA,AEAA,AEAA,ACAA,AJAA,AEAA,wEIA+E,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6JDAhE,CDAP,ALAA,AFAA,AIAA,AEAA,AEAO,AHAP,AFAA,CDAA,AKAA,ADAA,ADAA,ADAA,AJAA,AGAA,AKAO,CDAP,ALAA,ACAA,AHAA,AIAA,AEAA,ADAA,AGAO,WAAkB,GAAA,KAAU,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,aCAzD,CAAA,kBRauC,+QICxB,EAAiB,0ICApB,CEAN,ADAT,APAU,AMAK,ADAf,CAAA,OAAA,EAAA,kBCAkD,CCAhB,ADAgB,ADAf,CEAD,ADAgB,ADAf,CAAA,ACAe,6GZjBxD,IAAA,EAAA,EAAA,CAAA,CAAA,qJUIE,yQLY4B,CWZrB,ACAA,AZYqB,AIZd,ALYE,AMZF,AFAc,ADYZ,6EFf6D,CAAU,CAAA,sEACd,CAAA,CAAA,CAAA,CAAK,A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C,EAAM,EAAM,GAAgB,SAAW,GAAI,GAEjF,OADA,IACO,CACX,GAGZ","ignoreList":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file +{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/RichTextEditor.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/chevron-up.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/text-align-start.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/underline.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/copy.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/rotate-ccw.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/history.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/maximize-2.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/italic.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/bold.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/heading-2.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/text-align-center.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/text-align-end.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/heading-1.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/layers.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/wand-sparkles.ts"],"sourcesContent":["'use client';\r\n\r\nimport React, { useRef } from 'react';\r\nimport RichTextEditor, { RichTextEditorHandle } from '@/components/RichTextEditor';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport api from '@/lib/api';\r\n\r\nexport default function WritePage() {\r\n const editorRef = useRef(null);\r\n const { project, user, currentChapterId, updateChapter, incrementUsage } = useProjectContext();\r\n\r\n if (!currentChapterId) return null;\r\n\r\n const currentChapter = project.chapters?.find(c => c.id === currentChapterId);\r\n\r\n return (\r\n updateChapter(currentChapterId, { content: html })}\r\n onAiTransform={async (text, mode) => {\r\n const result = await api.ai.transform(text, mode, currentChapter?.content || '', user);\r\n incrementUsage();\r\n return result;\r\n }}\r\n />\r\n );\r\n}\r\n","'use client';\n\nimport React, { useRef, useEffect, useState, useImperativeHandle, forwardRef, useMemo } from 'react';\nimport {\n Bold, Italic, Underline, AlignLeft, AlignCenter, AlignRight, List, Heading1, Heading2,\n Copy, Wand2, Check, RefreshCw, Maximize2, Loader2, MousePointerClick, History, RotateCcw,\n ChevronDown, ChevronUp, Layers\n} from 'lucide-react';\n\nexport interface RichTextEditorHandle {\n insertHtml: (html: string) => void;\n}\n\ninterface RichTextEditorProps {\n initialContent: string;\n onChange?: (html: string) => void;\n onSave?: (html: string) => void;\n onSelectionChange?: (text: string) => void;\n onAiTransform?: (text: string, mode: 'correct' | 'rewrite' | 'expand' | 'continue') => Promise;\n}\n\ninterface Version {\n id: string;\n timestamp: number;\n type: string;\n content: string; // Full HTML snapshot\n snippet: string; // Selected text snippet before change\n topOffset: number; // Y position relative to editor top\n}\n\ninterface VersionGroup {\n id: string;\n topOffset: number;\n versions: Version[];\n}\n\nconst RichTextEditor = forwardRef(({ initialContent, onChange, onSave, onSelectionChange, onAiTransform }, ref) => {\n const contentRef = useRef(null);\n const scrollContainerRef = useRef(null);\n const [isFocused, setIsFocused] = useState(false);\n\n // Auto-Save State\n const [saveStatus, setSaveStatus] = useState<'saved' | 'saving' | 'unsaved'>('saved');\n const saveTimeoutRef = useRef(null);\n\n // Track sync state to avoid autosave loopbacks wiping current edits\n const syncRef = useRef(initialContent);\n\n // Context Menu State\n const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);\n const [isAiLoading, setIsAiLoading] = useState(false);\n\n // History State\n const [versions, setVersions] = useState([]);\n const [showHistoryMargin, setShowHistoryMargin] = useState(true);\n const [expandedGroupIds, setExpandedGroupIds] = useState>(new Set());\n\n // Refs to track selection\n const savedRange = useRef(null);\n const lastCursorPosition = useRef(null);\n\n // --- Helpers ---\n\n // Group versions by proximity (within 60px) to stack them\n const versionGroups = useMemo(() => {\n const sortedVersions = [...versions].sort((a, b) => b.timestamp - a.timestamp);\n const groups: VersionGroup[] = [];\n\n sortedVersions.forEach(v => {\n // Find an existing group close to this version\n const existingGroup = groups.find(g => Math.abs(g.topOffset - v.topOffset) < 60);\n\n if (existingGroup) {\n existingGroup.versions.push(v);\n // Keep the group timestamp sorted\n existingGroup.versions.sort((a, b) => b.timestamp - a.timestamp);\n } else {\n groups.push({\n id: `group-${v.id}`,\n topOffset: v.topOffset,\n versions: [v]\n });\n }\n });\n\n return groups;\n }, [versions]);\n\n const toggleGroup = (groupId: string) => {\n const newSet = new Set(expandedGroupIds);\n if (newSet.has(groupId)) {\n newSet.delete(groupId);\n } else {\n newSet.add(groupId);\n }\n setExpandedGroupIds(newSet);\n };\n\n const getSelectionTopOffset = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current) {\n const range = sel.getRangeAt(0);\n const rect = range.getBoundingClientRect();\n // We need offset relative to the content container (contentRef)\n // contentRef is the white page div.\n const containerRect = contentRef.current.getBoundingClientRect();\n return rect.top - containerRect.top;\n }\n return 0;\n };\n\n const saveVersion = (type: string, textSnippet: string) => {\n if (!contentRef.current) return;\n\n const topOffset = getSelectionTopOffset();\n\n const newVersion: Version = {\n id: Date.now().toString(),\n timestamp: Date.now(),\n type: type,\n content: contentRef.current.innerHTML,\n snippet: textSnippet.substring(0, 80) + (textSnippet.length > 80 ? '...' : ''),\n topOffset\n };\n\n setVersions(prev => [newVersion, ...prev]);\n setShowHistoryMargin(true);\n };\n\n const restoreVersion = (version: Version) => {\n if (!contentRef.current) return;\n if (confirm('Restaurer cette version ? Le contenu actuel sera remplacé.')) {\n contentRef.current.innerHTML = version.content;\n handleInput();\n }\n };\n\n // --- Exposed Methods ---\n\n useImperativeHandle(ref, () => ({\n insertHtml: (text: string) => {\n saveVersion('Insertion Chat', 'Insertion depuis le panneau IA');\n\n contentRef.current?.focus();\n\n const sel = window.getSelection();\n if (lastCursorPosition.current) {\n sel?.removeAllRanges();\n sel?.addRange(lastCursorPosition.current);\n } else if (contentRef.current) {\n const range = document.createRange();\n range.selectNodeContents(contentRef.current);\n range.collapse(false);\n sel?.removeAllRanges();\n sel?.addRange(range);\n }\n\n const htmlToInsert = text.includes('<') ? text : text.replace(/\\n/g, '
');\n document.execCommand('insertHTML', false, htmlToInsert);\n handleInput();\n }\n }));\n\n // --- Effects ---\n\n useEffect(() => {\n if (!contentRef.current || initialContent === undefined) return;\n\n // Ignore exact loopbacks from our own saves\n if (initialContent === syncRef.current) return;\n\n // We reached here, so initialContent is genuinely NEW data we didn't know about.\n // E.g. clicked another chapter, or data was modified in another tab/device.\n contentRef.current.innerHTML = initialContent;\n syncRef.current = initialContent;\n }, [initialContent]);\n\n // --- Event Handlers ---\n\n const execCommand = (command: string, value: string | undefined = undefined) => {\n document.execCommand(command, false, value);\n handleInput();\n contentRef.current?.focus();\n };\n\n const handleInput = () => {\n if (contentRef.current) {\n if (onChange) onChange(contentRef.current.innerHTML);\n\n // Auto-Save Debounce\n if (onSave) {\n setSaveStatus('unsaved');\n if (saveTimeoutRef.current) clearTimeout(saveTimeoutRef.current);\n\n saveTimeoutRef.current = setTimeout(async () => {\n setSaveStatus('saving');\n const htmlToSave = contentRef.current?.innerHTML || \"\";\n await onSave(htmlToSave);\n syncRef.current = htmlToSave; // Record that we've synced this exact string to the server\n setSaveStatus('saved');\n }, 2000); // 2 seconds\n }\n }\n };\n\n const saveSelection = () => {\n const sel = window.getSelection();\n if (sel && sel.rangeCount > 0 && contentRef.current?.contains(sel.anchorNode)) {\n lastCursorPosition.current = sel.getRangeAt(0).cloneRange();\n }\n };\n\n const handleSelection = () => {\n const selection = window.getSelection();\n saveSelection();\n\n if (selection && selection.toString().length > 0 && onSelectionChange) {\n onSelectionChange(selection.toString());\n } else if (onSelectionChange) {\n onSelectionChange(\"\");\n }\n };\n\n const handleContextMenu = (e: React.MouseEvent) => {\n e.preventDefault();\n const selection = window.getSelection();\n\n if (selection && selection.rangeCount > 0) {\n const range = selection.getRangeAt(0);\n if (contentRef.current?.contains(range.commonAncestorContainer)) {\n savedRange.current = range.cloneRange();\n setContextMenu({ x: e.clientX, y: e.clientY });\n return;\n }\n }\n\n savedRange.current = null;\n setContextMenu({ x: e.clientX, y: e.clientY });\n };\n\n const handleAiAction = async (mode: 'correct' | 'rewrite' | 'expand' | 'continue') => {\n if (!onAiTransform) return;\n\n const range = savedRange.current;\n const text = range?.toString() || \"\";\n\n if (!text && mode !== 'continue') return;\n\n const typeLabels: Record = {\n correct: 'Correction',\n rewrite: 'Reformulation',\n expand: 'Développement',\n continue: 'Continuation'\n };\n saveVersion(typeLabels[mode], text || \"Position curseur\");\n\n setIsAiLoading(true);\n try {\n const result = await onAiTransform(text, mode);\n\n if (result) {\n contentRef.current?.focus();\n const sel = window.getSelection();\n sel?.removeAllRanges();\n\n if (range) {\n sel?.addRange(range);\n }\n\n if (mode === 'continue') {\n sel?.collapseToEnd();\n document.execCommand('insertText', false, \" \" + result);\n } else {\n document.execCommand('insertText', false, result);\n }\n\n handleInput();\n }\n } catch (e) {\n console.error(\"AI Action failed\", e);\n } finally {\n setIsAiLoading(false);\n setContextMenu(null);\n }\n };\n\n const handleCopy = () => {\n if (savedRange.current) {\n const sel = window.getSelection();\n sel?.removeAllRanges();\n sel?.addRange(savedRange.current);\n document.execCommand('copy');\n }\n setContextMenu(null);\n };\n\n const handleSelectAll = () => {\n contentRef.current?.focus();\n document.execCommand('selectAll');\n handleSelection();\n setContextMenu(null);\n }\n\n const ToolbarButton = ({ icon: Icon, cmd, arg, label, onClick, isActive }: any) => (\n {\n if (onClick) {\n e.preventDefault();\n onClick();\n } else {\n e.preventDefault();\n execCommand(cmd, arg);\n }\n }}\n className={`p-1.5 rounded transition-colors ${isActive ? 'bg-indigo-100 text-indigo-700' : 'text-slate-500 hover:text-slate-800 hover:bg-slate-200'}`}\n title={label}\n >\n \n \n );\n\n const hasSelection = savedRange.current && !savedRange.current.collapsed;\n\n return (\n
\n \n\n {/* Toolbar */}\n
\n \n \n \n
\n \n \n
\n \n \n \n
\n \n\n
\n\n {/* Save Status Indicator */}\n
\n {saveStatus === 'saving' && <> Sauvegarde...}\n {saveStatus === 'saved' && <> Sauvegardé}\n {saveStatus === 'unsaved' && Modifications non enregistrées...}\n
\n\n
\n setShowHistoryMargin(!showHistoryMargin)}\n isActive={showHistoryMargin}\n />\n
\n\n {/* Main Container - Scrollable Area */}\n \n
\n\n {/* Editor Content Page */}\n { setIsFocused(false); saveSelection(); }}\n onFocus={() => setIsFocused(true)}\n onKeyUp={saveSelection}\n onMouseUp={saveSelection}\n onSelect={handleSelection}\n onClick={() => contentRef.current?.focus()}\n onContextMenu={handleContextMenu}\n data-placeholder=\"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)\"\n />\n\n {/* History Track - Moving with the page */}\n {showHistoryMargin && (\n
\n {/* Placeholder for empty history */}\n {versionGroups.length === 0 && (\n
\n \n

L'historique des modifications IA apparaîtra ici, aligné avec votre texte.

\n
\n )}\n\n {/* Render Groups */}\n {versionGroups.map((group) => {\n const isExpanded = expandedGroupIds.has(group.id);\n const isStack = group.versions.length > 1;\n const latest = group.versions[0];\n\n return (\n \n
\n\n {/* Stack Effect Background Card */}\n {isStack && !isExpanded && (\n
\n )}\n\n {/* Main Card Header */}\n isStack && toggleGroup(group.id)}\n >\n
\n {isStack && (\n \n )}\n \n {latest.type}\n \n
\n
\n \n {new Date(latest.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}\n \n {isStack && (\n isExpanded ? : \n )}\n
\n
\n\n {/* Card Content (Latest) */}\n {!isExpanded && (\n
\n
\n \"{latest.snippet}\"\n
\n restoreVersion(latest)}\n className=\"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors\"\n >\n Restaurer\n \n
\n )}\n\n {/* Expanded Stack View */}\n {isExpanded && (\n
\n {group.versions.map((v, i) => (\n
\n
\n \n {i === 0 ? 'Dernière version' : `Version -${i}`}\n \n \n {new Date(v.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit' })}\n \n
\n
\n \"{v.snippet}\"\n
\n restoreVersion(v)}\n className=\"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors\"\n >\n Restaurer cette version\n \n
\n ))}\n
\n )}\n
\n
\n );\n })}\n
\n )}\n
\n
\n\n {/* Context Menu Overlay */}\n {contextMenu && (\n <>\n setContextMenu(null)}\n onContextMenu={(e) => { e.preventDefault(); setContextMenu(null); }}\n />\n \n {isAiLoading ? (\n
\n \n L'IA travaille...\n
\n ) : (\n <>\n
\n Outils IA\n
\n\n handleAiAction('correct')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Corriger l'orthographe\n \n\n handleAiAction('rewrite')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Reformuler\n \n\n handleAiAction('expand')}\n disabled={!hasSelection}\n className={`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!hasSelection ? 'text-slate-300 cursor-not-allowed' : 'text-slate-700 hover:bg-indigo-50 hover:text-indigo-700'}`}\n >\n Développer\n \n\n handleAiAction('continue')}\n className=\"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors\"\n >\n Continuer l'écriture\n \n\n
\n\n
\n Édition\n
\n\n \n Copier\n \n\n \n Tout sélectionner\n \n \n )}\n
\n \n )}\n
\n );\n});\n\nexport default RichTextEditor;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm18 15-6-6-6 6', key: '153udz' }]];\n\n/**\n * @component @name ChevronUp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTggMTUtNi02LTYgNiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/chevron-up\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronUp = createLucideIcon('chevron-up', __iconNode);\n\nexport default ChevronUp;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21 5H3', key: '1fi0y6' }],\n ['path', { d: 'M15 12H3', key: '6jk70r' }],\n ['path', { d: 'M17 19H3', key: 'z6ezky' }],\n];\n\n/**\n * @component @name TextAlignStart\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgNUgzIiAvPgogIDxwYXRoIGQ9Ik0xNSAxMkgzIiAvPgogIDxwYXRoIGQ9Ik0xNyAxOUgzIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/text-align-start\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TextAlignStart = createLucideIcon('text-align-start', __iconNode);\n\nexport default TextAlignStart;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M6 4v6a6 6 0 0 0 12 0V4', key: '9kb039' }],\n ['line', { x1: '4', x2: '20', y1: '20', y2: '20', key: 'nun2al' }],\n];\n\n/**\n * @component @name Underline\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiA0djZhNiA2IDAgMCAwIDEyIDBWNCIgLz4KICA8bGluZSB4MT0iNCIgeDI9IjIwIiB5MT0iMjAiIHkyPSIyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/underline\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Underline = createLucideIcon('underline', __iconNode);\n\nexport default Underline;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '14', height: '14', x: '8', y: '8', rx: '2', ry: '2', key: '17jyea' }],\n ['path', { d: 'M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2', key: 'zix9uf' }],\n];\n\n/**\n * @component @name Copy\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHg9IjgiIHk9IjgiIHJ4PSIyIiByeT0iMiIgLz4KICA8cGF0aCBkPSJNNCAxNmMtMS4xIDAtMi0uOS0yLTJWNGMwLTEuMS45LTIgMi0yaDEwYzEuMSAwIDIgLjkgMiAyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/copy\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Copy = createLucideIcon('copy', __iconNode);\n\nexport default Copy;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n];\n\n/**\n * @component @name RotateCcw\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAxIDAgOS05IDkuNzUgOS43NSAwIDAgMC02Ljc0IDIuNzRMMyA4IiAvPgogIDxwYXRoIGQ9Ik0zIDN2NWg1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/rotate-ccw\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst RotateCcw = createLucideIcon('rotate-ccw', __iconNode);\n\nexport default RotateCcw;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n ['path', { d: 'M12 7v5l4 2', key: '1fdv2h' }],\n];\n\n/**\n * @component @name History\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAxIDAgOS05IDkuNzUgOS43NSAwIDAgMC02Ljc0IDIuNzRMMyA4IiAvPgogIDxwYXRoIGQ9Ik0zIDN2NWg1IiAvPgogIDxwYXRoIGQ9Ik0xMiA3djVsNCAyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/history\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst History = createLucideIcon('history', __iconNode);\n\nexport default History;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 3h6v6', key: '1q9fwt' }],\n ['path', { d: 'm21 3-7 7', key: '1l2asr' }],\n ['path', { d: 'm3 21 7-7', key: 'tjx5ai' }],\n ['path', { d: 'M9 21H3v-6', key: 'wtvkvv' }],\n];\n\n/**\n * @component @name Maximize2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgM2g2djYiIC8+CiAgPHBhdGggZD0ibTIxIDMtNyA3IiAvPgogIDxwYXRoIGQ9Im0zIDIxIDctNyIgLz4KICA8cGF0aCBkPSJNOSAyMUgzdi02IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/maximize-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Maximize2 = createLucideIcon('maximize-2', __iconNode);\n\nexport default Maximize2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['line', { x1: '19', x2: '10', y1: '4', y2: '4', key: '15jd3p' }],\n ['line', { x1: '14', x2: '5', y1: '20', y2: '20', key: 'bu0au3' }],\n ['line', { x1: '15', x2: '9', y1: '4', y2: '20', key: 'uljnxc' }],\n];\n\n/**\n * @component @name Italic\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iMTkiIHgyPSIxMCIgeTE9IjQiIHkyPSI0IiAvPgogIDxsaW5lIHgxPSIxNCIgeDI9IjUiIHkxPSIyMCIgeTI9IjIwIiAvPgogIDxsaW5lIHgxPSIxNSIgeDI9IjkiIHkxPSI0IiB5Mj0iMjAiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/italic\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Italic = createLucideIcon('italic', __iconNode);\n\nexport default Italic;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n { d: 'M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8', key: 'mg9rjx' },\n ],\n];\n\n/**\n * @component @name Bold\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNiAxMmg5YTQgNCAwIDAgMSAwIDhIN2ExIDEgMCAwIDEtMS0xVjVhMSAxIDAgMCAxIDEtMWg3YTQgNCAwIDAgMSAwIDgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/bold\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bold = createLucideIcon('bold', __iconNode);\n\nexport default Bold;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 12h8', key: '17cfdx' }],\n ['path', { d: 'M4 18V6', key: '1rz3zl' }],\n ['path', { d: 'M12 18V6', key: 'zqpxq5' }],\n ['path', { d: 'M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1', key: '9jr5yi' }],\n];\n\n/**\n * @component @name Heading2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxMmg4IiAvPgogIDxwYXRoIGQ9Ik00IDE4VjYiIC8+CiAgPHBhdGggZD0iTTEyIDE4VjYiIC8+CiAgPHBhdGggZD0iTTIxIDE4aC00YzAtNCA0LTMgNC02IDAtMS41LTItMi41LTQtMSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/heading-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Heading2 = createLucideIcon('heading-2', __iconNode);\n\nexport default Heading2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21 5H3', key: '1fi0y6' }],\n ['path', { d: 'M17 12H7', key: '16if0g' }],\n ['path', { d: 'M19 19H5', key: 'vjpgq2' }],\n];\n\n/**\n * @component @name TextAlignCenter\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgNUgzIiAvPgogIDxwYXRoIGQ9Ik0xNyAxMkg3IiAvPgogIDxwYXRoIGQ9Ik0xOSAxOUg1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/text-align-center\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TextAlignCenter = createLucideIcon('text-align-center', __iconNode);\n\nexport default TextAlignCenter;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M21 5H3', key: '1fi0y6' }],\n ['path', { d: 'M21 12H9', key: 'dn1m92' }],\n ['path', { d: 'M21 19H7', key: '4cu937' }],\n];\n\n/**\n * @component @name TextAlignEnd\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgNUgzIiAvPgogIDxwYXRoIGQ9Ik0yMSAxMkg5IiAvPgogIDxwYXRoIGQ9Ik0yMSAxOUg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/text-align-end\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TextAlignEnd = createLucideIcon('text-align-end', __iconNode);\n\nexport default TextAlignEnd;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M4 12h8', key: '17cfdx' }],\n ['path', { d: 'M4 18V6', key: '1rz3zl' }],\n ['path', { d: 'M12 18V6', key: 'zqpxq5' }],\n ['path', { d: 'm17 12 3-2v8', key: '1hhhft' }],\n];\n\n/**\n * @component @name Heading1\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxMmg4IiAvPgogIDxwYXRoIGQ9Ik00IDE4VjYiIC8+CiAgPHBhdGggZD0iTTEyIDE4VjYiIC8+CiAgPHBhdGggZD0ibTE3IDEyIDMtMnY4IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/heading-1\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Heading1 = createLucideIcon('heading-1', __iconNode);\n\nexport default Heading1;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z',\n key: 'zw3jo',\n },\n ],\n [\n 'path',\n {\n d: 'M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12',\n key: '1wduqc',\n },\n ],\n [\n 'path',\n {\n d: 'M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17',\n key: 'kqbvx6',\n },\n ],\n];\n\n/**\n * @component @name Layers\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuODMgMi4xOGEyIDIgMCAwIDAtMS42NiAwTDIuNiA2LjA4YTEgMSAwIDAgMCAwIDEuODNsOC41OCAzLjkxYTIgMiAwIDAgMCAxLjY2IDBsOC41OC0zLjlhMSAxIDAgMCAwIDAtMS44M3oiIC8+CiAgPHBhdGggZD0iTTIgMTJhMSAxIDAgMCAwIC41OC45MWw4LjYgMy45MWEyIDIgMCAwIDAgMS42NSAwbDguNTgtMy45QTEgMSAwIDAgMCAyMiAxMiIgLz4KICA8cGF0aCBkPSJNMiAxN2ExIDEgMCAwIDAgLjU4LjkxbDguNiAzLjkxYTIgMiAwIDAgMCAxLjY1IDBsOC41OC0zLjlBMSAxIDAgMCAwIDIyIDE3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/layers\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Layers = createLucideIcon('layers', __iconNode);\n\nexport default Layers;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'm21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72',\n key: 'ul74o6',\n },\n ],\n ['path', { d: 'm14 7 3 3', key: '1r5n42' }],\n ['path', { d: 'M5 6v4', key: 'ilb8ba' }],\n ['path', { d: 'M19 14v4', key: 'blhpug' }],\n ['path', { d: 'M10 2v2', key: '7u0qdc' }],\n ['path', { d: 'M7 8H3', key: 'zfb6yr' }],\n ['path', { d: 'M21 16h-4', key: '1cnmox' }],\n ['path', { d: 'M11 3H9', key: '1obp7u' }],\n];\n\n/**\n * @component @name WandSparkles\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEuNjQgMy42NC0xLjI4LTEuMjhhMS4yMSAxLjIxIDAgMCAwLTEuNzIgMEwyLjM2IDE4LjY0YTEuMjEgMS4yMSAwIDAgMCAwIDEuNzJsMS4yOCAxLjI4YTEuMiAxLjIgMCAwIDAgMS43MiAwTDIxLjY0IDUuMzZhMS4yIDEuMiAwIDAgMCAwLTEuNzIiIC8+CiAgPHBhdGggZD0ibTE0IDcgMyAzIiAvPgogIDxwYXRoIGQ9Ik01IDZ2NCIgLz4KICA8cGF0aCBkPSJNMTkgMTR2NCIgLz4KICA8cGF0aCBkPSJNMTAgMnYyIiAvPgogIDxwYXRoIGQ9Ik03IDhIMyIgLz4KICA8cGF0aCBkPSJNMjEgMTZoLTQiIC8+CiAgPHBhdGggZD0iTTExIDNIOSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/wand-sparkles\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst WandSparkles = createLucideIcon('wand-sparkles', __iconNode);\n\nexport default WandSparkles;\n"],"names":[],"mappings":"wDAEA,EAAA,EAAA,CAAA,CAAA,6BUmBa,CAAA,AIAP,AHAA,CAAA,ADAO,AIAP,ANAA,AMAA,CNAA,AGAA,ADAO,AIAP,MAAA,EAAA,mBJfG,CCAN,ARAA,AUAA,ACAA,ALAA,AFAA,AKAA,AJAA,uEEA+E,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,+BDc7C,CGAD,ACAH,AJAI,ANAF,6FMfY,CJApC,ADAoC,AKAA,CJApC,ADAoC,AKAA,CAAA,ALAA,ACApC,CDAoC,ACApC,AIAoC,AAAK,CAAA,AJAzC,ADAyC,CAAA,AKAA,AJAzC,CAAA,ADAyC,AKAA,CLAA,AKAA,AJAzC,CAAA,ADAyC,AKAA,CJAzC,ADAyC,AKAA,CJAzC,ADAyC,AKAA,CJAzC,qCIC6B,CFAC,IEAK,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,aCAzD,CAAA,6IPcc,EAAA,oBAhBrB,AAgB0D,CAAA,AUAJ,sZZjBxD,IAAA,EAAA,EAAA,CAAA,CAAA,geIC0E,CCAA,ACAA,AFAA,CEAA,ADAA,ADAA,CAAA,AEAA,ADAA,CCAA,AFAA,ACAA,QDAK,CAAU,CAAA,sEACd,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,QW0BrE,CAAA,CAAA,CAAA,CAAA,CAAA,C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e,KACjB,EA4QgB,UAAU,mHAEV,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,iBAAiB,CAAA,CAAC,KAAM,KAAM,kCASjD,GDhkBA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,IAAM,EAAY,CAAA,EAAA,EAAA,MAAA,AAAM,EAAuB,MACzC,SAAE,CAAO,MAAE,CAAI,kBAAE,CAAgB,eAAE,CAAa,gBAAE,CAAc,CAAE,CAAG,CAAA,EAAA,EAAA,iBAAA,AAAiB,IAE5F,GAAI,CAAC,EAAkB,OAAO,KAE9B,IAAM,EAAiB,EAAQ,QAAQ,EAAE,KAAK,GAAK,EAAE,EAAE,GAAK,GAE5D,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,ACsjBM,EDtjBN,CACG,IAAK,EACL,eAAgB,GAAgB,SAAW,GAC3C,OAAS,AAAD,GAAU,EAAc,EAAkB,CAAE,QAAS,CAAK,GAClE,cAAe,MAAO,EAAM,KACxB,IAAM,EAAS,MAAM,EAAA,OAAG,CAAC,EAAE,CAAC,SAAS,CAAC,EAAM,EAAM,GAAgB,SAAW,GAAI,GAEjF,OADA,IACO,CACX,GAGZ","ignoreList":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js index 1ff3ccf..b386f6c 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js @@ -1,6 +1,6 @@ -module.exports=[82451,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(37620),e=a.i(33782),f=a.i(46451),g=a.i(79320),h=a.i(73258),i=a.i(6111),j=a.i(72071);let k=(0,a.i(29892).default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]),l=["#ffffff","#dbeafe","#dcfce7","#fef9c3","#fee2e2","#f3e8ff"],m=c.default.memo(({node:a,isSelected:d,isEditing:e,isDragging:f,activeColorPickerId:l,entities:m,savedColors:n,onMouseDown:o,onMouseUp:p,onStartConnection:q,onUpdate:r,onSetEditing:s,onToggleColorPicker:t,onSaveColor:u,onNavigateToEntity:v,onInputFocus:w,onInputCheckAutocomplete:x,onKeyDownInInput:y})=>{let[z,A]=(0,c.useState)(!1),B=(0,c.useMemo)(()=>((a,c,d)=>{if(!a)return(0,b.jsx)("span",{className:"text-slate-400 italic",children:"Description..."});let e=[a];return c.forEach(a=>{if(!a.name)return;let c=RegExp(`(${a.name})`,"gi");for(let f=0;f1){let c=h.map((c,e)=>c.toLowerCase()===a.name.toLowerCase()?(0,b.jsx)("span",{onClick:b=>{b.stopPropagation(),d(a.id)},className:"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all",title:`Voir la fiche de ${a.name}`,children:c},`${a.id}-${e}`):c);e.splice(f,1,...c),f+=c.length-1}}}}),(0,b.jsx)(b.Fragment,{children:e})})(a.description,m,v),[a.description,m,v]);return(0,b.jsxs)("div",{className:`absolute flex flex-col rounded-xl shadow-sm border z-10 group +module.exports=[82451,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(37620),e=a.i(33782),f=a.i(46451),g=a.i(79320),h=a.i(73258),i=a.i(6111),j=a.i(72071);let k=(0,a.i(29892).default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);var l=a.i(54607);let m=["#ffffff","#dbeafe","#dcfce7","#fef9c3","#fee2e2","#f3e8ff"],n=c.default.memo(({node:a,isSelected:d,isEditing:e,isDragging:f,activeColorPickerId:m,entities:n,savedColors:o,onMouseDown:p,onMouseUp:q,onStartConnection:r,onUpdate:s,onSetEditing:t,onToggleColorPicker:u,onSaveColor:v,onNavigateToEntity:w,onInputFocus:x,onInputCheckAutocomplete:y,onKeyDownInInput:z})=>{let{t:A}=(0,l.useLanguage)(),[B,C]=(0,c.useState)(!1),D=(0,c.useMemo)(()=>((a,c,d,e)=>{if(!a)return(0,b.jsx)("span",{className:"text-slate-400 italic",children:e("sw.desc_ph")});let f=[a];return c.forEach(a=>{if(!a.name)return;let c=RegExp(`(${a.name})`,"gi");for(let g=0;g1){let c=i.map((c,f)=>c.toLowerCase()===a.name.toLowerCase()?(0,b.jsx)("span",{onClick:b=>{b.stopPropagation(),d(a.id)},className:"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all",title:e("sw.see_sheet")+a.name,children:c},`${a.id}-${f}`):c);f.splice(g,1,...c),g+=c.length-1}}}}),(0,b.jsx)(b.Fragment,{children:f})})(a.description,n,w,A),[a.description,n,w,A]);return(0,b.jsxs)("div",{className:`absolute flex flex-col rounded-xl shadow-sm border z-10 group ${f?"":"transition-all"} ${d?"ring-2 ring-indigo-500 shadow-lg scale-[1.01]":"border-slate-200 hover:shadow-md"} - `,style:{transform:`translate3d(${a.x}px, ${a.y}px, 0)`,width:260,height:220,backgroundColor:a.color||"#ffffff",willChange:"transform"},onMouseDown:b=>o(b,a.id),onMouseUp:b=>p(b,a.id),onDoubleClick:a=>a.stopPropagation(),onMouseLeave:()=>A(!1),children:[(0,b.jsx)("div",{className:"h-1.5 rounded-t-xl bg-black/5 w-full cursor-grab active:cursor-grabbing"}),(0,b.jsxs)("div",{className:"flex-1 px-4 pb-4 pt-2 flex flex-col overflow-hidden relative",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start mb-2 relative",children:[e?(0,b.jsx)("input",{className:"font-bold text-slate-800 bg-white/50 border-b border-indigo-400 outline-none w-full mr-6 text-sm p-1 rounded",value:a.title,onChange:b=>r(a.id,{title:b.target.value}),onFocus:w,autoFocus:!0}):(0,b.jsx)("div",{className:"font-bold text-slate-800 cursor-text truncate mr-6 text-sm",onDoubleClick:()=>s(a.id),children:a.title}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),t(a.id)},className:"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0",children:(0,b.jsx)(k,{size:14})}),l===a.id&&(0,b.jsxs)("div",{className:"absolute right-[-10px] top-8 bg-white rounded-lg shadow-xl border border-slate-200 p-3 z-50 w-48 animate-in fade-in zoom-in-95 duration-100 cursor-default",onMouseDown:a=>a.stopPropagation(),children:[(0,b.jsx)("div",{className:"grid grid-cols-4 gap-2 mb-3",children:n.map(c=>(0,b.jsx)("button",{onClick:()=>r(a.id,{color:c}),className:`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${a.color===c?"ring-2 ring-offset-1 ring-indigo-400":""}`,style:{backgroundColor:c}},c))}),(0,b.jsxs)("div",{className:"flex items-center gap-2 pt-2 border-t border-slate-100",children:[(0,b.jsx)("div",{className:"relative w-8 h-8 rounded-full overflow-hidden border border-slate-300 shadow-inner",children:(0,b.jsx)("input",{type:"color",className:"absolute -top-2 -left-2 w-16 h-16 cursor-pointer",value:a.color||"#ffffff",onChange:b=>r(a.id,{color:b.target.value})})}),(0,b.jsx)("button",{onClick:()=>u(a.color||"#ffffff"),className:"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right",children:"+ SAUVER"})]})]})]}),(0,b.jsx)("div",{className:"flex-1 overflow-y-auto custom-scrollbar relative mb-4",children:e?(0,b.jsx)("textarea",{className:`w-full h-full bg-white/70 resize-none outline-none text-xs leading-relaxed p-2 rounded border border-indigo-100 shadow-inner ${"dialogue"===a.type?"font-mono text-slate-700":"text-slate-600"}`,placeholder:"dialogue"===a.type?"Héros: Salut !\nGuide: ...":"Résumé de l'intrigue...",value:a.description,onChange:b=>x(b,a.id,"description"),onKeyDown:b=>y(b,a.id),onFocus:w,onBlur:()=>s(null)}):(0,b.jsx)("div",{className:`w-full h-full text-xs text-slate-600 leading-relaxed p-1 cursor-text whitespace-pre-wrap ${"dialogue"===a.type?"font-mono bg-indigo-50/30 rounded pl-2 border-l-2 border-indigo-200":""}`,onClick:()=>s(a.id),children:B})}),(0,b.jsxs)("div",{className:"absolute bottom-2 right-2 z-20",children:[z&&(0,b.jsxs)("div",{className:"absolute bottom-full mb-2 right-0 bg-white shadow-xl border border-slate-200 rounded-lg p-1 flex gap-1 animate-in zoom-in-95 duration-100 w-max",onMouseDown:a=>a.stopPropagation(),children:[(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),r(a.id,{type:"story"}),A(!1)},className:`p-1.5 rounded hover:bg-slate-100 ${"story"===a.type?"bg-indigo-50 ring-1 ring-indigo-200":""}`,title:"Narration",children:(0,b.jsx)(h.BookOpen,{size:14,className:"text-slate-500"})}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),r(a.id,{type:"action"}),A(!1)},className:`p-1.5 rounded hover:bg-amber-50 ${"action"===a.type?"bg-amber-50 ring-1 ring-amber-200":""}`,title:"Action",children:(0,b.jsx)(j.Zap,{size:14,className:"text-amber-500"})}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),r(a.id,{type:"dialogue"}),A(!1)},className:`p-1.5 rounded hover:bg-blue-50 ${"dialogue"===a.type?"bg-blue-50 ring-1 ring-blue-200":""}`,title:"Dialogue",children:(0,b.jsx)(i.MessageCircle,{size:14,className:"text-blue-500"})})]}),(0,b.jsxs)("button",{className:"p-1.5 rounded-full bg-white/70 hover:bg-white shadow-sm border border-slate-100 hover:border-indigo-200 transition-all opacity-80 group-hover:opacity-100",onClick:a=>{a.stopPropagation(),A(!z)},children:["story"===a.type&&(0,b.jsx)(h.BookOpen,{size:14,className:"text-slate-500"}),"action"===a.type&&(0,b.jsx)(j.Zap,{size:14,className:"text-amber-500"}),"dialogue"===a.type&&(0,b.jsx)(i.MessageCircle,{size:14,className:"text-blue-500"})]})]})]}),(0,b.jsx)("button",{className:"absolute -right-3 top-1/2 -translate-y-1/2 w-6 h-6 bg-white border border-slate-300 rounded-full flex items-center justify-center text-slate-400 hover:text-indigo-600 hover:border-indigo-500 shadow-sm opacity-0 group-hover:opacity-100 transition-all z-20",onMouseDown:b=>q(b,a.id),children:(0,b.jsx)(g.ArrowRight,{size:12})})]})},(a,b)=>a.node===b.node&&a.isSelected===b.isSelected&&a.isEditing===b.isEditing&&a.isDragging===b.isDragging&&a.activeColorPickerId===b.activeColorPickerId&&a.entities===b.entities),n=({data:a,onUpdate:g,entities:h,onNavigateToEntity:i})=>{let j=(0,c.useRef)(null),k=(0,c.useRef)(null),[n,o]=(0,c.useState)(a.nodes),p=(0,c.useRef)(n);(0,c.useEffect)(()=>{p.current=n},[n]),(0,c.useEffect)(()=>{o(a.nodes)},[a.nodes]),(0,c.useEffect)(()=>()=>{k.current&&cancelAnimationFrame(k.current)},[]);let[q,r]=(0,c.useState)(null),[s,t]=(0,c.useState)(new Set),[u,v]=(0,c.useState)(l),[w,x]=(0,c.useState)(null),[y,z]=(0,c.useState)(null),[A,B]=(0,c.useState)([]),[C,D]=(0,c.useState)(!1),[E,F]=(0,c.useState)(new Map),[G,H]=(0,c.useState)({x:0,y:0}),[I,J]=(0,c.useState)(null),[K,L]=(0,c.useState)({x:0,y:0}),[M,N]=(0,c.useState)(!1),[O,P]=(0,c.useState)({x:0,y:0}),[Q,R]=(0,c.useState)({x:0,y:0}),S=(0,c.useCallback)(()=>{B(b=>{let c=[...b,a];return c.length>20?c.slice(c.length-20):c})},[a]),T=(0,c.useCallback)((b,c)=>{let d=p.current;g({...a,nodes:d.map(a=>a.id===b?{...a,...c}:a)})},[a,g]),U=(0,c.useCallback)(a=>{a.stopPropagation()},[]),V=(0,c.useCallback)((a,b,c)=>{let e=a.target.value;T(b,{[c]:e});let f=a.target.selectionStart||0,g=e.slice(0,f).match(/([@#^])([^@#^\s]*)$/);if(g){let a=g[1],e=g[2].toLowerCase(),i="@"===a?d.EntityType.CHARACTER:"#"===a?d.EntityType.LOCATION:d.EntityType.OBJECT,j=h.filter(a=>a.type===i&&a.name.toLowerCase().includes(e));r({active:!0,trigger:a,query:e,nodeId:b,field:c,cursorIndex:f,selectedIndex:0,filteredEntities:j})}else r(null)},[T,h]),W=a=>{if(!q)return;let{nodeId:b,field:c,trigger:d,query:e}=q,f=p.current.find(a=>a.id===b);if(!f)return;let g=f[c],h=q.cursorIndex,i=h-(d.length+e.length);if(i<0)return;let j=g.slice(0,i),k=g.slice(h),l="dialogue"===f.type&&"@"===q.trigger;T(b,{[c]:j+a.name+(l?": ":" ")+k}),r(null)},X=(0,c.useCallback)((a,b)=>{if(q&&q.nodeId===b){if("ArrowDown"===a.key){a.preventDefault(),r(a=>a?{...a,selectedIndex:(a.selectedIndex+1)%a.filteredEntities.length}:null);return}else if("ArrowUp"===a.key){a.preventDefault(),r(a=>a?{...a,selectedIndex:(a.selectedIndex-1+a.filteredEntities.length)%a.filteredEntities.length}:null);return}else if("Tab"===a.key||"Enter"===a.key){a.preventDefault(),q.filteredEntities.length>0?W(q.filteredEntities[q.selectedIndex]):r(null);return}else if("Escape"===a.key)return void r(null)}},[q,h,T]),Y=(0,c.useCallback)((a,b)=>{a.stopPropagation(),x(null),t(c=>{let d=new Set(c);a.ctrlKey?d.has(b)?d.delete(b):d.add(b):d.has(b)||(d.clear(),d.add(b));let e=a.ctrlKey||d.has(b)?d:new Set([b]),f=new Map;return p.current.forEach(a=>{e.has(a.id)&&f.set(a.id,{x:a.x,y:a.y})}),F(f),d}),D(!0),H({x:a.clientX,y:a.clientY}),S()},[S]),Z=(0,c.useCallback)((a,b)=>{a.stopPropagation(),S(),J(b)},[S]),$=(0,c.useCallback)((b,c)=>{if(I&&I!==c&&!a.connections.some(a=>a.source===I&&a.target===c)){let b={id:`conn-${Date.now()}`,source:I,target:c};g({...a,nodes:p.current,connections:[...a.connections,b]})}J(null)},[a,g,I]),_=(0,c.useCallback)(a=>{x(b=>b===a?null:a)},[]),aa=(0,c.useCallback)(a=>{v(b=>b.includes(a)?b:[...b,a])},[]);return(0,b.jsxs)("div",{className:"h-full flex flex-col overflow-hidden bg-theme-bg relative transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"h-12 bg-theme-panel border-b border-theme-border flex items-center justify-between px-4 z-10 shadow-sm shrink-0 transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsxs)("button",{onClick:()=>{S();let b=j.current?.scrollLeft||0,c=j.current?.scrollTop||0,d=j.current?.clientWidth||800,e=j.current?.clientHeight||600,f={id:`node-${Date.now()}`,x:b+d/2-130,y:c+e/2-110,title:"Nouveau point d'intrigue",description:"",color:l[0],type:"story"};g({...a,nodes:[...p.current,f]}),t(new Set([f.id])),z(f.id)},className:"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 text-xs font-bold transition-all shadow-md shadow-indigo-100",children:[(0,b.jsx)(e.Plus,{size:14})," AJOUTER NŒUD"]}),(0,b.jsx)("div",{className:"w-px h-6 bg-theme-border mx-2"}),(0,b.jsx)("div",{className:"text-[10px] uppercase font-bold text-theme-muted tracking-wider",children:s.size>0?`${s.size} S\xc9LECTIONN\xc9(S)`:"Double-cliquez sur le canvas pour créer"})]}),(0,b.jsx)("div",{className:"flex items-center gap-2",children:(0,b.jsx)("button",{onClick:()=>{0===s.size||(S(),g({nodes:n.filter(a=>!s.has(a.id)),connections:a.connections.filter(a=>!s.has(a.source)&&!s.has(a.target))}),t(new Set))},disabled:0===s.size,className:"p-2 text-red-500 hover:bg-red-500/10 rounded-lg disabled:opacity-30 transition-colors",title:"Supprimer",children:(0,b.jsx)(f.Trash2,{size:16})})})]}),(0,b.jsxs)("div",{ref:j,className:"flex-1 overflow-auto relative cursor-grab active:cursor-grabbing bg-theme-bg canvas-grid transition-colors duration-300",onMouseDown:a=>{a.ctrlKey||t(new Set),r(null),x(null),z(null),N(!0),P({x:a.clientX,y:a.clientY}),j.current&&R({x:j.current.scrollLeft,y:j.current.scrollTop})},onMouseMove:a=>{let b=j.current?.getBoundingClientRect();if(!b)return;let c=a.clientX,d=a.clientY;if(M&&j.current){let a=c-O.x,b=d-O.y;j.current.scrollLeft=Q.x-a,j.current.scrollTop=Q.y-b;return}if(I){let a=j.current?.scrollLeft||0,e=j.current?.scrollTop||0;L({x:c-b.left+a,y:d-b.top+e})}if(C){if(k.current)return;k.current=requestAnimationFrame(()=>{let a=c-G.x,b=d-G.y;o(c=>c.map(c=>{let d=E.get(c.id);return d?{...c,x:d.x+a,y:d.y+b}:c})),k.current=null})}},onMouseUp:b=>{if(k.current&&(cancelAnimationFrame(k.current),k.current=null),C&&g({...a,nodes:p.current}),I&&j.current){let c=j.current.getBoundingClientRect(),d=j.current.scrollLeft,e=j.current.scrollTop,f=b.clientX-c.left+d,h=b.clientY-c.top+e,i=p.current.find(a=>a.id!==I&&f>=a.x&&f<=a.x+260&&h>=a.y&&h<=a.y+220);if(i&&!a.connections.some(a=>a.source===I&&a.target===i.id)){let b={id:`conn-${Date.now()}`,source:I,target:i.id};g({...a,nodes:p.current,connections:[...a.connections,b]})}}D(!1),N(!1),J(null)},onDoubleClick:b=>{b.preventDefault();let c=j.current?.getBoundingClientRect();if(!c)return;let d=b.clientX-c.left+(j.current?.scrollLeft||0)-130,e=b.clientY-c.top+(j.current?.scrollTop||0)-110;S();let f={id:`node-${Date.now()}`,x:d,y:e,title:"Nouvel événement",description:"",color:l[0],type:"story"};g({...a,nodes:[...p.current,f]}),t(new Set([f.id])),z(f.id)},style:{backgroundImage:"radial-gradient(var(--theme-border) 1px, transparent 1px)",backgroundSize:"24px 24px"},children:[(0,b.jsxs)("svg",{className:"absolute top-0 left-0 w-[4000px] h-[4000px] pointer-events-none z-0",children:[a.connections.map(a=>{let c=n.find(b=>b.id===a.source),d=n.find(b=>b.id===a.target);if(!c||!d)return null;let e=c.x+130,f=c.y+110,g=d.x+130,h=d.y+110;return(0,b.jsx)("line",{x1:e,y1:f,x2:g,y2:h,stroke:"var(--theme-border)",strokeWidth:"2",markerEnd:"url(#arrowhead)"},a.id)}),I&&(0,b.jsx)("line",{x1:(n.find(a=>a.id===I)?.x||0)+130,y1:(n.find(a=>a.id===I)?.y||0)+110,x2:K.x,y2:K.y,stroke:"#6366f1",strokeWidth:"2",strokeDasharray:"5,5",markerEnd:"url(#arrowhead-blue)"}),(0,b.jsxs)("defs",{children:[(0,b.jsx)("marker",{id:"arrowhead",markerWidth:"10",markerHeight:"7",refX:"28",refY:"3.5",orient:"auto",children:(0,b.jsx)("path",{d:"M0,0 L0,7 L10,3.5 Z",fill:"var(--theme-border)"})}),(0,b.jsx)("marker",{id:"arrowhead-blue",markerWidth:"10",markerHeight:"7",refX:"10",refY:"3.5",orient:"auto",children:(0,b.jsx)("path",{d:"M0,0 L0,7 L10,3.5 Z",fill:"#6366f1"})})]})]}),n.map(a=>(0,b.jsx)(m,{node:a,isSelected:s.has(a.id),isEditing:y===a.id,isDragging:C,activeColorPickerId:w,entities:h,savedColors:u,onMouseDown:Y,onMouseUp:$,onStartConnection:Z,onUpdate:T,onSetEditing:z,onToggleColorPicker:_,onSaveColor:aa,onNavigateToEntity:i,onInputFocus:U,onInputCheckAutocomplete:V,onKeyDownInInput:X},a.id))]}),q&&(0,b.jsxs)("div",{className:"fixed z-50 bg-white rounded-xl shadow-2xl border border-indigo-100 w-64 max-h-48 overflow-y-auto",style:{left:"50%",top:"50%",transform:"translate(-50%, -50%)"},children:[(0,b.jsxs)("div",{className:"px-3 py-2 bg-indigo-600 text-white text-[10px] font-black uppercase tracking-widest",children:["Insérer ","@"===q.trigger?"Personnage":"#"===q.trigger?"Lieu":"Objet"]}),(0,b.jsx)("div",{className:"divide-y divide-slate-50",children:q.filteredEntities.length>0?q.filteredEntities.map((a,c)=>(0,b.jsx)("button",{className:`w-full text-left px-4 py-3 text-xs flex items-center gap-3 hover:bg-indigo-50 transition-colors ${c===q.selectedIndex?"bg-indigo-50 text-indigo-700 font-bold":"text-slate-700"}`,onClick:()=>W(a),children:a.name},a.id)):(0,b.jsx)("div",{className:"p-4 text-xs text-slate-400 italic text-center",children:"Aucun résultat"})})]})]})};var o=a.i(46344),p=a.i(34896);function q(){let{project:a,projectId:c,updateProject:d}=(0,o.useProjectContext)(),e=(0,p.useRouter)();return(0,b.jsx)(n,{data:a.workflow||{nodes:[],connections:[]},onUpdate:a=>d({workflow:a}),entities:a.entities||[],onNavigateToEntity:()=>e.push(`/project/${c}/world`)})}a.s(["default",()=>q],82451)}]; + `,style:{transform:`translate3d(${a.x}px, ${a.y}px, 0)`,width:260,height:220,backgroundColor:a.color||"#ffffff",willChange:"transform"},onMouseDown:b=>p(b,a.id),onMouseUp:b=>q(b,a.id),onDoubleClick:a=>a.stopPropagation(),onMouseLeave:()=>C(!1),children:[(0,b.jsx)("div",{className:"h-1.5 rounded-t-xl bg-black/5 w-full cursor-grab active:cursor-grabbing"}),(0,b.jsxs)("div",{className:"flex-1 px-4 pb-4 pt-2 flex flex-col overflow-hidden relative",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start mb-2 relative",children:[e?(0,b.jsx)("input",{className:"font-bold text-slate-800 bg-white/50 border-b border-indigo-400 outline-none w-full mr-6 text-sm p-1 rounded",value:a.title,onChange:b=>s(a.id,{title:b.target.value}),onFocus:x,autoFocus:!0}):(0,b.jsx)("div",{className:"font-bold text-slate-800 cursor-text truncate mr-6 text-sm",onDoubleClick:()=>t(a.id),children:a.title}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),u(a.id)},className:"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0",children:(0,b.jsx)(k,{size:14})}),m===a.id&&(0,b.jsxs)("div",{className:"absolute right-[-10px] top-8 bg-white rounded-lg shadow-xl border border-slate-200 p-3 z-50 w-48 animate-in fade-in zoom-in-95 duration-100 cursor-default",onMouseDown:a=>a.stopPropagation(),children:[(0,b.jsx)("div",{className:"grid grid-cols-4 gap-2 mb-3",children:o.map(c=>(0,b.jsx)("button",{onClick:()=>s(a.id,{color:c}),className:`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${a.color===c?"ring-2 ring-offset-1 ring-indigo-400":""}`,style:{backgroundColor:c}},c))}),(0,b.jsxs)("div",{className:"flex items-center gap-2 pt-2 border-t border-slate-100",children:[(0,b.jsx)("div",{className:"relative w-8 h-8 rounded-full overflow-hidden border border-slate-300 shadow-inner",children:(0,b.jsx)("input",{type:"color",className:"absolute -top-2 -left-2 w-16 h-16 cursor-pointer",value:a.color||"#ffffff",onChange:b=>s(a.id,{color:b.target.value})})}),(0,b.jsx)("button",{onClick:()=>v(a.color||"#ffffff"),className:"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right",children:A("sw.save_color")})]})]})]}),(0,b.jsx)("div",{className:"flex-1 overflow-y-auto custom-scrollbar relative mb-4",children:e?(0,b.jsx)("textarea",{className:`w-full h-full bg-white/70 resize-none outline-none text-xs leading-relaxed p-2 rounded border border-indigo-100 shadow-inner ${"dialogue"===a.type?"font-mono text-slate-700":"text-slate-600"}`,placeholder:"dialogue"===a.type?A("sw.dialogue_ph"):A("sw.plot_ph"),value:a.description,onChange:b=>y(b,a.id,"description"),onKeyDown:b=>z(b,a.id),onFocus:x,onBlur:()=>t(null)}):(0,b.jsx)("div",{className:`w-full h-full text-xs text-slate-600 leading-relaxed p-1 cursor-text whitespace-pre-wrap ${"dialogue"===a.type?"font-mono bg-indigo-50/30 rounded pl-2 border-l-2 border-indigo-200":""}`,onClick:()=>t(a.id),children:D})}),(0,b.jsxs)("div",{className:"absolute bottom-2 right-2 z-20",children:[B&&(0,b.jsxs)("div",{className:"absolute bottom-full mb-2 right-0 bg-white shadow-xl border border-slate-200 rounded-lg p-1 flex gap-1 animate-in zoom-in-95 duration-100 w-max",onMouseDown:a=>a.stopPropagation(),children:[(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),s(a.id,{type:"story"}),C(!1)},className:`p-1.5 rounded hover:bg-slate-100 ${"story"===a.type?"bg-indigo-50 ring-1 ring-indigo-200":""}`,title:A("sw.type_story"),children:(0,b.jsx)(h.BookOpen,{size:14,className:"text-slate-500"})}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),s(a.id,{type:"action"}),C(!1)},className:`p-1.5 rounded hover:bg-amber-50 ${"action"===a.type?"bg-amber-50 ring-1 ring-amber-200":""}`,title:A("sw.type_action"),children:(0,b.jsx)(j.Zap,{size:14,className:"text-amber-500"})}),(0,b.jsx)("button",{onClick:b=>{b.stopPropagation(),s(a.id,{type:"dialogue"}),C(!1)},className:`p-1.5 rounded hover:bg-blue-50 ${"dialogue"===a.type?"bg-blue-50 ring-1 ring-blue-200":""}`,title:A("sw.type_dialogue"),children:(0,b.jsx)(i.MessageCircle,{size:14,className:"text-blue-500"})})]}),(0,b.jsxs)("button",{className:"p-1.5 rounded-full bg-white/70 hover:bg-white shadow-sm border border-slate-100 hover:border-indigo-200 transition-all opacity-80 group-hover:opacity-100",onClick:a=>{a.stopPropagation(),C(!B)},children:["story"===a.type&&(0,b.jsx)(h.BookOpen,{size:14,className:"text-slate-500"}),"action"===a.type&&(0,b.jsx)(j.Zap,{size:14,className:"text-amber-500"}),"dialogue"===a.type&&(0,b.jsx)(i.MessageCircle,{size:14,className:"text-blue-500"})]})]})]}),(0,b.jsx)("button",{className:"absolute -right-3 top-1/2 -translate-y-1/2 w-6 h-6 bg-white border border-slate-300 rounded-full flex items-center justify-center text-slate-400 hover:text-indigo-600 hover:border-indigo-500 shadow-sm opacity-0 group-hover:opacity-100 transition-all z-20",onMouseDown:b=>r(b,a.id),children:(0,b.jsx)(g.ArrowRight,{size:12})})]})},(a,b)=>a.node===b.node&&a.isSelected===b.isSelected&&a.isEditing===b.isEditing&&a.isDragging===b.isDragging&&a.activeColorPickerId===b.activeColorPickerId&&a.entities===b.entities),o=({data:a,onUpdate:g,entities:h,onNavigateToEntity:i})=>{let{t:j}=(0,l.useLanguage)(),k=(0,c.useRef)(null),o=(0,c.useRef)(null),[p,q]=(0,c.useState)(a.nodes),r=(0,c.useRef)(p);(0,c.useEffect)(()=>{r.current=p},[p]),(0,c.useEffect)(()=>{q(a.nodes)},[a.nodes]),(0,c.useEffect)(()=>()=>{o.current&&cancelAnimationFrame(o.current)},[]);let[s,t]=(0,c.useState)(null),[u,v]=(0,c.useState)(new Set),[w,x]=(0,c.useState)(m),[y,z]=(0,c.useState)(null),[A,B]=(0,c.useState)(null),[C,D]=(0,c.useState)([]),[E,F]=(0,c.useState)(!1),[G,H]=(0,c.useState)(new Map),[I,J]=(0,c.useState)({x:0,y:0}),[K,L]=(0,c.useState)(null),[M,N]=(0,c.useState)({x:0,y:0}),[O,P]=(0,c.useState)(!1),[Q,R]=(0,c.useState)({x:0,y:0}),[S,T]=(0,c.useState)({x:0,y:0}),U=(0,c.useCallback)(()=>{D(b=>{let c=[...b,a];return c.length>20?c.slice(c.length-20):c})},[a]),V=(0,c.useCallback)((b,c)=>{let d=r.current;g({...a,nodes:d.map(a=>a.id===b?{...a,...c}:a)})},[a,g]),W=(0,c.useCallback)(a=>{a.stopPropagation()},[]),X=(0,c.useCallback)((a,b,c)=>{let e=a.target.value;V(b,{[c]:e});let f=a.target.selectionStart||0,g=e.slice(0,f).match(/([@#^])([^@#^\s]*)$/);if(g){let a=g[1],e=g[2].toLowerCase(),i="@"===a?d.EntityType.CHARACTER:"#"===a?d.EntityType.LOCATION:d.EntityType.OBJECT,j=h.filter(a=>a.type===i&&a.name.toLowerCase().includes(e));t({active:!0,trigger:a,query:e,nodeId:b,field:c,cursorIndex:f,selectedIndex:0,filteredEntities:j})}else t(null)},[V,h]),Y=a=>{if(!s)return;let{nodeId:b,field:c,trigger:d,query:e}=s,f=r.current.find(a=>a.id===b);if(!f)return;let g=f[c],h=s.cursorIndex,i=h-(d.length+e.length);if(i<0)return;let j=g.slice(0,i),k=g.slice(h),l="dialogue"===f.type&&"@"===s.trigger;V(b,{[c]:j+a.name+(l?": ":" ")+k}),t(null)},Z=(0,c.useCallback)((a,b)=>{if(s&&s.nodeId===b){if("ArrowDown"===a.key){a.preventDefault(),t(a=>a?{...a,selectedIndex:(a.selectedIndex+1)%a.filteredEntities.length}:null);return}else if("ArrowUp"===a.key){a.preventDefault(),t(a=>a?{...a,selectedIndex:(a.selectedIndex-1+a.filteredEntities.length)%a.filteredEntities.length}:null);return}else if("Tab"===a.key||"Enter"===a.key){a.preventDefault(),s.filteredEntities.length>0?Y(s.filteredEntities[s.selectedIndex]):t(null);return}else if("Escape"===a.key)return void t(null)}},[s,h,V]),$=(0,c.useCallback)((a,b)=>{a.stopPropagation(),z(null),v(c=>{let d=new Set(c);a.ctrlKey?d.has(b)?d.delete(b):d.add(b):d.has(b)||(d.clear(),d.add(b));let e=a.ctrlKey||d.has(b)?d:new Set([b]),f=new Map;return r.current.forEach(a=>{e.has(a.id)&&f.set(a.id,{x:a.x,y:a.y})}),H(f),d}),F(!0),J({x:a.clientX,y:a.clientY}),U()},[U]),_=(0,c.useCallback)((a,b)=>{a.stopPropagation(),U(),L(b)},[U]),aa=(0,c.useCallback)((b,c)=>{if(K&&K!==c&&!a.connections.some(a=>a.source===K&&a.target===c)){let b={id:`conn-${Date.now()}`,source:K,target:c};g({...a,nodes:r.current,connections:[...a.connections,b]})}L(null)},[a,g,K]),ab=(0,c.useCallback)(a=>{z(b=>b===a?null:a)},[]),ac=(0,c.useCallback)(a=>{x(b=>b.includes(a)?b:[...b,a])},[]);return(0,b.jsxs)("div",{className:"h-full flex flex-col overflow-hidden bg-theme-bg relative transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"h-12 bg-theme-panel border-b border-theme-border flex items-center justify-between px-4 z-10 shadow-sm shrink-0 transition-colors duration-300",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsxs)("button",{onClick:()=>{U();let b=k.current?.scrollLeft||0,c=k.current?.scrollTop||0,d=k.current?.clientWidth||800,e=k.current?.clientHeight||600,f={id:`node-${Date.now()}`,x:b+d/2-130,y:c+e/2-110,title:j("sw.new_plot_point"),description:"",color:m[0],type:"story"};g({...a,nodes:[...r.current,f]}),v(new Set([f.id])),B(f.id)},className:"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 text-xs font-bold transition-all shadow-md shadow-indigo-100",children:[(0,b.jsx)(e.Plus,{size:14})," ",j("sw.add_node")]}),(0,b.jsx)("div",{className:"w-px h-6 bg-theme-border mx-2"}),(0,b.jsx)("div",{className:"text-[10px] uppercase font-bold text-theme-muted tracking-wider",children:u.size>0?`${u.size} ${j("sw.selected")}`:j("sw.double_click_create")})]}),(0,b.jsx)("div",{className:"flex items-center gap-2",children:(0,b.jsx)("button",{onClick:()=>{0===u.size||(U(),g({nodes:p.filter(a=>!u.has(a.id)),connections:a.connections.filter(a=>!u.has(a.source)&&!u.has(a.target))}),v(new Set))},disabled:0===u.size,className:"p-2 text-red-500 hover:bg-red-500/10 rounded-lg disabled:opacity-30 transition-colors",title:j("sw.delete"),children:(0,b.jsx)(f.Trash2,{size:16})})})]}),(0,b.jsxs)("div",{ref:k,className:"flex-1 overflow-auto relative cursor-grab active:cursor-grabbing bg-theme-bg canvas-grid transition-colors duration-300",onMouseDown:a=>{a.ctrlKey||v(new Set),t(null),z(null),B(null),P(!0),R({x:a.clientX,y:a.clientY}),k.current&&T({x:k.current.scrollLeft,y:k.current.scrollTop})},onMouseMove:a=>{let b=k.current?.getBoundingClientRect();if(!b)return;let c=a.clientX,d=a.clientY;if(O&&k.current){let a=c-Q.x,b=d-Q.y;k.current.scrollLeft=S.x-a,k.current.scrollTop=S.y-b;return}if(K){let a=k.current?.scrollLeft||0,e=k.current?.scrollTop||0;N({x:c-b.left+a,y:d-b.top+e})}if(E){if(o.current)return;o.current=requestAnimationFrame(()=>{let a=c-I.x,b=d-I.y;q(c=>c.map(c=>{let d=G.get(c.id);return d?{...c,x:d.x+a,y:d.y+b}:c})),o.current=null})}},onMouseUp:b=>{if(o.current&&(cancelAnimationFrame(o.current),o.current=null),E&&g({...a,nodes:r.current}),K&&k.current){let c=k.current.getBoundingClientRect(),d=k.current.scrollLeft,e=k.current.scrollTop,f=b.clientX-c.left+d,h=b.clientY-c.top+e,i=r.current.find(a=>a.id!==K&&f>=a.x&&f<=a.x+260&&h>=a.y&&h<=a.y+220);if(i&&!a.connections.some(a=>a.source===K&&a.target===i.id)){let b={id:`conn-${Date.now()}`,source:K,target:i.id};g({...a,nodes:r.current,connections:[...a.connections,b]})}}F(!1),P(!1),L(null)},onDoubleClick:b=>{b.preventDefault();let c=k.current?.getBoundingClientRect();if(!c)return;let d=b.clientX-c.left+(k.current?.scrollLeft||0)-130,e=b.clientY-c.top+(k.current?.scrollTop||0)-110;U();let f={id:`node-${Date.now()}`,x:d,y:e,title:j("sw.new_event"),description:"",color:m[0],type:"story"};g({...a,nodes:[...r.current,f]}),v(new Set([f.id])),B(f.id)},style:{backgroundImage:"radial-gradient(var(--theme-border) 1px, transparent 1px)",backgroundSize:"24px 24px"},children:[(0,b.jsxs)("svg",{className:"absolute top-0 left-0 w-[4000px] h-[4000px] pointer-events-none z-0",children:[a.connections.map(a=>{let c=p.find(b=>b.id===a.source),d=p.find(b=>b.id===a.target);if(!c||!d)return null;let e=c.x+130,f=c.y+110,g=d.x+130,h=d.y+110;return(0,b.jsx)("line",{x1:e,y1:f,x2:g,y2:h,stroke:"var(--theme-border)",strokeWidth:"2",markerEnd:"url(#arrowhead)"},a.id)}),K&&(0,b.jsx)("line",{x1:(p.find(a=>a.id===K)?.x||0)+130,y1:(p.find(a=>a.id===K)?.y||0)+110,x2:M.x,y2:M.y,stroke:"#6366f1",strokeWidth:"2",strokeDasharray:"5,5",markerEnd:"url(#arrowhead-blue)"}),(0,b.jsxs)("defs",{children:[(0,b.jsx)("marker",{id:"arrowhead",markerWidth:"10",markerHeight:"7",refX:"28",refY:"3.5",orient:"auto",children:(0,b.jsx)("path",{d:"M0,0 L0,7 L10,3.5 Z",fill:"var(--theme-border)"})}),(0,b.jsx)("marker",{id:"arrowhead-blue",markerWidth:"10",markerHeight:"7",refX:"10",refY:"3.5",orient:"auto",children:(0,b.jsx)("path",{d:"M0,0 L0,7 L10,3.5 Z",fill:"#6366f1"})})]})]}),p.map(a=>(0,b.jsx)(n,{node:a,isSelected:u.has(a.id),isEditing:A===a.id,isDragging:E,activeColorPickerId:y,entities:h,savedColors:w,onMouseDown:$,onMouseUp:aa,onStartConnection:_,onUpdate:V,onSetEditing:B,onToggleColorPicker:ab,onSaveColor:ac,onNavigateToEntity:i,onInputFocus:W,onInputCheckAutocomplete:X,onKeyDownInInput:Z},a.id))]}),s&&(0,b.jsxs)("div",{className:"fixed z-50 bg-white rounded-xl shadow-2xl border border-indigo-100 w-64 max-h-48 overflow-y-auto",style:{left:"50%",top:"50%",transform:"translate(-50%, -50%)"},children:[(0,b.jsx)("div",{className:"px-3 py-2 bg-indigo-600 text-white text-[10px] font-black uppercase tracking-widest",children:"@"===s.trigger?j("sw.insert_char"):"#"===s.trigger?j("sw.insert_loc"):j("sw.insert_obj")}),(0,b.jsx)("div",{className:"divide-y divide-slate-50",children:s.filteredEntities.length>0?s.filteredEntities.map((a,c)=>(0,b.jsx)("button",{className:`w-full text-left px-4 py-3 text-xs flex items-center gap-3 hover:bg-indigo-50 transition-colors ${c===s.selectedIndex?"bg-indigo-50 text-indigo-700 font-bold":"text-slate-700"}`,onClick:()=>Y(a),children:a.name},a.id)):(0,b.jsx)("div",{className:"p-4 text-xs text-slate-400 italic text-center",children:j("sw.no_result")})})]})]})};var p=a.i(46344),q=a.i(34896);function r(){let{project:a,projectId:c,updateProject:d}=(0,p.useProjectContext)(),e=(0,q.useRouter)();return(0,b.jsx)(o,{data:a.workflow||{nodes:[],connections:[]},onUpdate:a=>d({workflow:a}),entities:a.entities||[],onNavigateToEntity:()=>e.push(`/project/${c}/world`)})}a.s(["default",()=>r],82451)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_workflow_page_tsx_7c45eeec._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js.map b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js.map index b3dbb3f..9243537 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js.map +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_workflow_page_tsx_7c45eeec._.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/components/StoryWorkflow.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/workflow/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/palette.ts"],"sourcesContent":["'use client';\n\n\nimport React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';\nimport { WorkflowData, PlotNode, PlotConnection, PlotNodeType, Entity, EntityType } from '@/lib/types';\nimport { Plus, Trash2, ArrowRight, BookOpen, MessageCircle, Zap, Palette, Save, Link2 } from 'lucide-react';\n\ninterface StoryWorkflowProps {\n data: WorkflowData;\n onUpdate: (data: WorkflowData) => void;\n entities: Entity[];\n onNavigateToEntity: (entityId: string) => void;\n}\n\nconst CARD_WIDTH = 260;\nconst CARD_HEIGHT = 220;\n\nconst INITIAL_COLORS = [\n '#ffffff', // White\n '#dbeafe', // Blue\n '#dcfce7', // Green\n '#fef9c3', // Yellow\n '#fee2e2', // Red\n '#f3e8ff', // Purple\n];\n\nconst renderTextWithLinks = (text: string, entities: Entity[], onNavigate: (id: string) => void) => {\n if (!text) return Description...;\n\n const parts: (string | React.ReactNode)[] = [text];\n\n entities.forEach(entity => {\n if (!entity.name) return;\n const regex = new RegExp(`(${entity.name})`, 'gi');\n\n for (let i = 0; i < parts.length; i++) {\n const part = parts[i];\n if (typeof part === 'string') {\n const split = part.split(regex);\n if (split.length > 1) {\n const newParts = split.map((s, idx) => {\n if (s.toLowerCase() === entity.name.toLowerCase()) {\n return (\n { e.stopPropagation(); onNavigate(entity.id); }}\n className=\"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all\"\n title={`Voir la fiche de ${entity.name}`}\n >\n {s}\n \n );\n }\n return s;\n });\n parts.splice(i, 1, ...newParts);\n i += newParts.length - 1;\n }\n }\n }\n });\n\n return <>{parts};\n};\n\ninterface StoryNodeProps {\n node: PlotNode;\n isSelected: boolean;\n isEditing: boolean;\n isDragging: boolean;\n activeColorPickerId: string | null;\n entities: Entity[];\n savedColors: string[];\n\n onMouseDown: (e: React.MouseEvent, id: string) => void;\n onMouseUp: (e: React.MouseEvent, id: string) => void;\n onStartConnection: (e: React.MouseEvent, id: string) => void;\n onUpdate: (id: string, updates: Partial) => void;\n onSetEditing: (id: string | null) => void;\n onToggleColorPicker: (id: string) => void;\n onSaveColor: (color: string) => void;\n onNavigateToEntity: (id: string) => void;\n\n onInputFocus: (e: React.FocusEvent) => void;\n onInputCheckAutocomplete: (e: React.ChangeEvent, id: string, field: 'title' | 'description') => void;\n onKeyDownInInput: (e: React.KeyboardEvent, id: string) => void;\n}\n\nconst StoryNode = React.memo(({\n node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors,\n onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing,\n onToggleColorPicker, onSaveColor, onNavigateToEntity,\n onInputFocus, onInputCheckAutocomplete, onKeyDownInInput\n}: StoryNodeProps) => {\n\n const [showTypePicker, setShowTypePicker] = useState(false);\n\n const richDescription = useMemo(() => {\n return renderTextWithLinks(node.description, entities, onNavigateToEntity);\n }, [node.description, entities, onNavigateToEntity]);\n\n return (\n onMouseDown(e, node.id)}\n onMouseUp={(e) => onMouseUp(e, node.id)}\n onDoubleClick={(e) => e.stopPropagation()}\n onMouseLeave={() => setShowTypePicker(false)}\n >\n
\n\n
\n
\n {isEditing ? (\n onUpdate(node.id, { title: e.target.value })}\n onFocus={onInputFocus}\n autoFocus\n />\n ) : (\n onSetEditing(node.id)}\n >\n {node.title}\n
\n )}\n\n { e.stopPropagation(); onToggleColorPicker(node.id); }}\n className=\"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0\"\n >\n \n \n\n {activeColorPickerId === node.id && (\n
e.stopPropagation()}>\n
\n {savedColors.map(color => (\n onUpdate(node.id, { color })}\n className={`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${node.color === color ? 'ring-2 ring-offset-1 ring-indigo-400' : ''}`}\n style={{ backgroundColor: color }}\n />\n ))}\n
\n
\n
\n onUpdate(node.id, { color: e.target.value })}\n />\n
\n onSaveColor(node.color || '#ffffff')}\n className=\"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right\"\n >\n + SAUVER\n \n
\n
\n )}\n
\n\n
\n {isEditing ? (\n onInputCheckAutocomplete(e, node.id, 'description')}\n onKeyDown={(e) => onKeyDownInInput(e, node.id)}\n onFocus={onInputFocus}\n onBlur={() => onSetEditing(null)}\n />\n ) : (\n onSetEditing(node.id)}\n >\n {richDescription}\n
\n )}\n
\n\n
\n {showTypePicker && (\n
e.stopPropagation()}>\n { e.stopPropagation(); onUpdate(node.id, { type: 'story' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`}\n title=\"Narration\"\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'action' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`}\n title=\"Action\"\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'dialogue' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`}\n title=\"Dialogue\"\n >\n \n \n
\n )}\n\n { e.stopPropagation(); setShowTypePicker(!showTypePicker); }}\n >\n {node.type === 'story' && }\n {node.type === 'action' && }\n {node.type === 'dialogue' && }\n \n
\n
\n\n onStartConnection(e, node.id)}\n >\n \n \n
\n );\n}, (prev, next) => {\n return (\n prev.node === next.node &&\n prev.isSelected === next.isSelected &&\n prev.isEditing === next.isEditing &&\n prev.isDragging === next.isDragging &&\n prev.activeColorPickerId === next.activeColorPickerId &&\n prev.entities === next.entities\n );\n});\n\ninterface SuggestionState {\n active: boolean;\n trigger: string;\n query: string;\n nodeId: string;\n field: 'title' | 'description';\n cursorIndex: number;\n selectedIndex: number;\n filteredEntities: Entity[];\n}\n\nconst StoryWorkflow: React.FC = ({ data, onUpdate, entities, onNavigateToEntity }) => {\n const containerRef = useRef(null);\n const rafRef = useRef(null);\n\n const [internalNodes, setInternalNodes] = useState(data.nodes);\n const internalNodesRef = useRef(internalNodes);\n useEffect(() => { internalNodesRef.current = internalNodes; }, [internalNodes]);\n\n useEffect(() => {\n setInternalNodes(data.nodes);\n }, [data.nodes]);\n\n useEffect(() => {\n return () => {\n if (rafRef.current) cancelAnimationFrame(rafRef.current);\n };\n }, []);\n\n const [activeSuggestion, setActiveSuggestion] = useState(null);\n const [selectedNodeIds, setSelectedNodeIds] = useState>(new Set());\n const [savedColors, setSavedColors] = useState(INITIAL_COLORS);\n const [activeColorPickerId, setActiveColorPickerId] = useState(null);\n const [editingNodeId, setEditingNodeId] = useState(null);\n const [history, setHistory] = useState([]);\n\n const [isDragging, setIsDragging] = useState(false);\n const [dragStartPositions, setDragStartPositions] = useState>(new Map());\n const [dragStartMouse, setDragStartMouse] = useState({ x: 0, y: 0 });\n\n const [connectingNodeId, setConnectingNodeId] = useState(null);\n const [mousePos, setMousePos] = useState({ x: 0, y: 0 });\n\n const [isPanning, setIsPanning] = useState(false);\n const [panStart, setPanStart] = useState({ x: 0, y: 0 });\n const [scrollStart, setScrollStart] = useState({ x: 0, y: 0 });\n\n const pushHistory = useCallback(() => {\n setHistory(prev => {\n const newHistory = [...prev, data];\n if (newHistory.length > 20) return newHistory.slice(newHistory.length - 20);\n return newHistory;\n });\n }, [data]);\n\n const updateNode = useCallback((id: string, updates: Partial) => {\n const currentNodes = internalNodesRef.current;\n onUpdate({\n ...data,\n nodes: currentNodes.map(n => n.id === id ? { ...n, ...updates } : n)\n });\n }, [data, onUpdate]);\n\n const handleInputFocus = useCallback((e: React.FocusEvent) => {\n e.stopPropagation();\n }, []);\n\n const handleInputWithAutocomplete = useCallback((\n e: React.ChangeEvent,\n nodeId: string,\n field: 'title' | 'description'\n ) => {\n const val = e.target.value;\n updateNode(nodeId, { [field]: val });\n\n const cursor = e.target.selectionStart || 0;\n const textBeforeCursor = val.slice(0, cursor);\n const match = textBeforeCursor.match(/([@#^])([^@#^\\s]*)$/);\n\n if (match) {\n const trigger = match[1];\n const query = match[2].toLowerCase();\n const targetType = trigger === '@' ? EntityType.CHARACTER : trigger === '#' ? EntityType.LOCATION : EntityType.OBJECT;\n const filtered = entities.filter(ent =>\n ent.type === targetType &&\n ent.name.toLowerCase().includes(query)\n );\n\n setActiveSuggestion({\n active: true,\n trigger,\n query,\n nodeId,\n field,\n cursorIndex: cursor,\n selectedIndex: 0,\n filteredEntities: filtered\n });\n } else {\n setActiveSuggestion(null);\n }\n }, [updateNode, entities]);\n\n const insertEntity = (entity: Entity) => {\n if (!activeSuggestion) return;\n const { nodeId, field, trigger, query } = activeSuggestion;\n const node = internalNodesRef.current.find(n => n.id === nodeId);\n if (!node) return;\n const currentText = node[field] as string;\n const cursor = activeSuggestion.cursorIndex;\n const insertionLength = trigger.length + query.length;\n const startIdx = cursor - insertionLength;\n if (startIdx < 0) return;\n const before = currentText.slice(0, startIdx);\n const after = currentText.slice(cursor);\n const isDialogue = node.type === 'dialogue' && activeSuggestion.trigger === '@';\n const suffix = isDialogue ? \": \" : \" \";\n updateNode(nodeId, { [field]: before + entity.name + suffix + after });\n setActiveSuggestion(null);\n };\n\n const handleKeyDownInInput = useCallback((e: React.KeyboardEvent, nodeId: string) => {\n if (activeSuggestion && activeSuggestion.nodeId === nodeId) {\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex + 1) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex - 1 + prev.filteredEntities.length) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'Tab' || e.key === 'Enter') {\n e.preventDefault();\n if (activeSuggestion.filteredEntities.length > 0) {\n insertEntity(activeSuggestion.filteredEntities[activeSuggestion.selectedIndex]);\n } else {\n setActiveSuggestion(null);\n }\n return;\n } else if (e.key === 'Escape') {\n setActiveSuggestion(null);\n return;\n }\n }\n }, [activeSuggestion, entities, updateNode]);\n\n const handleNodeMouseDown = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n setActiveColorPickerId(null);\n\n setSelectedNodeIds(prevSelected => {\n const newSelection = new Set(prevSelected);\n if (e.ctrlKey) {\n if (newSelection.has(nodeId)) newSelection.delete(nodeId);\n else newSelection.add(nodeId);\n } else {\n if (!newSelection.has(nodeId)) {\n newSelection.clear();\n newSelection.add(nodeId);\n }\n }\n const finalDragIds = e.ctrlKey ? newSelection : (newSelection.has(nodeId) ? newSelection : new Set([nodeId]));\n const startPositions = new Map();\n internalNodesRef.current.forEach(n => {\n if (finalDragIds.has(n.id)) {\n startPositions.set(n.id, { x: n.x, y: n.y });\n }\n });\n setDragStartPositions(startPositions);\n return newSelection;\n });\n\n setIsDragging(true);\n setDragStartMouse({ x: e.clientX, y: e.clientY });\n pushHistory();\n }, [pushHistory]);\n\n const startConnection = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n pushHistory();\n setConnectingNodeId(nodeId);\n }, [pushHistory]);\n\n const finishConnection = useCallback((e: React.MouseEvent, targetId: string) => {\n if (connectingNodeId && connectingNodeId !== targetId) {\n const exists = data.connections.some(c => c.source === connectingNodeId && c.target === targetId);\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetId\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn]\n });\n }\n }\n setConnectingNodeId(null);\n }, [data, onUpdate, connectingNodeId]);\n\n const handleToggleColorPicker = useCallback((id: string) => {\n setActiveColorPickerId(prev => prev === id ? null : id);\n }, []);\n\n const handleSaveColor = useCallback((color: string) => {\n setSavedColors(prev => !prev.includes(color) ? [...prev, color] : prev);\n }, []);\n\n const handleMouseMove = (e: React.MouseEvent) => {\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const clientX = e.clientX;\n const clientY = e.clientY;\n\n if (isPanning && containerRef.current) {\n const dx = clientX - panStart.x;\n const dy = clientY - panStart.y;\n containerRef.current.scrollLeft = scrollStart.x - dx;\n containerRef.current.scrollTop = scrollStart.y - dy;\n return;\n }\n\n // Only update mousePos when connecting (drawing a line), not during node drag\n if (connectingNodeId) {\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n setMousePos({ x: clientX - rect.left + scrollLeft, y: clientY - rect.top + scrollTop });\n }\n\n if (isDragging) {\n if (rafRef.current) return;\n rafRef.current = requestAnimationFrame(() => {\n const dx = clientX - dragStartMouse.x;\n const dy = clientY - dragStartMouse.y;\n setInternalNodes(prevNodes => prevNodes.map(node => {\n const startPos = dragStartPositions.get(node.id);\n if (startPos) return { ...node, x: startPos.x + dx, y: startPos.y + dy };\n return node;\n }));\n rafRef.current = null;\n });\n }\n };\n\n const handleMouseUp = (e: React.MouseEvent) => {\n if (rafRef.current) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n if (isDragging) onUpdate({ ...data, nodes: internalNodesRef.current });\n\n // Hit-test: if connecting, check if mouse is over any node\n if (connectingNodeId && containerRef.current) {\n const rect = containerRef.current.getBoundingClientRect();\n const scrollLeft = containerRef.current.scrollLeft;\n const scrollTop = containerRef.current.scrollTop;\n const mx = e.clientX - rect.left + scrollLeft;\n const my = e.clientY - rect.top + scrollTop;\n\n const targetNode = internalNodesRef.current.find(n =>\n n.id !== connectingNodeId &&\n mx >= n.x && mx <= n.x + CARD_WIDTH &&\n my >= n.y && my <= n.y + CARD_HEIGHT\n );\n\n if (targetNode) {\n const exists = data.connections.some(\n c => c.source === connectingNodeId && c.target === targetNode.id\n );\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetNode.id,\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn],\n });\n }\n }\n }\n\n setIsDragging(false);\n setIsPanning(false);\n setConnectingNodeId(null);\n };\n\n const handleCanvasMouseDown = (e: React.MouseEvent) => {\n if (!e.ctrlKey) setSelectedNodeIds(new Set());\n setActiveSuggestion(null);\n setActiveColorPickerId(null);\n setEditingNodeId(null);\n setIsPanning(true);\n setPanStart({ x: e.clientX, y: e.clientY });\n if (containerRef.current) {\n setScrollStart({ x: containerRef.current.scrollLeft, y: containerRef.current.scrollTop });\n }\n };\n\n const handleCanvasDoubleClick = (e: React.MouseEvent) => {\n e.preventDefault();\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const x = e.clientX - rect.left + (containerRef.current?.scrollLeft || 0) - CARD_WIDTH / 2;\n const y = e.clientY - rect.top + (containerRef.current?.scrollTop || 0) - CARD_HEIGHT / 2;\n pushHistory();\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x,\n y,\n title: 'Nouvel événement',\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n const handleDeleteSelected = () => {\n if (selectedNodeIds.size === 0) return;\n pushHistory();\n const newNodes = internalNodes.filter(n => !selectedNodeIds.has(n.id));\n const newConnections = data.connections.filter(c => !selectedNodeIds.has(c.source) && !selectedNodeIds.has(c.target));\n onUpdate({ nodes: newNodes, connections: newConnections });\n setSelectedNodeIds(new Set());\n };\n\n const handleAddNodeCenter = () => {\n pushHistory();\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n const clientWidth = containerRef.current?.clientWidth || 800;\n const clientHeight = containerRef.current?.clientHeight || 600;\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2,\n y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2,\n title: 'Nouveau point d\\'intrigue',\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n return (\n
\n
\n
\n \n
\n
\n {selectedNodeIds.size > 0 ? `${selectedNodeIds.size} SÉLECTIONNÉ(S)` : 'Double-cliquez sur le canvas pour créer'}\n
\n
\n
\n \n
\n
\n\n \n \n {data.connections.map(conn => {\n const source = internalNodes.find(n => n.id === conn.source);\n const target = internalNodes.find(n => n.id === conn.target);\n if (!source || !target) return null;\n const startX = source.x + CARD_WIDTH / 2;\n const startY = source.y + CARD_HEIGHT / 2;\n const endX = target.x + CARD_WIDTH / 2;\n const endY = target.y + CARD_HEIGHT / 2;\n return (\n \n );\n })}\n {connectingNodeId && (\n n.id === connectingNodeId)?.x || 0) + CARD_WIDTH / 2}\n y1={(internalNodes.find(n => n.id === connectingNodeId)?.y || 0) + CARD_HEIGHT / 2}\n x2={mousePos.x} y2={mousePos.y}\n stroke=\"#6366f1\" strokeWidth=\"2\" strokeDasharray=\"5,5\" markerEnd=\"url(#arrowhead-blue)\"\n />\n )}\n \n \n \n \n \n \n \n \n \n\n {internalNodes.map(node => (\n \n ))}\n
\n\n {activeSuggestion && (\n
\n
\n Insérer {activeSuggestion.trigger === '@' ? 'Personnage' : activeSuggestion.trigger === '#' ? 'Lieu' : 'Objet'}\n
\n
\n {activeSuggestion.filteredEntities.length > 0 ? (\n activeSuggestion.filteredEntities.map((ent, idx) => (\n insertEntity(ent)}\n >\n {ent.name}\n \n ))\n ) : (\n
Aucun résultat
\n )}\n
\n
\n )}\n
\n );\n};\n\nexport default StoryWorkflow;\n","'use client';\r\n\r\nimport StoryWorkflow from '@/components/StoryWorkflow';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function WorkflowPage() {\r\n const { project, projectId, updateProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject({ workflow })}\r\n entities={project.entities || []}\r\n onNavigateToEntity={() => router.push(`/project/${projectId}/world`)}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z',\n key: 'e79jfc',\n },\n ],\n ['circle', { cx: '13.5', cy: '6.5', r: '.5', fill: 'currentColor', key: '1okk4w' }],\n ['circle', { cx: '17.5', cy: '10.5', r: '.5', fill: 'currentColor', key: 'f64h9f' }],\n ['circle', { cx: '6.5', cy: '12.5', r: '.5', fill: 'currentColor', key: 'qy21gx' }],\n ['circle', { cx: '8.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'fotxhn' }],\n];\n\n/**\n * @component @name Palette\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMjJhMSAxIDAgMCAxIDAtMjAgMTAgOSAwIDAgMSAxMCA5IDUgNSAwIDAgMS01IDVoLTIuMjVhMS43NSAxLjc1IDAgMCAwLTEuNCAyLjhsLjMuNGExLjc1IDEuNzUgMCAwIDEtMS40IDIuOHoiIC8+CiAgPGNpcmNsZSBjeD0iMTMuNSIgY3k9IjYuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSIxNy41IiBjeT0iMTAuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSI2LjUiIGN5PSIxMi41IiByPSIuNSIgZmlsbD0iY3VycmVudENvbG9yIiAvPgogIDxjaXJjbGUgY3g9IjguNSIgY3k9IjcuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/palette\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Palette = createLucideIcon('palette', __iconNode);\n\nexport default Palette;\n"],"names":[],"mappings":"wDAGA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,MAAA,EAAA,EAAA,CAAA,CAAA,OEuBA,CAAA,CAAA,CAAA,CAAM,EAAA,CAAA,EAAU,CAAA,CAAA,AAAV,CAAU,AAAV,CAAU,AAAV,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAzBG,CAClC,AAwB0C,CAvBxC,AAuBwC,CAvBxC,AAuBwC,CAvBxC,AAuBwC,CAvBxC,AAuBwC,CAAA,CAAA,CAAA,CAtBxC,AAsBwC,CArBtC,AAqBsC,CArBtC,AAqB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,WAAE,CAAS,eAAE,CAAa,CAAE,CAAG,CAAA,EAAA,EAAA,iBAAA,AAAiB,IACzD,EAAS,CAAA,EAAA,EAAA,SAAA,AAAS,IAExB,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,KAAM,EAAQ,QAAQ,EAAI,CAAE,MAAO,EAAE,CAAE,YAAa,EAAE,AAAC,EACvD,SAAU,AAAC,GAAa,EAAc,UAAE,CAAS,GACjD,SAAU,EAAQ,QAAQ,EAAI,EAAE,CAChC,mBAAoB,IAAM,EAAO,IAAI,CAAC,CAAC,SAAS,EAAE,EAAU,MAAM,CAAC,GAG/E","ignoreList":[2]} \ No newline at end of file +{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/components/StoryWorkflow.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/workflow/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/palette.ts"],"sourcesContent":["'use client';\n\n\nimport React, { useState, useRef, useEffect, useCallback, useMemo } from 'react';\nimport { WorkflowData, PlotNode, PlotConnection, PlotNodeType, Entity, EntityType } from '@/lib/types';\nimport { Plus, Trash2, ArrowRight, BookOpen, MessageCircle, Zap, Palette, Save, Link2 } from 'lucide-react';\nimport { useLanguage } from '@/providers/LanguageProvider';\n\ninterface StoryWorkflowProps {\n data: WorkflowData;\n onUpdate: (data: WorkflowData) => void;\n entities: Entity[];\n onNavigateToEntity: (entityId: string) => void;\n}\n\nconst CARD_WIDTH = 260;\nconst CARD_HEIGHT = 220;\n\nconst INITIAL_COLORS = [\n '#ffffff', // White\n '#dbeafe', // Blue\n '#dcfce7', // Green\n '#fef9c3', // Yellow\n '#fee2e2', // Red\n '#f3e8ff', // Purple\n];\n\nconst renderTextWithLinks = (text: string, entities: Entity[], onNavigate: (id: string) => void, t: any) => {\n if (!text) return {t('sw.desc_ph')};\n\n const parts: (string | React.ReactNode)[] = [text];\n\n entities.forEach(entity => {\n if (!entity.name) return;\n const regex = new RegExp(`(${entity.name})`, 'gi');\n\n for (let i = 0; i < parts.length; i++) {\n const part = parts[i];\n if (typeof part === 'string') {\n const split = part.split(regex);\n if (split.length > 1) {\n const newParts = split.map((s, idx) => {\n if (s.toLowerCase() === entity.name.toLowerCase()) {\n return (\n { e.stopPropagation(); onNavigate(entity.id); }}\n className=\"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all\"\n title={t('sw.see_sheet') + entity.name}\n >\n {s}\n \n );\n }\n return s;\n });\n parts.splice(i, 1, ...newParts);\n i += newParts.length - 1;\n }\n }\n }\n });\n\n return <>{parts};\n};\n\ninterface StoryNodeProps {\n node: PlotNode;\n isSelected: boolean;\n isEditing: boolean;\n isDragging: boolean;\n activeColorPickerId: string | null;\n entities: Entity[];\n savedColors: string[];\n\n onMouseDown: (e: React.MouseEvent, id: string) => void;\n onMouseUp: (e: React.MouseEvent, id: string) => void;\n onStartConnection: (e: React.MouseEvent, id: string) => void;\n onUpdate: (id: string, updates: Partial) => void;\n onSetEditing: (id: string | null) => void;\n onToggleColorPicker: (id: string) => void;\n onSaveColor: (color: string) => void;\n onNavigateToEntity: (id: string) => void;\n\n onInputFocus: (e: React.FocusEvent) => void;\n onInputCheckAutocomplete: (e: React.ChangeEvent, id: string, field: 'title' | 'description') => void;\n onKeyDownInInput: (e: React.KeyboardEvent, id: string) => void;\n}\n\nconst StoryNode = React.memo(({\n node, isSelected, isEditing, isDragging, activeColorPickerId, entities, savedColors,\n onMouseDown, onMouseUp, onStartConnection, onUpdate, onSetEditing,\n onToggleColorPicker, onSaveColor, onNavigateToEntity,\n onInputFocus, onInputCheckAutocomplete, onKeyDownInInput\n}: StoryNodeProps) => {\n const { t } = useLanguage();\n const [showTypePicker, setShowTypePicker] = useState(false);\n\n const richDescription = useMemo(() => {\n return renderTextWithLinks(node.description, entities, onNavigateToEntity, t);\n }, [node.description, entities, onNavigateToEntity, t]);\n\n return (\n onMouseDown(e, node.id)}\n onMouseUp={(e) => onMouseUp(e, node.id)}\n onDoubleClick={(e) => e.stopPropagation()}\n onMouseLeave={() => setShowTypePicker(false)}\n >\n
\n\n
\n
\n {isEditing ? (\n onUpdate(node.id, { title: e.target.value })}\n onFocus={onInputFocus}\n autoFocus\n />\n ) : (\n onSetEditing(node.id)}\n >\n {node.title}\n
\n )}\n\n { e.stopPropagation(); onToggleColorPicker(node.id); }}\n className=\"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0\"\n >\n \n \n\n {activeColorPickerId === node.id && (\n
e.stopPropagation()}>\n
\n {savedColors.map(color => (\n onUpdate(node.id, { color })}\n className={`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${node.color === color ? 'ring-2 ring-offset-1 ring-indigo-400' : ''}`}\n style={{ backgroundColor: color }}\n />\n ))}\n
\n
\n
\n onUpdate(node.id, { color: e.target.value })}\n />\n
\n onSaveColor(node.color || '#ffffff')}\n className=\"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right\"\n >\n {t('sw.save_color')}\n \n
\n
\n )}\n
\n\n
\n {isEditing ? (\n onInputCheckAutocomplete(e, node.id, 'description')}\n onKeyDown={(e) => onKeyDownInInput(e, node.id)}\n onFocus={onInputFocus}\n onBlur={() => onSetEditing(null)}\n />\n ) : (\n onSetEditing(node.id)}\n >\n {richDescription}\n
\n )}\n
\n\n
\n {showTypePicker && (\n
e.stopPropagation()}>\n { e.stopPropagation(); onUpdate(node.id, { type: 'story' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-slate-100 ${node.type === 'story' ? 'bg-indigo-50 ring-1 ring-indigo-200' : ''}`}\n title={t('sw.type_story')}\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'action' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-amber-50 ${node.type === 'action' ? 'bg-amber-50 ring-1 ring-amber-200' : ''}`}\n title={t('sw.type_action')}\n >\n \n \n { e.stopPropagation(); onUpdate(node.id, { type: 'dialogue' }); setShowTypePicker(false); }}\n className={`p-1.5 rounded hover:bg-blue-50 ${node.type === 'dialogue' ? 'bg-blue-50 ring-1 ring-blue-200' : ''}`}\n title={t('sw.type_dialogue')}\n >\n \n \n
\n )}\n\n { e.stopPropagation(); setShowTypePicker(!showTypePicker); }}\n >\n {node.type === 'story' && }\n {node.type === 'action' && }\n {node.type === 'dialogue' && }\n \n
\n
\n\n onStartConnection(e, node.id)}\n >\n \n \n
\n );\n}, (prev, next) => {\n return (\n prev.node === next.node &&\n prev.isSelected === next.isSelected &&\n prev.isEditing === next.isEditing &&\n prev.isDragging === next.isDragging &&\n prev.activeColorPickerId === next.activeColorPickerId &&\n prev.entities === next.entities\n );\n});\n\ninterface SuggestionState {\n active: boolean;\n trigger: string;\n query: string;\n nodeId: string;\n field: 'title' | 'description';\n cursorIndex: number;\n selectedIndex: number;\n filteredEntities: Entity[];\n}\n\nconst StoryWorkflow: React.FC = ({ data, onUpdate, entities, onNavigateToEntity }) => {\n const { t } = useLanguage();\n const containerRef = useRef(null);\n const rafRef = useRef(null);\n\n const [internalNodes, setInternalNodes] = useState(data.nodes);\n const internalNodesRef = useRef(internalNodes);\n useEffect(() => { internalNodesRef.current = internalNodes; }, [internalNodes]);\n\n useEffect(() => {\n setInternalNodes(data.nodes);\n }, [data.nodes]);\n\n useEffect(() => {\n return () => {\n if (rafRef.current) cancelAnimationFrame(rafRef.current);\n };\n }, []);\n\n const [activeSuggestion, setActiveSuggestion] = useState(null);\n const [selectedNodeIds, setSelectedNodeIds] = useState>(new Set());\n const [savedColors, setSavedColors] = useState(INITIAL_COLORS);\n const [activeColorPickerId, setActiveColorPickerId] = useState(null);\n const [editingNodeId, setEditingNodeId] = useState(null);\n const [history, setHistory] = useState([]);\n\n const [isDragging, setIsDragging] = useState(false);\n const [dragStartPositions, setDragStartPositions] = useState>(new Map());\n const [dragStartMouse, setDragStartMouse] = useState({ x: 0, y: 0 });\n\n const [connectingNodeId, setConnectingNodeId] = useState(null);\n const [mousePos, setMousePos] = useState({ x: 0, y: 0 });\n\n const [isPanning, setIsPanning] = useState(false);\n const [panStart, setPanStart] = useState({ x: 0, y: 0 });\n const [scrollStart, setScrollStart] = useState({ x: 0, y: 0 });\n\n const pushHistory = useCallback(() => {\n setHistory(prev => {\n const newHistory = [...prev, data];\n if (newHistory.length > 20) return newHistory.slice(newHistory.length - 20);\n return newHistory;\n });\n }, [data]);\n\n const updateNode = useCallback((id: string, updates: Partial) => {\n const currentNodes = internalNodesRef.current;\n onUpdate({\n ...data,\n nodes: currentNodes.map(n => n.id === id ? { ...n, ...updates } : n)\n });\n }, [data, onUpdate]);\n\n const handleInputFocus = useCallback((e: React.FocusEvent) => {\n e.stopPropagation();\n }, []);\n\n const handleInputWithAutocomplete = useCallback((\n e: React.ChangeEvent,\n nodeId: string,\n field: 'title' | 'description'\n ) => {\n const val = e.target.value;\n updateNode(nodeId, { [field]: val });\n\n const cursor = e.target.selectionStart || 0;\n const textBeforeCursor = val.slice(0, cursor);\n const match = textBeforeCursor.match(/([@#^])([^@#^\\s]*)$/);\n\n if (match) {\n const trigger = match[1];\n const query = match[2].toLowerCase();\n const targetType = trigger === '@' ? EntityType.CHARACTER : trigger === '#' ? EntityType.LOCATION : EntityType.OBJECT;\n const filtered = entities.filter(ent =>\n ent.type === targetType &&\n ent.name.toLowerCase().includes(query)\n );\n\n setActiveSuggestion({\n active: true,\n trigger,\n query,\n nodeId,\n field,\n cursorIndex: cursor,\n selectedIndex: 0,\n filteredEntities: filtered\n });\n } else {\n setActiveSuggestion(null);\n }\n }, [updateNode, entities]);\n\n const insertEntity = (entity: Entity) => {\n if (!activeSuggestion) return;\n const { nodeId, field, trigger, query } = activeSuggestion;\n const node = internalNodesRef.current.find(n => n.id === nodeId);\n if (!node) return;\n const currentText = node[field] as string;\n const cursor = activeSuggestion.cursorIndex;\n const insertionLength = trigger.length + query.length;\n const startIdx = cursor - insertionLength;\n if (startIdx < 0) return;\n const before = currentText.slice(0, startIdx);\n const after = currentText.slice(cursor);\n const isDialogue = node.type === 'dialogue' && activeSuggestion.trigger === '@';\n const suffix = isDialogue ? \": \" : \" \";\n updateNode(nodeId, { [field]: before + entity.name + suffix + after });\n setActiveSuggestion(null);\n };\n\n const handleKeyDownInInput = useCallback((e: React.KeyboardEvent, nodeId: string) => {\n if (activeSuggestion && activeSuggestion.nodeId === nodeId) {\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex + 1) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n setActiveSuggestion(prev => prev ? { ...prev, selectedIndex: (prev.selectedIndex - 1 + prev.filteredEntities.length) % prev.filteredEntities.length } : null);\n return;\n } else if (e.key === 'Tab' || e.key === 'Enter') {\n e.preventDefault();\n if (activeSuggestion.filteredEntities.length > 0) {\n insertEntity(activeSuggestion.filteredEntities[activeSuggestion.selectedIndex]);\n } else {\n setActiveSuggestion(null);\n }\n return;\n } else if (e.key === 'Escape') {\n setActiveSuggestion(null);\n return;\n }\n }\n }, [activeSuggestion, entities, updateNode]);\n\n const handleNodeMouseDown = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n setActiveColorPickerId(null);\n\n setSelectedNodeIds(prevSelected => {\n const newSelection = new Set(prevSelected);\n if (e.ctrlKey) {\n if (newSelection.has(nodeId)) newSelection.delete(nodeId);\n else newSelection.add(nodeId);\n } else {\n if (!newSelection.has(nodeId)) {\n newSelection.clear();\n newSelection.add(nodeId);\n }\n }\n const finalDragIds = e.ctrlKey ? newSelection : (newSelection.has(nodeId) ? newSelection : new Set([nodeId]));\n const startPositions = new Map();\n internalNodesRef.current.forEach(n => {\n if (finalDragIds.has(n.id)) {\n startPositions.set(n.id, { x: n.x, y: n.y });\n }\n });\n setDragStartPositions(startPositions);\n return newSelection;\n });\n\n setIsDragging(true);\n setDragStartMouse({ x: e.clientX, y: e.clientY });\n pushHistory();\n }, [pushHistory]);\n\n const startConnection = useCallback((e: React.MouseEvent, nodeId: string) => {\n e.stopPropagation();\n pushHistory();\n setConnectingNodeId(nodeId);\n }, [pushHistory]);\n\n const finishConnection = useCallback((e: React.MouseEvent, targetId: string) => {\n if (connectingNodeId && connectingNodeId !== targetId) {\n const exists = data.connections.some(c => c.source === connectingNodeId && c.target === targetId);\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetId\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn]\n });\n }\n }\n setConnectingNodeId(null);\n }, [data, onUpdate, connectingNodeId]);\n\n const handleToggleColorPicker = useCallback((id: string) => {\n setActiveColorPickerId(prev => prev === id ? null : id);\n }, []);\n\n const handleSaveColor = useCallback((color: string) => {\n setSavedColors(prev => !prev.includes(color) ? [...prev, color] : prev);\n }, []);\n\n const handleMouseMove = (e: React.MouseEvent) => {\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const clientX = e.clientX;\n const clientY = e.clientY;\n\n if (isPanning && containerRef.current) {\n const dx = clientX - panStart.x;\n const dy = clientY - panStart.y;\n containerRef.current.scrollLeft = scrollStart.x - dx;\n containerRef.current.scrollTop = scrollStart.y - dy;\n return;\n }\n\n // Only update mousePos when connecting (drawing a line), not during node drag\n if (connectingNodeId) {\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n setMousePos({ x: clientX - rect.left + scrollLeft, y: clientY - rect.top + scrollTop });\n }\n\n if (isDragging) {\n if (rafRef.current) return;\n rafRef.current = requestAnimationFrame(() => {\n const dx = clientX - dragStartMouse.x;\n const dy = clientY - dragStartMouse.y;\n setInternalNodes(prevNodes => prevNodes.map(node => {\n const startPos = dragStartPositions.get(node.id);\n if (startPos) return { ...node, x: startPos.x + dx, y: startPos.y + dy };\n return node;\n }));\n rafRef.current = null;\n });\n }\n };\n\n const handleMouseUp = (e: React.MouseEvent) => {\n if (rafRef.current) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n if (isDragging) onUpdate({ ...data, nodes: internalNodesRef.current });\n\n // Hit-test: if connecting, check if mouse is over any node\n if (connectingNodeId && containerRef.current) {\n const rect = containerRef.current.getBoundingClientRect();\n const scrollLeft = containerRef.current.scrollLeft;\n const scrollTop = containerRef.current.scrollTop;\n const mx = e.clientX - rect.left + scrollLeft;\n const my = e.clientY - rect.top + scrollTop;\n\n const targetNode = internalNodesRef.current.find(n =>\n n.id !== connectingNodeId &&\n mx >= n.x && mx <= n.x + CARD_WIDTH &&\n my >= n.y && my <= n.y + CARD_HEIGHT\n );\n\n if (targetNode) {\n const exists = data.connections.some(\n c => c.source === connectingNodeId && c.target === targetNode.id\n );\n if (!exists) {\n const newConn: PlotConnection = {\n id: `conn-${Date.now()}`,\n source: connectingNodeId,\n target: targetNode.id,\n };\n onUpdate({\n ...data,\n nodes: internalNodesRef.current,\n connections: [...data.connections, newConn],\n });\n }\n }\n }\n\n setIsDragging(false);\n setIsPanning(false);\n setConnectingNodeId(null);\n };\n\n const handleCanvasMouseDown = (e: React.MouseEvent) => {\n if (!e.ctrlKey) setSelectedNodeIds(new Set());\n setActiveSuggestion(null);\n setActiveColorPickerId(null);\n setEditingNodeId(null);\n setIsPanning(true);\n setPanStart({ x: e.clientX, y: e.clientY });\n if (containerRef.current) {\n setScrollStart({ x: containerRef.current.scrollLeft, y: containerRef.current.scrollTop });\n }\n };\n\n const handleCanvasDoubleClick = (e: React.MouseEvent) => {\n e.preventDefault();\n const rect = containerRef.current?.getBoundingClientRect();\n if (!rect) return;\n const x = e.clientX - rect.left + (containerRef.current?.scrollLeft || 0) - CARD_WIDTH / 2;\n const y = e.clientY - rect.top + (containerRef.current?.scrollTop || 0) - CARD_HEIGHT / 2;\n pushHistory();\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x,\n y,\n title: t('sw.new_event'),\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n const handleDeleteSelected = () => {\n if (selectedNodeIds.size === 0) return;\n pushHistory();\n const newNodes = internalNodes.filter(n => !selectedNodeIds.has(n.id));\n const newConnections = data.connections.filter(c => !selectedNodeIds.has(c.source) && !selectedNodeIds.has(c.target));\n onUpdate({ nodes: newNodes, connections: newConnections });\n setSelectedNodeIds(new Set());\n };\n\n const handleAddNodeCenter = () => {\n pushHistory();\n const scrollLeft = containerRef.current?.scrollLeft || 0;\n const scrollTop = containerRef.current?.scrollTop || 0;\n const clientWidth = containerRef.current?.clientWidth || 800;\n const clientHeight = containerRef.current?.clientHeight || 600;\n const newNode: PlotNode = {\n id: `node-${Date.now()}`,\n x: scrollLeft + clientWidth / 2 - CARD_WIDTH / 2,\n y: scrollTop + clientHeight / 2 - CARD_HEIGHT / 2,\n title: t('sw.new_plot_point'),\n description: '',\n color: INITIAL_COLORS[0],\n type: 'story'\n };\n onUpdate({ ...data, nodes: [...internalNodesRef.current, newNode] });\n setSelectedNodeIds(new Set([newNode.id]));\n setEditingNodeId(newNode.id);\n };\n\n return (\n
\n
\n
\n \n
\n
\n {selectedNodeIds.size > 0 ? `${selectedNodeIds.size} ${t('sw.selected')}` : t('sw.double_click_create')}\n
\n
\n
\n \n
\n
\n\n \n \n {data.connections.map(conn => {\n const source = internalNodes.find(n => n.id === conn.source);\n const target = internalNodes.find(n => n.id === conn.target);\n if (!source || !target) return null;\n const startX = source.x + CARD_WIDTH / 2;\n const startY = source.y + CARD_HEIGHT / 2;\n const endX = target.x + CARD_WIDTH / 2;\n const endY = target.y + CARD_HEIGHT / 2;\n return (\n \n );\n })}\n {connectingNodeId && (\n n.id === connectingNodeId)?.x || 0) + CARD_WIDTH / 2}\n y1={(internalNodes.find(n => n.id === connectingNodeId)?.y || 0) + CARD_HEIGHT / 2}\n x2={mousePos.x} y2={mousePos.y}\n stroke=\"#6366f1\" strokeWidth=\"2\" strokeDasharray=\"5,5\" markerEnd=\"url(#arrowhead-blue)\"\n />\n )}\n \n \n \n \n \n \n \n \n \n\n {internalNodes.map(node => (\n \n ))}\n
\n\n {activeSuggestion && (\n
\n
\n {activeSuggestion.trigger === '@' ? t('sw.insert_char') : activeSuggestion.trigger === '#' ? t('sw.insert_loc') : t('sw.insert_obj')}\n
\n
\n {activeSuggestion.filteredEntities.length > 0 ? (\n activeSuggestion.filteredEntities.map((ent, idx) => (\n insertEntity(ent)}\n >\n {ent.name}\n \n ))\n ) : (\n
{t('sw.no_result')}
\n )}\n
\n
\n )}\n
\n );\n};\n\nexport default StoryWorkflow;\n","'use client';\r\n\r\nimport StoryWorkflow from '@/components/StoryWorkflow';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function WorkflowPage() {\r\n const { project, projectId, updateProject } = useProjectContext();\r\n const router = useRouter();\r\n\r\n return (\r\n updateProject({ workflow })}\r\n entities={project.entities || []}\r\n onNavigateToEntity={() => router.push(`/project/${projectId}/world`)}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z',\n key: 'e79jfc',\n },\n ],\n ['circle', { cx: '13.5', cy: '6.5', r: '.5', fill: 'currentColor', key: '1okk4w' }],\n ['circle', { cx: '17.5', cy: '10.5', r: '.5', fill: 'currentColor', key: 'f64h9f' }],\n ['circle', { cx: '6.5', cy: '12.5', r: '.5', fill: 'currentColor', key: 'qy21gx' }],\n ['circle', { cx: '8.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'fotxhn' }],\n];\n\n/**\n * @component @name Palette\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMjJhMSAxIDAgMCAxIDAtMjAgMTAgOSAwIDAgMSAxMCA5IDUgNSAwIDAgMS01IDVoLTIuMjVhMS43NSAxLjc1IDAgMCAwLTEuNCAyLjhsLjMuNGExLjc1IDEuNzUgMCAwIDEtMS40IDIuOHoiIC8+CiAgPGNpcmNsZSBjeD0iMTMuNSIgY3k9IjYuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSIxNy41IiBjeT0iMTAuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KICA8Y2lyY2xlIGN4PSI2LjUiIGN5PSIxMi41IiByPSIuNSIgZmlsbD0iY3VycmVudENvbG9yIiAvPgogIDxjaXJjbGUgY3g9IjguNSIgY3k9IjcuNSIgcj0iLjUiIGZpbGw9ImN1cnJlbnRDb2xvciIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/palette\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Palette = createLucideIcon('palette', __i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,EACvD,SAAU,AAAC,GAAa,EAAc,UAAE,CAAS,GACjD,SAAU,EAAQ,QAAQ,EAAI,EAAE,CAChC,mBAAoB,IAAM,EAAO,IAAI,CAAC,CAAC,SAAS,EAAE,EAAU,MAAM,CAAC,GAG/E","ignoreList":[2]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js index 72a4976..df9834e 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js @@ -1,3 +1,3 @@ -module.exports=[85105,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(37620),e=a.i(33782),f=a.i(46451),g=a.i(98205),h=a.i(40400),i=a.i(806),j=a.i(82772),k=a.i(29892);let l=(0,k.default)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]),m=(0,k.default)("ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);var n=a.i(20769),o=a.i(75108),p=a.i(35165),q=a.i(68239);let r={age:30,height:175,hair:"Brun",eyes:"Marron",archetype:"Le Héros",role:"support",personality:{spectrumIntrovertExtravert:50,spectrumEmotionalRational:50,spectrumChaoticLawful:50},physicalQuirk:"",behavioralQuirk:""},s=({entities:a,onCreate:k,onUpdate:s,onDelete:t,templates:u,onUpdateTemplates:v,initialSelectedId:w})=>{let x,[y,z]=(0,c.useState)(null),[A,B]=(0,c.useState)(null),[C,D]=(0,c.useState)("entities"),[E,F]=(0,c.useState)(d.EntityType.CHARACTER);(0,c.useEffect)(()=>{if(w){let b=a.find(a=>a.id===w);b&&(H(b),D("entities"))}},[w,a]);let G=(0,c.useMemo)(()=>{let b=a.filter(a=>a.type===d.EntityType.CHARACTER&&a.attributes?.archetype).map(a=>a.attributes.archetype);return Array.from(new Set([...q.ARCHETYPES,...b])).sort()},[a]),H=a=>{let b={...a};a.type!==d.EntityType.CHARACTER||a.attributes||(b.attributes={...r}),a.customValues||(b.customValues={}),B(b),z(a.id)},I=async()=>{if(A&&A.name){if("NEW"===y){let{id:a,...b}=A;await k(b)}else s(A.id,A);z(null),B(null)}},J=(a,b)=>{A&&A.attributes&&B({...A,attributes:{...A.attributes,[a]:b}})},K=(a,b)=>{A&&A.attributes&&B({...A,attributes:{...A.attributes,personality:{...A.attributes.personality,[a]:b}}})},L=(a,b)=>{A&&B({...A,customValues:{...A.customValues,[a]:b}})},M=(a,b,c)=>{v(u.map(d=>d.entityType!==a?d:{...d,fields:d.fields.map(a=>a.id===b?{...a,...c}:a)}))},N=b=>a.filter(a=>a.type===b);if("templates"===C){let a;return(0,b.jsxs)("div",{className:"flex h-full gap-6 p-6 bg-theme-bg",children:[(0,b.jsx)("div",{className:"w-1/3 opacity-50 pointer-events-none filter blur-[1px]",children:(0,b.jsxs)("div",{className:"bg-theme-panel rounded-lg p-6 shadow-sm border border-theme-border",children:[(0,b.jsx)("h3",{className:"font-bold text-theme-text mb-4",children:"Aperçu Fiches"}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"}),(0,b.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"}),(0,b.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"})]})]})}),(a=u.find(a=>a.entityType===E)||{entityType:E,fields:[]},(0,b.jsxs)("div",{className:"flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-8 overflow-y-auto",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start mb-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-2xl font-bold text-theme-text flex items-center gap-2",children:[(0,b.jsx)(o.Layout,{size:24,className:"text-indigo-600"})," Éditeur de Modèles"]}),(0,b.jsx)("p",{className:"text-theme-muted text-sm mt-1",children:"Configurez les champs personnalisés pour chaque type de fiche."})]}),(0,b.jsx)("button",{onClick:()=>D("entities"),className:"p-2 text-theme-muted hover:bg-theme-border rounded-full",children:(0,b.jsx)(h.X,{size:20})})]}),(0,b.jsx)("div",{className:"flex gap-2 mb-8 border-b border-theme-border pb-1",children:Object.values(d.EntityType).map(a=>(0,b.jsx)("button",{onClick:()=>F(a),className:`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${E===a?"bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600":"text-theme-muted hover:text-theme-text hover:bg-theme-panel/50"}`,children:a},a))}),(0,b.jsxs)("div",{className:"space-y-4",children:[a.fields.map((a,c)=>(0,b.jsxs)("div",{className:"bg-theme-bg border border-theme-border rounded-lg p-4 flex gap-4 items-start group",children:[(0,b.jsxs)("div",{className:"flex-1 grid grid-cols-2 gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Nom du champ"}),(0,b.jsx)("input",{type:"text",value:a.label,onChange:b=>M(E,a.id,{label:b.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Type"}),(0,b.jsxs)("select",{value:a.type,onChange:b=>M(E,a.id,{type:b.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:[(0,b.jsx)("option",{value:"text",children:"Texte court"}),(0,b.jsx)("option",{value:"textarea",children:"Texte long"}),(0,b.jsx)("option",{value:"number",children:"Nombre"}),(0,b.jsx)("option",{value:"boolean",children:"Case à cocher"}),(0,b.jsx)("option",{value:"select",children:"Liste déroulante"})]})]}),"select"===a.type&&(0,b.jsxs)("div",{className:"col-span-2",children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Options (séparées par des virgules)"}),(0,b.jsx)("input",{type:"text",value:a.options?.join(",")||"",onChange:b=>M(E,a.id,{options:b.target.value.split(",").map(a=>a.trim())}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",placeholder:"Option A, Option B, Option C"})]})]}),(0,b.jsx)("button",{onClick:()=>{var b;return b=a.id,void v(u.map(a=>a.entityType!==E?a:{...a,fields:a.fields.filter(a=>a.id!==b)}))},className:"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5",children:(0,b.jsx)(f.Trash2,{size:16})})]},a.id)),(0,b.jsxs)("button",{onClick:()=>{let a,b;return a={id:`field-${Date.now()}`,label:"Nouveau Champ",type:"text",placeholder:""},void(!(b=u.map(b=>b.entityType===E?{...b,fields:[...b.fields,a]}:b)).some(a=>a.entityType===E)&&b.push({entityType:E,fields:[a]}),v(b))},className:"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2",children:[(0,b.jsx)(e.Plus,{size:20})," Ajouter un champ"]})]})]}))]})}return(0,b.jsxs)("div",{className:"flex h-full gap-6 p-6 bg-theme-bg",children:[(0,b.jsxs)("div",{className:"w-1/3 flex flex-col gap-4",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center px-1",children:[(0,b.jsx)("h2",{className:"text-lg font-bold text-theme-text",children:"Explorateur"}),(0,b.jsxs)("button",{onClick:()=>D("templates"),className:"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors",title:"Gérer les modèles de fiches",children:[(0,b.jsx)(n.Settings,{size:14})," Modèles"]})]}),(0,b.jsx)("div",{className:"space-y-6 overflow-y-auto pr-2 pb-4 flex-1",children:Object.values(d.EntityType).map(a=>(0,b.jsxs)("div",{className:"bg-theme-panel rounded-lg shadow-sm border border-theme-border overflow-hidden",children:[(0,b.jsxs)("div",{className:"bg-indigo-500/10 p-3 border-b border-theme-border flex justify-between items-center",children:[(0,b.jsxs)("h3",{className:"font-semibold text-theme-text flex items-center gap-2",children:[(0,b.jsx)("span",{children:q.ENTITY_ICONS[a]})," ",a,"s"]}),(0,b.jsx)("button",{onClick:()=>{B({id:Date.now().toString(),type:a,name:"",description:"",details:"",storyContext:"",attributes:a===d.EntityType.CHARACTER?{...r}:void 0,customValues:{}}),z("NEW")},className:"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors",children:(0,b.jsx)(e.Plus,{size:16})})]}),(0,b.jsxs)("div",{className:"divide-y divide-slate-100",children:[0===N(a).length&&(0,b.jsx)("p",{className:"p-4 text-sm text-theme-muted italic text-center",children:"Aucun élément"}),N(a).map(a=>(0,b.jsxs)("div",{onClick:()=>H(a),className:`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${y===a.id?"bg-blue-500/10 border-l-4 border-blue-500":""}`,children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"font-medium text-theme-text",children:a.name}),(0,b.jsx)("div",{className:"text-xs text-theme-muted truncate",children:a.description})]}),(0,b.jsx)("button",{onClick:b=>{var c;b.stopPropagation(),c=a.id,confirm("Supprimer cet élément ?")&&(t(c),y===c&&(z(null),B(null)))},className:"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity",children:(0,b.jsx)(f.Trash2,{size:14})})]},a.id))]})]},a))})]}),(0,b.jsx)("div",{className:"flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-8 overflow-y-auto",children:y&&A?(0,b.jsxs)("div",{className:"space-y-6 animate-in fade-in duration-200",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start",children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("span",{className:`inline-block px-2 py-1 rounded text-xs font-bold uppercase tracking-wider ${q.ENTITY_COLORS[A.type]}`,children:A.type}),(0,b.jsx)("h2",{className:"text-2xl font-bold text-theme-text",children:A.type===d.EntityType.CHARACTER?"Fiche Personnage":"Édition de la fiche"})]}),(0,b.jsx)("div",{className:"flex gap-2",children:(0,b.jsx)("button",{onClick:()=>z(null),className:"p-2 text-theme-muted hover:bg-theme-border rounded-full",children:(0,b.jsx)(h.X,{size:20})})})]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:"Nom"}),(0,b.jsx)("input",{type:"text",value:A.name,onChange:a=>B({...A,name:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg",placeholder:"Ex: Gandalf le Gris"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:"Description Courte (pour l'IA)"}),(0,b.jsx)("textarea",{value:A.description,onChange:a=>B({...A,description:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20",placeholder:"Un magicien puissant qui guide la communauté..."})]}),A.type===d.EntityType.CHARACTER&&(()=>{if(!A?.attributes)return null;let a=A.attributes;return(0,b.jsxs)("div",{className:"space-y-8 border-t border-theme-border pt-6 mt-4",children:[(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(j.User,{size:16})," Identité Narrative"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-2",children:"Archétype"}),(0,b.jsx)("input",{type:"text",list:"archetype-suggestions",value:a.archetype,onChange:a=>J("archetype",a.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500",placeholder:"Ex: Le Héros, Le Sage..."}),(0,b.jsx)("datalist",{id:"archetype-suggestions",children:G.map(a=>(0,b.jsx)("option",{value:a},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-2",children:"Rôle dans l'histoire"}),(0,b.jsx)("div",{className:"flex gap-2 flex-wrap",children:[{val:"protagonist",label:"Protagoniste"},{val:"antagonist",label:"Antagoniste"},{val:"support",label:"Secondaire"},{val:"extra",label:"Figurant"}].map(c=>(0,b.jsxs)("label",{className:`cursor-pointer px-3 py-1.5 rounded text-xs border transition-colors ${a.role===c.val?"bg-indigo-100 border-indigo-300 text-indigo-700 font-bold":"bg-theme-bg border-theme-border text-theme-muted hover:bg-theme-border"}`,children:[(0,b.jsx)("input",{type:"radio",name:"role",value:c.val,checked:a.role===c.val,onChange:()=>J("role",c.val),className:"hidden"}),c.label]},c.val))})]})]})]}),(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(m,{size:16})," Apparence Physique"]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"flex justify-between text-xs mb-1",children:(0,b.jsx)("label",{className:"font-semibold text-theme-muted",children:"Âge (ans)"})}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("input",{type:"range",min:"1",max:"100",value:Math.min(a.age,100),onChange:a=>J("age",parseInt(a.target.value)),className:"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"}),(0,b.jsx)("input",{type:"number",value:a.age,onChange:a=>J("age",parseInt(a.target.value)),className:"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"flex justify-between text-xs mb-1",children:(0,b.jsx)("label",{className:"font-semibold text-theme-muted",children:"Taille (cm)"})}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("input",{type:"range",min:"50",max:"250",value:Math.min(a.height,250),onChange:a=>J("height",parseInt(a.target.value)),className:"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"}),(0,b.jsx)("input",{type:"number",value:a.height,onChange:a=>J("height",parseInt(a.target.value)),className:"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none"})]})]})]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Cheveux"}),(0,b.jsx)("select",{value:a.hair,onChange:a=>J("hair",a.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:q.HAIR_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Yeux"}),(0,b.jsx)("select",{value:a.eyes,onChange:a=>J("eyes",a.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:q.EYE_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Signe distinctif"}),(0,b.jsx)("input",{type:"text",value:a.physicalQuirk,onChange:a=>J("physicalQuirk",a.target.value),placeholder:"Cicatrice, tatouage...",className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400"})]})]})]})]}),(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(l,{size:16})," Psychologie & Comportement"]}),(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{className:"space-y-4 px-2",children:[(0,b.jsxs)("div",{className:"relative pt-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,b.jsx)("span",{children:"Introverti"}),(0,b.jsx)("span",{children:"Extraverti"})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",value:a.personality.spectrumIntrovertExtravert,onChange:a=>K("spectrumIntrovertExtravert",parseInt(a.target.value)),className:"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]}),(0,b.jsxs)("div",{className:"relative pt-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,b.jsx)("span",{children:"Émotionnel"}),(0,b.jsx)("span",{children:"Rationnel"})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",value:a.personality.spectrumEmotionalRational,onChange:a=>K("spectrumEmotionalRational",parseInt(a.target.value)),className:"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]}),(0,b.jsxs)("div",{className:"relative pt-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,b.jsx)("span",{children:"Chaotique"}),(0,b.jsx)("span",{children:"Loyal"})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",value:a.personality.spectrumChaoticLawful,onChange:a=>K("spectrumChaoticLawful",parseInt(a.target.value)),className:"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]})]}),(0,b.jsxs)("div",{className:"border-t border-theme-border pt-4",children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Toc ou habitude comportementale"}),(0,b.jsx)("input",{type:"text",value:a.behavioralQuirk,onChange:a=>J("behavioralQuirk",a.target.value),placeholder:"Joue avec sa bague, bégaie quand il ment...",className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400"})]})]})]})]})})(),(x=u.find(a=>a.entityType===A?.type))&&0!==x.fields.length?(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border mt-6",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(p.List,{size:16})," Champs Personnalisés"]}),(0,b.jsx)("div",{className:"grid grid-cols-1 gap-4",children:x.fields.map(a=>{let c=A?.customValues?.[a.id]??"";return(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:a.label}),"textarea"===a.type?(0,b.jsx)("textarea",{value:c,onChange:b=>L(a.id,b.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",placeholder:a.placeholder}):"select"===a.type?(0,b.jsxs)("select",{value:c,onChange:b=>L(a.id,b.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",children:[(0,b.jsx)("option",{value:"",children:"Sélectionner..."}),a.options?.map(a=>(0,b.jsx)("option",{value:a,children:a},a))]}):"boolean"===a.type?(0,b.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",checked:!!c,onChange:b=>L(a.id,b.target.checked),className:"w-4 h-4 text-indigo-600 rounded border-theme-border focus:ring-indigo-500"}),(0,b.jsx)("span",{className:"text-sm text-theme-text",children:"Activé / Oui"})]}):(0,b.jsx)("input",{type:"number"===a.type?"number":"text",value:c,onChange:b=>L(a.id,b.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",placeholder:a.placeholder})]},a.id)})})]}):null,(0,b.jsxs)("div",{className:"mt-6 border-t border-theme-border pt-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:"block text-sm font-medium text-indigo-700 mb-1 flex items-center gap-2",children:[(0,b.jsx)(i.Sparkles,{size:14})," Contexte Narratif (Auto-généré)"]}),(0,b.jsx)("textarea",{value:A.storyContext||"",onChange:a=>B({...A,storyContext:a.target.value}),className:"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted",placeholder:"Les événements vécus par ce personnage apparaîtront ici..."})]}),(0,b.jsxs)("div",{className:"mt-4",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:"Notes & Biographie Complète"}),(0,b.jsx)("textarea",{value:A.details,onChange:a=>B({...A,details:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif",placeholder:"Histoire détaillée, secrets, origines..."})]})]}),(0,b.jsx)("div",{className:"pt-4 flex justify-end",children:(0,b.jsxs)("button",{onClick:I,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg flex items-center gap-2 transition-colors shadow-md",children:[(0,b.jsx)(g.Save,{size:18}),"Enregistrer la fiche"]})})]})]}):(0,b.jsxs)("div",{className:"h-full flex flex-col items-center justify-center text-theme-muted",children:[(0,b.jsx)("div",{className:"text-6xl mb-4 opacity-20",children:"🌍"}),(0,b.jsx)("p",{className:"text-lg",children:"Sélectionnez ou créez une fiche pour commencer."}),(0,b.jsx)("p",{className:"text-sm",children:"Ces informations aideront l'IA à rester cohérente."})]})})]})};var t=a.i(46344);function u(){let{project:a,updateProject:c,createEntity:d,updateEntity:e,deleteEntity:f}=(0,t.useProjectContext)();return(0,b.jsx)(s,{entities:a.entities||[],onCreate:async a=>await d(a.type,a),onUpdate:(a,b)=>e(a,b),onDelete:a=>f(a),templates:a.templates||[],onUpdateTemplates:a=>c({templates:a}),initialSelectedId:null})}a.s(["default",()=>u],85105)}]; +module.exports=[85105,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(54607),e=a.i(37620),f=a.i(33782),g=a.i(46451),h=a.i(98205),i=a.i(40400),j=a.i(806),k=a.i(82772),l=a.i(29892);let m=(0,l.default)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]),n=(0,l.default)("ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);var o=a.i(20769),p=a.i(75108),q=a.i(35165),r=a.i(68239);let s={age:30,height:175,hair:"Brun",eyes:"Marron",archetype:"Le Héros",role:"support",personality:{spectrumIntrovertExtravert:50,spectrumEmotionalRational:50,spectrumChaoticLawful:50},physicalQuirk:"",behavioralQuirk:""},t=({entities:a,onCreate:l,onUpdate:t,onDelete:u,templates:v,onUpdateTemplates:w,initialSelectedId:x})=>{let y,{t:z}=(0,d.useLanguage)(),[A,B]=(0,c.useState)(null),[C,D]=(0,c.useState)(null),[E,F]=(0,c.useState)("entities"),[G,H]=(0,c.useState)(e.EntityType.CHARACTER);(0,c.useEffect)(()=>{if(x){let b=a.find(a=>a.id===x);b&&(J(b),F("entities"))}},[x,a]);let I=(0,c.useMemo)(()=>{let b=a.filter(a=>a.type===e.EntityType.CHARACTER&&a.attributes?.archetype).map(a=>a.attributes.archetype);return Array.from(new Set([...r.ARCHETYPES,...b])).sort()},[a]),J=a=>{let b={...a};a.type!==e.EntityType.CHARACTER||a.attributes||(b.attributes={...s}),a.customValues||(b.customValues={}),D(b),B(a.id)},K=async()=>{if(C&&C.name){if("NEW"===A){let{id:a,...b}=C;await l(b)}else t(C.id,C);B(null),D(null)}},L=(a,b)=>{C&&C.attributes&&D({...C,attributes:{...C.attributes,[a]:b}})},M=(a,b)=>{C&&C.attributes&&D({...C,attributes:{...C.attributes,personality:{...C.attributes.personality,[a]:b}}})},N=(a,b)=>{C&&D({...C,customValues:{...C.customValues,[a]:b}})},O=(a,b,c)=>{w(v.map(d=>d.entityType!==a?d:{...d,fields:d.fields.map(a=>a.id===b?{...a,...c}:a)}))},P=b=>a.filter(a=>a.type===b);if("templates"===E){let a;return(0,b.jsxs)("div",{className:"flex flex-col md:flex-row h-full gap-4 md:gap-6 p-4 md:p-6 bg-theme-bg",children:[(0,b.jsx)("div",{className:"hidden md:block w-1/3 opacity-50 pointer-events-none filter blur-[1px]",children:(0,b.jsxs)("div",{className:"bg-theme-panel rounded-lg p-6 shadow-sm border border-theme-border",children:[(0,b.jsx)("h3",{className:"font-bold text-theme-text mb-4",children:z("wb.preview_cards")}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"}),(0,b.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"}),(0,b.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"})]})]})}),(a=v.find(a=>a.entityType===G)||{entityType:G,fields:[]},(0,b.jsxs)("div",{className:"flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-8 overflow-y-auto",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start mb-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-2xl font-bold text-theme-text flex items-center gap-2",children:[(0,b.jsx)(p.Layout,{size:24,className:"text-indigo-600"})," ",z("wb.template_editor")]}),(0,b.jsx)("p",{className:"text-theme-muted text-sm mt-1",children:z("wb.template_editor_desc")})]}),(0,b.jsx)("button",{onClick:()=>F("entities"),className:"p-2 text-theme-muted hover:bg-theme-border rounded-full",children:(0,b.jsx)(i.X,{size:20})})]}),(0,b.jsx)("div",{className:"flex gap-2 mb-8 border-b border-theme-border pb-1",children:Object.values(e.EntityType).map(a=>(0,b.jsx)("button",{onClick:()=>H(a),className:`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${G===a?"bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600":"text-theme-muted hover:text-theme-text hover:bg-theme-panel/50"}`,children:a},a))}),(0,b.jsxs)("div",{className:"space-y-4",children:[a.fields.map((a,c)=>(0,b.jsxs)("div",{className:"bg-theme-bg border border-theme-border rounded-lg p-4 flex gap-4 items-start group",children:[(0,b.jsxs)("div",{className:"flex-1 grid grid-cols-2 gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:z("wb.field_name")}),(0,b.jsx)("input",{type:"text",value:a.label,onChange:b=>O(G,a.id,{label:b.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:z("wb.field_type")}),(0,b.jsxs)("select",{value:a.type,onChange:b=>O(G,a.id,{type:b.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:[(0,b.jsx)("option",{value:"text",children:z("wb.type_text")}),(0,b.jsx)("option",{value:"textarea",children:z("wb.type_textarea")}),(0,b.jsx)("option",{value:"number",children:z("wb.type_num")}),(0,b.jsx)("option",{value:"boolean",children:z("wb.type_bool")}),(0,b.jsx)("option",{value:"select",children:z("wb.type_select")})]})]}),"select"===a.type&&(0,b.jsxs)("div",{className:"col-span-2",children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:z("wb.options_desc")}),(0,b.jsx)("input",{type:"text",value:a.options?.join(",")||"",onChange:b=>O(G,a.id,{options:b.target.value.split(",").map(a=>a.trim())}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",placeholder:z("wb.options_ph")})]})]}),(0,b.jsx)("button",{onClick:()=>{var b;return b=a.id,void w(v.map(a=>a.entityType!==G?a:{...a,fields:a.fields.filter(a=>a.id!==b)}))},className:"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5",children:(0,b.jsx)(g.Trash2,{size:16})})]},a.id)),(0,b.jsxs)("button",{onClick:()=>{let a,b;return a={id:`field-${Date.now()}`,label:z("wb.new_field"),type:"text",placeholder:""},void(!(b=v.map(b=>b.entityType===G?{...b,fields:[...b.fields,a]}:b)).some(a=>a.entityType===G)&&b.push({entityType:G,fields:[a]}),w(b))},className:"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2",children:[(0,b.jsx)(f.Plus,{size:20})," ",z("wb.add_field")]})]})]}))]})}return(0,b.jsxs)("div",{className:"flex flex-col md:flex-row h-full gap-4 md:gap-6 p-4 md:p-6 bg-theme-bg",children:[(0,b.jsxs)("div",{className:`${A?"hidden md:flex":"flex"} w-full md:w-1/3 flex-col gap-4 h-full`,children:[(0,b.jsxs)("div",{className:"flex justify-between items-center px-1",children:[(0,b.jsx)("h2",{className:"text-lg font-bold text-theme-text",children:z("wb.explorer")}),(0,b.jsxs)("button",{onClick:()=>F("templates"),className:"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors",title:z("wb.manage_templates"),children:[(0,b.jsx)(o.Settings,{size:14})," ",z("wb.templates")]})]}),(0,b.jsx)("div",{className:"space-y-6 overflow-y-auto pr-2 pb-4 flex-1",children:Object.values(e.EntityType).map(a=>(0,b.jsxs)("div",{className:"bg-theme-panel rounded-lg shadow-sm border border-theme-border overflow-hidden",children:[(0,b.jsxs)("div",{className:"bg-indigo-500/10 p-3 border-b border-theme-border flex justify-between items-center",children:[(0,b.jsxs)("h3",{className:"font-semibold text-theme-text flex items-center gap-2",children:[(0,b.jsx)("span",{children:r.ENTITY_ICONS[a]})," ",a,"s"]}),(0,b.jsx)("button",{onClick:()=>{D({id:Date.now().toString(),type:a,name:"",description:"",details:"",storyContext:"",attributes:a===e.EntityType.CHARACTER?{...s}:void 0,customValues:{}}),B("NEW")},className:"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors",children:(0,b.jsx)(f.Plus,{size:16})})]}),(0,b.jsxs)("div",{className:"divide-y divide-slate-100",children:[0===P(a).length&&(0,b.jsx)("p",{className:"p-4 text-sm text-theme-muted italic text-center",children:z("wb.no_element")}),P(a).map(a=>(0,b.jsxs)("div",{onClick:()=>J(a),className:`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${A===a.id?"bg-blue-500/10 border-l-4 border-blue-500":""}`,children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"font-medium text-theme-text",children:a.name}),(0,b.jsx)("div",{className:"text-xs text-theme-muted truncate",children:a.description})]}),(0,b.jsx)("button",{onClick:b=>{var c;b.stopPropagation(),c=a.id,confirm(z("wb.delete_confirm"))&&(u(c),A===c&&(B(null),D(null)))},className:"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity",children:(0,b.jsx)(g.Trash2,{size:14})})]},a.id))]})]},a))})]}),(0,b.jsx)("div",{className:`${!A?"hidden md:block":"block"} flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-4 sm:p-6 md:p-8 overflow-y-auto h-full`,children:A&&C?(0,b.jsxs)("div",{className:"space-y-6 animate-in fade-in duration-200",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start",children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("span",{className:`inline-block px-2 py-1 rounded text-xs font-bold uppercase tracking-wider ${r.ENTITY_COLORS[C.type]}`,children:C.type}),(0,b.jsx)("h2",{className:"text-2xl font-bold text-theme-text",children:C.type===e.EntityType.CHARACTER?z("wb.char_sheet"):z("wb.edit_sheet")})]}),(0,b.jsx)("div",{className:"flex gap-2",children:(0,b.jsx)("button",{onClick:()=>B(null),className:"p-2 text-theme-muted hover:bg-theme-border rounded-full",children:(0,b.jsx)(i.X,{size:20})})})]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:z("wb.name")}),(0,b.jsx)("input",{type:"text",value:C.name,onChange:a=>D({...C,name:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg",placeholder:z("wb.name_ph")})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:z("wb.short_desc")}),(0,b.jsx)("textarea",{value:C.description,onChange:a=>D({...C,description:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20",placeholder:z("wb.short_desc_ph")})]}),C.type===e.EntityType.CHARACTER&&(()=>{if(!C?.attributes)return null;let a=C.attributes;return(0,b.jsxs)("div",{className:"space-y-8 border-t border-theme-border pt-6 mt-4",children:[(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(k.User,{size:16})," ",z("wb.id_narrative")]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-2",children:z("wb.archetype")}),(0,b.jsx)("input",{type:"text",list:"archetype-suggestions",value:a.archetype,onChange:a=>L("archetype",a.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500",placeholder:z("wb.archetype_ph")}),(0,b.jsx)("datalist",{id:"archetype-suggestions",children:I.map(a=>(0,b.jsx)("option",{value:a},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-2",children:z("wb.role")}),(0,b.jsx)("div",{className:"flex gap-2 flex-wrap",children:[{val:"protagonist",label:z("wb.role_protagonist")},{val:"antagonist",label:z("wb.role_antagonist")},{val:"support",label:z("wb.role_support")},{val:"extra",label:z("wb.role_extra")}].map(c=>(0,b.jsxs)("label",{className:`cursor-pointer px-3 py-1.5 rounded text-xs border transition-colors ${a.role===c.val?"bg-indigo-100 border-indigo-300 text-indigo-700 font-bold":"bg-theme-bg border-theme-border text-theme-muted hover:bg-theme-border"}`,children:[(0,b.jsx)("input",{type:"radio",name:"role",value:c.val,checked:a.role===c.val,onChange:()=>L("role",c.val),className:"hidden"}),c.label]},c.val))})]})]})]}),(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(n,{size:16})," ",z("wb.appearance")]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"flex justify-between text-xs mb-1",children:(0,b.jsx)("label",{className:"font-semibold text-theme-muted",children:z("wb.age")})}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("input",{type:"range",min:"1",max:"100",value:Math.min(a.age,100),onChange:a=>L("age",parseInt(a.target.value)),className:"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"}),(0,b.jsx)("input",{type:"number",value:a.age,onChange:a=>L("age",parseInt(a.target.value)),className:"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none"})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"flex justify-between text-xs mb-1",children:(0,b.jsx)("label",{className:"font-semibold text-theme-muted",children:z("wb.height")})}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("input",{type:"range",min:"50",max:"250",value:Math.min(a.height,250),onChange:a=>L("height",parseInt(a.target.value)),className:"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"}),(0,b.jsx)("input",{type:"number",value:a.height,onChange:a=>L("height",parseInt(a.target.value)),className:"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none"})]})]})]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:z("wb.hair")}),(0,b.jsx)("select",{value:a.hair,onChange:a=>L("hair",a.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:r.HAIR_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:z("wb.eyes")}),(0,b.jsx)("select",{value:a.eyes,onChange:a=>L("eyes",a.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:r.EYE_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:z("wb.physical_quirk")}),(0,b.jsx)("input",{type:"text",value:a.physicalQuirk,onChange:a=>L("physicalQuirk",a.target.value),placeholder:z("wb.physical_quirk_ph"),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400"})]})]})]})]}),(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(m,{size:16})," ",z("wb.psychology")]}),(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{className:"space-y-4 px-2",children:[(0,b.jsxs)("div",{className:"relative pt-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,b.jsx)("span",{children:z("wb.introvert")}),(0,b.jsx)("span",{children:z("wb.extravert")})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",value:a.personality.spectrumIntrovertExtravert,onChange:a=>M("spectrumIntrovertExtravert",parseInt(a.target.value)),className:"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]}),(0,b.jsxs)("div",{className:"relative pt-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,b.jsx)("span",{children:z("wb.emotional")}),(0,b.jsx)("span",{children:z("wb.rational")})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",value:a.personality.spectrumEmotionalRational,onChange:a=>M("spectrumEmotionalRational",parseInt(a.target.value)),className:"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]}),(0,b.jsxs)("div",{className:"relative pt-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,b.jsx)("span",{children:z("wb.chaotic")}),(0,b.jsx)("span",{children:z("wb.lawful")})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",value:a.personality.spectrumChaoticLawful,onChange:a=>M("spectrumChaoticLawful",parseInt(a.target.value)),className:"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]})]}),(0,b.jsxs)("div",{className:"border-t border-theme-border pt-4",children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:z("wb.behavioral_quirk")}),(0,b.jsx)("input",{type:"text",value:a.behavioralQuirk,onChange:a=>L("behavioralQuirk",a.target.value),placeholder:z("wb.behavioral_quirk_ph"),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400"})]})]})]})]})})(),(y=v.find(a=>a.entityType===C?.type))&&0!==y.fields.length?(0,b.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border mt-6",children:[(0,b.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,b.jsx)(q.List,{size:16})," ",z("wb.custom_fields")]}),(0,b.jsx)("div",{className:"grid grid-cols-1 gap-4",children:y.fields.map(a=>{let c=C?.customValues?.[a.id]??"";return(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:a.label}),"textarea"===a.type?(0,b.jsx)("textarea",{value:c,onChange:b=>N(a.id,b.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",placeholder:a.placeholder}):"select"===a.type?(0,b.jsxs)("select",{value:c,onChange:b=>N(a.id,b.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",children:[(0,b.jsx)("option",{value:"",children:z("wb.select")}),a.options?.map(a=>(0,b.jsx)("option",{value:a,children:a},a))]}):"boolean"===a.type?(0,b.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",checked:!!c,onChange:b=>N(a.id,b.target.checked),className:"w-4 h-4 text-indigo-600 rounded border-theme-border focus:ring-indigo-500"}),(0,b.jsx)("span",{className:"text-sm text-theme-text",children:z("wb.active_yes")})]}):(0,b.jsx)("input",{type:"number"===a.type?"number":"text",value:c,onChange:b=>N(a.id,b.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",placeholder:a.placeholder})]},a.id)})})]}):null,(0,b.jsxs)("div",{className:"mt-6 border-t border-theme-border pt-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("label",{className:"block text-sm font-medium text-indigo-700 mb-1 flex items-center gap-2",children:[(0,b.jsx)(j.Sparkles,{size:14})," ",z("wb.story_context")]}),(0,b.jsx)("textarea",{value:C.storyContext||"",onChange:a=>D({...C,storyContext:a.target.value}),className:"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted",placeholder:z("wb.story_context_ph")})]}),(0,b.jsxs)("div",{className:"mt-4",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:z("wb.notes_bio")}),(0,b.jsx)("textarea",{value:C.details,onChange:a=>D({...C,details:a.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif",placeholder:z("wb.notes_bio_ph")})]})]}),(0,b.jsx)("div",{className:"pt-4 flex justify-end",children:(0,b.jsxs)("button",{onClick:K,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg flex items-center gap-2 transition-colors shadow-md",children:[(0,b.jsx)(h.Save,{size:18}),z("wb.save")]})})]})]}):(0,b.jsxs)("div",{className:"h-full flex flex-col items-center justify-center text-theme-muted",children:[(0,b.jsx)("div",{className:"text-6xl mb-4 opacity-20",children:"🌍"}),(0,b.jsx)("p",{className:"text-lg",children:z("wb.select_start")}),(0,b.jsx)("p",{className:"text-sm",children:z("wb.ai_help")})]})})]})};var u=a.i(46344);function v(){let{project:a,updateProject:c,createEntity:d,updateEntity:e,deleteEntity:f}=(0,u.useProjectContext)();return(0,b.jsx)(t,{entities:a.entities||[],onCreate:async a=>await d(a.type,a),onUpdate:(a,b)=>e(a,b),onDelete:a=>f(a),templates:a.templates||[],onUpdateTemplates:a=>c({templates:a}),initialSelectedId:null})}a.s(["default",()=>v],85105)}]; //# sourceMappingURL=Documents_00%20-%20projet_plumeia_src_app_project_%5Bid%5D_world_page_tsx_ca59acbb._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js.map b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js.map index ae31bee..2917053 100644 --- a/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js.map +++ b/.next/server/chunks/ssr/Documents_00 - projet_plumeia_src_app_project_[id]_world_page_tsx_ca59acbb._.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/world/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/WorldBuilder.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/ruler.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/brain.ts"],"sourcesContent":["'use client';\r\n\r\nimport WorldBuilder from '@/components/WorldBuilder';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function WorldPage() {\r\n const { project, updateProject, createEntity, updateEntity, deleteEntity } = useProjectContext();\r\n\r\n return (\r\n {\r\n return await createEntity(entityData.type, entityData);\r\n }}\r\n onUpdate={(entityId, updates) => updateEntity(entityId, updates)}\r\n onDelete={(entityId) => deleteEntity(entityId)}\r\n templates={project.templates || []}\r\n onUpdateTemplates={(t) => updateProject({ templates: t })}\r\n initialSelectedId={null}\r\n />\r\n );\r\n}\r\n","'use client';\n\nimport React, { useState, useMemo, useEffect } from 'react';\nimport { Entity, EntityType, CharacterAttributes, EntityTemplate, CustomFieldDefinition, CustomFieldType } from '@/lib/types';\nimport { Plus, Trash2, Save, X, Sparkles, User, Activity, Brain, Ruler, Settings, Layout, List, ToggleLeft } from 'lucide-react';\nimport { ENTITY_ICONS, ENTITY_COLORS, HAIR_COLORS, EYE_COLORS, ARCHETYPES } from '@/lib/constants';\n\ninterface WorldBuilderProps {\n entities: Entity[];\n onCreate: (entity: Omit) => Promise;\n onUpdate: (id: string, updates: Partial) => void;\n onDelete: (id: string) => void;\n templates: EntityTemplate[];\n onUpdateTemplates: (templates: EntityTemplate[]) => void;\n initialSelectedId?: string | null;\n}\n\nconst DEFAULT_CHAR_ATTRIBUTES: CharacterAttributes = {\n age: 30,\n height: 175,\n hair: 'Brun',\n eyes: 'Marron',\n archetype: 'Le Héros',\n role: 'support',\n personality: {\n spectrumIntrovertExtravert: 50,\n spectrumEmotionalRational: 50,\n spectrumChaoticLawful: 50,\n },\n physicalQuirk: '',\n behavioralQuirk: ''\n};\n\nconst WorldBuilder: React.FC = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId }) => {\n const [editingId, setEditingId] = useState(null);\n const [tempEntity, setTempEntity] = useState(null);\n const [mode, setMode] = useState<'entities' | 'templates'>('entities');\n\n // Template Editor State\n const [activeTemplateType, setActiveTemplateType] = useState(EntityType.CHARACTER);\n\n // Handle external navigation request (deep link)\n useEffect(() => {\n if (initialSelectedId) {\n const entity = entities.find(e => e.id === initialSelectedId);\n if (entity) {\n handleEdit(entity);\n setMode('entities');\n }\n }\n }, [initialSelectedId, entities]);\n\n // Dynamic Archetypes List\n const allArchetypes = useMemo(() => {\n const existing = entities\n .filter(e => e.type === EntityType.CHARACTER && e.attributes?.archetype)\n .map(e => e.attributes!.archetype);\n return Array.from(new Set([...ARCHETYPES, ...existing])).sort();\n }, [entities]);\n\n // --- ENTITY ACTIONS ---\n\n const handleAdd = (type: EntityType) => {\n const newEntity: Entity = {\n id: Date.now().toString(), // Helper ID for UI\n type,\n name: '',\n description: '',\n details: '',\n storyContext: '',\n attributes: type === EntityType.CHARACTER ? { ...DEFAULT_CHAR_ATTRIBUTES } : undefined,\n customValues: {}\n };\n setTempEntity(newEntity);\n setEditingId('NEW');\n };\n\n const handleEdit = (entity: Entity) => {\n // Ensure attributes exist if it's a character (backward compatibility)\n const entityToEdit = { ...entity };\n if (entity.type === EntityType.CHARACTER && !entity.attributes) {\n entityToEdit.attributes = { ...DEFAULT_CHAR_ATTRIBUTES };\n }\n if (!entity.customValues) {\n entityToEdit.customValues = {};\n }\n setTempEntity(entityToEdit);\n setEditingId(entity.id);\n };\n\n const handleSave = async () => {\n if (!tempEntity || !tempEntity.name) return;\n\n if (editingId === 'NEW') {\n const { id, ...entityData } = tempEntity;\n await onCreate(entityData);\n } else {\n onUpdate(tempEntity.id, tempEntity);\n }\n setEditingId(null);\n setTempEntity(null);\n };\n\n const handleDelete = (id: string) => {\n if (confirm('Supprimer cet élément ?')) {\n onDelete(id);\n if (editingId === id) {\n setEditingId(null);\n setTempEntity(null);\n }\n }\n };\n\n const updateAttribute = (key: keyof CharacterAttributes, value: any) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: { ...tempEntity.attributes, [key]: value }\n });\n }\n };\n\n const updatePersonality = (key: keyof CharacterAttributes['personality'], value: number) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: {\n ...tempEntity.attributes,\n personality: { ...tempEntity.attributes.personality, [key]: value }\n }\n });\n }\n };\n\n const updateCustomValue = (fieldId: string, value: any) => {\n if (tempEntity) {\n setTempEntity({\n ...tempEntity,\n customValues: {\n ...tempEntity.customValues,\n [fieldId]: value\n }\n });\n }\n };\n\n // --- TEMPLATE ACTIONS ---\n\n const addCustomField = (type: EntityType) => {\n const newField: CustomFieldDefinition = {\n id: `field-${Date.now()}`,\n label: 'Nouveau Champ',\n type: 'text',\n placeholder: ''\n };\n\n // Correct immutable update\n const updatedTemplates = templates.map(t => {\n if (t.entityType === type) {\n return {\n ...t,\n fields: [...t.fields, newField]\n };\n }\n return t;\n });\n\n // If template didn't exist (unlikely given App.tsx init, but safe)\n if (!updatedTemplates.some(t => t.entityType === type)) {\n updatedTemplates.push({ entityType: type, fields: [newField] });\n }\n\n onUpdateTemplates(updatedTemplates);\n };\n\n const updateCustomField = (type: EntityType, fieldId: string, updates: Partial) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.map(f => f.id === fieldId ? { ...f, ...updates } : f)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const deleteCustomField = (type: EntityType, fieldId: string) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.filter(f => f.id !== fieldId)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const filterByType = (type: EntityType) => entities.filter(e => e.type === type);\n\n // --- RENDER HELPERS ---\n\n const renderCharacterEditor = () => {\n if (!tempEntity?.attributes) return null;\n const attrs = tempEntity.attributes;\n\n return (\n
\n\n {/* SECTION 1: ROLE & ARCHETYPE */}\n
\n

\n Identité Narrative\n

\n
\n
\n \n updateAttribute('archetype', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500\"\n placeholder=\"Ex: Le Héros, Le Sage...\"\n />\n \n {allArchetypes.map(a => \n
\n
\n \n
\n {[\n { val: 'protagonist', label: 'Protagoniste' },\n { val: 'antagonist', label: 'Antagoniste' },\n { val: 'support', label: 'Secondaire' },\n { val: 'extra', label: 'Figurant' }\n ].map(opt => (\n \n ))}\n
\n
\n
\n
\n\n {/* SECTION 2: PHYSIQUE */}\n
\n

\n Apparence Physique\n

\n
\n
\n
\n
\n \n
\n
\n updateAttribute('age', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('age', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n\n
\n
\n \n
\n
\n updateAttribute('height', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('height', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n
\n\n
\n
\n
\n \n updateAttribute('hair', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {HAIR_COLORS.map(c => )}\n \n
\n
\n \n updateAttribute('eyes', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {EYE_COLORS.map(c => )}\n \n
\n
\n
\n \n updateAttribute('physicalQuirk', e.target.value)}\n placeholder=\"Cicatrice, tatouage...\"\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n\n {/* SECTION 3: PSYCHOLOGIE */}\n
\n

\n Psychologie & Comportement\n

\n\n
\n
\n
\n
\n Introverti\n Extraverti\n
\n updatePersonality('spectrumIntrovertExtravert', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n Émotionnel\n Rationnel\n
\n updatePersonality('spectrumEmotionalRational', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n Chaotique\n Loyal\n
\n updatePersonality('spectrumChaoticLawful', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n\n
\n \n updateAttribute('behavioralQuirk', e.target.value)}\n placeholder=\"Joue avec sa bague, bégaie quand il ment...\"\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n );\n };\n\n const renderCustomFieldsEditor = () => {\n const currentTemplate = templates.find(t => t.entityType === tempEntity?.type);\n if (!currentTemplate || currentTemplate.fields.length === 0) return null;\n\n return (\n
\n

\n Champs Personnalisés\n

\n
\n {currentTemplate.fields.map(field => {\n const value = tempEntity?.customValues?.[field.id] ?? '';\n\n return (\n
\n \n\n {field.type === 'textarea' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n ) : field.type === 'select' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n >\n \n {field.options?.map(opt => (\n \n ))}\n \n ) : field.type === 'boolean' ? (\n \n ) : (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n )}\n
\n );\n })}\n
\n
\n );\n };\n\n const renderTemplateManager = () => {\n const template = templates.find(t => t.entityType === activeTemplateType) || { entityType: activeTemplateType, fields: [] };\n\n return (\n
\n
\n
\n

\n Éditeur de Modèles\n

\n

\n Configurez les champs personnalisés pour chaque type de fiche.\n

\n
\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n setActiveTemplateType(type)}\n className={`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${activeTemplateType === type\n ? 'bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600'\n : 'text-theme-muted hover:text-theme-text hover:bg-theme-panel/50'\n }`}\n >\n {type}\n \n ))}\n
\n\n
\n {template.fields.map((field, idx) => (\n
\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { label: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n />\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { type: e.target.value as CustomFieldType })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n \n \n \n \n \n \n
\n {field.type === 'select' && (\n
\n \n updateCustomField(activeTemplateType, field.id, { options: e.target.value.split(',').map(s => s.trim()) })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n placeholder=\"Option A, Option B, Option C\"\n />\n
\n )}\n
\n deleteCustomField(activeTemplateType, field.id)}\n className=\"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5\"\n >\n \n \n
\n ))}\n\n addCustomField(activeTemplateType)}\n className=\"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2\"\n >\n Ajouter un champ\n \n
\n
\n );\n };\n\n if (mode === 'templates') {\n return (\n
\n
\n
\n

Aperçu Fiches

\n
\n
\n
\n
\n
\n
\n
\n {renderTemplateManager()}\n
\n );\n }\n\n return (\n
\n
\n
\n

Explorateur

\n setMode('templates')}\n className=\"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors\"\n title=\"Gérer les modèles de fiches\"\n >\n Modèles\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n
\n
\n

\n {ENTITY_ICONS[type]} {type}s\n

\n handleAdd(type)}\n className=\"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors\"\n >\n \n \n
\n
\n {filterByType(type).length === 0 && (\n

Aucun élément

\n )}\n {filterByType(type).map(entity => (\n handleEdit(entity)}\n className={`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${editingId === entity.id ? 'bg-blue-500/10 border-l-4 border-blue-500' : ''}`}\n >\n
\n
{entity.name}
\n
{entity.description}
\n
\n { e.stopPropagation(); handleDelete(entity.id); }}\n className=\"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity\"\n >\n \n \n
\n ))}\n
\n
\n ))}\n
\n
\n\n
\n {editingId && tempEntity ? (\n
\n
\n
\n \n {tempEntity.type}\n \n

\n {tempEntity.type === EntityType.CHARACTER ? 'Fiche Personnage' : 'Édition de la fiche'}\n

\n
\n
\n \n
\n
\n\n
\n
\n \n setTempEntity({ ...tempEntity, name: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg\"\n placeholder=\"Ex: Gandalf le Gris\"\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, description: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20\"\n placeholder=\"Un magicien puissant qui guide la communauté...\"\n />\n
\n\n {tempEntity.type === EntityType.CHARACTER && renderCharacterEditor()}\n\n {renderCustomFieldsEditor()}\n\n
\n
\n \n setTempEntity({ ...tempEntity, storyContext: e.target.value })}\n className=\"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted\"\n placeholder=\"Les événements vécus par ce personnage apparaîtront ici...\"\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, details: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif\"\n placeholder=\"Histoire détaillée, secrets, origines...\"\n />\n
\n
\n\n
\n \n \n Enregistrer la fiche\n \n
\n
\n
\n ) : (\n
\n
🌍
\n

Sélectionnez ou créez une fiche pour commencer.

\n

Ces informations aideront l'IA à rester cohérente.

\n
\n )}\n
\n
\n );\n};\n\nexport default WorldBuilder;","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z',\n key: 'icamh8',\n },\n ],\n ['path', { d: 'm14.5 12.5 2-2', key: 'inckbg' }],\n ['path', { d: 'm11.5 9.5 2-2', key: 'fmmyf7' }],\n ['path', { d: 'm8.5 6.5 2-2', key: 'vc6u1g' }],\n ['path', { d: 'm17.5 15.5 2-2', key: 'wo5hmg' }],\n];\n\n/**\n * @component @name Ruler\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuMyAxNS4zYTIuNCAyLjQgMCAwIDEgMCAzLjRsLTIuNiAyLjZhMi40IDIuNCAwIDAgMS0zLjQgMEwyLjcgOC43YTIuNDEgMi40MSAwIDAgMSAwLTMuNGwyLjYtMi42YTIuNDEgMi40MSAwIDAgMSAzLjQgMFoiIC8+CiAgPHBhdGggZD0ibTE0LjUgMTIuNSAyLTIiIC8+CiAgPHBhdGggZD0ibTExLjUgOS41IDItMiIgLz4KICA8cGF0aCBkPSJtOC41IDYuNSAyLTIiIC8+CiAgPHBhdGggZD0ibTE3LjUgMTUuNSAyLTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/ruler\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Ruler = createLucideIcon('ruler', __iconNode);\n\nexport default Ruler;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 18V5', key: 'adv99a' }],\n ['path', { d: 'M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4', key: '1e3is1' }],\n ['path', { d: 'M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5', key: '1gqd8o' }],\n ['path', { d: 'M17.997 5.125a4 4 0 0 1 2.526 5.77', key: 'iwvgf7' }],\n ['path', { d: 'M18 18a4 4 0 0 0 2-7.464', key: 'efp6ie' }],\n ['path', { d: 'M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517', key: '1gq6am' }],\n ['path', { d: 'M6 18a4 4 0 0 1-2-7.464', key: 'k1g0md' }],\n ['path', { d: 'M6.003 5.125a4 4 0 0 0-2.526 5.77', key: 'q97ue3' }],\n];\n\n/**\n * @component @name Brain\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMThWNSIgLz4KICA8cGF0aCBkPSJNMTUgMTNhNC4xNyA0LjE3IDAgMCAxLTMtNCA0LjE3IDQuMTcgMCAwIDEtMyA0IiAvPgogIDxwYXRoIGQ9Ik0xNy41OTggNi41QTMgMyAwIDEgMCAxMiA1YTMgMyAwIDEgMC01LjU5OCAxLjUiIC8+CiAgPHBhdGggZD0iTTE3Ljk5NyA1LjEyNWE0IDQgMCAwIDEgMi41MjYgNS43NyIgLz4KICA8cGF0aCBkPSJNMTggMThhNCA0IDAgMCAwIDItNy40NjQiIC8+CiAgPHBhdGggZD0iTTE5Ljk2NyAxNy40ODNBNCA0IDAgMSAxIDEyIDE4YTQgNCAwIDEgMS03Ljk2Ny0uNTE3IiAvPgogIDxwYXRoIGQ9Ik02IDE4YTQgNCAwIDAgMS0yLTcuNDY0IiAvPgogIDxwYXRoIGQ9Ik02LjAwMyA1LjEyNWE0IDQgMCAwIDAtMi41MjYgNS43NyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/brain\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Brain = createLucideIcon('brain', __iconNode);\n\nexport default Brain;\n"],"names":[],"mappings":"wDCEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,KAAA,EAAA,EAAA,CAAA,CAAA,6BEqBc,CAAA,CAAA,OAAA,EAAA,QAtBsB,EACjC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAQ,CAAE,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,MAAY,CAAA,GAAK,CAAA,CAAA,CAAA,CAAA,IAAA,WACtB,CAAE,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,4CAAkD,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,SACtE,CAAA,AAAE,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,2CAAkD,CAAA,CAAA,CAAA,CAAK,AAAL,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,gEAE/E,sCAA0C,IAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CA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AAAC,GACtE,UAAU,0HACV,YAAY,mDAKlB,CAAA,EAAA,EAAA,GAAA,EAAC,MAAA,CAAI,UAAU,iCACb,CAAA,EAAA,EAAA,IAAA,EAAC,SAAA,CACC,QAAS,EACT,UAAU,8HAEV,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,IAAI,CAAA,CAAC,KAAM,KAAM,kCAO1B,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAI,UAAU,8EACb,CAAA,EAAA,EAAA,GAAA,EAAC,MAAA,CAAI,UAAU,oCAA2B,OAC1C,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAE,UAAU,mBAAU,oDACvB,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAE,UAAU,mBAAU,8DAMnC,ED9sBA,IAAA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,GAAM,CAAE,SAAO,eAAE,CAAa,cAAE,CAAY,cAAE,CAAY,cAAE,CAAY,CAAE,CAAG,CAAA,EAAA,EAAA,iBAAA,AAAiB,IAE9F,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,SAAU,EAAQ,QAAQ,EAAI,EAAE,CAChC,SAAU,MAAO,GACN,MAAM,EAAa,EAAW,IAAI,CAAE,GAE/C,SAAU,CAAC,EAAU,IAAY,EAAa,EAAU,GACxD,SAAU,AAAC,GAAa,EAAa,GACrC,UAAW,EAAQ,SAAS,EAAI,EAAE,CAClC,kBAAmB,AAAC,GAAM,EAAc,CAAE,UAAW,CAAE,GACvD,kBAAmB,MAG/B","ignoreList":[2,3]} \ No newline at end of file +{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/components/WorldBuilder.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/project/%5Bid%5D/world/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/ruler.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/brain.ts"],"sourcesContent":["'use client';\n\nimport React, { useState, useMemo, useEffect } from 'react';\nimport { useLanguage } from '@/providers/LanguageProvider';\nimport { Entity, EntityType, CharacterAttributes, EntityTemplate, CustomFieldDefinition, CustomFieldType } from '@/lib/types';\nimport { Plus, Trash2, Save, X, Sparkles, User, Activity, Brain, Ruler, Settings, Layout, List, ToggleLeft } from 'lucide-react';\nimport { ENTITY_ICONS, ENTITY_COLORS, HAIR_COLORS, EYE_COLORS, ARCHETYPES } from '@/lib/constants';\n\ninterface WorldBuilderProps {\n entities: Entity[];\n onCreate: (entity: Omit) => Promise;\n onUpdate: (id: string, updates: Partial) => void;\n onDelete: (id: string) => void;\n templates: EntityTemplate[];\n onUpdateTemplates: (templates: EntityTemplate[]) => void;\n initialSelectedId?: string | null;\n}\n\nconst DEFAULT_CHAR_ATTRIBUTES: CharacterAttributes = {\n age: 30,\n height: 175,\n hair: 'Brun',\n eyes: 'Marron',\n archetype: 'Le Héros',\n role: 'support',\n personality: {\n spectrumIntrovertExtravert: 50,\n spectrumEmotionalRational: 50,\n spectrumChaoticLawful: 50,\n },\n physicalQuirk: '',\n behavioralQuirk: ''\n};\n\nconst WorldBuilder: React.FC = ({ entities, onCreate, onUpdate, onDelete, templates, onUpdateTemplates, initialSelectedId }) => {\n const { t } = useLanguage();\n const [editingId, setEditingId] = useState(null);\n const [tempEntity, setTempEntity] = useState(null);\n const [mode, setMode] = useState<'entities' | 'templates'>('entities');\n\n // Template Editor State\n const [activeTemplateType, setActiveTemplateType] = useState(EntityType.CHARACTER);\n\n // Handle external navigation request (deep link)\n useEffect(() => {\n if (initialSelectedId) {\n const entity = entities.find(e => e.id === initialSelectedId);\n if (entity) {\n handleEdit(entity);\n setMode('entities');\n }\n }\n }, [initialSelectedId, entities]);\n\n // Dynamic Archetypes List\n const allArchetypes = useMemo(() => {\n const existing = entities\n .filter(e => e.type === EntityType.CHARACTER && e.attributes?.archetype)\n .map(e => e.attributes!.archetype);\n return Array.from(new Set([...ARCHETYPES, ...existing])).sort();\n }, [entities]);\n\n // --- ENTITY ACTIONS ---\n\n const handleAdd = (type: EntityType) => {\n const newEntity: Entity = {\n id: Date.now().toString(), // Helper ID for UI\n type,\n name: '',\n description: '',\n details: '',\n storyContext: '',\n attributes: type === EntityType.CHARACTER ? { ...DEFAULT_CHAR_ATTRIBUTES } : undefined,\n customValues: {}\n };\n setTempEntity(newEntity);\n setEditingId('NEW');\n };\n\n const handleEdit = (entity: Entity) => {\n // Ensure attributes exist if it's a character (backward compatibility)\n const entityToEdit = { ...entity };\n if (entity.type === EntityType.CHARACTER && !entity.attributes) {\n entityToEdit.attributes = { ...DEFAULT_CHAR_ATTRIBUTES };\n }\n if (!entity.customValues) {\n entityToEdit.customValues = {};\n }\n setTempEntity(entityToEdit);\n setEditingId(entity.id);\n };\n\n const handleSave = async () => {\n if (!tempEntity || !tempEntity.name) return;\n\n if (editingId === 'NEW') {\n const { id, ...entityData } = tempEntity;\n await onCreate(entityData);\n } else {\n onUpdate(tempEntity.id, tempEntity);\n }\n setEditingId(null);\n setTempEntity(null);\n };\n\n const handleDelete = (id: string) => {\n if (confirm(t('wb.delete_confirm'))) {\n onDelete(id);\n if (editingId === id) {\n setEditingId(null);\n setTempEntity(null);\n }\n }\n };\n\n const updateAttribute = (key: keyof CharacterAttributes, value: any) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: { ...tempEntity.attributes, [key]: value }\n });\n }\n };\n\n const updatePersonality = (key: keyof CharacterAttributes['personality'], value: number) => {\n if (tempEntity && tempEntity.attributes) {\n setTempEntity({\n ...tempEntity,\n attributes: {\n ...tempEntity.attributes,\n personality: { ...tempEntity.attributes.personality, [key]: value }\n }\n });\n }\n };\n\n const updateCustomValue = (fieldId: string, value: any) => {\n if (tempEntity) {\n setTempEntity({\n ...tempEntity,\n customValues: {\n ...tempEntity.customValues,\n [fieldId]: value\n }\n });\n }\n };\n\n // --- TEMPLATE ACTIONS ---\n\n const addCustomField = (type: EntityType) => {\n const newField: CustomFieldDefinition = {\n id: `field-${Date.now()}`,\n label: t('wb.new_field'),\n type: 'text',\n placeholder: ''\n };\n\n // Correct immutable update\n const updatedTemplates = templates.map(t => {\n if (t.entityType === type) {\n return {\n ...t,\n fields: [...t.fields, newField]\n };\n }\n return t;\n });\n\n // If template didn't exist (unlikely given App.tsx init, but safe)\n if (!updatedTemplates.some(t => t.entityType === type)) {\n updatedTemplates.push({ entityType: type, fields: [newField] });\n }\n\n onUpdateTemplates(updatedTemplates);\n };\n\n const updateCustomField = (type: EntityType, fieldId: string, updates: Partial) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.map(f => f.id === fieldId ? { ...f, ...updates } : f)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const deleteCustomField = (type: EntityType, fieldId: string) => {\n const updatedTemplates = templates.map(t => {\n if (t.entityType !== type) return t;\n return {\n ...t,\n fields: t.fields.filter(f => f.id !== fieldId)\n };\n });\n onUpdateTemplates(updatedTemplates);\n };\n\n const filterByType = (type: EntityType) => entities.filter(e => e.type === type);\n\n // --- RENDER HELPERS ---\n\n const renderCharacterEditor = () => {\n if (!tempEntity?.attributes) return null;\n const attrs = tempEntity.attributes;\n\n return (\n
\n\n {/* SECTION 1: ROLE & ARCHETYPE */}\n
\n

\n {t('wb.id_narrative')}\n

\n
\n
\n \n updateAttribute('archetype', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500\"\n placeholder={t('wb.archetype_ph')}\n />\n \n {allArchetypes.map(a => \n
\n
\n \n
\n {[\n { val: 'protagonist', label: t('wb.role_protagonist') },\n { val: 'antagonist', label: t('wb.role_antagonist') },\n { val: 'support', label: t('wb.role_support') },\n { val: 'extra', label: t('wb.role_extra') }\n ].map(opt => (\n \n ))}\n
\n
\n
\n
\n\n {/* SECTION 2: PHYSIQUE */}\n
\n

\n {t('wb.appearance')}\n

\n
\n
\n
\n
\n \n
\n
\n updateAttribute('age', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('age', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n\n
\n
\n \n
\n
\n updateAttribute('height', parseInt(e.target.value))}\n className=\"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n updateAttribute('height', parseInt(e.target.value))}\n className=\"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none\"\n />\n
\n
\n
\n\n
\n
\n
\n \n updateAttribute('hair', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {HAIR_COLORS.map(c => )}\n \n
\n
\n \n updateAttribute('eyes', e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n {EYE_COLORS.map(c => )}\n \n
\n
\n
\n \n updateAttribute('physicalQuirk', e.target.value)}\n placeholder={t('wb.physical_quirk_ph')}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n\n {/* SECTION 3: PSYCHOLOGIE */}\n
\n

\n {t('wb.psychology')}\n

\n\n
\n
\n
\n
\n {t('wb.introvert')}\n {t('wb.extravert')}\n
\n updatePersonality('spectrumIntrovertExtravert', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n {t('wb.emotional')}\n {t('wb.rational')}\n
\n updatePersonality('spectrumEmotionalRational', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n
\n {t('wb.chaotic')}\n {t('wb.lawful')}\n
\n updatePersonality('spectrumChaoticLawful', parseInt(e.target.value))}\n className=\"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600\"\n />\n
\n
\n\n
\n \n updateAttribute('behavioralQuirk', e.target.value)}\n placeholder={t('wb.behavioral_quirk_ph')}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n />\n
\n
\n
\n
\n );\n };\n\n const renderCustomFieldsEditor = () => {\n const currentTemplate = templates.find(t => t.entityType === tempEntity?.type);\n if (!currentTemplate || currentTemplate.fields.length === 0) return null;\n\n return (\n
\n

\n {t('wb.custom_fields')}\n

\n
\n {currentTemplate.fields.map(field => {\n const value = tempEntity?.customValues?.[field.id] ?? '';\n\n return (\n
\n \n\n {field.type === 'textarea' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n ) : field.type === 'select' ? (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n >\n \n {field.options?.map(opt => (\n \n ))}\n \n ) : field.type === 'boolean' ? (\n \n ) : (\n updateCustomValue(field.id, e.target.value)}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400\"\n placeholder={field.placeholder}\n />\n )}\n
\n );\n })}\n
\n
\n );\n };\n\n const renderTemplateManager = () => {\n const template = templates.find(t => t.entityType === activeTemplateType) || { entityType: activeTemplateType, fields: [] };\n\n return (\n
\n
\n
\n

\n {t('wb.template_editor')}\n

\n

\n {t('wb.template_editor_desc')}\n

\n
\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n setActiveTemplateType(type)}\n className={`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${activeTemplateType === type\n ? 'bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600'\n : 'text-theme-muted hover:text-theme-text hover:bg-theme-panel/50'\n }`}\n >\n {type}\n \n ))}\n
\n\n
\n {template.fields.map((field, idx) => (\n
\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { label: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n />\n
\n
\n \n updateCustomField(activeTemplateType, field.id, { type: e.target.value as CustomFieldType })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n >\n \n \n \n \n \n \n
\n {field.type === 'select' && (\n
\n \n updateCustomField(activeTemplateType, field.id, { options: e.target.value.split(',').map(s => s.trim()) })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm\"\n placeholder={t('wb.options_ph')}\n />\n
\n )}\n
\n deleteCustomField(activeTemplateType, field.id)}\n className=\"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5\"\n >\n \n \n
\n ))}\n\n addCustomField(activeTemplateType)}\n className=\"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2\"\n >\n {t('wb.add_field')}\n \n
\n
\n );\n };\n\n if (mode === 'templates') {\n return (\n
\n
\n
\n

{t('wb.preview_cards')}

\n
\n
\n
\n
\n
\n
\n
\n {renderTemplateManager()}\n
\n );\n }\n\n return (\n
\n
\n
\n

{t('wb.explorer')}

\n setMode('templates')}\n className=\"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors\"\n title={t('wb.manage_templates')}\n >\n {t('wb.templates')}\n \n
\n\n
\n {Object.values(EntityType).map(type => (\n
\n
\n

\n {ENTITY_ICONS[type]} {type}s\n

\n handleAdd(type)}\n className=\"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors\"\n >\n \n \n
\n
\n {filterByType(type).length === 0 && (\n

{t('wb.no_element')}

\n )}\n {filterByType(type).map(entity => (\n handleEdit(entity)}\n className={`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${editingId === entity.id ? 'bg-blue-500/10 border-l-4 border-blue-500' : ''}`}\n >\n
\n
{entity.name}
\n
{entity.description}
\n
\n { e.stopPropagation(); handleDelete(entity.id); }}\n className=\"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity\"\n >\n \n \n
\n ))}\n
\n
\n ))}\n
\n
\n\n
\n {editingId && tempEntity ? (\n
\n
\n
\n \n {tempEntity.type}\n \n

\n {tempEntity.type === EntityType.CHARACTER ? t('wb.char_sheet') : t('wb.edit_sheet')}\n

\n
\n
\n \n
\n
\n\n
\n
\n \n setTempEntity({ ...tempEntity, name: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg\"\n placeholder={t('wb.name_ph')}\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, description: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20\"\n placeholder={t('wb.short_desc_ph')}\n />\n
\n\n {tempEntity.type === EntityType.CHARACTER && renderCharacterEditor()}\n\n {renderCustomFieldsEditor()}\n\n
\n
\n \n setTempEntity({ ...tempEntity, storyContext: e.target.value })}\n className=\"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted\"\n placeholder={t('wb.story_context_ph')}\n />\n
\n\n
\n \n setTempEntity({ ...tempEntity, details: e.target.value })}\n className=\"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif\"\n placeholder={t('wb.notes_bio_ph')}\n />\n
\n
\n\n
\n \n \n {t('wb.save')}\n \n
\n
\n
\n ) : (\n
\n
🌍
\n

{t('wb.select_start')}

\n

{t('wb.ai_help')}

\n
\n )}\n
\n
\n );\n};\n\nexport default WorldBuilder;","'use client';\r\n\r\nimport WorldBuilder from '@/components/WorldBuilder';\r\nimport { useProjectContext } from '@/providers/ProjectProvider';\r\n\r\nexport default function WorldPage() {\r\n const { project, updateProject, createEntity, updateEntity, deleteEntity } = useProjectContext();\r\n\r\n return (\r\n {\r\n return await createEntity(entityData.type, entityData);\r\n }}\r\n onUpdate={(entityId, updates) => updateEntity(entityId, updates)}\r\n onDelete={(entityId) => deleteEntity(entityId)}\r\n templates={project.templates || []}\r\n onUpdateTemplates={(t) => updateProject({ templates: t })}\r\n initialSelectedId={null}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z',\n key: 'icamh8',\n },\n ],\n ['path', { d: 'm14.5 12.5 2-2', key: 'inckbg' }],\n ['path', { d: 'm11.5 9.5 2-2', key: 'fmmyf7' }],\n ['path', { d: 'm8.5 6.5 2-2', key: 'vc6u1g' }],\n ['path', { d: 'm17.5 15.5 2-2', key: 'wo5hmg' }],\n];\n\n/**\n * @component @name Ruler\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEuMyAxNS4zYTIuNCAyLjQgMCAwIDEgMCAzLjRsLTIuNiAyLjZhMi40IDIuNCAwIDAgMS0zLjQgMEwyLjcgOC43YTIuNDEgMi40MSAwIDAgMSAwLTMuNGwyLjYtMi42YTIuNDEgMi40MSAwIDAgMSAzLjQgMFoiIC8+CiAgPHBhdGggZD0ibTE0LjUgMTIuNSAyLTIiIC8+CiAgPHBhdGggZD0ibTExLjUgOS41IDItMiIgLz4KICA8cGF0aCBkPSJtOC41IDYuNSAyLTIiIC8+CiAgPHBhdGggZD0ibTE3LjUgMTUuNSAyLTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/ruler\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Ruler = createLucideIcon('ruler', __iconNode);\n\nexport default Ruler;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 18V5', key: 'adv99a' }],\n ['path', { d: 'M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4', key: '1e3is1' }],\n ['path', { d: 'M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5', key: '1gqd8o' }],\n ['path', { d: 'M17.997 5.125a4 4 0 0 1 2.526 5.77', key: 'iwvgf7' }],\n ['path', { d: 'M18 18a4 4 0 0 0 2-7.464', key: 'efp6ie' }],\n ['path', { d: 'M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517', key: '1gq6am' }],\n ['path', { d: 'M6 18a4 4 0 0 1-2-7.464', key: 'k1g0md' }],\n ['path', { d: 'M6.003 5.125a4 4 0 0 0-2.526 5.77', key: 'q97ue3' }],\n];\n\n/**\n * @component @name Brain\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMThWNSIgLz4KICA8cGF0aCBkPSJNMTUgMTNhNC4xNyA0LjE3IDAgMCAxLTMtNCA0LjE3IDQuMTcgMCAwIDEtMyA0IiAvPgogIDxwYXRoIGQ9Ik0xNy41OTggNi41QTMgMyAwIDEgMCAxMiA1YTMgMyAwIDEgMC01LjU5OCAxLjUiIC8+CiAgPHBhdGggZD0iTTE3Ljk5NyA1LjEyNWE0IDQgMCAwIDEgMi41MjYgNS43NyIgLz4KICA8cGF0aCBkPSJNMTggMThhNCA0IDAgMCAwIDItNy40NjQiIC8+CiAgPHBhdGggZD0iTTE5Ljk2NyAxNy40ODNBNCA0IDAgMSAxIDEyIDE4YTQgNCAwIDEgMS03Ljk2Ny0uNTE3IiAvPgogIDxwYXRoIGQ9Ik02IDE4YTQgNCAwIDAgMS0yLTcuNDY0IiAvPgogIDxwYXRoIGQ9Ik02LjAwMyA1LjEyNWE0IDQgMCAwIDAtMi41MjYgNS43NyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/brain\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Brain = createLucideIcon('brain', __iconNode);\n\n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.next/server/chunks/ssr/[root-of-the-server]__1a3c2506._.js b/.next/server/chunks/ssr/[root-of-the-server]__1a3c2506._.js deleted file mode 100644 index dbfae98..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__1a3c2506._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},23642,(a,b,c)=>{"use strict";b.exports=a.r(18622)},78352,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored["react-ssr"].ReactJsxRuntime},28091,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored["react-ssr"].React},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},34305,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"HandleISRError",{enumerable:!0,get:function(){return e}});let d=a.r(56704).workAsyncStorage;function e({error:a}){if(d){let b=d.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}return null}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},77979,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return h}});let d=a.r(78352),e=a.r(34305),f={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},g={fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"},h=function({error:a}){let b=a?.digest;return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{}),(0,d.jsxs)("body",{children:[(0,d.jsx)(e.HandleISRError,{error:a}),(0,d.jsx)("div",{style:f,children:(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{style:g,children:["Application error: a ",b?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",b?"server logs":"browser console"," for more information)."]}),b?(0,d.jsx)("p",{style:g,children:`Digest: ${b}`}):null]})})]})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__1a3c2506._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__1a3c2506._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__1a3c2506._.js.map deleted file mode 100644 index 5b64bc4..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__1a3c2506._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/handle-isr-error.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/builtin/global-error.tsx"],"sourcesContent":["if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactJsxRuntime\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.React\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","const workAsyncStorage =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n ).workAsyncStorage\n : undefined\n\n// if we are revalidating we want to re-throw the error so the\n// function crashes so we can maintain our previous cache\n// instead of caching the error page\nexport function HandleISRError({ error }: { error: any }) {\n if (workAsyncStorage) {\n const store = workAsyncStorage.getStore()\n if (store?.isStaticGeneration) {\n if (error) {\n console.error(error)\n }\n throw error\n }\n }\n\n return null\n}\n","'use client'\n\nimport { HandleISRError } from '../handle-isr-error'\n\nconst styles = {\n error: {\n // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52\n fontFamily:\n 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: '100vh',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n },\n text: {\n fontSize: '14px',\n fontWeight: 400,\n lineHeight: '28px',\n margin: '0 8px',\n },\n} as const\n\nexport type GlobalErrorComponent = React.ComponentType<{\n error: any\n}>\nfunction DefaultGlobalError({ error }: { error: any }) {\n const digest: string | undefined = error?.digest\n return (\n \n \n \n \n
\n
\n

\n Application error: a {digest ? 'server' : 'client'}-side exception\n has occurred while loading {window.location.hostname} (see the{' '}\n {digest ? 'server logs' : 'browser console'} for more\n information).\n

\n {digest ?

{`Digest: ${digest}`}

: null}\n
\n
\n \n \n )\n}\n\n// Exported so that the import signature in the loaders can be identical to user\n// supplied custom global error signatures.\nexport default DefaultGlobalError\n"],"names":["process","env","NEXT_RUNTIME","module","exports","require","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK","vendored","ReactJsxRuntime","React","AppRouterContext","HooksClientContext","ServerInsertedHtml","HandleISRError","workAsyncStorage","window","undefined","error","store","getStore","isStaticGeneration","console","styles","fontFamily","height","textAlign","display","flexDirection","alignItems","justifyContent","text","fontSize","fontWeight","lineHeight","margin","DefaultGlobalError","digest","html","id","head","body","div","style","h2","location","hostname","p"],"mappings":"0kCA0BQG,GAAOC,OAAO,CAAGC,EAAQ,CAAA,CAAA,IAAA,iCC1BjCF,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRI,QAAQ,CAAC,YAAY,CAAEC,eAAe,+BCFxCP,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRI,QAAQ,CAAC,YAAY,CAAEE,KAAK,+BCF9BR,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRI,QAAQ,CAAC,QAAW,CAACG,gBAAgB,+BCFvCT,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRI,QAAQ,CAAC,QAAW,CAACI,kBAAkB,+BCFzCV,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRI,QAAQ,CAAC,QAAW,CAACK,kBAAkB,wGCQzBC,iBAAAA,qCAAAA,KAVhB,IAAMC,EAGEX,EAAQ,CAAA,CAAA,IAAA,GACRW,MAHN,OAAOC,GAGe,CAMjB,EALDC,KAJc,EASJH,EAAe,OAAEI,CAAK,CAAkB,EACtD,GAAIH,EAAkB,CACpB,IAAMI,EAAQJ,EAAiBK,QAAQ,GACvC,GAAID,GAAOE,mBAIT,CAJ6B,KACzBH,GACFI,IADS,IACDJ,KAAK,CAACA,GAEVA,CAEV,CAEA,OAAO,IACT,+TC8BA,OADA,AADA,GAEA,qCAAA,GAD2C,uBAjDZ,CAAA,CAAA,IAAA,KAGtB,CAELM,EA2C4E,SA1C1E,8FACFC,OAAQ,QACRC,UAAW,SACXC,QAAS,OACTC,cAAe,SACfC,WAAY,SACZC,eAAgB,QAClB,IACM,CACJE,SAAU,OACVC,WAAY,IACZC,WAAY,OACZC,OAAQ,OACV,EA+BF,EAzBA,SAA4B,AAAnBC,AAyBMA,OAzBelB,CAAK,CAAkB,EACnD,IAAMmB,EAA6BnB,GAAOmB,OAC1C,MACE,CADF,EACE,EAAA,IAAA,EAACC,CADH,MACGA,CAAKC,GAAG,2BACP,CAAA,EAAA,EAAA,GAAA,EAACC,OAAAA,CAAAA,GACD,CAAA,EAAA,EAAA,IAAA,EAACC,OAAAA,WACC,CAAA,EAAA,EAAA,GAAA,EAAC3B,EAAAA,cAAc,CAAA,CAACI,MAAOA,IACvB,CAAA,EAAA,EAAA,GAAA,EAACwB,MAAAA,CAAIC,KAAAA,EAAOpB,OAAOL,GACjB,CAAA,CADsB,CACtB,EAAA,IAAA,EAACwB,CAAD,KAACA,WACC,CAAA,EAAA,EAAA,IAAA,EAACE,KAAAA,CAAGD,KAAAA,EAAOpB,OAAOQ,IAAI,AAAE,wBACAM,EAAS,SAAW,SAAS,8CACvBrB,OAAO6B,QAAQ,CAACC,QAAQ,CAAC,YAAU,IAC9DT,EAAS,cAAgB,kBAAkB,6BAG7CA,EAAS,CAAA,EAAA,EAAA,EAATA,CAAS,EAACU,IAAAA,CAAEJ,GAAZN,EAAYM,EAAOpB,OAAOQ,GAAO,CAAH,AAAI,QAAQ,EAAEM,EAAAA,CAAQ,GAAQ,eAMzE","ignoreList":[0,1,2,3,4,5,6,7]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__1b51e774._.js b/.next/server/chunks/ssr/[root-of-the-server]__1b51e774._.js deleted file mode 100644 index 8dd2cf5..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__1b51e774._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},20896,a=>{"use strict";let b=(0,a.i(29892).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a.s(["Check",()=>b],20896)},84104,a=>{"use strict";let b=(0,a.i(29892).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);a.s(["ArrowLeft",()=>b],84104)},18091,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(20896),e=a.i(84104);let f=({plans:a,currentPlan:c,onBack:f,onSelectPlan:g,isLoading:h})=>(0,b.jsx)("div",{className:"min-h-screen bg-[#eef2ff] py-20 px-8",children:(0,b.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,b.jsxs)("button",{onClick:f,className:"flex items-center gap-2 text-slate-500 hover:text-blue-600 mb-12 font-bold transition-colors",children:[(0,b.jsx)(e.ArrowLeft,{size:20})," Retour"]}),(0,b.jsxs)("div",{className:"text-center mb-16",children:[(0,b.jsx)("h2",{className:"text-4xl font-black text-slate-900 mb-4",children:"Choisissez votre destin d'écrivain."}),(0,b.jsx)("p",{className:"text-slate-500",children:"Passez au plan supérieur pour libérer toute la puissance de l'IA."})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[h&&(0,b.jsx)("p",{className:"text-center col-span-3 py-10",children:"Chargement des offres..."}),!h&&a.map(a=>(0,b.jsxs)("div",{className:`bg-white rounded-3xl p-8 border transition-all ${a.isPopular?"border-blue-500 shadow-2xl scale-105 z-10":"border-indigo-100 shadow-xl"}`,children:[(0,b.jsxs)("div",{className:"mb-8",children:[(0,b.jsx)("h4",{className:"text-xl font-bold text-slate-900 mb-2",children:a.displayName}),(0,b.jsxs)("div",{className:"text-4xl font-black text-slate-900 mb-2",children:[a.price,"€",(0,b.jsx)("span",{className:"text-sm font-normal text-slate-400",children:"/mois"})]}),(0,b.jsx)("p",{className:"text-sm text-slate-500",children:a.description})]}),(0,b.jsx)("ul",{className:"space-y-4 mb-10",children:a.features.map((a,c)=>(0,b.jsxs)("li",{className:"flex items-center gap-3 text-sm text-slate-700",children:[(0,b.jsx)("div",{className:"text-blue-500 bg-blue-50 p-0.5 rounded-full",children:(0,b.jsx)(d.Check,{size:14})}),a]},c))}),(0,b.jsx)("button",{onClick:()=>g(a.id),className:`w-full py-4 rounded-2xl font-black transition-all ${a.id===c?"bg-slate-100 text-slate-400 cursor-default":a.isPopular?"bg-blue-600 text-white hover:bg-blue-700":"bg-slate-900 text-white hover:bg-slate-800"}`,children:a.id===c?"Plan Actuel":"Sélectionner"})]},a.id))]})]})});var g=a.i(34896),h=a.i(95121);function i(){let a=(0,g.useRouter)(),{user:d}=(0,h.useAuthContext)(),[e,i]=(0,c.useState)([]),[j,k]=(0,c.useState)(!0);return(0,c.useEffect)(()=>{fetch("/api/plans",{cache:"no-store"}).then(a=>a.json()).then(a=>{i(a),k(!1)}).catch(a=>{console.error(a),k(!1)})},[]),(0,b.jsx)(f,{plans:e,isLoading:j,currentPlan:d?.subscription.plan||"free",onBack:()=>a.push(d?"/dashboard":"/"),onSelectPlan:()=>a.push(d?"/checkout":"/login")})}a.s(["default",()=>i],18091)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__1b51e774._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__1b51e774._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__1b51e774._.js.map deleted file mode 100644 index 906684d..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__1b51e774._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/check.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-left.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/pricing/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/Pricing.tsx"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M20 6 9 17l-5-5', key: '1gmf2c' }]];\n\n/**\n * @component @name Check\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgNiA5IDE3bC01LTUiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Check = createLucideIcon('check', __iconNode);\n\nexport default Check;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm12 19-7-7 7-7', key: '1l729n' }],\n ['path', { d: 'M19 12H5', key: 'x3x0zl' }],\n];\n\n/**\n * @component @name ArrowLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTIgMTktNy03IDctNyIgLz4KICA8cGF0aCBkPSJNMTkgMTJINSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/arrow-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowLeft = createLucideIcon('arrow-left', __iconNode);\n\nexport default ArrowLeft;\n","'use client';\r\n\r\nimport React, { useState, useEffect } from 'react';\r\nimport Pricing from '@/components/Pricing';\r\nimport { useRouter } from 'next/navigation';\r\nimport { useAuthContext } from '@/providers/AuthProvider';\r\n\r\nexport default function PricingPage() {\r\n const router = useRouter();\r\n const { user } = useAuthContext();\r\n\r\n const [plans, setPlans] = useState([]);\r\n const [isLoading, setIsLoading] = useState(true);\r\n\r\n useEffect(() => {\r\n fetch('/api/plans', { cache: 'no-store' })\r\n .then(res => res.json())\r\n .then(data => {\r\n setPlans(data);\r\n setIsLoading(false);\r\n })\r\n .catch(err => {\r\n console.error(err);\r\n setIsLoading(false);\r\n });\r\n }, []);\r\n\r\n return (\r\n router.push(user ? '/dashboard' : '/')}\r\n onSelectPlan={() => router.push(user ? '/checkout' : '/login')}\r\n />\r\n );\r\n}\r\n","'use client';\n\n\nimport React from 'react';\nimport { Check, ArrowLeft } from 'lucide-react';\n\ninterface PlanData {\n id: string;\n name: string;\n displayName: string;\n price: number;\n description: string;\n features: string[];\n isPopular: boolean;\n}\n\ninterface PricingProps {\n plans: PlanData[];\n currentPlan: string;\n onBack: () => void;\n onSelectPlan: (planId: string) => void;\n isLoading?: boolean;\n}\n\nconst Pricing: React.FC = ({ plans, currentPlan, onBack, onSelectPlan, isLoading }) => {\n return (\n
\n
\n \n
\n

Choisissez votre destin d'écrivain.

\n

Passez au plan supérieur pour libérer toute la puissance de l'IA.

\n
\n
\n {isLoading &&

Chargement des offres...

}\n {!isLoading && plans.map((p) => (\n
\n
\n

{p.displayName}

\n
{p.price}€/mois
\n

{p.description}

\n
\n
    \n {p.features.map((f, i) => (\n
  • \n
    \n {f}\n
  • \n ))}\n
\n onSelectPlan(p.id)}\n className={`w-full py-4 rounded-2xl font-black transition-all ${p.id === currentPlan ? 'bg-slate-100 text-slate-400 cursor-default' : p.isPopular ? 'bg-blue-600 text-white hover:bg-blue-700' : 'bg-slate-900 text-white hover:bg-slate-800'}`}\n >\n {p.id === currentPlan ? 'Plan Actuel' : 'Sélectionner'}\n \n
\n ))}\n
\n
\n
\n );\n};\n\nexport default Pricing;\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","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line at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js b/.next/server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js deleted file mode 100644 index c8a5620..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},79080,a=>{"use strict";let b=(0,a.i(29892).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],79080)},73258,a=>{"use strict";let b=(0,a.i(29892).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);a.s(["BookOpen",()=>b],73258)},806,a=>{"use strict";let b=(0,a.i(29892).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);a.s(["Sparkles",()=>b],806)},40400,a=>{"use strict";let b=(0,a.i(29892).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",()=>b],40400)},20769,a=>{"use strict";let b=(0,a.i(29892).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["Settings",()=>b],20769)},82772,a=>{"use strict";let b=(0,a.i(29892).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",()=>b],82772)},75108,a=>{"use strict";let b=(0,a.i(29892).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);a.s(["Layout",()=>b],75108)},45044,76763,a=>{"use strict";var b=a.i(29892);let c=(0,b.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>c],45044);let d=(0,b.default)("mouse-pointer-click",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]]);a.s(["MousePointerClick",()=>d],76763)},63287,a=>{"use strict";let b=(0,a.i(29892).default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);a.s(["Lightbulb",()=>b],63287)},95556,27197,a=>{"use strict";var b=a.i(29892);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],95556);let d=(0,b.default)("git-graph",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v6",key:"158jrl"}],["circle",{cx:"5",cy:"18",r:"3",key:"104gr9"}],["path",{d:"M12 3v18",key:"108xh3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M16 15.7A9 9 0 0 0 19 9",key:"1e3vqb"}]]);a.s(["GitGraph",()=>d],27197)},37620,a=>{"use strict";var b,c=((b={}).CHARACTER="Personnage",b.LOCATION="Lieu",b.OBJECT="Objet",b.NOTE="Note",b);a.s(["EntityType",()=>c])},33782,a=>{"use strict";let b=(0,a.i(29892).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>b],33782)},46344,a=>{"use strict";var b=a.i(78352),c=a.i(28091);let d=(0,c.createContext)(null);function e({value:a,children:c}){return(0,b.jsx)(d.Provider,{value:a,children:c})}function f(){let a=(0,c.useContext)(d);if(!a)throw Error("useProjectContext must be used within ProjectProvider");return a}a.s(["ProjectProvider",()=>e,"useProjectContext",()=>f])},46451,a=>{"use strict";let b=(0,a.i(29892).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);a.s(["Trash2",()=>b],46451)},72071,a=>{"use strict";let b=(0,a.i(29892).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);a.s(["Zap",()=>b],72071)},6111,a=>{"use strict";let b=(0,a.i(29892).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);a.s(["MessageCircle",()=>b],6111)},14294,a=>{"use strict";let b=(0,a.i(29892).default)("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);a.s(["Book",()=>b],14294)},68239,a=>{"use strict";var b=a.i(37620);let c={[b.EntityType.CHARACTER]:"👤",[b.EntityType.LOCATION]:"🏰",[b.EntityType.OBJECT]:"🗝️",[b.EntityType.NOTE]:"📝"},d={[b.EntityType.CHARACTER]:"bg-blue-100 text-blue-800 border-blue-200",[b.EntityType.LOCATION]:"bg-green-100 text-green-800 border-green-200",[b.EntityType.OBJECT]:"bg-amber-100 text-amber-800 border-amber-200",[b.EntityType.NOTE]:"bg-gray-100 text-gray-800 border-gray-200"};a.s(["ARCHETYPES",0,["Le Héros","L'Ombre / Le Méchant","Le Mentor","Le Gardien du Seuil","Le Shapeshifter (Changeforme)","Le Trickster (Farceur)","L'Allié","L'Élu","Le Rebelle","Le Séducteur","Le Sage","Le Guerrier","L'Innocent"],"DEFAULT_AUTHOR",0,"Auteur Inconnu","DEFAULT_BOOK_TITLE",0,"Nouveau Roman","ENTITY_COLORS",0,d,"ENTITY_ICONS",0,c,"EYE_COLORS",0,["Marron","Bleu","Vert","Noisette","Gris","Noir","Vairons","Ambre"],"GENRES",0,["Fantasy","Science-Fiction","Thriller / Polar","Romance","Historique","Horreur","Aventure","Contemporain","Jeunesse / Young Adult","Dystopie"],"HAIR_COLORS",0,["Brun","Noir","Blond","Roux","Auburn","Gris","Blanc","Châtain","Chauve","Teinture (Bleu/Rose/Etc)"],"INITIAL_CHAPTER",0,{id:"chap-1",title:"Chapitre 1",content:"

Il était une fois...

",summary:"Début de l'histoire."},"POV_OPTIONS",0,["1ère personne (Je)","3ème personne (Limitée au protagoniste)","3ème personne (Omnisciente)","Multi-points de vue (Alterné)"],"TENSE_OPTIONS",0,["Passé (Passé simple / Imparfait)","Présent de narration"],"TONES",0,["Sombre & Sérieux","Léger & Humoristique","Épique & Grandiose","Mélancolique","Mystérieux","Optimiste","Cynique","Romantique"]])},3622,5127,38089,a=>{"use strict";var b=a.i(28091),c=a.i(31715),d=a.i(68239);a.s(["useProjects",0,a=>{let[e,f]=(0,b.useState)([]),[g,h]=(0,b.useState)(null),[i,j]=(0,b.useState)(!1);(0,b.useEffect)(()=>{a?(async()=>{j(!0);try{let a=(await c.default.projects.list()||[]).map(a=>({id:a.id,title:a.title,author:a.author,lastModified:new Date(a.updatedAt).getTime(),chapters:Array.from({length:a._count?.chapters||0},(a,b)=>({id:`placeholder-${b}`,title:"",content:""})),entities:Array.from({length:a._count?.entities||0},(a,b)=>({id:`placeholder-${b}`,type:"character",name:"",description:""})),ideas:[],settings:a.settings||void 0}));f(a)}catch(a){console.error("Failed to load projects",a)}finally{j(!1)}})():f([])},[a]),(0,b.useEffect)(()=>{g&&(async()=>{try{let a=await c.default.projects.get(g),b={id:a.id,title:a.title,author:a.author,lastModified:new Date(a.updatedAt).getTime(),settings:a.settings||void 0,styleGuide:a.styleGuide||void 0,chapters:(a.chapters||[]).map(a=>({id:a.id,title:a.title,content:a.content,summary:a.summary})),entities:(a.entities||[]).map(a=>({id:a.id,type:a.type,name:a.name,description:a.description,details:a.details,storyContext:a.storyContext,attributes:a.attributes,customValues:a.customValues})),ideas:(a.ideas||[]).map(a=>({id:a.id,title:a.title,description:a.description,status:a.status,category:a.category,createdAt:new Date(a.createdAt).getTime()})),workflow:{nodes:(a.plotNodes||[]).map(a=>({id:a.id,x:a.x,y:a.y,title:a.title,description:a.description,color:a.color,type:a.type})),connections:(a.plotConnections||[]).map(a=>({id:a.id,source:a.source,target:a.target}))}};f(a=>a.map(a=>a.id===g?b:a))}catch(a){console.error("Failed to load project details",a)}})()},[g]);let k=async(a,b)=>{try{let d=await c.default.chapters.create({projectId:a,title:b.title||"New Chapter",content:b.content||"",summary:b.summary||void 0});return f(b=>b.map(b=>b.id!==a?b:{...b,chapters:[...b.chapters,{id:d.id,title:d.title,content:d.content,summary:d.summary}]})),d.id}catch(a){return console.error("Failed to add chapter",a),null}};return{projects:e,currentProjectId:g,setCurrentProjectId:h,createProject:async()=>{if(a)try{let b=await c.default.projects.create({title:d.DEFAULT_BOOK_TITLE,author:a.name||d.DEFAULT_AUTHOR,settings:{genre:"Fantasy",targetAudience:"Adult",tone:"Epic"}}),e={id:b.id,title:b.title,author:b.author,lastModified:Date.now(),chapters:[],entities:[],ideas:[],settings:b.settings};return f(a=>[...a,e]),await k(b.id,d.INITIAL_CHAPTER),b.id}catch(a){throw console.error("Failed to create project",a),a}},updateProject:async(a,b)=>{f(c=>c.map(c=>c.id===a?{...c,...b}:c));try{let d={};void 0!==b.title&&(d.title=b.title),void 0!==b.author&&(d.author=b.author),void 0!==b.settings&&(d.settings=b.settings),void 0!==b.styleGuide&&(d.styleGuide=b.styleGuide),Object.keys(d).length>0&&await c.default.projects.update(a,d),b.workflow&&await c.default.projects.syncWorkflow(a,{nodes:b.workflow.nodes||[],connections:b.workflow.connections||[]})}catch(a){console.error("Failed to update project",a)}},addChapter:k,updateChapter:async(a,b,d)=>{f(c=>c.map(c=>c.id!==a?c:{...c,chapters:c.chapters.map(a=>a.id===b?{...a,...d}:a)}));try{await c.default.chapters.update(b,d)}catch(a){console.error("Failed to update chapter",a)}},createEntity:async(a,b,d)=>{try{let e=await c.default.entities.create({projectId:a,type:b,name:d?.name||`Nouveau ${b}`,description:d?.description||"",details:d?.details||"",attributes:d?.attributes||void 0,customValues:d?.customValues||void 0});return f(b=>b.map(b=>b.id!==a?b:{...b,entities:[...b.entities,{id:e.id,type:e.type,name:e.name,description:e.description,details:e.details,attributes:e.attributes,customValues:e.customValues||{}}]})),e.id}catch(a){throw console.error("Failed to create entity",a),a}},updateEntity:async(a,b,d)=>{f(c=>c.map(c=>c.id!==a?c:{...c,entities:c.entities.map(a=>a.id===b?{...a,...d}:a)}));try{await c.default.entities.update(b,d)}catch(a){console.error("Failed to update entity",a)}},deleteEntity:async(a,b)=>{f(c=>c.map(c=>c.id!==a?c:{...c,entities:c.entities.filter(a=>a.id!==b)}));try{await c.default.entities.delete(b)}catch(a){console.error("Failed to delete entity",a)}},deleteProject:async a=>{try{await c.default.projects.delete(a),f(b=>b.filter(b=>b.id!==a)),g===a&&h(null)}catch(a){console.error("Failed to delete project",a)}}}}],3622);var e=a.i(29892);let f=(0,e.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>f],5127);let g=(0,e.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);a.s(["LogOut",()=>g],38089)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__1b95e5fe._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js.map deleted file mode 100644 index 3499068..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__1b95e5fe._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/loader-circle.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/book-open.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/sparkles.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/x.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/settings.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/user.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/panels-top-left.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/mouse-pointer-click.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/refresh-cw.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/lightbulb.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/git-graph.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/globe.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/lib/types.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/plus.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/providers/ProjectProvider.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/trash-2.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/zap.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/message-circle.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/book.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/lib/constants.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/hooks/useProjects.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/log-out.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/chevron-right.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M21 12a9 9 0 1 1-6.219-8.56', key: '13zald' }]];\n\n/**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LoaderCircle = createLucideIcon('loader-circle', __iconNode);\n\nexport default LoaderCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 7v14', key: '1akyts' }],\n [\n 'path',\n {\n d: 'M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z',\n key: 'ruj8y',\n },\n ],\n];\n\n/**\n * @component @name BookOpen\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgN3YxNCIgLz4KICA8cGF0aCBkPSJNMyAxOGExIDEgMCAwIDEtMS0xVjRhMSAxIDAgMCAxIDEtMWg1YTQgNCAwIDAgMSA0IDQgNCA0IDAgMCAxIDQtNGg1YTEgMSAwIDAgMSAxIDF2MTNhMSAxIDAgMCAxLTEgMWgtNmEzIDMgMCAwIDAtMyAzIDMgMyAwIDAgMC0zLTN6IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/book-open\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BookOpen = createLucideIcon('book-open', __iconNode);\n\nexport default BookOpen;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z',\n key: '1s2grr',\n },\n ],\n ['path', { d: 'M20 2v4', key: '1rf3ol' }],\n ['path', { d: 'M22 4h-4', key: 'gwowj6' }],\n ['circle', { cx: '4', cy: '20', r: '2', key: '6kqj1y' }],\n];\n\n/**\n * @component @name Sparkles\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTEuMDE3IDIuODE0YTEgMSAwIDAgMSAxLjk2NiAwbDEuMDUxIDUuNTU4YTIgMiAwIDAgMCAxLjU5NCAxLjU5NGw1LjU1OCAxLjA1MWExIDEgMCAwIDEgMCAxLjk2NmwtNS41NTggMS4wNTFhMiAyIDAgMCAwLTEuNTk0IDEuNTk0bC0xLjA1MSA1LjU1OGExIDEgMCAwIDEtMS45NjYgMGwtMS4wNTEtNS41NThhMiAyIDAgMCAwLTEuNTk0LTEuNTk0bC01LjU1OC0xLjA1MWExIDEgMCAwIDEgMC0xLjk2Nmw1LjU1OC0xLjA1MWEyIDIgMCAwIDAgMS41OTQtMS41OTR6IiAvPgogIDxwYXRoIGQ9Ik0yMCAydjQiIC8+CiAgPHBhdGggZD0iTTIyIDRoLTQiIC8+CiAgPGNpcmNsZSBjeD0iNCIgY3k9IjIwIiByPSIyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/sparkles\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Sparkles = createLucideIcon('sparkles', __iconNode);\n\nexport default Sparkles;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M18 6 6 18', key: '1bl5f8' }],\n ['path', { d: 'm6 6 12 12', key: 'd8bk6v' }],\n];\n\n/**\n * @component @name X\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTggNiA2IDE4IiAvPgogIDxwYXRoIGQ9Im02IDYgMTIgMTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/x\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst X = createLucideIcon('x', __iconNode);\n\nexport default X;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915',\n key: '1i5ecw',\n },\n ],\n ['circle', { cx: '12', cy: '12', r: '3', key: '1v7zrd' }],\n];\n\n/**\n * @component @name Settings\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOS42NzEgNC4xMzZhMi4zNCAyLjM0IDAgMCAxIDQuNjU5IDAgMi4zNCAyLjM0IDAgMCAwIDMuMzE5IDEuOTE1IDIuMzQgMi4zNCAwIDAgMSAyLjMzIDQuMDMzIDIuMzQgMi4zNCAwIDAgMCAwIDMuODMxIDIuMzQgMi4zNCAwIDAgMS0yLjMzIDQuMDMzIDIuMzQgMi4zNCAwIDAgMC0zLjMxOSAxLjkxNSAyLjM0IDIuMzQgMCAwIDEtNC42NTkgMCAyLjM0IDIuMzQgMCAwIDAtMy4zMi0xLjkxNSAyLjM0IDIuMzQgMCAwIDEtMi4zMy00LjAzMyAyLjM0IDIuMzQgMCAwIDAgMC0zLjgzMUEyLjM0IDIuMzQgMCAwIDEgNi4zNSA2LjA1MWEyLjM0IDIuMzQgMCAwIDAgMy4zMTktMS45MTUiIC8+CiAgPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMyIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/settings\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Settings = createLucideIcon('settings', __iconNode);\n\nexport default Settings;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2', key: '975kel' }],\n ['circle', { cx: '12', cy: '7', r: '4', key: '17ys0d' }],\n];\n\n/**\n * @component @name User\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTkgMjF2LTJhNCA0IDAgMCAwLTQtNEg5YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/user\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst User = createLucideIcon('user', __iconNode);\n\nexport default User;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '18', x: '3', y: '3', rx: '2', key: 'afitv7' }],\n ['path', { d: 'M3 9h18', key: '1pudct' }],\n ['path', { d: 'M9 21V9', key: '1oto5p' }],\n];\n\n/**\n * @component @name PanelsTopLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjMiIHJ4PSIyIiAvPgogIDxwYXRoIGQ9Ik0zIDloMTgiIC8+CiAgPHBhdGggZD0iTTkgMjFWOSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/panels-top-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PanelsTopLeft = createLucideIcon('panels-top-left', __iconNode);\n\nexport default PanelsTopLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M14 4.1 12 6', key: 'ita8i4' }],\n ['path', { d: 'm5.1 8-2.9-.8', key: '1go3kf' }],\n ['path', { d: 'm6 12-1.9 2', key: 'mnht97' }],\n ['path', { d: 'M7.2 2.2 8 5.1', key: '1cfko1' }],\n [\n 'path',\n {\n d: 'M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z',\n key: 's0h3yz',\n },\n ],\n];\n\n/**\n * @component @name MousePointerClick\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTQgNC4xIDEyIDYiIC8+CiAgPHBhdGggZD0ibTUuMSA4LTIuOS0uOCIgLz4KICA8cGF0aCBkPSJtNiAxMi0xLjkgMiIgLz4KICA8cGF0aCBkPSJNNy4yIDIuMiA4IDUuMSIgLz4KICA8cGF0aCBkPSJNOS4wMzcgOS42OWEuNDk4LjQ5OCAwIDAgMSAuNjUzLS42NTNsMTEgNC41YS41LjUgMCAwIDEtLjA3NC45NDlsLTQuMzQ5IDEuMDQxYTEgMSAwIDAgMC0uNzQuNzM5bC0xLjA0IDQuMzVhLjUuNSAwIDAgMS0uOTUuMDc0eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/mouse-pointer-click\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst MousePointerClick = createLucideIcon('mouse-pointer-click', __iconNode);\n\nexport default MousePointerClick;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8', key: 'v9h5vc' }],\n ['path', { d: 'M21 3v5h-5', key: '1q7to0' }],\n ['path', { d: 'M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16', key: '3uifl3' }],\n ['path', { d: 'M8 16H3v5', key: '1cv678' }],\n];\n\n/**\n * @component @name RefreshCw\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAwIDEgOS05IDkuNzUgOS43NSAwIDAgMSA2Ljc0IDIuNzRMMjEgOCIgLz4KICA8cGF0aCBkPSJNMjEgM3Y1aC01IiAvPgogIDxwYXRoIGQ9Ik0yMSAxMmE5IDkgMCAwIDEtOSA5IDkuNzUgOS43NSAwIDAgMS02Ljc0LTIuNzRMMyAxNiIgLz4KICA8cGF0aCBkPSJNOCAxNkgzdjUiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/refresh-cw\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst RefreshCw = createLucideIcon('refresh-cw', __iconNode);\n\nexport default RefreshCw;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5',\n key: '1gvzjb',\n },\n ],\n ['path', { d: 'M9 18h6', key: 'x1upvd' }],\n ['path', { d: 'M10 22h4', key: 'ceow96' }],\n];\n\n/**\n * @component @name Lightbulb\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgMTRjLjItMSAuNy0xLjcgMS41LTIuNSAxLS45IDEuNS0yLjIgMS41LTMuNUE2IDYgMCAwIDAgNiA4YzAgMSAuMiAyLjIgMS41IDMuNS43LjcgMS4zIDEuNSAxLjUgMi41IiAvPgogIDxwYXRoIGQ9Ik05IDE4aDYiIC8+CiAgPHBhdGggZD0iTTEwIDIyaDQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/lightbulb\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Lightbulb = createLucideIcon('lightbulb', __iconNode);\n\nexport default Lightbulb;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '5', cy: '6', r: '3', key: '1qnov2' }],\n ['path', { d: 'M5 9v6', key: '158jrl' }],\n ['circle', { cx: '5', cy: '18', r: '3', key: '104gr9' }],\n ['path', { d: 'M12 3v18', key: '108xh3' }],\n ['circle', { cx: '19', cy: '6', r: '3', key: '108a5v' }],\n ['path', { d: 'M16 15.7A9 9 0 0 0 19 9', key: '1e3vqb' }],\n];\n\n/**\n * @component @name GitGraph\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI1IiBjeT0iNiIgcj0iMyIgLz4KICA8cGF0aCBkPSJNNSA5djYiIC8+CiAgPGNpcmNsZSBjeD0iNSIgY3k9IjE4IiByPSIzIiAvPgogIDxwYXRoIGQ9Ik0xMiAzdjE4IiAvPgogIDxjaXJjbGUgY3g9IjE5IiBjeT0iNiIgcj0iMyIgLz4KICA8cGF0aCBkPSJNMTYgMTUuN0E5IDkgMCAwIDAgMTkgOSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/git-graph\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GitGraph = createLucideIcon('git-graph', __iconNode);\n\nexport default GitGraph;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20', key: '13o1zl' }],\n ['path', { d: 'M2 12h20', key: '9i4pu4' }],\n];\n\n/**\n * @component @name Globe\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMmExNC41IDE0LjUgMCAwIDAgMCAyMCAxNC41IDE0LjUgMCAwIDAgMC0yMCIgLz4KICA8cGF0aCBkPSJNMiAxMmgyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/globe\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Globe = createLucideIcon('globe', __iconNode);\n\nexport default Globe;\n","\nexport enum EntityType {\n CHARACTER = 'Personnage',\n LOCATION = 'Lieu',\n OBJECT = 'Objet',\n NOTE = 'Note'\n}\n\nexport interface CharacterAttributes {\n age: number;\n height: number;\n hair: string;\n eyes: string;\n archetype: string;\n role: 'protagonist' | 'antagonist' | 'support' | 'extra';\n personality: {\n spectrumIntrovertExtravert: number;\n spectrumEmotionalRational: number;\n spectrumChaoticLawful: number;\n };\n physicalQuirk: string;\n behavioralQuirk: string;\n}\n\nexport type CustomFieldType = 'text' | 'textarea' | 'number' | 'boolean' | 'select';\n\nexport interface CustomFieldDefinition {\n id: string;\n label: string;\n type: CustomFieldType;\n options?: string[];\n placeholder?: string;\n}\n\nexport interface EntityTemplate {\n entityType: EntityType;\n fields: CustomFieldDefinition[];\n}\n\nexport interface Entity {\n id: string;\n type: EntityType;\n name: string;\n description: string;\n details: string;\n storyContext?: string;\n attributes?: CharacterAttributes;\n customValues?: Record;\n}\n\nexport interface Chapter {\n id: string;\n title: string;\n content: string;\n summary?: string;\n}\n\nexport type PlotNodeType = 'story' | 'dialogue' | 'action';\n\nexport interface PlotNode {\n id: string;\n x: number;\n y: number;\n title: string;\n description: string;\n color: string;\n type?: PlotNodeType;\n}\n\nexport interface PlotConnection {\n id: string;\n source: string;\n target: string;\n}\n\nexport interface WorkflowData {\n nodes: PlotNode[];\n connections: PlotConnection[];\n}\n\nexport type IdeaStatus = 'todo' | 'progress' | 'done';\nexport type IdeaCategory = 'plot' | 'character' | 'research' | 'todo';\n\nexport interface Idea {\n id: string;\n title: string;\n description: string;\n status: IdeaStatus;\n category: IdeaCategory;\n createdAt: number;\n}\n\nexport interface BookSettings {\n genre: string;\n subGenre?: string;\n targetAudience: string;\n tone: string;\n pov: string;\n tense: string;\n synopsis: string;\n themes: string;\n}\n\nexport interface BookProject {\n id: string;\n title: string;\n author: string;\n lastModified: number;\n settings?: BookSettings;\n // Direct fields sometimes used in creation/updates before settings normalization\n genre?: string;\n pov?: string;\n tense?: string;\n chapters: Chapter[];\n entities: Entity[];\n workflow?: WorkflowData;\n templates?: EntityTemplate[];\n styleGuide?: string;\n ideas?: Idea[];\n}\n\nexport interface ChatMessage {\n id: string;\n role: 'user' | 'model';\n text: string;\n responseType?: 'draft' | 'reflection';\n isLoading?: boolean;\n}\n\n// --- SAAS TYPES ---\n\nexport interface PlanData {\n id: string;\n name: string;\n displayName: string;\n price: number;\n description: string;\n features: string[];\n isPopular: boolean;\n maxProjects: number;\n maxAiActions: number;\n}\n\nexport interface Subscription {\n plan: string; // The ID of the plan\n planDetails?: PlanData; // The populated plan details from DB\n startDate: number;\n status: 'active' | 'canceled' | 'past_due';\n}\n\nexport interface UserUsage {\n aiActionsCurrent: number;\n aiActionsLimit: number;\n projectsLimit: number;\n}\n\nexport interface UserPreferences {\n theme: 'light' | 'dark' | 'sepia';\n dailyWordGoal: number;\n language: 'fr' | 'en';\n}\n\nexport interface UserStats {\n totalWordsWritten: number;\n writingStreak: number;\n lastWriteDate: number;\n}\n\nexport interface UserProfile {\n id: string;\n email: string;\n name: string;\n avatar?: string;\n bio?: string;\n subscription: Subscription;\n usage: UserUsage;\n preferences: UserPreferences;\n stats: UserStats;\n}\n\nexport type ViewMode = 'write' | 'world_building' | 'workflow' | 'settings' | 'preview' | 'ideas' | 'landing' | 'features' | 'pricing' | 'checkout' | 'dashboard' | 'auth' | 'signup' | 'profile';\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'M12 5v14', key: 's699le' }],\n];\n\n/**\n * @component @name Plus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJNMTIgNXYxNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/plus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Plus = createLucideIcon('plus', __iconNode);\n\nexport default Plus;\n","'use client';\r\n\r\nimport React, { createContext, useContext } from 'react';\r\nimport { BookProject, UserProfile, Entity, EntityType } from '@/lib/types';\r\n\r\ninterface ProjectContextType {\r\n project: BookProject;\r\n user: UserProfile;\r\n projectId: string;\r\n currentChapterId: string;\r\n setCurrentChapterId: (id: string) => void;\r\n updateProject: (updates: Partial) => void;\r\n updateChapter: (chapterId: string, data: any) => void;\r\n createEntity: (type: EntityType, initialData?: Partial) => Promise;\r\n updateEntity: (entityId: string, data: Partial) => Promise;\r\n deleteEntity: (entityId: string) => Promise;\r\n deleteProject: () => Promise;\r\n incrementUsage: () => void;\r\n}\r\n\r\nconst ProjectContext = createContext(null);\r\n\r\nexport function ProjectProvider({\r\n value,\r\n children,\r\n}: {\r\n value: ProjectContextType;\r\n children: React.ReactNode;\r\n}) {\r\n return {children};\r\n}\r\n\r\nexport function useProjectContext(): ProjectContextType {\r\n const ctx = useContext(ProjectContext);\r\n if (!ctx) throw new Error('useProjectContext must be used within ProjectProvider');\r\n return ctx;\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10 11v6', key: 'nco0om' }],\n ['path', { d: 'M14 11v6', key: 'outv1u' }],\n ['path', { d: 'M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6', key: 'miytrc' }],\n ['path', { d: 'M3 6h18', key: 'd0wm0j' }],\n ['path', { d: 'M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2', key: 'e791ji' }],\n];\n\n/**\n * @component @name Trash2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTAgMTF2NiIgLz4KICA8cGF0aCBkPSJNMTQgMTF2NiIgLz4KICA8cGF0aCBkPSJNMTkgNnYxNGEyIDIgMCAwIDEtMiAySDdhMiAyIDAgMCAxLTItMlY2IiAvPgogIDxwYXRoIGQ9Ik0zIDZoMTgiIC8+CiAgPHBhdGggZD0iTTggNlY0YTIgMiAwIDAgMSAyLTJoNGEyIDIgMCAwIDEgMiAydjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/trash-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Trash2 = createLucideIcon('trash-2', __iconNode);\n\nexport default Trash2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z',\n key: '1xq2db',\n },\n ],\n];\n\n/**\n * @component @name Zap\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxNGExIDEgMCAwIDEtLjc4LTEuNjNsOS45LTEwLjJhLjUuNSAwIDAgMSAuODYuNDZsLTEuOTIgNi4wMkExIDEgMCAwIDAgMTMgMTBoN2ExIDEgMCAwIDEgLjc4IDEuNjNsLTkuOSAxMC4yYS41LjUgMCAwIDEtLjg2LS40NmwxLjkyLTYuMDJBMSAxIDAgMCAwIDExIDE0eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/zap\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Zap = createLucideIcon('zap', __iconNode);\n\nexport default Zap;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719',\n key: '1sd12s',\n },\n ],\n];\n\n/**\n * @component @name MessageCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMi45OTIgMTYuMzQyYTIgMiAwIDAgMSAuMDk0IDEuMTY3bC0xLjA2NSAzLjI5YTEgMSAwIDAgMCAxLjIzNiAxLjE2OGwzLjQxMy0uOTk4YTIgMiAwIDAgMSAxLjA5OS4wOTIgMTAgMTAgMCAxIDAtNC43NzctNC43MTkiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/message-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst MessageCircle = createLucideIcon('message-circle', __iconNode);\n\nexport default MessageCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20',\n key: 'k3hazp',\n },\n ],\n];\n\n/**\n * @component @name Book\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxOS41di0xNUEyLjUgMi41IDAgMCAxIDYuNSAySDE5YTEgMSAwIDAgMSAxIDF2MThhMSAxIDAgMCAxLTEgMUg2LjVhMSAxIDAgMCAxIDAtNUgyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/book\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Book = createLucideIcon('book', __iconNode);\n\nexport default Book;\n","\nimport { EntityType } from \"./types\";\n\nexport const DEFAULT_BOOK_TITLE = \"Nouveau Roman\";\nexport const DEFAULT_AUTHOR = \"Auteur Inconnu\";\n\nexport const INITIAL_CHAPTER = {\n id: 'chap-1',\n title: 'Chapitre 1',\n content: '

Il était une fois...

',\n summary: 'Début de l\\'histoire.'\n};\n\nexport const ENTITY_ICONS: Record = {\n [EntityType.CHARACTER]: '👤',\n [EntityType.LOCATION]: '🏰',\n [EntityType.OBJECT]: '🗝️',\n [EntityType.NOTE]: '📝',\n};\n\n// Colors for tags\nexport const ENTITY_COLORS: Record = {\n [EntityType.CHARACTER]: 'bg-blue-100 text-blue-800 border-blue-200',\n [EntityType.LOCATION]: 'bg-green-100 text-green-800 border-green-200',\n [EntityType.OBJECT]: 'bg-amber-100 text-amber-800 border-amber-200',\n [EntityType.NOTE]: 'bg-gray-100 text-gray-800 border-gray-200',\n};\n\n// --- Character Creation Lists ---\n\nexport const HAIR_COLORS = [\n \"Brun\", \"Noir\", \"Blond\", \"Roux\", \"Auburn\", \"Gris\", \"Blanc\", \"Châtain\", \"Chauve\", \"Teinture (Bleu/Rose/Etc)\"\n];\n\nexport const EYE_COLORS = [\n \"Marron\", \"Bleu\", \"Vert\", \"Noisette\", \"Gris\", \"Noir\", \"Vairons\", \"Ambre\"\n];\n\nexport const ARCHETYPES = [\n \"Le Héros\", \"L'Ombre / Le Méchant\", \"Le Mentor\", \"Le Gardien du Seuil\",\n \"Le Shapeshifter (Changeforme)\", \"Le Trickster (Farceur)\", \"L'Allié\", \"L'Élu\",\n \"Le Rebelle\", \"Le Séducteur\", \"Le Sage\", \"Le Guerrier\", \"L'Innocent\"\n];\n\n// --- Book Settings Lists ---\n\nexport const GENRES = [\n \"Fantasy\", \"Science-Fiction\", \"Thriller / Polar\", \"Romance\", \"Historique\",\n \"Horreur\", \"Aventure\", \"Contemporain\", \"Jeunesse / Young Adult\", \"Dystopie\"\n];\n\nexport const TONES = [\n \"Sombre & Sérieux\", \"Léger & Humoristique\", \"Épique & Grandiose\",\n \"Mélancolique\", \"Mystérieux\", \"Optimiste\", \"Cynique\", \"Romantique\"\n];\n\nexport const POV_OPTIONS = [\n \"1ère personne (Je)\",\n \"3ème personne (Limitée au protagoniste)\",\n \"3ème personne (Omnisciente)\",\n \"Multi-points de vue (Alterné)\"\n];\n\nexport const TENSE_OPTIONS = [\n \"Passé (Passé simple / Imparfait)\",\n \"Présent de narration\"\n];","'use client';\r\n\r\nimport { useState, useEffect } from 'react';\r\nimport {\r\n BookProject,\r\n Chapter,\r\n Entity,\r\n EntityType,\r\n UserProfile,\r\n} from '@/lib/types';\r\nimport api from '@/lib/api';\r\nimport {\r\n DEFAULT_BOOK_TITLE,\r\n DEFAULT_AUTHOR,\r\n INITIAL_CHAPTER\r\n} from '@/lib/constants';\r\n\r\nexport const useProjects = (user: UserProfile | null) => {\r\n const [projects, setProjects] = useState([]);\r\n const [currentProjectId, setCurrentProjectId] = useState(null);\r\n const [loading, setLoading] = useState(false);\r\n\r\n // Load Projects\r\n useEffect(() => {\r\n if (!user) {\r\n setProjects([]);\r\n return;\r\n }\r\n const loadProjects = async () => {\r\n setLoading(true);\r\n try {\r\n const data = await api.projects.list();\r\n const mapped: BookProject[] = (data || []).map((p: any) => ({\r\n id: p.id,\r\n title: p.title,\r\n author: p.author,\r\n lastModified: new Date(p.updatedAt).getTime(),\r\n // Use _count for display before full details are loaded\r\n chapters: Array.from({ length: p._count?.chapters || 0 }, (_, i) => ({ id: `placeholder-${i}`, title: '', content: '' })),\r\n entities: Array.from({ length: p._count?.entities || 0 }, (_, i) => ({ id: `placeholder-${i}`, type: 'character' as any, name: '', description: '' })),\r\n ideas: [],\r\n settings: p.settings || undefined\r\n }));\r\n setProjects(mapped);\r\n } catch (err) {\r\n console.error('Failed to load projects', err);\r\n } finally {\r\n setLoading(false);\r\n }\r\n };\r\n loadProjects();\r\n }, [user]);\r\n\r\n // Load details when project is selected\r\n useEffect(() => {\r\n if (!currentProjectId) return;\r\n\r\n const loadProjectDetails = async () => {\r\n try {\r\n const fullProject = await api.projects.get(currentProjectId);\r\n const mapped: BookProject = {\r\n id: fullProject.id,\r\n title: fullProject.title,\r\n author: fullProject.author,\r\n lastModified: new Date(fullProject.updatedAt).getTime(),\r\n settings: fullProject.settings || undefined,\r\n styleGuide: fullProject.styleGuide || undefined,\r\n chapters: (fullProject.chapters || []).map((c: any) => ({\r\n id: c.id,\r\n title: c.title,\r\n content: c.content,\r\n summary: c.summary,\r\n })),\r\n entities: (fullProject.entities || []).map((e: any) => ({\r\n id: e.id,\r\n type: e.type,\r\n name: e.name,\r\n description: e.description,\r\n details: e.details,\r\n storyContext: e.storyContext,\r\n attributes: e.attributes,\r\n customValues: e.customValues,\r\n })),\r\n ideas: (fullProject.ideas || []).map((i: any) => ({\r\n id: i.id,\r\n title: i.title,\r\n description: i.description,\r\n status: i.status,\r\n category: i.category,\r\n createdAt: new Date(i.createdAt).getTime(),\r\n })),\r\n workflow: {\r\n nodes: (fullProject.plotNodes || []).map((n: any) => ({\r\n id: n.id,\r\n x: n.x,\r\n y: n.y,\r\n title: n.title,\r\n description: n.description,\r\n color: n.color,\r\n type: n.type,\r\n })),\r\n connections: (fullProject.plotConnections || []).map((c: any) => ({\r\n id: c.id,\r\n source: c.source,\r\n target: c.target,\r\n })),\r\n },\r\n };\r\n setProjects(prev => prev.map(p => p.id === currentProjectId ? mapped : p));\r\n } catch (err) {\r\n console.error(\"Failed to load project details\", err);\r\n }\r\n };\r\n loadProjectDetails();\r\n }, [currentProjectId]);\r\n\r\n const createProject = async () => {\r\n if (!user) return;\r\n\r\n try {\r\n const created = await api.projects.create({\r\n title: DEFAULT_BOOK_TITLE,\r\n author: user.name || DEFAULT_AUTHOR,\r\n settings: { genre: 'Fantasy', targetAudience: 'Adult', tone: 'Epic' },\r\n });\r\n\r\n const newProject: BookProject = {\r\n id: created.id,\r\n title: created.title,\r\n author: created.author,\r\n lastModified: Date.now(),\r\n chapters: [],\r\n entities: [],\r\n ideas: [],\r\n settings: created.settings,\r\n };\r\n\r\n setProjects(prev => [...prev, newProject]);\r\n await addChapter(created.id, INITIAL_CHAPTER);\r\n return created.id;\r\n } catch (err) {\r\n console.error('Failed to create project', err);\r\n throw err;\r\n }\r\n };\r\n\r\n const updateProject = async (id: string, data: Partial) => {\r\n setProjects(prev => prev.map(p => p.id === id ? { ...p, ...data } : p));\r\n\r\n try {\r\n // Persist project fields\r\n const payload: any = {};\r\n if (data.title !== undefined) payload.title = data.title;\r\n if (data.author !== undefined) payload.author = data.author;\r\n if (data.settings !== undefined) payload.settings = data.settings;\r\n if (data.styleGuide !== undefined) payload.styleGuide = data.styleGuide;\r\n if (Object.keys(payload).length > 0) {\r\n await api.projects.update(id, payload);\r\n }\r\n\r\n // Persist workflow (nodes + connections) separately\r\n if (data.workflow) {\r\n await api.projects.syncWorkflow(id, {\r\n nodes: data.workflow.nodes || [],\r\n connections: data.workflow.connections || [],\r\n });\r\n }\r\n } catch (err) {\r\n console.error(\"Failed to update project\", err);\r\n }\r\n };\r\n\r\n const addChapter = async (projectId: string, chapterData: Partial) => {\r\n try {\r\n const newChap = await api.chapters.create({\r\n projectId,\r\n title: chapterData.title || 'New Chapter',\r\n content: chapterData.content || '',\r\n summary: chapterData.summary || undefined,\r\n });\r\n\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n chapters: [...p.chapters, {\r\n id: newChap.id,\r\n title: newChap.title,\r\n content: newChap.content,\r\n summary: newChap.summary,\r\n }]\r\n };\r\n }));\r\n return newChap.id;\r\n } catch (err) {\r\n console.error(\"Failed to add chapter\", err);\r\n return null;\r\n }\r\n };\r\n\r\n const updateChapter = async (projectId: string, chapterId: string, data: Partial) => {\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n chapters: p.chapters.map(c => c.id === chapterId ? { ...c, ...data } : c)\r\n };\r\n }));\r\n\r\n try {\r\n await api.chapters.update(chapterId, data);\r\n } catch (err) {\r\n console.error(\"Failed to update chapter\", err);\r\n }\r\n };\r\n\r\n const createEntity = async (projectId: string, type: EntityType, initialData?: Partial) => {\r\n try {\r\n const newEntity = await api.entities.create({\r\n projectId,\r\n type,\r\n name: initialData?.name || `Nouveau ${type}`,\r\n description: initialData?.description || '',\r\n details: initialData?.details || '',\r\n attributes: initialData?.attributes || undefined,\r\n customValues: initialData?.customValues || undefined,\r\n });\r\n\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n entities: [...p.entities, {\r\n id: newEntity.id,\r\n type: newEntity.type,\r\n name: newEntity.name,\r\n description: newEntity.description,\r\n details: newEntity.details,\r\n attributes: newEntity.attributes,\r\n customValues: newEntity.customValues || {},\r\n }]\r\n };\r\n }));\r\n return newEntity.id;\r\n } catch (err) {\r\n console.error(\"Failed to create entity\", err);\r\n throw err;\r\n }\r\n };\r\n\r\n const updateEntity = async (projectId: string, entityId: string, data: Partial) => {\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n entities: p.entities.map(e => e.id === entityId ? { ...e, ...data } : e)\r\n };\r\n }));\r\n\r\n try {\r\n await api.entities.update(entityId, data);\r\n } catch (err) {\r\n console.error(\"Failed to update entity\", err);\r\n }\r\n };\r\n\r\n const deleteEntity = async (projectId: string, entityId: string) => {\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n entities: p.entities.filter(e => e.id !== entityId)\r\n };\r\n }));\r\n\r\n try {\r\n await api.entities.delete(entityId);\r\n } catch (err) {\r\n console.error(\"Failed to delete entity\", err);\r\n }\r\n };\r\n\r\n return {\r\n projects,\r\n currentProjectId,\r\n setCurrentProjectId,\r\n createProject,\r\n updateProject,\r\n addChapter,\r\n updateChapter,\r\n createEntity,\r\n updateEntity,\r\n deleteEntity,\r\n deleteProject: async (projectId: string) => {\r\n try {\r\n // Cascade delete is handled by Prisma, just delete the project\r\n await api.projects.delete(projectId);\r\n\r\n setProjects(prev => prev.filter(p => p.id !== projectId));\r\n if (currentProjectId === projectId) {\r\n setCurrentProjectId(null);\r\n }\r\n } catch (err) {\r\n console.error(\"Failed to delete project\", err);\r\n }\r\n }\r\n };\r\n};\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm16 17 5-5-5-5', key: '1bji2h' }],\n ['path', { d: 'M21 12H9', key: 'dn1m92' }],\n ['path', { d: 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4', key: '1uf3rs' }],\n];\n\n/**\n * @component @name LogOut\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTYgMTcgNS01LTUtNSIgLz4KICA8cGF0aCBkPSJNMjEgMTJIOSIgLz4KICA8cGF0aCBkPSJNOSAyMUg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yaDQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/log-out\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LogOut = createLucideIcon('log-out', __iconNode);\n\nexport default LogOut;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm9 18 6-6-6-6', key: 'mthhwq' }]];\n\n/**\n * @component @name ChevronRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtOSAxOCA2LTYtNi02IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/chevron-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronRight = createLucideIcon('chevron-right', __iconNode);\n\nexport default ChevronRight;\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BC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AAE,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAY,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACzC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAQ,CAAA,AAAE,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA2C,AAA3C,CAA2C,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CAC1E","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,24,26,27,28,29,32,33]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__26d3d76a._.js b/.next/server/chunks/ssr/[root-of-the-server]__26d3d76a._.js deleted file mode 100644 index 83715ac..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__26d3d76a._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},73258,a=>{"use strict";let b=(0,a.i(29892).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);a.s(["BookOpen",()=>b],73258)},806,a=>{"use strict";let b=(0,a.i(29892).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);a.s(["Sparkles",()=>b],806)},84104,a=>{"use strict";let b=(0,a.i(29892).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);a.s(["ArrowLeft",()=>b],84104)},10704,a=>{"use strict";let b=(0,a.i(29892).default)("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);a.s(["Feather",()=>b],10704)},63287,a=>{"use strict";let b=(0,a.i(29892).default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);a.s(["Lightbulb",()=>b],63287)},95556,27197,a=>{"use strict";var b=a.i(29892);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],95556);let d=(0,b.default)("git-graph",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v6",key:"158jrl"}],["circle",{cx:"5",cy:"18",r:"3",key:"104gr9"}],["path",{d:"M12 3v18",key:"108xh3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M16 15.7A9 9 0 0 0 19 9",key:"1e3vqb"}]]);a.s(["GitGraph",()=>d],27197)},34437,a=>{"use strict";var b=a.i(78352),c=a.i(806),d=a.i(10704),e=a.i(95556),f=a.i(27197),g=a.i(73258),h=a.i(63287),i=a.i(84104);let j=({onBack:a})=>{let j=[{title:"Assistant IA Co-Auteur",icon:c.Sparkles,desc:"Générez des paragraphes, brainstormez des idées et demandez conseil à une IA qui connaît votre univers."},{title:"Bible du Monde Vivante",icon:e.Globe,desc:"Gérez vos personnages, lieux et objets. L'IA les reconnaît et garde une cohérence absolue."},{title:"Story Workflow",icon:f.GitGraph,desc:"Visualisez votre intrigue sous forme de nœuds et gérez les embranchements de votre récit."},{title:"Boîte à Idées Kanban",icon:h.Lightbulb,desc:"Notez vos idées fugaces et transformez-les en chapitres quand vous êtes prêt."},{title:"Mise en page Pro",icon:g.BookOpen,desc:"Exportez au format PDF, Word ou EPUB avec une mise en page soignée et automatique."},{title:"Éditeur Riche",icon:d.Feather,desc:"Un traitement de texte complet avec mode focus et historique des modifications IA."}];return(0,b.jsx)("div",{className:"min-h-screen bg-[#eef2ff] py-20 px-8",children:(0,b.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,b.jsxs)("button",{onClick:a,className:"flex items-center gap-2 text-slate-500 hover:text-blue-600 mb-12 font-bold transition-colors",children:[(0,b.jsx)(i.ArrowLeft,{size:20})," Retour"]}),(0,b.jsx)("h1",{className:"text-5xl font-black text-slate-900 mb-12 text-center",children:"Un univers d'outils pour votre créativité."}),(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:j.map((a,c)=>(0,b.jsxs)("div",{className:"bg-white p-8 rounded-3xl shadow-xl border border-indigo-50 hover:scale-105 transition-transform",children:[(0,b.jsx)("div",{className:"w-12 h-12 bg-indigo-100 rounded-2xl flex items-center justify-center text-indigo-600 mb-6",children:(0,b.jsx)(a.icon,{size:24})}),(0,b.jsx)("h3",{className:"text-xl font-bold text-slate-900 mb-4",children:a.title}),(0,b.jsx)("p",{className:"text-slate-600 leading-relaxed",children:a.desc})]},c))})]})})};var k=a.i(34896),l=a.i(75192);function m(){let a=(0,k.useRouter)(),{data:c}=(0,l.useSession)();return(0,b.jsx)(j,{onBack:()=>a.push(c?"/dashboard":"/")})}a.s(["default",()=>m],34437)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__26d3d76a._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__26d3d76a._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__26d3d76a._.js.map deleted file mode 100644 index 5398606..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__26d3d76a._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/book-open.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/sparkles.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-left.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/feather.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/lightbulb.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/git-graph.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/globe.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/FeaturesPage.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/features/page.tsx"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 7v14', key: '1akyts' }],\n [\n 'path',\n {\n d: 'M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z',\n key: 'ruj8y',\n },\n ],\n];\n\n/**\n * @component @name BookOpen\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgN3YxNCIgLz4KICA8cGF0aCBkPSJNMyAxOGExIDEgMCAwIDEtMS0xVjRhMSAxIDAgMCAxIDEtMWg1YTQgNCAwIDAgMSA0IDQgNCA0IDAgMCAxIDQtNGg1YTEgMSAwIDAgMSAxIDF2MTNhMSAxIDAgMCAxLTEgMWgtNmEzIDMgMCAwIDAtMyAzIDMgMyAwIDAgMC0zLTN6IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/book-open\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BookOpen = createLucideIcon('book-open', __iconNode);\n\nexport default BookOpen;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z',\n key: '1s2grr',\n },\n ],\n ['path', { d: 'M20 2v4', key: '1rf3ol' }],\n ['path', { d: 'M22 4h-4', key: 'gwowj6' }],\n ['circle', { cx: '4', cy: '20', r: '2', key: '6kqj1y' }],\n];\n\n/**\n * @component @name Sparkles\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTEuMDE3IDIuODE0YTEgMSAwIDAgMSAxLjk2NiAwbDEuMDUxIDUuNTU4YTIgMiAwIDAgMCAxLjU5NCAxLjU5NGw1LjU1OCAxLjA1MWExIDEgMCAwIDEgMCAxLjk2NmwtNS41NTggMS4wNTFhMiAyIDAgMCAwLTEuNTk0IDEuNTk0bC0xLjA1MSA1LjU1OGExIDEgMCAwIDEtMS45NjYgMGwtMS4wNTEtNS41NThhMiAyIDAgMCAwLTEuNTk0LTEuNTk0bC01LjU1OC0xLjA1MWExIDEgMCAwIDEgMC0xLjk2Nmw1LjU1OC0xLjA1MWEyIDIgMCAwIDAgMS41OTQtMS41OTR6IiAvPgogIDxwYXRoIGQ9Ik0yMCAydjQiIC8+CiAgPHBhdGggZD0iTTIyIDRoLTQiIC8+CiAgPGNpcmNsZSBjeD0iNCIgY3k9IjIwIiByPSIyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/sparkles\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Sparkles = createLucideIcon('sparkles', __iconNode);\n\nexport default Sparkles;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm12 19-7-7 7-7', key: '1l729n' }],\n ['path', { d: 'M19 12H5', key: 'x3x0zl' }],\n];\n\n/**\n * @component @name ArrowLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTIgMTktNy03IDctNyIgLz4KICA8cGF0aCBkPSJNMTkgMTJINSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/arrow-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowLeft = createLucideIcon('arrow-left', __iconNode);\n\nexport default ArrowLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z',\n key: '18jl4k',\n },\n ],\n ['path', { d: 'M16 8 2 22', key: 'vp34q' }],\n ['path', { d: 'M17.5 15H9', key: '1oz8nu' }],\n];\n\n/**\n * @component @name Feather\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIuNjcgMTlhMiAyIDAgMCAwIDEuNDE2LS41ODhsNi4xNTQtNi4xNzJhNiA2IDAgMCAwLTguNDktOC40OUw1LjU4NiA5LjkxNEEyIDIgMCAwIDAgNSAxMS4zMjhWMThhMSAxIDAgMCAwIDEgMXoiIC8+CiAgPHBhdGggZD0iTTE2IDggMiAyMiIgLz4KICA8cGF0aCBkPSJNMTcuNSAxNUg5IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/feather\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Feather = createLucideIcon('feather', __iconNode);\n\nexport default Feather;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5',\n key: '1gvzjb',\n },\n ],\n ['path', { d: 'M9 18h6', key: 'x1upvd' }],\n ['path', { d: 'M10 22h4', key: 'ceow96' }],\n];\n\n/**\n * @component @name Lightbulb\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgMTRjLjItMSAuNy0xLjcgMS41LTIuNSAxLS45IDEuNS0yLjIgMS41LTMuNUE2IDYgMCAwIDAgNiA4YzAgMSAuMiAyLjIgMS41IDMuNS43LjcgMS4zIDEuNSAxLjUgMi41IiAvPgogIDxwYXRoIGQ9Ik05IDE4aDYiIC8+CiAgPHBhdGggZD0iTTEwIDIyaDQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/lightbulb\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Lightbulb = createLucideIcon('lightbulb', __iconNode);\n\nexport default Lightbulb;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '5', cy: '6', r: '3', key: '1qnov2' }],\n ['path', { d: 'M5 9v6', key: '158jrl' }],\n ['circle', { cx: '5', cy: '18', r: '3', key: '104gr9' }],\n ['path', { d: 'M12 3v18', key: '108xh3' }],\n ['circle', { cx: '19', cy: '6', r: '3', key: '108a5v' }],\n ['path', { d: 'M16 15.7A9 9 0 0 0 19 9', key: '1e3vqb' }],\n];\n\n/**\n * @component @name GitGraph\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSI1IiBjeT0iNiIgcj0iMyIgLz4KICA8cGF0aCBkPSJNNSA5djYiIC8+CiAgPGNpcmNsZSBjeD0iNSIgY3k9IjE4IiByPSIzIiAvPgogIDxwYXRoIGQ9Ik0xMiAzdjE4IiAvPgogIDxjaXJjbGUgY3g9IjE5IiBjeT0iNiIgcj0iMyIgLz4KICA8cGF0aCBkPSJNMTYgMTUuN0E5IDkgMCAwIDAgMTkgOSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/git-graph\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst GitGraph = createLucideIcon('git-graph', __iconNode);\n\nexport default GitGraph;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20', key: '13o1zl' }],\n ['path', { d: 'M2 12h20', key: '9i4pu4' }],\n];\n\n/**\n * @component @name Globe\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMmExNC41IDE0LjUgMCAwIDAgMCAyMCAxNC41IDE0LjUgMCAwIDAgMC0yMCIgLz4KICA8cGF0aCBkPSJNMiAxMmgyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/globe\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Globe = createLucideIcon('globe', __iconNode);\n\nexport default Globe;\n","'use client';\n\n\nimport React from 'react';\nimport { Sparkles, Feather, Globe, GitGraph, BookOpen, Download, Lightbulb, Zap, ArrowLeft } from 'lucide-react';\n\ninterface FeaturesPageProps {\n onBack: () => void;\n}\n\nconst FeaturesPage: React.FC = ({ onBack }) => {\n const features = [\n { title: \"Assistant IA Co-Auteur\", icon: Sparkles, desc: \"Générez des paragraphes, brainstormez des idées et demandez conseil à une IA qui connaît votre univers.\" },\n { title: \"Bible du Monde Vivante\", icon: Globe, desc: \"Gérez vos personnages, lieux et objets. L'IA les reconnaît et garde une cohérence absolue.\" },\n { title: \"Story Workflow\", icon: GitGraph, desc: \"Visualisez votre intrigue sous forme de nœuds et gérez les embranchements de votre récit.\" },\n { title: \"Boîte à Idées Kanban\", icon: Lightbulb, desc: \"Notez vos idées fugaces et transformez-les en chapitres quand vous êtes prêt.\" },\n { title: \"Mise en page Pro\", icon: BookOpen, desc: \"Exportez au format PDF, Word ou EPUB avec une mise en page soignée et automatique.\" },\n { title: \"Éditeur Riche\", icon: Feather, desc: \"Un traitement de texte complet avec mode focus et historique des modifications IA.\" }\n ];\n\n return (\n
\n
\n \n

Un univers d'outils pour votre créativité.

\n
\n {features.map((f, i) => (\n
\n
\n \n
\n

{f.title}

\n

{f.desc}

\n
\n ))}\n
\n
\n
\n );\n};\n\nexport default FeaturesPage;\n","'use client';\r\n\r\nimport FeaturesPage from '@/components/FeaturesPage';\r\nimport { useRouter } from 'next/navigation';\r\nimport { useSession } from 'next-auth/react';\r\n\r\nexport default function Features() {\r\n const router = useRouter();\r\n const { data: session } = useSession();\r\n\r\n return (\r\n router.push(session ? '/dashboard' : '/')}\r\n />\r\n );\r\n}\r\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BCFvCJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACE,kBAAkB,+BCFzCL,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACG,kBAAkB,wDKKvC,CDAA,AFAA,AGAA,CACG,MAAA,CAAO,CAAC,CHDI,AGCJ,CAAA,AHDI,CAAA,AGCJ,CHDI,AGCJ,AAAkB,CHDd,AGCJ,AHD0B,CGC1B,AHDI,AAAsB,CGC1B,AHDI,AAAsB,CAAtB,AGCJ,AHD0B,CGC1B,AHDI,AAA6B,AGCf,CAAlB,AHDI,AGCc,GAGU,CAAA,CAAA,CAAA,CAAA,CAAA,EAAX,CAAA,CAAA,CAAA,CAAA,CAAA,GACtB,EAAM,CAAA,CAAA,CAAN,AAAM,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAe,AAAf,CAAe,AAAf,CAAe,AAAf,CAAA,AAAe,CAAN,AAAM,CAAN,A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AA,EAAA,GAAA,EAAC,MAAA,CAAI,UAAU,gEACV,EAAS,GAAG,CAAC,CAAC,EAAG,IACd,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAY,UAAU,4GACnB,CAAA,EAAA,EAAA,GAAA,EAAC,MAAA,CAAI,UAAU,qGACX,CAAA,EAAA,EAAA,GAAA,EAAC,EAAE,IAAI,CAAA,CAAC,KAAM,OAElB,CAAA,EAAA,EAAA,GAAA,EAAC,KAAA,CAAG,UAAU,iDAAyC,EAAE,KAAK,GAC9D,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAE,UAAU,0CAAkC,EAAE,IAAI,KAL/C,UAY1B,ECtCA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,IAAM,EAAS,CAAA,EAAA,EAAA,SAAA,AAAS,IAClB,CAAE,KAAM,CAAO,CAAE,CAAG,CAAA,EAAA,EAAA,UAAA,AAAU,IAEpC,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,OAAQ,IAAM,EAAO,IAAI,CAAC,EAAU,aAAe,MAG/D","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__3d1ae521._.js b/.next/server/chunks/ssr/[root-of-the-server]__3d1ae521._.js deleted file mode 100644 index 4dc6359..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__3d1ae521._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},98205,a=>{"use strict";let b=(0,a.i(29892).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);a.s(["Save",()=>b],98205)},82772,a=>{"use strict";let b=(0,a.i(29892).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",()=>b],82772)},75108,a=>{"use strict";let b=(0,a.i(29892).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);a.s(["Layout",()=>b],75108)},89657,a=>{"use strict";let b=(0,a.i(29892).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);a.s(["Shield",()=>b],89657)},45285,a=>{"use strict";let b=(0,a.i(29892).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);a.s(["Target",()=>b],45285)},93216,a=>{"use strict";let b=(0,a.i(29892).default)("flame",[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]);a.s(["Flame",()=>b],93216)},98220,a=>{"use strict";var b=a.i(78352),c=a.i(34896),d=a.i(95121),e=a.i(28091),f=a.i(82772),g=a.i(89657),h=a.i(98205);let i=(0,a.i(29892).default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);var j=a.i(45285),k=a.i(93216),l=a.i(75108);let m=({user:a,onUpdate:c,onBack:d})=>{console.log("[UserProfileSettings DEBUG] PROPS RECEIVED:",{user:a,userId:a?.id,hasOnUpdate:!!c,hasOnBack:!!d});let[m,n]=(0,e.useState)("profile"),[o,p]=(0,e.useState)({name:a.name,avatar:a.avatar||"",bio:a.bio||"",email:a.email,theme:a.preferences.theme,dailyWordGoal:a.preferences.dailyWordGoal}),q=e.default.useRef(null),r="dark"===o.theme,s="sepia"===o.theme,t=r?"bg-slate-800 border-slate-700":s?"bg-[#f4ecd8] border-[#dfcdae]":"bg-white border-slate-200",u=r?"text-white":s?"text-[#332616]":"text-slate-900",v=r?"text-slate-400":s?"text-[#735e44]":"text-slate-500",w=r?"bg-slate-900 border-slate-700 text-white":s?"bg-[#fbf8f1] border-[#eaddc4] text-[#433422]":"bg-slate-50 border-slate-200 text-slate-900",x=r?"bg-white text-slate-900 shadow-lg":s?"bg-[#5c4731] text-white shadow-lg":"bg-slate-900 text-white shadow-lg",y=r?"text-slate-400 hover:bg-slate-800 hover:text-white":s?"text-[#735e44] hover:bg-[#eaddc4] hover:text-[#332616]":"text-slate-500 hover:bg-white hover:text-slate-900";return(0,b.jsx)("div",{className:`h-screen overflow-y-auto p-8 font-sans ${r?"bg-slate-900 text-white":s?"bg-[#eaddc4] text-[#433422]":"bg-slate-50 text-slate-900"}`,children:(0,b.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center mb-10",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h1",{className:`text-3xl font-black ${u}`,children:"Mon Compte"}),(0,b.jsx)("p",{className:v,children:"Gérez vos informations personnelles et préférences d'écriture."})]}),(0,b.jsx)("button",{onClick:d,className:`${t} px-4 py-2 rounded-lg text-sm font-bold opacity-80 hover:opacity-100 transition-opacity`,children:"Fermer"})]}),(0,b.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[(0,b.jsxs)("div",{className:"w-full md:w-64 space-y-1",children:[(0,b.jsxs)("button",{onClick:()=>n("profile"),className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${"profile"===m?x:y}`,children:[(0,b.jsx)(f.User,{size:18})," Profil Public"]}),(0,b.jsxs)("button",{onClick:()=>n("preferences"),className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${"preferences"===m?x:y}`,children:[(0,b.jsx)(l.Layout,{size:18})," Interface & Écriture"]}),(0,b.jsxs)("button",{onClick:()=>n("account"),className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${"account"===m?x:y}`,children:[(0,b.jsx)(g.Shield,{size:18})," Sécurité & Plan"]})]}),(0,b.jsxs)("div",{className:`flex-1 rounded-2xl shadow-sm border p-8 ${t}`,children:["profile"===m&&(0,b.jsxs)("div",{className:"space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-300",children:[(0,b.jsxs)("div",{className:`flex items-center gap-6 pb-8 border-b ${r?"border-slate-700":s?"border-[#dfcdae]":"border-slate-100"}`,children:[(0,b.jsxs)("div",{className:"relative group cursor-pointer",onClick:()=>q.current?.click(),children:[(0,b.jsx)("input",{type:"file",ref:q,onChange:a=>{let b=a.target.files?.[0];if(!b)return;if(!b.type.startsWith("image/"))return void alert("Veuillez sélectionner une image valide.");let c=new FileReader;c.onload=a=>{let b=new Image;b.onload=()=>{let a=b.width,c=b.height;a>c&&a>256?(c=Math.round(256*c/a),a=256):c>256&&(a=Math.round(256*a/c),c=256);let d=document.createElement("canvas");d.width=a,d.height=c;let e=d.getContext("2d");if(e){e.drawImage(b,0,0,a,c);let f=d.toDataURL("image/jpeg",.8);p(a=>({...a,avatar:f}))}},b.src=a.target?.result},c.readAsDataURL(b)},accept:"image/*",className:"hidden"}),(0,b.jsx)("img",{src:o.avatar||"https://via.placeholder.com/150",className:`w-24 h-24 rounded-full object-cover border-4 shadow-md ${r?"border-slate-800":s?"border-[#f4ecd8]":"border-slate-50"}`,alt:"Avatar"}),(0,b.jsx)("div",{className:"absolute inset-0 bg-black/40 text-white rounded-full opacity-0 group-hover:opacity-100 flex items-center justify-center transition-opacity",title:"Changer d'avatar",children:(0,b.jsx)(i,{size:20})})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:`font-bold text-lg ${u}`,children:a.name}),(0,b.jsxs)("p",{className:`text-sm ${v}`,children:["Membre depuis ",new Date(a.subscription.startDate).toLocaleDateString("fr-FR",{month:"long",year:"numeric"})]}),(0,b.jsx)("div",{className:"mt-2 flex gap-4",children:(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-xs font-bold text-orange-500",children:[(0,b.jsx)(k.Flame,{size:14,fill:"currentColor"})," ",a.stats.writingStreak," jours de streak"]})})]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 gap-6",children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:`text-xs font-black uppercase tracking-widest ${v}`,children:"Nom affiché"}),(0,b.jsx)("input",{type:"text",value:o.name,onChange:a=>p({...o,name:a.target.value}),className:`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 ${w}`})]}),(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:`text-xs font-black uppercase tracking-widest ${v}`,children:"Bio / Citation inspirante"}),(0,b.jsx)("textarea",{value:o.bio,onChange:a=>p({...o,bio:a.target.value}),className:`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 h-24 resize-none ${w}`,placeholder:"Partagez quelques mots sur votre style..."})]})]})]}),"preferences"===m&&(0,b.jsx)("div",{className:"space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-300",children:(0,b.jsxs)("div",{className:"grid grid-cols-1 gap-8",children:[(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsxs)("label",{className:`text-xs font-black uppercase tracking-widest flex items-center gap-2 ${v}`,children:[(0,b.jsx)(j.Target,{size:14})," Objectif quotidien de mots"]}),(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsx)("input",{type:"range",min:"0",max:"5000",step:"100",value:o.dailyWordGoal,onChange:a=>p({...o,dailyWordGoal:parseInt(a.target.value)}),className:"flex-1 accent-blue-600"}),(0,b.jsx)("span",{className:"font-mono font-bold text-blue-600 bg-blue-50 px-3 py-1 rounded-lg",children:o.dailyWordGoal})]})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:`text-xs font-black uppercase tracking-widest flex items-center gap-2 ${v}`,children:"Thème de l'éditeur"}),(0,b.jsx)("div",{className:"grid grid-cols-3 gap-3",children:["light","sepia","dark"].map(a=>(0,b.jsxs)("button",{onClick:()=>p({...o,theme:a}),className:`p-4 rounded-xl border-2 transition-all flex flex-col items-center gap-2 ${o.theme===a?"border-blue-500 bg-blue-50 text-blue-700":r?"border-slate-700 hover:border-slate-600":s?"border-[#dfcdae] hover:border-[#cfbd9e]":"border-slate-100 hover:border-slate-200"}`,children:[(0,b.jsx)("div",{className:`w-8 h-8 rounded-full border border-slate-200 ${"light"===a?"bg-white":"sepia"===a?"bg-[#f4ecd8]":"bg-slate-900"}`}),(0,b.jsx)("span",{className:`text-[10px] font-bold uppercase ${o.theme!==a?v:""}`,children:a})]},a))})]})]})}),"account"===m&&(0,b.jsxs)("div",{className:"space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-300",children:[(0,b.jsxs)("div",{className:"p-4 bg-blue-50 border border-blue-100 rounded-xl flex justify-between items-center",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h4",{className:"font-bold text-blue-900",children:["Plan ",(a.subscription.planDetails?.displayName||a.subscription.plan).toUpperCase()]}),(0,b.jsx)("p",{className:"text-xs text-blue-700",children:"Abonnement actif"})]}),(0,b.jsx)("button",{className:"bg-blue-600 text-white px-4 py-2 rounded-lg text-xs font-bold hover:bg-blue-700 shadow-md shadow-blue-200",children:"Gérer"})]}),(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:`text-xs font-black uppercase tracking-widest ${v}`,children:"Email du compte"}),(0,b.jsx)("input",{type:"email",value:o.email,onChange:a=>p({...o,email:a.target.value}),className:`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 ${w}`})]}),(0,b.jsx)("div",{className:"pt-4",children:(0,b.jsx)("button",{className:"text-red-500 text-sm font-bold hover:underline",children:"Supprimer mon compte définitivement"})})]}),(0,b.jsx)("div",{className:`mt-12 pt-8 border-t flex justify-end ${r?"border-slate-700":s?"border-[#dfcdae]":"border-slate-100"}`,children:(0,b.jsxs)("button",{onClick:()=>{c({name:o.name,avatar:o.avatar,bio:o.bio,email:o.email,preferences:{...a.preferences,theme:o.theme,dailyWordGoal:o.dailyWordGoal}}),alert("Profil mis à jour !")},className:`px-8 py-3 rounded-xl font-bold flex items-center gap-2 transition-all shadow-xl hover:shadow-blue-200 ${r?"bg-white text-slate-900 hover:bg-blue-500 hover:text-white":s?"bg-[#5c4731] text-white hover:bg-blue-600":"bg-slate-900 text-white hover:bg-blue-600"}`,children:[(0,b.jsx)(h.Save,{size:18})," Sauvegarder les modifications"]})})]})]})]})})};function n(){let a=(0,c.useRouter)(),{user:f,loading:g,updateProfile:h}=(0,d.useAuthContext)();return((0,e.useEffect)(()=>{g||f||a.replace("/login")},[f,g,a]),g||!f)?null:(0,b.jsx)(m,{user:f,onUpdate:async a=>{try{await h(a)}catch(a){}},onBack:()=>a.push("/dashboard")})}a.s(["default",()=>n],98220)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__3d1ae521._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__3d1ae521._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__3d1ae521._.js.map deleted file mode 100644 index 3c016a7..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__3d1ae521._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/save.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/user.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/panels-top-left.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/shield.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/flame.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/UserProfileSettings.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/profile/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/camera.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n key: '1c8476',\n },\n ],\n ['path', { d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7', key: '1ydtos' }],\n ['path', { d: 'M7 3v4a1 1 0 0 0 1 1h7', key: 't51u73' }],\n];\n\n/**\n * @component @name Save\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUuMiAzYTIgMiAwIDAgMSAxLjQuNmwzLjggMy44YTIgMiAwIDAgMSAuNiAxLjRWMTlhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yeiIgLz4KICA8cGF0aCBkPSJNMTcgMjF2LTdhMSAxIDAgMCAwLTEtMUg4YTEgMSAwIDAgMC0xIDF2NyIgLz4KICA8cGF0aCBkPSJNNyAzdjRhMSAxIDAgMCAwIDEgMWg3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/save\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Save = createLucideIcon('save', __iconNode);\n\nexport default Save;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2', key: '975kel' }],\n ['circle', { cx: '12', cy: '7', r: '4', key: '17ys0d' }],\n];\n\n/**\n * @component @name User\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTkgMjF2LTJhNCA0IDAgMCAwLTQtNEg5YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/user\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst User = createLucideIcon('user', __iconNode);\n\nexport default User;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '18', x: '3', y: '3', rx: '2', key: 'afitv7' }],\n ['path', { d: 'M3 9h18', key: '1pudct' }],\n ['path', { d: 'M9 21V9', key: '1oto5p' }],\n];\n\n/**\n * @component @name PanelsTopLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHg9IjMiIHk9IjMiIHJ4PSIyIiAvPgogIDxwYXRoIGQ9Ik0zIDloMTgiIC8+CiAgPHBhdGggZD0iTTkgMjFWOSIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/panels-top-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PanelsTopLeft = createLucideIcon('panels-top-left', __iconNode);\n\nexport default PanelsTopLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z',\n key: 'oel41y',\n },\n ],\n];\n\n/**\n * @component @name Shield\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgMTNjMCA1LTMuNSA3LjUtNy42NiA4Ljk1YTEgMSAwIDAgMS0uNjctLjAxQzcuNSAyMC41IDQgMTggNCAxM1Y2YTEgMSAwIDAgMSAxLTFjMiAwIDQuNS0xLjIgNi4yNC0yLjcyYTEuMTcgMS4xNyAwIDAgMSAxLjUyIDBDMTQuNTEgMy44MSAxNyA1IDE5IDVhMSAxIDAgMCAxIDEgMXoiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/shield\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Shield = createLucideIcon('shield', __iconNode);\n\nexport default Shield;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __iconNode);\n\nexport default Target;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4',\n key: '1slcih',\n },\n ],\n];\n\n/**\n * @component @name Flame\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgM3ExIDQgNCA2LjV0MyA1LjVhMSAxIDAgMCAxLTE0IDAgNSA1IDAgMCAxIDEtMyAxIDEgMCAwIDAgNSAwYzAtMi0xLjUtMy0xLjUtNXEwLTIgMi41LTQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/flame\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Flame = createLucideIcon('flame', __iconNode);\n\nexport default Flame;\n","'use client';\n\n\nimport React, { useState } from 'react';\nimport { UserProfile, UserPreferences } from '@/lib/types';\nimport { User, Settings, Globe, Shield, Bell, Save, Camera, Target, Flame, Layout } from 'lucide-react';\n\ninterface UserProfileSettingsProps {\n user: UserProfile;\n onUpdate: (updates: Partial) => void;\n onBack: () => void;\n}\n\nconst UserProfileSettings: React.FC = ({ user, onUpdate, onBack }) => {\n // DEBUG: Check props\n console.log(\"[UserProfileSettings DEBUG] PROPS RECEIVED:\", {\n user,\n userId: user?.id,\n hasOnUpdate: !!onUpdate,\n hasOnBack: !!onBack\n });\n\n const [activeTab, setActiveTab] = useState<'profile' | 'preferences' | 'account'>('profile');\n const [formData, setFormData] = useState({\n name: user.name,\n avatar: user.avatar || '',\n bio: user.bio || '',\n email: user.email,\n theme: user.preferences.theme,\n dailyWordGoal: user.preferences.dailyWordGoal\n });\n\n const fileInputRef = React.useRef(null);\n\n const handleImageUpload = (event: React.ChangeEvent) => {\n const file = event.target.files?.[0];\n if (!file) return;\n if (!file.type.startsWith('image/')) {\n alert('Veuillez sélectionner une image valide.');\n return;\n }\n\n const reader = new FileReader();\n reader.onload = (e) => {\n const img = new Image();\n img.onload = () => {\n const MAX_SIZE = 256;\n let width = img.width;\n let height = img.height;\n\n if (width > height && width > MAX_SIZE) {\n height = Math.round((height * MAX_SIZE) / width);\n width = MAX_SIZE;\n } else if (height > MAX_SIZE) {\n width = Math.round((width * MAX_SIZE) / height);\n height = MAX_SIZE;\n }\n\n const canvas = document.createElement('canvas');\n canvas.width = width;\n canvas.height = height;\n const ctx = canvas.getContext('2d');\n if (ctx) {\n ctx.drawImage(img, 0, 0, width, height);\n const dataUrl = canvas.toDataURL('image/jpeg', 0.8);\n setFormData(prev => ({ ...prev, avatar: dataUrl }));\n }\n };\n img.src = e.target?.result as string;\n };\n reader.readAsDataURL(file);\n };\n\n const handleSave = () => {\n onUpdate({\n name: formData.name,\n avatar: formData.avatar,\n bio: formData.bio,\n email: formData.email,\n preferences: {\n ...user.preferences,\n theme: formData.theme,\n dailyWordGoal: formData.dailyWordGoal\n }\n });\n alert(\"Profil mis à jour !\");\n };\n\n const isDark = formData.theme === 'dark';\n const isSepia = formData.theme === 'sepia';\n\n const themeOuterClass = isDark ? 'bg-slate-900 text-white' : isSepia ? 'bg-[#eaddc4] text-[#433422]' : 'bg-slate-50 text-slate-900';\n const themeInnerClass = isDark ? 'bg-slate-800 border-slate-700' : isSepia ? 'bg-[#f4ecd8] border-[#dfcdae]' : 'bg-white border-slate-200';\n const themeTextHeading = isDark ? 'text-white' : isSepia ? 'text-[#332616]' : 'text-slate-900';\n const themeTextMuted = isDark ? 'text-slate-400' : isSepia ? 'text-[#735e44]' : 'text-slate-500';\n const themeInputBg = isDark ? 'bg-slate-900 border-slate-700 text-white' : isSepia ? 'bg-[#fbf8f1] border-[#eaddc4] text-[#433422]' : 'bg-slate-50 border-slate-200 text-slate-900';\n const themeTabActive = isDark ? 'bg-white text-slate-900 shadow-lg' : isSepia ? 'bg-[#5c4731] text-white shadow-lg' : 'bg-slate-900 text-white shadow-lg';\n const themeTabInactive = isDark ? 'text-slate-400 hover:bg-slate-800 hover:text-white' : isSepia ? 'text-[#735e44] hover:bg-[#eaddc4] hover:text-[#332616]' : 'text-slate-500 hover:bg-white hover:text-slate-900';\n\n return (\n
\n
\n
\n
\n

Mon Compte

\n

Gérez vos informations personnelles et préférences d'écriture.

\n
\n \n
\n\n
\n {/* Sidebar Navigation */}\n
\n setActiveTab('profile')}\n className={`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${activeTab === 'profile' ? themeTabActive : themeTabInactive}`}\n >\n Profil Public\n \n setActiveTab('preferences')}\n className={`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${activeTab === 'preferences' ? themeTabActive : themeTabInactive}`}\n >\n Interface & Écriture\n \n setActiveTab('account')}\n className={`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${activeTab === 'account' ? themeTabActive : themeTabInactive}`}\n >\n Sécurité & Plan\n \n
\n\n {/* Main Content Pane */}\n
\n {activeTab === 'profile' && (\n
\n
\n
fileInputRef.current?.click()}>\n \n \"Avatar\"\n
\n \n
\n
\n
\n

{user.name}

\n

Membre depuis {new Date(user.subscription.startDate).toLocaleDateString('fr-FR', { month: 'long', year: 'numeric' })}

\n
\n
\n {user.stats.writingStreak} jours de streak\n
\n
\n
\n
\n\n
\n
\n \n setFormData({ ...formData, name: e.target.value })}\n className={`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 ${themeInputBg}`}\n />\n
\n\n
\n \n setFormData({ ...formData, bio: e.target.value })}\n className={`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 h-24 resize-none ${themeInputBg}`}\n placeholder=\"Partagez quelques mots sur votre style...\"\n />\n
\n
\n
\n )}\n\n {activeTab === 'preferences' && (\n
\n
\n
\n \n
\n setFormData({ ...formData, dailyWordGoal: parseInt(e.target.value) })}\n className=\"flex-1 accent-blue-600\"\n />\n {formData.dailyWordGoal}\n
\n
\n\n
\n \n
\n {['light', 'sepia', 'dark'].map((t) => (\n setFormData({ ...formData, theme: t as any })}\n className={`p-4 rounded-xl border-2 transition-all flex flex-col items-center gap-2 ${formData.theme === t ? 'border-blue-500 bg-blue-50 text-blue-700' : isDark ? 'border-slate-700 hover:border-slate-600' : isSepia ? 'border-[#dfcdae] hover:border-[#cfbd9e]' : 'border-slate-100 hover:border-slate-200'}`}\n >\n
\n {t}\n \n ))}\n
\n
\n
\n
\n )}\n\n {activeTab === 'account' && (\n
\n
\n
\n

Plan {(user.subscription.planDetails?.displayName || user.subscription.plan).toUpperCase()}

\n

Abonnement actif

\n
\n \n
\n\n
\n \n setFormData({ ...formData, email: e.target.value })}\n className={`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 ${themeInputBg}`}\n />\n
\n\n
\n \n
\n
\n )}\n\n
\n \n Sauvegarder les modifications\n \n
\n
\n
\n
\n
\n );\n};\n\nexport default UserProfileSettings;\n","'use client';\r\n\r\nimport { useRouter } from 'next/navigation';\r\nimport { useAuthContext } from '@/providers/AuthProvider';\r\nimport UserProfileSettings from '@/components/UserProfileSettings';\r\nimport { useEffect } from 'react';\r\n\r\nexport default function ProfilePage() {\r\n const router = useRouter();\r\n const { user, loading, updateProfile } = useAuthContext();\r\n\r\n useEffect(() => {\r\n if (!loading && !user) {\r\n router.replace('/login');\r\n }\r\n }, [user, loading, router]);\r\n\r\n if (loading || !user) return null;\r\n\r\n return (\r\n {\r\n try {\r\n await updateProfile(updates);\r\n } catch (err) {\r\n // Handled inside updateProfile (console.error)\r\n }\r\n }}\r\n onBack={() => router.push('/dashboard')}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z',\n key: '18u6gg',\n },\n ],\n ['circle', { cx: '12', cy: '13', r: '3', key: '1vg3eu' }],\n];\n\n/**\n * @component @name Camera\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMuOTk3IDRhMiAyIDAgMCAxIDEuNzYgMS4wNWwuNDg2LjlBMiAyIDAgMCAwIDE4LjAwMyA3SDIwYTIgMiAwIDAgMSAyIDJ2OWEyIDIgMCAwIDEtMiAySDRhMiAyIDAgMCAxLTItMlY5YTIgMiAwIDAgMSAyLTJoMS45OTdhMiAyIDAgMCAwIDEuNzU5LTEuMDQ4bC40ODktLjkwNEEyIDIgMCAwIDEgMTAuMDA0IDR6IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTMiIHI9IjMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/camera\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Camera = createLucideIcon('camera', __iconNode);\n\nexport default Camera;\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BCFvCJ,EAAOC,OAAO,CACZC,EAAQ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B,MAAO,EAAS,KAAK,CACrB,YAAa,CACT,GAAG,EAAK,WAAW,CACnB,MAAO,EAAS,KAAK,CACrB,cAAe,EAAS,aAAa,AACzC,CACJ,GACA,MAAM,sBACV,EAwK4B,UAAW,CAAC,sGAAsG,EAAE,EAAS,6DAA+D,EAAU,4CAA8C,4CAAA,CAA6C,WAEjS,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,IAAI,CAAA,CAAC,KAAM,KAAM,gDAQlD,ECjQe,SAAS,IACpB,IAAM,EAAS,CAAA,EAAA,EAAA,SAAA,AAAS,IAClB,MAAE,CAAI,SAAE,CAAO,eAAE,CAAa,CAAE,CAAG,CAAA,EAAA,EAAA,cAAA,AAAc,UAQvD,CANA,CAAA,EAAA,EAAA,SAAA,AAAS,EAAC,KACF,AAAC,GAAY,GACb,EAAO,CADY,EAAP,IACE,CAAC,SAEvB,EAAG,CAAC,EAAM,EAAS,EAAO,EAEtB,GAAW,CAAC,GAAa,GAAP,EAGlB,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,KAAM,EACN,SAAU,MAAO,IACb,GAAI,CACA,MAAM,EAAc,EACxB,CAAE,MAAO,EAAK,CAEd,CACJ,EACA,OAAQ,IAAM,EAAO,IAAI,CAAC,eAGtC","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__59adb845._.js b/.next/server/chunks/ssr/[root-of-the-server]__59adb845._.js deleted file mode 100644 index 8e2e9cc..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__59adb845._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},79080,a=>{"use strict";let b=(0,a.i(29892).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],79080)},73258,a=>{"use strict";let b=(0,a.i(29892).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);a.s(["BookOpen",()=>b],73258)},82772,a=>{"use strict";let b=(0,a.i(29892).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",()=>b],82772)},37620,a=>{"use strict";var b,c=((b={}).CHARACTER="Personnage",b.LOCATION="Lieu",b.OBJECT="Objet",b.NOTE="Note",b);a.s(["EntityType",()=>c])},33782,a=>{"use strict";let b=(0,a.i(29892).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>b],33782)},68565,a=>{"use strict";let b=(0,a.i(29892).default)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);a.s(["Edit3",()=>b],68565)},45285,a=>{"use strict";let b=(0,a.i(29892).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);a.s(["Target",()=>b],45285)},93216,a=>{"use strict";let b=(0,a.i(29892).default)("flame",[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]);a.s(["Flame",()=>b],93216)},14294,a=>{"use strict";let b=(0,a.i(29892).default)("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);a.s(["Book",()=>b],14294)},68239,a=>{"use strict";var b=a.i(37620);let c={[b.EntityType.CHARACTER]:"👤",[b.EntityType.LOCATION]:"🏰",[b.EntityType.OBJECT]:"🗝️",[b.EntityType.NOTE]:"📝"},d={[b.EntityType.CHARACTER]:"bg-blue-100 text-blue-800 border-blue-200",[b.EntityType.LOCATION]:"bg-green-100 text-green-800 border-green-200",[b.EntityType.OBJECT]:"bg-amber-100 text-amber-800 border-amber-200",[b.EntityType.NOTE]:"bg-gray-100 text-gray-800 border-gray-200"};a.s(["ARCHETYPES",0,["Le Héros","L'Ombre / Le Méchant","Le Mentor","Le Gardien du Seuil","Le Shapeshifter (Changeforme)","Le Trickster (Farceur)","L'Allié","L'Élu","Le Rebelle","Le Séducteur","Le Sage","Le Guerrier","L'Innocent"],"DEFAULT_AUTHOR",0,"Auteur Inconnu","DEFAULT_BOOK_TITLE",0,"Nouveau Roman","ENTITY_COLORS",0,d,"ENTITY_ICONS",0,c,"EYE_COLORS",0,["Marron","Bleu","Vert","Noisette","Gris","Noir","Vairons","Ambre"],"GENRES",0,["Fantasy","Science-Fiction","Thriller / Polar","Romance","Historique","Horreur","Aventure","Contemporain","Jeunesse / Young Adult","Dystopie"],"HAIR_COLORS",0,["Brun","Noir","Blond","Roux","Auburn","Gris","Blanc","Châtain","Chauve","Teinture (Bleu/Rose/Etc)"],"INITIAL_CHAPTER",0,{id:"chap-1",title:"Chapitre 1",content:"

Il était une fois...

",summary:"Début de l'histoire."},"POV_OPTIONS",0,["1ère personne (Je)","3ème personne (Limitée au protagoniste)","3ème personne (Omnisciente)","Multi-points de vue (Alterné)"],"TENSE_OPTIONS",0,["Passé (Passé simple / Imparfait)","Présent de narration"],"TONES",0,["Sombre & Sérieux","Léger & Humoristique","Épique & Grandiose","Mélancolique","Mystérieux","Optimiste","Cynique","Romantique"]])},3622,5127,38089,a=>{"use strict";var b=a.i(28091),c=a.i(31715),d=a.i(68239);a.s(["useProjects",0,a=>{let[e,f]=(0,b.useState)([]),[g,h]=(0,b.useState)(null),[i,j]=(0,b.useState)(!1);(0,b.useEffect)(()=>{a?(async()=>{j(!0);try{let a=(await c.default.projects.list()||[]).map(a=>({id:a.id,title:a.title,author:a.author,lastModified:new Date(a.updatedAt).getTime(),chapters:Array.from({length:a._count?.chapters||0},(a,b)=>({id:`placeholder-${b}`,title:"",content:""})),entities:Array.from({length:a._count?.entities||0},(a,b)=>({id:`placeholder-${b}`,type:"character",name:"",description:""})),ideas:[],settings:a.settings||void 0}));f(a)}catch(a){console.error("Failed to load projects",a)}finally{j(!1)}})():f([])},[a]),(0,b.useEffect)(()=>{g&&(async()=>{try{let a=await c.default.projects.get(g),b={id:a.id,title:a.title,author:a.author,lastModified:new Date(a.updatedAt).getTime(),settings:a.settings||void 0,styleGuide:a.styleGuide||void 0,chapters:(a.chapters||[]).map(a=>({id:a.id,title:a.title,content:a.content,summary:a.summary})),entities:(a.entities||[]).map(a=>({id:a.id,type:a.type,name:a.name,description:a.description,details:a.details,storyContext:a.storyContext,attributes:a.attributes,customValues:a.customValues})),ideas:(a.ideas||[]).map(a=>({id:a.id,title:a.title,description:a.description,status:a.status,category:a.category,createdAt:new Date(a.createdAt).getTime()})),workflow:{nodes:(a.plotNodes||[]).map(a=>({id:a.id,x:a.x,y:a.y,title:a.title,description:a.description,color:a.color,type:a.type})),connections:(a.plotConnections||[]).map(a=>({id:a.id,source:a.source,target:a.target}))}};f(a=>a.map(a=>a.id===g?b:a))}catch(a){console.error("Failed to load project details",a)}})()},[g]);let k=async(a,b)=>{try{let d=await c.default.chapters.create({projectId:a,title:b.title||"New Chapter",content:b.content||"",summary:b.summary||void 0});return f(b=>b.map(b=>b.id!==a?b:{...b,chapters:[...b.chapters,{id:d.id,title:d.title,content:d.content,summary:d.summary}]})),d.id}catch(a){return console.error("Failed to add chapter",a),null}};return{projects:e,currentProjectId:g,setCurrentProjectId:h,createProject:async()=>{if(a)try{let b=await c.default.projects.create({title:d.DEFAULT_BOOK_TITLE,author:a.name||d.DEFAULT_AUTHOR,settings:{genre:"Fantasy",targetAudience:"Adult",tone:"Epic"}}),e={id:b.id,title:b.title,author:b.author,lastModified:Date.now(),chapters:[],entities:[],ideas:[],settings:b.settings};return f(a=>[...a,e]),await k(b.id,d.INITIAL_CHAPTER),b.id}catch(a){throw console.error("Failed to create project",a),a}},updateProject:async(a,b)=>{f(c=>c.map(c=>c.id===a?{...c,...b}:c));try{let d={};void 0!==b.title&&(d.title=b.title),void 0!==b.author&&(d.author=b.author),void 0!==b.settings&&(d.settings=b.settings),void 0!==b.styleGuide&&(d.styleGuide=b.styleGuide),Object.keys(d).length>0&&await c.default.projects.update(a,d),b.workflow&&await c.default.projects.syncWorkflow(a,{nodes:b.workflow.nodes||[],connections:b.workflow.connections||[]})}catch(a){console.error("Failed to update project",a)}},addChapter:k,updateChapter:async(a,b,d)=>{f(c=>c.map(c=>c.id!==a?c:{...c,chapters:c.chapters.map(a=>a.id===b?{...a,...d}:a)}));try{await c.default.chapters.update(b,d)}catch(a){console.error("Failed to update chapter",a)}},createEntity:async(a,b,d)=>{try{let e=await c.default.entities.create({projectId:a,type:b,name:d?.name||`Nouveau ${b}`,description:d?.description||"",details:d?.details||"",attributes:d?.attributes||void 0,customValues:d?.customValues||void 0});return f(b=>b.map(b=>b.id!==a?b:{...b,entities:[...b.entities,{id:e.id,type:e.type,name:e.name,description:e.description,details:e.details,attributes:e.attributes,customValues:e.customValues||{}}]})),e.id}catch(a){throw console.error("Failed to create entity",a),a}},updateEntity:async(a,b,d)=>{f(c=>c.map(c=>c.id!==a?c:{...c,entities:c.entities.map(a=>a.id===b?{...a,...d}:a)}));try{await c.default.entities.update(b,d)}catch(a){console.error("Failed to update entity",a)}},deleteEntity:async(a,b)=>{f(c=>c.map(c=>c.id!==a?c:{...c,entities:c.entities.filter(a=>a.id!==b)}));try{await c.default.entities.delete(b)}catch(a){console.error("Failed to delete entity",a)}},deleteProject:async a=>{try{await c.default.projects.delete(a),f(b=>b.filter(b=>b.id!==a)),g===a&&h(null)}catch(a){console.error("Failed to delete project",a)}}}}],3622);var e=a.i(29892);let f=(0,e.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>f],5127);let g=(0,e.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);a.s(["LogOut",()=>g],38089)},51780,a=>{"use strict";var b=a.i(78352),c=a.i(34896),d=a.i(95121),e=a.i(3622),f=a.i(33782),g=a.i(14294);let h=(0,a.i(29892).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var i=a.i(5127),j=a.i(38089),k=a.i(82772),l=a.i(45285),m=a.i(93216),n=a.i(68565);let o=({user:a,projects:c,onSelect:d,onCreate:e,onLogout:o,onPricing:p,onProfile:q})=>(0,b.jsx)("div",{className:"min-h-screen bg-theme-bg p-8 font-sans transition-colors duration-300",children:(0,b.jsxs)("div",{className:"max-w-6xl mx-auto space-y-8",children:[(0,b.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center bg-theme-panel p-8 rounded-[2rem] shadow-sm border border-theme-border gap-6",children:[(0,b.jsxs)("div",{className:"flex items-center gap-6",children:[(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)("img",{src:a.avatar,className:"w-20 h-20 rounded-full border-4 border-slate-50 shadow-lg object-cover",alt:"Avatar"}),(0,b.jsx)("div",{className:"absolute -bottom-1 -right-1 bg-green-500 w-5 h-5 rounded-full border-4 border-white"})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("h2",{className:"text-3xl font-black text-theme-text",children:["Bonjour, ",a.name," 👋"]}),(0,b.jsxs)("div",{className:"flex items-center gap-3 mt-1",children:[(0,b.jsx)("span",{className:"px-3 py-1 rounded-full bg-indigo-100 text-indigo-700 text-[10px] uppercase font-black tracking-widest",children:a.subscription.planDetails?.displayName||a.subscription.plan}),(0,b.jsx)("span",{className:"text-theme-muted text-xs font-medium",children:"Membre depuis le 24 janv."})]})]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("button",{onClick:q,className:"bg-theme-bg text-theme-text px-5 py-2.5 rounded-xl text-sm font-bold hover:opacity-80 transition-all flex items-center gap-2 border border-theme-border",children:[(0,b.jsx)(k.User,{size:18})," Mon Profil"]}),(0,b.jsx)("button",{onClick:o,className:"p-3 text-theme-muted hover:text-red-500 rounded-full hover:bg-red-500/10 transition-colors",children:(0,b.jsx)(j.LogOut,{size:20})})]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,b.jsxs)("div",{className:"bg-theme-panel p-6 rounded-3xl shadow-sm border border-theme-border flex items-center gap-4",children:[(0,b.jsx)("div",{className:"bg-orange-100 p-3 rounded-2xl text-orange-600",children:(0,b.jsx)(m.Flame,{size:24})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-xs font-bold text-theme-muted uppercase tracking-wider",children:"Série actuelle"}),(0,b.jsxs)("p",{className:"text-2xl font-black text-theme-text",children:[a.stats.writingStreak," Jours"]})]})]}),(0,b.jsxs)("div",{className:"bg-theme-panel p-6 rounded-3xl shadow-sm border border-theme-border flex items-center gap-4",children:[(0,b.jsx)("div",{className:"bg-blue-100 p-3 rounded-2xl text-blue-600",children:(0,b.jsx)(n.Edit3,{size:24})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-xs font-bold text-theme-muted uppercase tracking-wider",children:"Mots écrits"}),(0,b.jsx)("p",{className:"text-2xl font-black text-theme-text",children:a.stats.totalWordsWritten.toLocaleString()})]})]}),(0,b.jsxs)("div",{className:"bg-theme-panel p-6 rounded-3xl shadow-sm border border-theme-border flex items-center gap-4",children:[(0,b.jsx)("div",{className:"bg-indigo-100 p-3 rounded-2xl text-indigo-600",children:(0,b.jsx)(l.Target,{size:24})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-xs font-bold text-theme-muted uppercase tracking-wider",children:"Objectif du jour"}),(0,b.jsxs)("p",{className:"text-2xl font-black text-theme-text",children:[a.preferences.dailyWordGoal," Mots"]})]})]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[(0,b.jsxs)("div",{className:"lg:col-span-2 space-y-4",children:[(0,b.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,b.jsx)("h3",{className:"text-2xl font-black text-theme-text",children:"Mes Romans"}),(0,b.jsxs)("button",{onClick:e,className:"flex items-center gap-2 bg-blue-600 text-white px-6 py-3 rounded-2xl font-bold hover:bg-blue-700 transition-all shadow-xl shadow-blue-200",children:[(0,b.jsx)(f.Plus,{size:20})," Écrire un nouveau livre"]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.map(a=>(0,b.jsxs)("div",{onClick:()=>d(a.id),className:"bg-theme-panel p-8 rounded-[2.5rem] border border-theme-border shadow-sm hover:shadow-2xl hover:scale-[1.02] transition-all cursor-pointer group flex flex-col justify-between h-64",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"bg-blue-500/10 w-12 h-12 rounded-2xl flex items-center justify-center text-blue-500 mb-6 group-hover:bg-blue-600 group-hover:text-white transition-colors",children:(0,b.jsx)(g.Book,{size:24})}),(0,b.jsx)("h4",{className:"font-black text-theme-text text-xl truncate mb-1",children:a.title}),(0,b.jsxs)("p",{className:"text-theme-muted text-sm",children:["Dernière modification : ",new Date(a.lastModified).toLocaleDateString()]})]}),(0,b.jsxs)("div",{className:"flex justify-between items-center text-[10px] text-theme-muted font-black uppercase tracking-widest border-t border-theme-border pt-4 mt-auto",children:[(0,b.jsxs)("span",{children:[a.chapters.length," Chapitres"]}),(0,b.jsx)(i.ChevronRight,{size:20,className:"group-hover:text-blue-600 transition-transform group-hover:translate-x-1 duration-300"})]})]},a.id)),0===c.length&&(0,b.jsxs)("div",{className:"col-span-2 py-24 bg-theme-panel rounded-[3rem] border-2 border-dashed border-theme-border flex flex-col items-center justify-center text-theme-muted",children:[(0,b.jsx)(g.Book,{size:64,className:"mb-6 opacity-20"}),(0,b.jsx)("p",{className:"font-bold text-lg",children:"Prêt à commencer votre premier roman ?"}),(0,b.jsx)("button",{onClick:e,className:"mt-4 text-blue-600 font-bold hover:underline",children:"Créer un projet maintenant"})]})]})]}),(0,b.jsx)("div",{className:"space-y-6",children:(0,b.jsxs)("div",{className:"bg-slate-900 text-white p-8 rounded-[2.5rem] shadow-xl relative overflow-hidden",children:[(0,b.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-indigo-500/20 blur-[60px] -z-1"}),(0,b.jsxs)("h3",{className:"font-black text-xl mb-6 flex items-center gap-2",children:[(0,b.jsx)(h,{size:20,className:"text-yellow-400"})," Utilisation"]}),(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] font-black text-slate-400 uppercase tracking-widest mb-2",children:[(0,b.jsx)("span",{children:"Actions IA"}),(0,b.jsxs)("span",{children:[a.usage.aiActionsCurrent," / ",999999===a.usage.aiActionsLimit?"∞":a.usage.aiActionsLimit]})]}),(0,b.jsx)("div",{className:"h-3 w-full bg-slate-800 rounded-full overflow-hidden",children:(0,b.jsx)("div",{className:"h-full bg-blue-500 transition-all duration-1000 shadow-[0_0_10px_rgba(59,130,246,0.5)]",style:{width:`${Math.min(100,a.usage.aiActionsCurrent/a.usage.aiActionsLimit*100)}%`}})})]}),(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"flex justify-between text-[10px] font-black text-slate-400 uppercase tracking-widest mb-2",children:[(0,b.jsx)("span",{children:"Emplacements Roman"}),(0,b.jsxs)("span",{children:[c.length," / ",a.usage.projectsLimit]})]}),(0,b.jsx)("div",{className:"h-3 w-full bg-slate-800 rounded-full overflow-hidden",children:(0,b.jsx)("div",{className:"h-full bg-indigo-500 transition-all duration-1000 shadow-[0_0_10px_rgba(99,102,241,0.5)]",style:{width:`${Math.min(100,c.length/a.usage.projectsLimit*100)}%`}})})]})]}),(0,b.jsx)("button",{onClick:p,className:"w-full mt-10 bg-white/10 hover:bg-white/20 py-4 rounded-2xl text-sm font-bold transition-all",children:"Upgrade Plan"})]})})]})]})});var p=a.i(79080),q=a.i(73258),r=a.i(28091);function s(){let a=(0,c.useRouter)(),{user:f,logout:g,loading:h}=(0,d.useAuthContext)(),{projects:i,setCurrentProjectId:j,createProject:k}=(0,e.useProjects)(f);return((0,r.useEffect)(()=>{h||f||a.replace("/login")},[f,h,a]),h||!f)?(0,b.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,b.jsx)(p.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(q.BookOpen,{className:"text-blue-500",size:20}),(0,b.jsx)("span",{className:"text-lg font-bold",children:"PlumeIA"})]})]}):(0,b.jsx)(o,{user:f,projects:i,onSelect:b=>{j(b),a.push(`/project/${b}`)},onCreate:async()=>{try{let b=await k();b&&(j(b),a.push(`/project/${b}`))}catch(b){b?.message?.includes("Limite")?(alert(b.message),a.push("/pricing")):alert("Erreur lors de la création du projet")}},onLogout:()=>{g(),a.push("/")},onPricing:()=>a.push("/pricing"),onProfile:()=>a.push("/profile")})}a.s(["default",()=>s],51780)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__59adb845._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__59adb845._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__59adb845._.js.map deleted file mode 100644 index b747907..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__59adb845._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/loader-circle.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/book-open.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/user.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/lib/types.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/plus.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/pen-line.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/target.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/flame.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/book.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/lib/constants.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/hooks/useProjects.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/log-out.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/chevron-right.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/Dashboard.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/dashboard/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/star.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M21 12a9 9 0 1 1-6.219-8.56', key: '13zald' }]];\n\n/**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LoaderCircle = createLucideIcon('loader-circle', __iconNode);\n\nexport default LoaderCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 7v14', key: '1akyts' }],\n [\n 'path',\n {\n d: 'M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z',\n key: 'ruj8y',\n },\n ],\n];\n\n/**\n * @component @name BookOpen\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgN3YxNCIgLz4KICA8cGF0aCBkPSJNMyAxOGExIDEgMCAwIDEtMS0xVjRhMSAxIDAgMCAxIDEtMWg1YTQgNCAwIDAgMSA0IDQgNCA0IDAgMCAxIDQtNGg1YTEgMSAwIDAgMSAxIDF2MTNhMSAxIDAgMCAxLTEgMWgtNmEzIDMgMCAwIDAtMyAzIDMgMyAwIDAgMC0zLTN6IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/book-open\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BookOpen = createLucideIcon('book-open', __iconNode);\n\nexport default BookOpen;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2', key: '975kel' }],\n ['circle', { cx: '12', cy: '7', r: '4', key: '17ys0d' }],\n];\n\n/**\n * @component @name User\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTkgMjF2LTJhNCA0IDAgMCAwLTQtNEg5YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/user\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst User = createLucideIcon('user', __iconNode);\n\nexport default User;\n","\nexport enum EntityType {\n CHARACTER = 'Personnage',\n LOCATION = 'Lieu',\n OBJECT = 'Objet',\n NOTE = 'Note'\n}\n\nexport interface CharacterAttributes {\n age: number;\n height: number;\n hair: string;\n eyes: string;\n archetype: string;\n role: 'protagonist' | 'antagonist' | 'support' | 'extra';\n personality: {\n spectrumIntrovertExtravert: number;\n spectrumEmotionalRational: number;\n spectrumChaoticLawful: number;\n };\n physicalQuirk: string;\n behavioralQuirk: string;\n}\n\nexport type CustomFieldType = 'text' | 'textarea' | 'number' | 'boolean' | 'select';\n\nexport interface CustomFieldDefinition {\n id: string;\n label: string;\n type: CustomFieldType;\n options?: string[];\n placeholder?: string;\n}\n\nexport interface EntityTemplate {\n entityType: EntityType;\n fields: CustomFieldDefinition[];\n}\n\nexport interface Entity {\n id: string;\n type: EntityType;\n name: string;\n description: string;\n details: string;\n storyContext?: string;\n attributes?: CharacterAttributes;\n customValues?: Record;\n}\n\nexport interface Chapter {\n id: string;\n title: string;\n content: string;\n summary?: string;\n}\n\nexport type PlotNodeType = 'story' | 'dialogue' | 'action';\n\nexport interface PlotNode {\n id: string;\n x: number;\n y: number;\n title: string;\n description: string;\n color: string;\n type?: PlotNodeType;\n}\n\nexport interface PlotConnection {\n id: string;\n source: string;\n target: string;\n}\n\nexport interface WorkflowData {\n nodes: PlotNode[];\n connections: PlotConnection[];\n}\n\nexport type IdeaStatus = 'todo' | 'progress' | 'done';\nexport type IdeaCategory = 'plot' | 'character' | 'research' | 'todo';\n\nexport interface Idea {\n id: string;\n title: string;\n description: string;\n status: IdeaStatus;\n category: IdeaCategory;\n createdAt: number;\n}\n\nexport interface BookSettings {\n genre: string;\n subGenre?: string;\n targetAudience: string;\n tone: string;\n pov: string;\n tense: string;\n synopsis: string;\n themes: string;\n}\n\nexport interface BookProject {\n id: string;\n title: string;\n author: string;\n lastModified: number;\n settings?: BookSettings;\n // Direct fields sometimes used in creation/updates before settings normalization\n genre?: string;\n pov?: string;\n tense?: string;\n chapters: Chapter[];\n entities: Entity[];\n workflow?: WorkflowData;\n templates?: EntityTemplate[];\n styleGuide?: string;\n ideas?: Idea[];\n}\n\nexport interface ChatMessage {\n id: string;\n role: 'user' | 'model';\n text: string;\n responseType?: 'draft' | 'reflection';\n isLoading?: boolean;\n}\n\n// --- SAAS TYPES ---\n\nexport interface PlanData {\n id: string;\n name: string;\n displayName: string;\n price: number;\n description: string;\n features: string[];\n isPopular: boolean;\n maxProjects: number;\n maxAiActions: number;\n}\n\nexport interface Subscription {\n plan: string; // The ID of the plan\n planDetails?: PlanData; // The populated plan details from DB\n startDate: number;\n status: 'active' | 'canceled' | 'past_due';\n}\n\nexport interface UserUsage {\n aiActionsCurrent: number;\n aiActionsLimit: number;\n projectsLimit: number;\n}\n\nexport interface UserPreferences {\n theme: 'light' | 'dark' | 'sepia';\n dailyWordGoal: number;\n language: 'fr' | 'en';\n}\n\nexport interface UserStats {\n totalWordsWritten: number;\n writingStreak: number;\n lastWriteDate: number;\n}\n\nexport interface UserProfile {\n id: string;\n email: string;\n name: string;\n avatar?: string;\n bio?: string;\n subscription: Subscription;\n usage: UserUsage;\n preferences: UserPreferences;\n stats: UserStats;\n}\n\nexport type ViewMode = 'write' | 'world_building' | 'workflow' | 'settings' | 'preview' | 'ideas' | 'landing' | 'features' | 'pricing' | 'checkout' | 'dashboard' | 'auth' | 'signup' | 'profile';\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'M12 5v14', key: 's699le' }],\n];\n\n/**\n * @component @name Plus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJNMTIgNXYxNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/plus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Plus = createLucideIcon('plus', __iconNode);\n\nexport default Plus;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M13 21h8', key: '1jsn5i' }],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n];\n\n/**\n * @component @name PenLine\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgMjFoOCIgLz4KICA8cGF0aCBkPSJNMjEuMTc0IDYuODEyYTEgMSAwIDAgMC0zLjk4Ni0zLjk4N0wzLjg0MiAxNi4xNzRhMiAyIDAgMCAwLS41LjgzbC0xLjMyMSA0LjM1MmEuNS41IDAgMCAwIC42MjMuNjIybDQuMzUzLTEuMzJhMiAyIDAgMCAwIC44My0uNDk3eiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pen-line\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PenLine = createLucideIcon('pen-line', __iconNode);\n\nexport default PenLine;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['circle', { cx: '12', cy: '12', r: '6', key: '1vlfrh' }],\n ['circle', { cx: '12', cy: '12', r: '2', key: '1c9p78' }],\n];\n\n/**\n * @component @name Target\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI2IiAvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/target\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Target = createLucideIcon('target', __iconNode);\n\nexport default Target;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4',\n key: '1slcih',\n },\n ],\n];\n\n/**\n * @component @name Flame\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgM3ExIDQgNCA2LjV0MyA1LjVhMSAxIDAgMCAxLTE0IDAgNSA1IDAgMCAxIDEtMyAxIDEgMCAwIDAgNSAwYzAtMi0xLjUtMy0xLjUtNXEwLTIgMi41LTQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/flame\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Flame = createLucideIcon('flame', __iconNode);\n\nexport default Flame;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20',\n key: 'k3hazp',\n },\n ],\n];\n\n/**\n * @component @name Book\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxOS41di0xNUEyLjUgMi41IDAgMCAxIDYuNSAySDE5YTEgMSAwIDAgMSAxIDF2MThhMSAxIDAgMCAxLTEgMUg2LjVhMSAxIDAgMCAxIDAtNUgyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/book\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Book = createLucideIcon('book', __iconNode);\n\nexport default Book;\n","\nimport { EntityType } from \"./types\";\n\nexport const DEFAULT_BOOK_TITLE = \"Nouveau Roman\";\nexport const DEFAULT_AUTHOR = \"Auteur Inconnu\";\n\nexport const INITIAL_CHAPTER = {\n id: 'chap-1',\n title: 'Chapitre 1',\n content: '

Il était une fois...

',\n summary: 'Début de l\\'histoire.'\n};\n\nexport const ENTITY_ICONS: Record = {\n [EntityType.CHARACTER]: '👤',\n [EntityType.LOCATION]: '🏰',\n [EntityType.OBJECT]: '🗝️',\n [EntityType.NOTE]: '📝',\n};\n\n// Colors for tags\nexport const ENTITY_COLORS: Record = {\n [EntityType.CHARACTER]: 'bg-blue-100 text-blue-800 border-blue-200',\n [EntityType.LOCATION]: 'bg-green-100 text-green-800 border-green-200',\n [EntityType.OBJECT]: 'bg-amber-100 text-amber-800 border-amber-200',\n [EntityType.NOTE]: 'bg-gray-100 text-gray-800 border-gray-200',\n};\n\n// --- Character Creation Lists ---\n\nexport const HAIR_COLORS = [\n \"Brun\", \"Noir\", \"Blond\", \"Roux\", \"Auburn\", \"Gris\", \"Blanc\", \"Châtain\", \"Chauve\", \"Teinture (Bleu/Rose/Etc)\"\n];\n\nexport const EYE_COLORS = [\n \"Marron\", \"Bleu\", \"Vert\", \"Noisette\", \"Gris\", \"Noir\", \"Vairons\", \"Ambre\"\n];\n\nexport const ARCHETYPES = [\n \"Le Héros\", \"L'Ombre / Le Méchant\", \"Le Mentor\", \"Le Gardien du Seuil\",\n \"Le Shapeshifter (Changeforme)\", \"Le Trickster (Farceur)\", \"L'Allié\", \"L'Élu\",\n \"Le Rebelle\", \"Le Séducteur\", \"Le Sage\", \"Le Guerrier\", \"L'Innocent\"\n];\n\n// --- Book Settings Lists ---\n\nexport const GENRES = [\n \"Fantasy\", \"Science-Fiction\", \"Thriller / Polar\", \"Romance\", \"Historique\",\n \"Horreur\", \"Aventure\", \"Contemporain\", \"Jeunesse / Young Adult\", \"Dystopie\"\n];\n\nexport const TONES = [\n \"Sombre & Sérieux\", \"Léger & Humoristique\", \"Épique & Grandiose\",\n \"Mélancolique\", \"Mystérieux\", \"Optimiste\", \"Cynique\", \"Romantique\"\n];\n\nexport const POV_OPTIONS = [\n \"1ère personne (Je)\",\n \"3ème personne (Limitée au protagoniste)\",\n \"3ème personne (Omnisciente)\",\n \"Multi-points de vue (Alterné)\"\n];\n\nexport const TENSE_OPTIONS = [\n \"Passé (Passé simple / Imparfait)\",\n \"Présent de narration\"\n];","'use client';\r\n\r\nimport { useState, useEffect } from 'react';\r\nimport {\r\n BookProject,\r\n Chapter,\r\n Entity,\r\n EntityType,\r\n UserProfile,\r\n} from '@/lib/types';\r\nimport api from '@/lib/api';\r\nimport {\r\n DEFAULT_BOOK_TITLE,\r\n DEFAULT_AUTHOR,\r\n INITIAL_CHAPTER\r\n} from '@/lib/constants';\r\n\r\nexport const useProjects = (user: UserProfile | null) => {\r\n const [projects, setProjects] = useState([]);\r\n const [currentProjectId, setCurrentProjectId] = useState(null);\r\n const [loading, setLoading] = useState(false);\r\n\r\n // Load Projects\r\n useEffect(() => {\r\n if (!user) {\r\n setProjects([]);\r\n return;\r\n }\r\n const loadProjects = async () => {\r\n setLoading(true);\r\n try {\r\n const data = await api.projects.list();\r\n const mapped: BookProject[] = (data || []).map((p: any) => ({\r\n id: p.id,\r\n title: p.title,\r\n author: p.author,\r\n lastModified: new Date(p.updatedAt).getTime(),\r\n // Use _count for display before full details are loaded\r\n chapters: Array.from({ length: p._count?.chapters || 0 }, (_, i) => ({ id: `placeholder-${i}`, title: '', content: '' })),\r\n entities: Array.from({ length: p._count?.entities || 0 }, (_, i) => ({ id: `placeholder-${i}`, type: 'character' as any, name: '', description: '' })),\r\n ideas: [],\r\n settings: p.settings || undefined\r\n }));\r\n setProjects(mapped);\r\n } catch (err) {\r\n console.error('Failed to load projects', err);\r\n } finally {\r\n setLoading(false);\r\n }\r\n };\r\n loadProjects();\r\n }, [user]);\r\n\r\n // Load details when project is selected\r\n useEffect(() => {\r\n if (!currentProjectId) return;\r\n\r\n const loadProjectDetails = async () => {\r\n try {\r\n const fullProject = await api.projects.get(currentProjectId);\r\n const mapped: BookProject = {\r\n id: fullProject.id,\r\n title: fullProject.title,\r\n author: fullProject.author,\r\n lastModified: new Date(fullProject.updatedAt).getTime(),\r\n settings: fullProject.settings || undefined,\r\n styleGuide: fullProject.styleGuide || undefined,\r\n chapters: (fullProject.chapters || []).map((c: any) => ({\r\n id: c.id,\r\n title: c.title,\r\n content: c.content,\r\n summary: c.summary,\r\n })),\r\n entities: (fullProject.entities || []).map((e: any) => ({\r\n id: e.id,\r\n type: e.type,\r\n name: e.name,\r\n description: e.description,\r\n details: e.details,\r\n storyContext: e.storyContext,\r\n attributes: e.attributes,\r\n customValues: e.customValues,\r\n })),\r\n ideas: (fullProject.ideas || []).map((i: any) => ({\r\n id: i.id,\r\n title: i.title,\r\n description: i.description,\r\n status: i.status,\r\n category: i.category,\r\n createdAt: new Date(i.createdAt).getTime(),\r\n })),\r\n workflow: {\r\n nodes: (fullProject.plotNodes || []).map((n: any) => ({\r\n id: n.id,\r\n x: n.x,\r\n y: n.y,\r\n title: n.title,\r\n description: n.description,\r\n color: n.color,\r\n type: n.type,\r\n })),\r\n connections: (fullProject.plotConnections || []).map((c: any) => ({\r\n id: c.id,\r\n source: c.source,\r\n target: c.target,\r\n })),\r\n },\r\n };\r\n setProjects(prev => prev.map(p => p.id === currentProjectId ? mapped : p));\r\n } catch (err) {\r\n console.error(\"Failed to load project details\", err);\r\n }\r\n };\r\n loadProjectDetails();\r\n }, [currentProjectId]);\r\n\r\n const createProject = async () => {\r\n if (!user) return;\r\n\r\n try {\r\n const created = await api.projects.create({\r\n title: DEFAULT_BOOK_TITLE,\r\n author: user.name || DEFAULT_AUTHOR,\r\n settings: { genre: 'Fantasy', targetAudience: 'Adult', tone: 'Epic' },\r\n });\r\n\r\n const newProject: BookProject = {\r\n id: created.id,\r\n title: created.title,\r\n author: created.author,\r\n lastModified: Date.now(),\r\n chapters: [],\r\n entities: [],\r\n ideas: [],\r\n settings: created.settings,\r\n };\r\n\r\n setProjects(prev => [...prev, newProject]);\r\n await addChapter(created.id, INITIAL_CHAPTER);\r\n return created.id;\r\n } catch (err) {\r\n console.error('Failed to create project', err);\r\n throw err;\r\n }\r\n };\r\n\r\n const updateProject = async (id: string, data: Partial) => {\r\n setProjects(prev => prev.map(p => p.id === id ? { ...p, ...data } : p));\r\n\r\n try {\r\n // Persist project fields\r\n const payload: any = {};\r\n if (data.title !== undefined) payload.title = data.title;\r\n if (data.author !== undefined) payload.author = data.author;\r\n if (data.settings !== undefined) payload.settings = data.settings;\r\n if (data.styleGuide !== undefined) payload.styleGuide = data.styleGuide;\r\n if (Object.keys(payload).length > 0) {\r\n await api.projects.update(id, payload);\r\n }\r\n\r\n // Persist workflow (nodes + connections) separately\r\n if (data.workflow) {\r\n await api.projects.syncWorkflow(id, {\r\n nodes: data.workflow.nodes || [],\r\n connections: data.workflow.connections || [],\r\n });\r\n }\r\n } catch (err) {\r\n console.error(\"Failed to update project\", err);\r\n }\r\n };\r\n\r\n const addChapter = async (projectId: string, chapterData: Partial) => {\r\n try {\r\n const newChap = await api.chapters.create({\r\n projectId,\r\n title: chapterData.title || 'New Chapter',\r\n content: chapterData.content || '',\r\n summary: chapterData.summary || undefined,\r\n });\r\n\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n chapters: [...p.chapters, {\r\n id: newChap.id,\r\n title: newChap.title,\r\n content: newChap.content,\r\n summary: newChap.summary,\r\n }]\r\n };\r\n }));\r\n return newChap.id;\r\n } catch (err) {\r\n console.error(\"Failed to add chapter\", err);\r\n return null;\r\n }\r\n };\r\n\r\n const updateChapter = async (projectId: string, chapterId: string, data: Partial) => {\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n chapters: p.chapters.map(c => c.id === chapterId ? { ...c, ...data } : c)\r\n };\r\n }));\r\n\r\n try {\r\n await api.chapters.update(chapterId, data);\r\n } catch (err) {\r\n console.error(\"Failed to update chapter\", err);\r\n }\r\n };\r\n\r\n const createEntity = async (projectId: string, type: EntityType, initialData?: Partial) => {\r\n try {\r\n const newEntity = await api.entities.create({\r\n projectId,\r\n type,\r\n name: initialData?.name || `Nouveau ${type}`,\r\n description: initialData?.description || '',\r\n details: initialData?.details || '',\r\n attributes: initialData?.attributes || undefined,\r\n customValues: initialData?.customValues || undefined,\r\n });\r\n\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n entities: [...p.entities, {\r\n id: newEntity.id,\r\n type: newEntity.type,\r\n name: newEntity.name,\r\n description: newEntity.description,\r\n details: newEntity.details,\r\n attributes: newEntity.attributes,\r\n customValues: newEntity.customValues || {},\r\n }]\r\n };\r\n }));\r\n return newEntity.id;\r\n } catch (err) {\r\n console.error(\"Failed to create entity\", err);\r\n throw err;\r\n }\r\n };\r\n\r\n const updateEntity = async (projectId: string, entityId: string, data: Partial) => {\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n entities: p.entities.map(e => e.id === entityId ? { ...e, ...data } : e)\r\n };\r\n }));\r\n\r\n try {\r\n await api.entities.update(entityId, data);\r\n } catch (err) {\r\n console.error(\"Failed to update entity\", err);\r\n }\r\n };\r\n\r\n const deleteEntity = async (projectId: string, entityId: string) => {\r\n setProjects(prev => prev.map(p => {\r\n if (p.id !== projectId) return p;\r\n return {\r\n ...p,\r\n entities: p.entities.filter(e => e.id !== entityId)\r\n };\r\n }));\r\n\r\n try {\r\n await api.entities.delete(entityId);\r\n } catch (err) {\r\n console.error(\"Failed to delete entity\", err);\r\n }\r\n };\r\n\r\n return {\r\n projects,\r\n currentProjectId,\r\n setCurrentProjectId,\r\n createProject,\r\n updateProject,\r\n addChapter,\r\n updateChapter,\r\n createEntity,\r\n updateEntity,\r\n deleteEntity,\r\n deleteProject: async (projectId: string) => {\r\n try {\r\n // Cascade delete is handled by Prisma, just delete the project\r\n await api.projects.delete(projectId);\r\n\r\n setProjects(prev => prev.filter(p => p.id !== projectId));\r\n if (currentProjectId === projectId) {\r\n setCurrentProjectId(null);\r\n }\r\n } catch (err) {\r\n console.error(\"Failed to delete project\", err);\r\n }\r\n }\r\n };\r\n};\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm16 17 5-5-5-5', key: '1bji2h' }],\n ['path', { d: 'M21 12H9', key: 'dn1m92' }],\n ['path', { d: 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4', key: '1uf3rs' }],\n];\n\n/**\n * @component @name LogOut\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTYgMTcgNS01LTUtNSIgLz4KICA8cGF0aCBkPSJNMjEgMTJIOSIgLz4KICA8cGF0aCBkPSJNOSAyMUg1YTIgMiAwIDAgMS0yLTJWNWEyIDIgMCAwIDEgMi0yaDQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/log-out\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LogOut = createLucideIcon('log-out', __iconNode);\n\nexport default LogOut;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm9 18 6-6-6-6', key: 'mthhwq' }]];\n\n/**\n * @component @name ChevronRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtOSAxOCA2LTYtNi02IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/chevron-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronRight = createLucideIcon('chevron-right', __iconNode);\n\nexport default ChevronRight;\n","'use client';\n\n\nimport React from 'react';\nimport { BookProject, UserProfile } from '@/lib/types';\nimport { Plus, Book, Clock, Star, ChevronRight, LogOut, LayoutDashboard, User, Target, Flame, Edit3 } from 'lucide-react';\n\ninterface DashboardProps {\n user: UserProfile;\n projects: BookProject[];\n onSelect: (id: string) => void;\n onCreate: () => void;\n onLogout: () => void;\n onPricing: () => void;\n onProfile: () => void;\n}\n\nconst Dashboard: React.FC = ({ user, projects, onSelect, onCreate, onLogout, onPricing, onProfile }) => {\n return (\n
\n
\n\n {/* User Card */}\n
\n
\n
\n \"Avatar\"\n
\n
\n
\n

Bonjour, {user.name} 👋

\n
\n {user.subscription.planDetails?.displayName || user.subscription.plan}\n Membre depuis le 24 janv.\n
\n
\n
\n
\n \n \n
\n
\n\n {/* Stats Section */}\n
\n
\n
\n
\n

Série actuelle

\n

{user.stats.writingStreak} Jours

\n
\n
\n
\n
\n
\n

Mots écrits

\n

{user.stats.totalWordsWritten.toLocaleString()}

\n
\n
\n
\n
\n
\n

Objectif du jour

\n

{user.preferences.dailyWordGoal} Mots

\n
\n
\n
\n\n
\n {/* Project List */}\n
\n
\n

Mes Romans

\n \n Écrire un nouveau livre\n \n
\n\n
\n {projects.map(p => (\n onSelect(p.id)}\n className=\"bg-theme-panel p-8 rounded-[2.5rem] border border-theme-border shadow-sm hover:shadow-2xl hover:scale-[1.02] transition-all cursor-pointer group flex flex-col justify-between h-64\"\n >\n
\n
\n \n
\n

{p.title}

\n

Dernière modification : {new Date(p.lastModified).toLocaleDateString()}

\n
\n
\n {p.chapters.length} Chapitres\n \n
\n
\n ))}\n {projects.length === 0 && (\n
\n \n

Prêt à commencer votre premier roman ?

\n \n
\n )}\n
\n
\n\n {/* Sidebar Stats & Plan */}\n
\n
\n
\n

Utilisation

\n
\n
\n
\n Actions IA\n {user.usage.aiActionsCurrent} / {user.usage.aiActionsLimit === 999999 ? '∞' : user.usage.aiActionsLimit}\n
\n
\n \n
\n
\n
\n
\n Emplacements Roman\n {projects.length} / {user.usage.projectsLimit}\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n );\n};\n\nexport default Dashboard;\n","'use client';\r\n\r\nimport { useRouter } from 'next/navigation';\r\nimport { useAuthContext } from '@/providers/AuthProvider';\r\nimport { useProjects } from '@/hooks/useProjects';\r\nimport Dashboard from '@/components/Dashboard';\r\nimport { Loader2, BookOpen } from 'lucide-react';\r\nimport { useEffect } from 'react';\r\n\r\nexport default function DashboardPage() {\r\n const router = useRouter();\r\n const { user, logout, loading } = useAuthContext();\r\n const { projects, setCurrentProjectId, createProject } = useProjects(user);\r\n\r\n useEffect(() => {\r\n if (!loading && !user) {\r\n router.replace('/login');\r\n }\r\n }, [user, loading, router]);\r\n\r\n if (loading || !user) {\r\n return (\r\n
\r\n \r\n
\r\n \r\n PlumeIA\r\n
\r\n
\r\n );\r\n }\r\n\r\n return (\r\n {\r\n setCurrentProjectId(id);\r\n router.push(`/project/${id}`);\r\n }}\r\n onCreate={async () => {\r\n try {\r\n const id = await createProject();\r\n if (id) {\r\n setCurrentProjectId(id);\r\n router.push(`/project/${id}`);\r\n }\r\n } catch (err: any) {\r\n if (err?.message?.includes('Limite')) {\r\n alert(err.message);\r\n router.push('/pricing');\r\n } else {\r\n alert('Erreur lors de la création du projet');\r\n }\r\n }\r\n }}\r\n onLogout={() => {\r\n logout();\r\n router.push('/');\r\n }}\r\n onPricing={() => router.push('/pricing')}\r\n onProfile={() => router.push('/profile')}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z',\n key: 'r04s7s',\n },\n ],\n];\n\n/**\n * @component @name Star\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTEuNTI1IDIuMjk1YS41My41MyAwIDAgMSAuOTUgMGwyLjMxIDQuNjc5YTIuMTIzIDIuMTIzIDAgMCAwIDEuNTk1IDEuMTZsNS4xNjYuNzU2YS41My41MyAwIDAgMSAuMjk0LjkwNGwtMy43MzYgMy42MzhhMi4xMjMgMi4xMjMgMCAwIDAtLjYxMSAxLjg3OGwuODgyIDUuMTRhLjUzLjUzIDAgMCAxLS43NzEuNTZsLTQuNjE4LTIuNDI4YTIuMTIyIDIuMTIyIDAgMCAwLTEuOTczIDBMNi4zOTYgMjEuMDFhLjUzLjUzIDAgMCAxLS43Ny0uNTZsLjg4MS01LjEzOWEyLjEyMiAyLjEyMiAwIDAgMC0uNjExLTEuODc5TDIuMTYgOS43OTVhLjUzLjUzIDAgMCAxIC4yOTQtLjkwNmw1LjE2NS0uNzU1YTIuMTIyIDIuMTIyIDAgMCAwIDEuNTk3LTEuMTZ6IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/star\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Star = createLucideIcon('star', __iconNode);\n\nexport default Star;\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BCFvCJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACE,kBAAkB,+BCFzCL,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACG,kBAAkB,wDKKvC,CDAA,AFAA,AGAA,CACG,MAAA,CAAO,CAAC,CHDI,AGCJ,CHDI,AGCJ,AHDI,CAAA,AGCJ,CHDI,AGCJ,AAAkB,CHDd,AGCJ,AHD0B,CAAA,AGC1B,AHDI,CGCJ,AHDI,AAAsB,CAAtB,AAAsB,AGC1B,CAAkB,AHDe,AGCjC,AHDI,CGCc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E,MAAO,EAAU,CACX,GAAK,SAAS,SAAS,WAAW,AAClC,MAAM,EAAI,OAAO,EACjB,EAAO,IAAI,CAAC,aAEZ,MAAM,uCAEd,CACJ,EACA,SAAU,KACN,IACA,EAAO,IAAI,CAAC,IAChB,EACA,UAAW,IAAM,EAAO,IAAI,CAAC,YAC7B,UAAW,IAAM,EAAO,IAAI,CAAC,aAGzC","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,22,23,26]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__5bf29f18._.js b/.next/server/chunks/ssr/[root-of-the-server]__5bf29f18._.js deleted file mode 100644 index 5d6c765..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__5bf29f18._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[25235,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].React},82741,(a,b,c)=>{"use strict";b.exports=a.r(18622)},11092,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].ReactServerDOMTurbopackServer},784,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].ReactJsxRuntime},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},14747,(a,b,c)=>{b.exports=a.x("path",()=>require("path"))},70406,(a,b,c)=>{b.exports=a.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},24361,(a,b,c)=>{b.exports=a.x("util",()=>require("util"))}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__5bf29f18._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__5bf29f18._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__5bf29f18._.js.map deleted file mode 100644 index 5ac6eaa..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__5bf29f18._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.React\n","if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.ReactServerDOMTurbopackServer\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.ReactJsxRuntime\n"],"names":["module","exports","require","vendored","React","process","env","NEXT_RUNTIME","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK","ReactServerDOMTurbopackServer","ReactJsxRuntime"],"mappings":"6CAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEC,KAAK,+BCwBtBJ,EAAOC,OAAO,CAAGC,EAAQ,CAAA,CAAA,IAAA,iCC1BjCF,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEQ,6BAA6B,4BCFtDX,GAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAES,eAAe","ignoreList":[0,1,2,3]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__711fc51c._.js b/.next/server/chunks/ssr/[root-of-the-server]__711fc51c._.js deleted file mode 100644 index 402cb5c..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__711fc51c._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[76898,a=>{a.v({className:"inter_b2991b2-module__9mH_6q__className",variable:"inter_b2991b2-module__9mH_6q__variable"})},89442,a=>{a.v({className:"merriweather_6ee6941f-module__jsOStW__className",variable:"merriweather_6ee6941f-module__jsOStW__variable"})},38975,a=>{"use strict";a.s(["AuthProvider",()=>c,"useAuthContext",()=>d]);var b=a.i(11092);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AuthProvider() from the server but AuthProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ","AuthProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAuthContext() from the server but useAuthContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx ","useAuthContext")},22012,a=>{"use strict";a.s(["AuthProvider",()=>c,"useAuthContext",()=>d]);var b=a.i(11092);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AuthProvider() from the server but AuthProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx","AuthProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useAuthContext() from the server but useAuthContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx","useAuthContext")},95792,a=>{"use strict";a.i(38975);var b=a.i(22012);a.n(b)},97656,a=>{"use strict";var b=a.i(784),c=a.i(76898);let d={className:c.default.className,style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(89442);let f={className:e.default.className,style:{fontFamily:"'Merriweather', 'Merriweather Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(95792);function h({children:a}){return(0,b.jsx)("html",{lang:"fr",children:(0,b.jsx)("body",{className:`${d.variable} ${f.variable} font-sans h-screen overflow-hidden antialiased bg-theme-bg text-theme-text transition-colors duration-300`,children:(0,b.jsx)(g.AuthProvider,{children:a})})})}a.s(["default",()=>h,"metadata",0,{title:"PlumeIA - Éditeur Intelligent",description:"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman."}],97656)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__711fc51c._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__711fc51c._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__711fc51c._.js.map deleted file mode 100644 index 6fb337a..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__711fc51c._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["turbopack:///[next]/internal/font/google/inter_b2991b2.module.css [app-rsc] (css module)","turbopack:///[next]/internal/font/google/merriweather_6ee6941f.module.css [app-rsc] (css module)","../../../../../../../Documents/00%20-%20projet/plumeia/src/providers/AuthProvider.tsx/__nextjs-internal-proxy.mjs","turbopack:///[next]/internal/font/google/inter_b2991b2.js","turbopack:///[next]/internal/font/google/merriweather_6ee6941f.js","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/layout.tsx"],"sourcesContent":["__turbopack_context__.v({\n \"className\": \"inter_b2991b2-module__9mH_6q__className\",\n \"variable\": \"inter_b2991b2-module__9mH_6q__variable\",\n});\n","__turbopack_context__.v({\n \"className\": \"merriweather_6ee6941f-module__jsOStW__className\",\n \"variable\": \"merriweather_6ee6941f-module__jsOStW__variable\",\n});\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const AuthProvider = registerClientReference(\n function() { throw new Error(\"Attempted to call AuthProvider() from the server but AuthProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx\",\n \"AuthProvider\",\n);\nexport const useAuthContext = registerClientReference(\n function() { throw new Error(\"Attempted to call useAuthContext() from the server but useAuthContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/Documents/00 - projet/plumeia/src/providers/AuthProvider.tsx\",\n \"useAuthContext\",\n);\n","import cssModule from \"@vercel/turbopack-next/internal/font/google/cssmodule.module.css?{%22path%22:%22layout.tsx%22,%22import%22:%22Inter%22,%22arguments%22:[{%22subsets%22:[%22latin%22],%22variable%22:%22--font-sans%22}],%22variableName%22:%22inter%22}\";\nconst fontData = {\n className: cssModule.className,\n style: {\n fontFamily: \"'Inter', 'Inter Fallback'\",\n fontStyle: \"normal\",\n\n },\n};\n\nif (cssModule.variable != null) {\n fontData.variable = cssModule.variable;\n}\n\nexport default fontData;\n","import cssModule from \"@vercel/turbopack-next/internal/font/google/cssmodule.module.css?{%22path%22:%22layout.tsx%22,%22import%22:%22Merriweather%22,%22arguments%22:[{%22subsets%22:[%22latin%22],%22weight%22:[%22300%22,%22400%22,%22700%22,%22900%22],%22variable%22:%22--font-serif%22}],%22variableName%22:%22merriweather%22}\";\nconst fontData = {\n className: cssModule.className,\n style: {\n fontFamily: \"'Merriweather', 'Merriweather Fallback'\",\n fontStyle: \"normal\",\n\n },\n};\n\nif (cssModule.variable != null) {\n fontData.variable = cssModule.variable;\n}\n\nexport default fontData;\n","import type { Metadata } from \"next\";\r\nimport { Inter, Merriweather } from \"next/font/google\";\r\nimport { AuthProvider } from \"@/providers/AuthProvider\";\r\nimport \"./globals.css\";\r\n\r\nconst inter = Inter({\r\n subsets: [\"latin\"],\r\n variable: \"--font-sans\",\r\n});\r\n\r\nconst merriweather = Merriweather({\r\n subsets: [\"latin\"],\r\n weight: [\"300\", \"400\", \"700\", \"900\"],\r\n variable: \"--font-serif\",\r\n});\r\n\r\nexport const metadata: Metadata = {\r\n title: \"PlumeIA - Éditeur Intelligent\",\r\n description: \"Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman.\",\r\n};\r\n\r\nexport default function RootLayout({\r\n children,\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UAAQ,CAGX,EACG,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,KAAK,cACP,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAW,CAAA,EFdd,AEciB,EAAM,QAAQ,CAAC,CAAC,EDdjC,ACcmC,EAAa,QAAQ,CAAC,0GAA0G,CAAC,UACnK,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,YAAY,CAAA,UACR,OAKrB,mCAnBkC,CAC9B,MAAO,gCACP,YAAa,2FACjB","ignoreList":[0,1,2,3,4]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__8915ef3b._.js b/.next/server/chunks/ssr/[root-of-the-server]__8915ef3b._.js deleted file mode 100644 index 24c694f..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__8915ef3b._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},52263,a=>{a.n(a.i(97656))},41780,a=>{a.n(a.i(95184))},48220,a=>{a.n(a.i(48257))},3402,a=>{a.n(a.i(34474))},71880,a=>{a.n(a.i(82562))},53640,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11092).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx ","default")},2918,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11092).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/app/page.tsx","default")},81233,a=>{"use strict";a.i(53640);var b=a.i(2918);a.n(b)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__8915ef3b._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__8915ef3b._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__8915ef3b._.js.map deleted file mode 100644 index 4c3affd..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__8915ef3b._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/app/page.tsx/__nextjs-internal-proxy.mjs"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/Documents/00 - projet/plumeia/src/app/page.tsx\",\n \"default\",\n);\n"],"names":[],"mappings":"iWAEe,CAAA,EAAA,AADf,EAAA,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAI,MAAM,gTAAkT,EAC/U,+EACA,+DAHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAI,MAAM,4RAA8R,EAC3T,2DACA","ignoreList":[0]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__93fbf849._.js b/.next/server/chunks/ssr/[root-of-the-server]__93fbf849._.js deleted file mode 100644 index a5a3b25..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__93fbf849._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},79080,a=>{"use strict";let b=(0,a.i(29892).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],79080)},79320,a=>{"use strict";let b=(0,a.i(29892).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);a.s(["ArrowRight",()=>b],79320)},66181,a=>{"use strict";let b=(0,a.i(29892).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);a.s(["Lock",()=>b],66181)},89657,a=>{"use strict";let b=(0,a.i(29892).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);a.s(["Shield",()=>b],89657)},33045,a=>{"use strict";var b=a.i(78352),c=a.i(28091);let d=(0,a.i(29892).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var e=a.i(89657),f=a.i(66181),g=a.i(79320),h=a.i(79080);let i=({onComplete:a,onCancel:i})=>{let[j,k]=(0,c.useState)(!1);return(0,b.jsx)("div",{className:"min-h-screen bg-[#eef2ff] flex items-center justify-center p-8",children:(0,b.jsxs)("div",{className:"bg-white rounded-3xl shadow-2xl flex flex-col md:flex-row max-w-4xl w-full overflow-hidden animate-in fade-in slide-in-from-bottom-10 duration-500",children:[(0,b.jsxs)("div",{className:"w-full md:w-1/3 bg-slate-900 text-white p-8",children:[(0,b.jsxs)("h3",{className:"text-xl font-bold mb-8 flex items-center gap-2",children:[(0,b.jsx)(f.Lock,{size:18,className:"text-blue-400"})," Commande"]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,b.jsx)("span",{children:"Auteur Pro"}),(0,b.jsx)("span",{children:"12.00€"})]}),(0,b.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,b.jsx)("span",{children:"TVA (20%)"}),(0,b.jsx)("span",{children:"2.40€"})]}),(0,b.jsx)("div",{className:"h-px bg-slate-800 my-4"}),(0,b.jsxs)("div",{className:"flex justify-between text-xl font-black",children:[(0,b.jsx)("span",{children:"Total"}),(0,b.jsx)("span",{className:"text-blue-400",children:"14.40€"})]})]})]}),(0,b.jsxs)("div",{className:"flex-1 p-8 md:p-12",children:[(0,b.jsx)("h2",{className:"text-2xl font-black text-slate-900 mb-8 text-center",children:"Paiement Sécurisé"}),(0,b.jsxs)("form",{onSubmit:b=>{b.preventDefault(),k(!0),setTimeout(()=>{a()},2e3)},className:"space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-xs font-black text-slate-500 uppercase tracking-widest mb-2",children:"Numéro de carte"}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)("input",{type:"text",placeholder:"4242 4242 4242 4242",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"}),(0,b.jsx)(d,{className:"absolute right-4 top-4 text-slate-400"})]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,b.jsx)("input",{type:"text",placeholder:"MM / YY",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"}),(0,b.jsx)("input",{type:"text",placeholder:"CVC",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"})]}),(0,b.jsx)("button",{disabled:j,className:"w-full bg-blue-600 text-white py-5 rounded-2xl font-black text-lg hover:bg-blue-700 transition-all shadow-xl shadow-blue-200 flex items-center justify-center gap-3",children:j?(0,b.jsx)(h.Loader2,{className:"animate-spin"}):(0,b.jsxs)(b.Fragment,{children:["Confirmer le paiement ",(0,b.jsx)(g.ArrowRight,{size:20})]})}),(0,b.jsxs)("div",{className:"flex items-center justify-center gap-2 text-[10px] text-slate-400 font-bold uppercase",children:[(0,b.jsx)(e.Shield,{size:12})," Traitement chiffré SSL 256-bits"]})]})]})]})})};var j=a.i(34896);function k(){let a=(0,j.useRouter)();return(0,b.jsx)(i,{onComplete:()=>a.push("/dashboard"),onCancel:()=>a.push("/pricing")})}a.s(["default",()=>k],33045)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__93fbf849._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__93fbf849._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__93fbf849._.js.map deleted file mode 100644 index 3db7431..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__93fbf849._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/loader-circle.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/lock.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/shield.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/Checkout.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/checkout/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/credit-card.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M21 12a9 9 0 1 1-6.219-8.56', key: '13zald' }]];\n\n/**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LoaderCircle = createLucideIcon('loader-circle', __iconNode);\n\nexport default LoaderCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '11', x: '3', y: '11', rx: '2', ry: '2', key: '1w4ew1' }],\n ['path', { d: 'M7 11V7a5 5 0 0 1 10 0v4', key: 'fwvmzm' }],\n];\n\n/**\n * @component @name Lock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTEiIHg9IjMiIHk9IjExIiByeD0iMiIgcnk9IjIiIC8+CiAgPHBhdGggZD0iTTcgMTFWN2E1IDUgMCAwIDEgMTAgMHY0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/lock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Lock = createLucideIcon('lock', __iconNode);\n\nexport default Lock;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z',\n key: 'oel41y',\n },\n ],\n];\n\n/**\n * @component @name Shield\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgMTNjMCA1LTMuNSA3LjUtNy42NiA4Ljk1YTEgMSAwIDAgMS0uNjctLjAxQzcuNSAyMC41IDQgMTggNCAxM1Y2YTEgMSAwIDAgMSAxLTFjMiAwIDQuNS0xLjIgNi4yNC0yLjcyYTEuMTcgMS4xNyAwIDAgMSAxLjUyIDBDMTQuNTEgMy44MSAxNyA1IDE5IDVhMSAxIDAgMCAxIDEgMXoiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/shield\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Shield = createLucideIcon('shield', __iconNode);\n\nexport default Shield;\n","'use client';\n\n\nimport React, { useState } from 'react';\nimport { CreditCard, Shield, Lock, ArrowRight, Loader2 } from 'lucide-react';\n\ninterface CheckoutProps {\n onComplete: () => void;\n onCancel: () => void;\n}\n\nconst Checkout: React.FC = ({ onComplete, onCancel }) => {\n const [loading, setLoading] = useState(false);\n\n const handleSubmit = (e: React.FormEvent) => {\n e.preventDefault();\n setLoading(true);\n setTimeout(() => {\n onComplete();\n }, 2000);\n };\n\n return (\n
\n
\n
\n

Commande

\n
\n
Auteur Pro12.00€
\n
TVA (20%)2.40€
\n
\n
Total14.40€
\n
\n
\n
\n

Paiement Sécurisé

\n
\n
\n \n
\n \n \n
\n
\n
\n \n \n
\n \n
\n Traitement chiffré SSL 256-bits\n
\n
\n
\n
\n
\n );\n};\n\nexport default Checkout;\n","'use client';\r\n\r\nimport Checkout from '@/components/Checkout';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function CheckoutPage() {\r\n const router = useRouter();\r\n\r\n return (\r\n router.push('/dashboard')}\r\n onCancel={() => router.push('/pricing')}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '20', height: '14', x: '2', y: '5', rx: '2', key: 'ynyp8z' }],\n ['line', { x1: '2', x2: '22', y1: '10', y2: '10', key: '1b3vmo' }],\n];\n\n/**\n * @component @name CreditCard\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMTQiIHg9IjIiIHk9IjUiIHJ4PSIyIiAvPgogIDxsaW5lIHgxPSIyIiB4Mj0iMjIiIHkxPSIxMCIgeTI9IjEwIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/credit-card\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CreditCard = createLucideIcon('credit-card', __iconNode);\n\nexport default CreditCard;\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BCFvCJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAA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A,CAAI,UAAU,qBACX,CAAA,EAAA,EAAA,GAAA,EAAC,QAAA,CAAM,KAAK,OAAO,YAAY,sBAAsB,UAAU,wHAC/D,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAW,UAAU,gDAG9B,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAI,UAAU,mCACX,CAAA,EAAA,EAAA,GAAA,EAAC,QAAA,CAAM,KAAK,OAAO,YAAY,UAAU,UAAU,wHACnD,CAAA,EAAA,EAAA,GAAA,EAAC,QAAA,CAAM,KAAK,OAAO,YAAY,MAAM,UAAU,2HAEnD,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CACG,SAAU,EACV,UAAU,+KAET,EAAU,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAO,CAAA,CAAC,UAAU,iBAAoB,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,QAAA,CAAA,WAAE,yBAAsB,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,UAAU,CAAA,CAAC,KAAM,UAEhG,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAI,UAAU,kGACX,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,MAAM,CAAA,CAAC,KAAM,KAAM,gDAOxC,EC3DA,IAAA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,IAAM,EAAS,CAAA,EAAA,EAAA,SAAA,AAAS,IAExB,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,WAAY,IAAM,EAAO,IAAI,CAAC,cAC9B,SAAU,IAAM,EAAO,IAAI,CAAC,aAGxC","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__9f280bdb._.js b/.next/server/chunks/ssr/[root-of-the-server]__9f280bdb._.js deleted file mode 100644 index 095d88e..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__9f280bdb._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},79320,a=>{"use strict";let b=(0,a.i(29892).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);a.s(["ArrowRight",()=>b],79320)},14294,a=>{"use strict";let b=(0,a.i(29892).default)("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);a.s(["Book",()=>b],14294)},806,a=>{"use strict";let b=(0,a.i(29892).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);a.s(["Sparkles",()=>b],806)},40260,a=>{"use strict";var b=a.i(78352),c=a.i(14294),d=a.i(806),e=a.i(79320);let f=({onLogin:a,onPricing:f,onFeatures:g})=>(0,b.jsxs)("div",{className:"min-h-screen bg-[#eef2ff] font-sans selection:bg-blue-200",children:[(0,b.jsxs)("nav",{className:"fixed top-0 w-full bg-white/80 backdrop-blur-md z-50 border-b border-indigo-100 px-8 h-16 flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"bg-blue-600 p-1.5 rounded-lg",children:(0,b.jsx)(c.Book,{className:"text-white",size:24})}),(0,b.jsx)("span",{className:"text-xl font-black text-slate-900 tracking-tight",children:"PlumeIA"})]}),(0,b.jsxs)("div",{className:"hidden md:flex items-center gap-8 text-sm font-medium text-slate-600",children:[(0,b.jsx)("button",{onClick:g,className:"hover:text-blue-600 transition-colors",children:"Fonctionnalités"}),(0,b.jsx)("button",{onClick:f,className:"hover:text-blue-600 transition-colors",children:"Tarifs"}),(0,b.jsx)("a",{href:"#",className:"hover:text-blue-600 transition-colors",children:"Blog"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsx)("button",{onClick:a,className:"text-sm font-bold text-slate-700 hover:text-blue-600 px-4 py-2",children:"Connexion"}),(0,b.jsx)("button",{onClick:a,className:"bg-slate-900 text-white px-5 py-2.5 rounded-full text-sm font-bold hover:bg-blue-600 transition-all shadow-lg hover:shadow-blue-200",children:"Essai Gratuit"})]})]}),(0,b.jsxs)("header",{className:"pt-32 pb-20 px-8 max-w-7xl mx-auto text-center",children:[(0,b.jsxs)("div",{className:"inline-flex items-center gap-2 bg-white border border-indigo-100 px-4 py-2 rounded-full text-xs font-bold text-blue-600 mb-8 shadow-sm",children:[(0,b.jsx)(d.Sparkles,{size:14,className:"animate-pulse"})," NOUVEAUTÉ : GÉNÉRATION DE BIBLE DU MONDE PAR IA"]}),(0,b.jsxs)("h1",{className:"text-5xl md:text-7xl font-black text-slate-900 leading-[1.1] mb-6",children:["L'écriture d'un roman, ",(0,b.jsx)("br",{}),(0,b.jsx)("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-500",children:"augmentée par l'IA."})]}),(0,b.jsx)("p",{className:"text-xl text-slate-600 max-w-2xl mx-auto mb-10 leading-relaxed",children:"PlumeIA est le premier éditeur intelligent qui comprend votre univers, vos personnages et votre style pour vous aider à franchir la page blanche."}),(0,b.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[(0,b.jsxs)("button",{onClick:a,className:"w-full sm:w-auto bg-blue-600 text-white px-8 py-4 rounded-full text-lg font-bold hover:bg-blue-700 transition-all shadow-xl shadow-blue-200 flex items-center gap-2 justify-center",children:["Commencer mon livre ",(0,b.jsx)(e.ArrowRight,{size:20})]}),(0,b.jsx)("button",{onClick:g,className:"w-full sm:w-auto bg-white text-slate-900 border border-slate-200 px-8 py-4 rounded-full text-lg font-bold hover:bg-slate-50 transition-all",children:"Voir la démo"})]}),(0,b.jsxs)("div",{className:"mt-20 relative",children:[(0,b.jsx)("div",{className:"absolute -inset-4 bg-gradient-to-r from-blue-500/20 to-indigo-500/20 blur-3xl -z-10 rounded-full"}),(0,b.jsx)("div",{className:"bg-white rounded-2xl shadow-2xl border border-indigo-100 p-2 overflow-hidden max-w-5xl mx-auto",children:(0,b.jsx)("img",{src:"https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&q=80&w=2000",alt:"Editor Preview",className:"rounded-xl object-cover h-[500px] w-full"})})]})]}),(0,b.jsx)("section",{className:"bg-white py-24 px-8 border-y border-indigo-100",children:(0,b.jsxs)("div",{className:"max-w-7xl mx-auto text-center",children:[(0,b.jsx)("h2",{className:"text-slate-400 text-sm font-bold uppercase tracking-widest mb-12",children:"Utilisé par les auteurs de demain"}),(0,b.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-12 items-center grayscale opacity-60",children:[(0,b.jsx)("span",{className:"text-3xl font-serif font-black italic",children:"FantasyMag"}),(0,b.jsx)("span",{className:"text-2xl font-sans font-bold",children:"Writer's Hub"}),(0,b.jsx)("span",{className:"text-3xl font-serif",children:"L'Éditeur"}),(0,b.jsx)("span",{className:"text-2xl font-sans font-black tracking-tight underline underline-offset-4 decoration-blue-500",children:"Novelty"})]})]})}),(0,b.jsx)("footer",{className:"bg-slate-900 text-slate-400 py-12 px-8 text-center",children:(0,b.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,b.jsxs)("div",{className:"flex items-center justify-center gap-2 text-white mb-6",children:[(0,b.jsx)(c.Book,{className:"text-blue-500",size:24}),(0,b.jsx)("span",{className:"text-xl font-bold",children:"PlumeIA"})]}),(0,b.jsx)("p",{className:"text-sm",children:"© 2024 PlumeIA. Tous droits réservés."})]})})]});var g=a.i(34896);function h(){let a=(0,g.useRouter)();return(0,b.jsx)(f,{onLogin:()=>a.push("/login"),onFeatures:()=>a.push("/features"),onPricing:()=>a.push("/pricing")})}a.s(["default",()=>h],40260)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__9f280bdb._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__9f280bdb._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__9f280bdb._.js.map deleted file mode 100644 index 469393e..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__9f280bdb._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/book.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/sparkles.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/LandingPage.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/page.tsx"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20',\n key: 'k3hazp',\n },\n ],\n];\n\n/**\n * @component @name Book\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNCAxOS41di0xNUEyLjUgMi41IDAgMCAxIDYuNSAySDE5YTEgMSAwIDAgMSAxIDF2MThhMSAxIDAgMCAxLTEgMUg2LjVhMSAxIDAgMCAxIDAtNUgyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/book\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Book = createLucideIcon('book', __iconNode);\n\nexport default Book;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z',\n key: '1s2grr',\n },\n ],\n ['path', { d: 'M20 2v4', key: '1rf3ol' }],\n ['path', { d: 'M22 4h-4', key: 'gwowj6' }],\n ['circle', { cx: '4', cy: '20', r: '2', key: '6kqj1y' }],\n];\n\n/**\n * @component @name Sparkles\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTEuMDE3IDIuODE0YTEgMSAwIDAgMSAxLjk2NiAwbDEuMDUxIDUuNTU4YTIgMiAwIDAgMCAxLjU5NCAxLjU5NGw1LjU1OCAxLjA1MWExIDEgMCAwIDEgMCAxLjk2NmwtNS41NTggMS4wNTFhMiAyIDAgMCAwLTEuNTk0IDEuNTk0bC0xLjA1MSA1LjU1OGExIDEgMCAwIDEtMS45NjYgMGwtMS4wNTEtNS41NThhMiAyIDAgMCAwLTEuNTk0LTEuNTk0bC01LjU1OC0xLjA1MWExIDEgMCAwIDEgMC0xLjk2Nmw1LjU1OC0xLjA1MWEyIDIgMCAwIDAgMS41OTQtMS41OTR6IiAvPgogIDxwYXRoIGQ9Ik0yMCAydjQiIC8+CiAgPHBhdGggZD0iTTIyIDRoLTQiIC8+CiAgPGNpcmNsZSBjeD0iNCIgY3k9IjIwIiByPSIyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/sparkles\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Sparkles = createLucideIcon('sparkles', __iconNode);\n\nexport default Sparkles;\n","'use client';\n\n\nimport React from 'react';\nimport { Book, Sparkles, Feather, Globe, ShieldCheck, Zap, ArrowRight, Star } from 'lucide-react';\n\ninterface LandingPageProps {\n onLogin: () => void;\n onPricing: () => void;\n onFeatures: () => void;\n}\n\nconst LandingPage: React.FC = ({ onLogin, onPricing, onFeatures }) => {\n return (\n
\n {/* Navbar */}\n \n\n {/* Hero Section */}\n
\n
\n NOUVEAUTÉ : GÉNÉRATION DE BIBLE DU MONDE PAR IA\n
\n

\n L'écriture d'un roman,
\n augmentée par l'IA.\n

\n

\n PlumeIA est le premier éditeur intelligent qui comprend votre univers, vos personnages et votre style pour vous aider à franchir la page blanche.\n

\n
\n \n \n
\n \n
\n
\n
\n \"Editor\n
\n
\n
\n\n {/* Social Proof */}\n
\n
\n

Utilisé par les auteurs de demain

\n
\n FantasyMag\n Writer's Hub\n L'Éditeur\n Novelty\n
\n
\n
\n\n {/* Footer */}\n
\n
\n
\n \n PlumeIA\n
\n

© 2024 PlumeIA. Tous droits réservés.

\n
\n
\n
\n );\n};\n\nexport default LandingPage;\n","'use client';\r\n\r\nimport LandingPage from '@/components/LandingPage';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function Home() {\r\n const router = useRouter();\r\n\r\n return (\r\n router.push('/login')}\r\n onFeatures={() => router.push('/features')}\r\n onPricing={() => router.push('/pricing')}\r\n />\r\n );\r\n}\r\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BCFvCJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACE,kBAAkB,8BCFzCL,GAAOC,OAAO,CACZC,EAAQ,C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ssr/[root-of-the-server]__b187b587._.js b/.next/server/chunks/ssr/[root-of-the-server]__b187b587._.js deleted file mode 100644 index b0866a5..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__b187b587._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},79080,a=>{"use strict";let b=(0,a.i(29892).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],79080)},73258,a=>{"use strict";let b=(0,a.i(29892).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);a.s(["BookOpen",()=>b],73258)},79320,a=>{"use strict";let b=(0,a.i(29892).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);a.s(["ArrowRight",()=>b],79320)},82772,a=>{"use strict";let b=(0,a.i(29892).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",()=>b],82772)},66181,a=>{"use strict";let b=(0,a.i(29892).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);a.s(["Lock",()=>b],66181)},41440,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(29892);let e=(0,d.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);var f=a.i(66181),g=a.i(82772),h=a.i(79320),i=a.i(79080),j=a.i(73258);let k=(0,d.default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var l=a.i(95121);let m=({onBack:a,onSuccess:d,initialMode:m="signin"})=>{let[n,o]=(0,c.useState)(m),[p,q]=(0,c.useState)(!1),[r,s]=(0,c.useState)({name:"",email:"",password:""}),[t,u]=(0,c.useState)(""),{user:v,login:w,signup:x}=(0,l.useAuthContext)();(0,c.useEffect)(()=>{v&&d()},[v,d]);let y=async()=>{let a={email:"streaper2@gmail.com",password:"Kency1313"};s({name:"Admin Plume",...a}),q(!0),u("");try{await w(a.email,a.password)}catch(a){u(a?.message||"Erreur de connexion au service.")}finally{q(!1)}},z=async a=>{a.preventDefault(),u(""),q(!0);try{"signup"===n?await x(r.email,r.password,r.name):await w(r.email,r.password)}catch(a){u(a?.message||"Une erreur technique est survenue.")}finally{q(!1)}};return(0,b.jsxs)("div",{className:"min-h-screen bg-slate-50 flex overflow-hidden font-sans text-slate-900",children:[(0,b.jsxs)("div",{className:"hidden lg:flex w-1/2 bg-slate-900 relative p-12 flex-col justify-between overflow-hidden",children:[(0,b.jsxs)("div",{className:"absolute top-0 right-0 w-full h-full opacity-20 pointer-events-none",children:[(0,b.jsx)("div",{className:"absolute top-10 right-10 w-64 h-64 bg-blue-500 rounded-full blur-[120px]"}),(0,b.jsx)("div",{className:"absolute bottom-10 left-10 w-96 h-96 bg-indigo-500 rounded-full blur-[150px]"})]}),(0,b.jsxs)("div",{className:"relative z-10 flex items-center gap-2 text-white text-2xl font-black",children:[(0,b.jsx)(j.BookOpen,{className:"text-blue-500"})," PlumeIA"]}),(0,b.jsxs)("div",{className:"relative z-10 max-w-lg",children:[(0,b.jsxs)("h2",{className:"text-5xl font-black text-white leading-tight mb-6",children:["L'endroit où vos ",(0,b.jsx)("span",{className:"text-blue-400",children:"histoires"})," prennent vie."]}),(0,b.jsx)("p",{className:"text-slate-400 text-lg leading-relaxed",children:"Rejoignez une communauté d'auteurs qui utilisent l'IA pour briser la page blanche."})]}),(0,b.jsx)("div",{className:"relative z-10 text-slate-500 text-sm",children:"© 2024 PlumeIA Ecosystem."})]}),(0,b.jsx)("div",{className:"w-full lg:w-1/2 flex items-center justify-center p-8 bg-white overflow-y-auto",children:(0,b.jsxs)("div",{className:"w-full max-w-md animate-in fade-in slide-in-from-right-10 duration-500 py-8",children:[(0,b.jsxs)("div",{className:"text-center mb-10",children:[(0,b.jsx)("h1",{className:"text-3xl font-black text-slate-900 mb-2",children:"signin"===n?"Content de vous revoir":"signup"===n?"Commencer l'aventure":"Récupération"}),(0,b.jsx)("p",{className:"text-slate-500",children:"signin"===n?"Entrez vos identifiants pour continuer.":"Créez votre compte gratuit en quelques secondes."})]}),t&&(0,b.jsx)("div",{className:"mb-6 p-4 bg-red-50 border border-red-100 text-red-600 text-sm font-medium rounded-xl animate-in shake duration-300",children:t}),(0,b.jsxs)("form",{onSubmit:z,className:"space-y-4",children:["signup"===n&&(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",children:"Nom complet"}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(g.User,{className:"absolute left-4 top-3.5 text-slate-400",size:18}),(0,b.jsx)("input",{type:"text",required:!0,value:r.name,onChange:a=>s({...r,name:a.target.value}),placeholder:"Marc Dupré",className:"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium"})]})]}),(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",children:"Email"}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(e,{className:"absolute left-4 top-3.5 text-slate-400",size:18}),(0,b.jsx)("input",{type:"email",required:!0,value:r.email,onChange:a=>s({...r,email:a.target.value}),placeholder:"votre@email.com",className:"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium"})]})]}),"forgot"!==n&&(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",children:"Mot de passe"}),(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(f.Lock,{className:"absolute left-4 top-3.5 text-slate-400",size:18}),(0,b.jsx)("input",{type:"password",required:!0,value:r.password,onChange:a=>s({...r,password:a.target.value}),placeholder:"••••••••",className:"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium"})]})]}),(0,b.jsx)("button",{type:"submit",disabled:p,className:"w-full bg-slate-900 text-white py-4 rounded-xl font-bold flex items-center justify-center gap-2 hover:bg-blue-600 transition-all shadow-xl disabled:opacity-50 mt-4",children:p?(0,b.jsx)(i.Loader2,{className:"animate-spin"}):(0,b.jsxs)(b.Fragment,{children:["signin"===n?"Se connecter":"signup"===n?"Créer mon compte":"Envoyer"," ",(0,b.jsx)(h.ArrowRight,{size:18})]})})]}),"signin"===n&&(0,b.jsxs)("button",{onClick:y,className:"w-full mt-4 bg-amber-50 border border-amber-200 text-amber-800 py-3 rounded-xl font-bold flex items-center justify-center gap-2 hover:bg-amber-100 transition-all",children:[(0,b.jsx)(k,{size:18})," Connexion démo (Admin)"]}),(0,b.jsx)("div",{className:"mt-10 text-center",children:(0,b.jsxs)("p",{className:"text-sm text-slate-500",children:["signin"===n?"Pas de compte ?":"Déjà membre ?",(0,b.jsx)("button",{onClick:()=>o("signin"===n?"signup":"signin"),className:"ml-2 font-bold text-blue-600",children:"signin"===n?"S'inscrire":"Se connecter"})]})}),(0,b.jsx)("button",{onClick:a,className:"mt-8 text-xs text-slate-300 w-full text-center hover:text-slate-500 transition-colors",children:"← Revenir au site"})]})})]})};var n=a.i(34896);function o(){let a=(0,n.useRouter)();return(0,b.jsx)(m,{onBack:()=>a.push("/"),onSuccess:()=>a.push("/dashboard"),initialMode:"signup"})}a.s(["default",()=>o],41440)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__b187b587._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__b187b587._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__b187b587._.js.map deleted file mode 100644 index 2ea3fad..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__b187b587._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/loader-circle.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/book-open.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/user.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/lock.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/AuthPage.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/signup/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/shield-check.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/mail.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M21 12a9 9 0 1 1-6.219-8.56', key: '13zald' }]];\n\n/**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LoaderCircle = createLucideIcon('loader-circle', __iconNode);\n\nexport default LoaderCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 7v14', key: '1akyts' }],\n [\n 'path',\n {\n d: 'M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z',\n key: 'ruj8y',\n },\n ],\n];\n\n/**\n * @component @name BookOpen\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgN3YxNCIgLz4KICA8cGF0aCBkPSJNMyAxOGExIDEgMCAwIDEtMS0xVjRhMSAxIDAgMCAxIDEtMWg1YTQgNCAwIDAgMSA0IDQgNCA0IDAgMCAxIDQtNGg1YTEgMSAwIDAgMSAxIDF2MTNhMSAxIDAgMCAxLTEgMWgtNmEzIDMgMCAwIDAtMyAzIDMgMyAwIDAgMC0zLTN6IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/book-open\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst BookOpen = createLucideIcon('book-open', __iconNode);\n\nexport default BookOpen;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2', key: '975kel' }],\n ['circle', { cx: '12', cy: '7', r: '4', key: '17ys0d' }],\n];\n\n/**\n * @component @name User\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTkgMjF2LTJhNCA0IDAgMCAwLTQtNEg5YTQgNCAwIDAgMC00IDR2MiIgLz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjciIHI9IjQiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/user\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst User = createLucideIcon('user', __iconNode);\n\nexport default User;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '11', x: '3', y: '11', rx: '2', ry: '2', key: '1w4ew1' }],\n ['path', { d: 'M7 11V7a5 5 0 0 1 10 0v4', key: 'fwvmzm' }],\n];\n\n/**\n * @component @name Lock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMTgiIGhlaWdodD0iMTEiIHg9IjMiIHk9IjExIiByeD0iMiIgcnk9IjIiIC8+CiAgPHBhdGggZD0iTTcgMTFWN2E1IDUgMCAwIDEgMTAgMHY0IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/lock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Lock = createLucideIcon('lock', __iconNode);\n\nexport default Lock;\n","'use client';\n\nimport React, { useState, useEffect } from 'react';\nimport { Mail, Lock, User, ArrowRight, Loader2, BookOpen, ShieldCheck } from 'lucide-react';\nimport { useAuthContext } from '@/providers/AuthProvider';\n\ninterface AuthPageProps {\n onBack: () => void;\n onSuccess: () => void;\n initialMode?: 'signin' | 'signup' | 'forgot';\n}\n\nconst AuthPage: React.FC = ({ onBack, onSuccess, initialMode = 'signin' }) => {\n const [mode, setMode] = useState<'signin' | 'signup' | 'forgot'>(initialMode);\n const [loading, setLoading] = useState(false);\n const [formData, setFormData] = useState({ name: '', email: '', password: '' });\n const [error, setError] = useState('');\n\n // On récupère les fonctions de connexion directement du hook\n const { user, login, signup } = useAuthContext();\n\n // Redirection automatique dès que l'utilisateur est détecté dans l'état global\n useEffect(() => {\n if (user) {\n onSuccess();\n }\n }, [user, onSuccess]);\n\n const handleAdminLogin = async () => {\n const adminData = { email: 'streaper2@gmail.com', password: 'Kency1313' };\n setFormData({ name: 'Admin Plume', ...adminData });\n setLoading(true);\n setError('');\n\n try {\n await login(adminData.email, adminData.password);\n } catch (e: any) {\n setError(e?.message || 'Erreur de connexion au service.');\n } finally {\n setLoading(false);\n }\n };\n\n const handleSubmit = async (e: React.FormEvent) => {\n e.preventDefault();\n setError('');\n setLoading(true);\n\n try {\n if (mode === 'signup') {\n await signup(formData.email, formData.password, formData.name);\n } else {\n await login(formData.email, formData.password);\n }\n } catch (e: any) {\n setError(e?.message || 'Une erreur technique est survenue.');\n } finally {\n setLoading(false);\n }\n };\n\n return (\n
\n {/* Panneau Latéral (Visible sur Desktop) */}\n
\n
\n
\n
\n
\n\n
\n PlumeIA\n
\n\n
\n

\n L'endroit où vos histoires prennent vie.\n

\n

\n Rejoignez une communauté d'auteurs qui utilisent l'IA pour briser la page blanche.\n

\n
\n\n
\n © 2024 PlumeIA Ecosystem.\n
\n
\n\n {/* Formulaire */}\n
\n
\n
\n

\n {mode === 'signin' ? 'Content de vous revoir' : mode === 'signup' ? \"Commencer l'aventure\" : 'Récupération'}\n

\n

\n {mode === 'signin' ? 'Entrez vos identifiants pour continuer.' : 'Créez votre compte gratuit en quelques secondes.'}\n

\n
\n\n {error && (\n
\n {error}\n
\n )}\n\n
\n {mode === 'signup' && (\n
\n \n
\n \n setFormData({ ...formData, name: e.target.value })}\n placeholder=\"Marc Dupré\"\n className=\"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium\"\n />\n
\n
\n )}\n\n
\n \n
\n \n setFormData({ ...formData, email: e.target.value })}\n placeholder=\"votre@email.com\"\n className=\"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium\"\n />\n
\n
\n\n {mode !== 'forgot' && (\n
\n \n
\n \n setFormData({ ...formData, password: e.target.value })}\n placeholder=\"••••••••\"\n className=\"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium\"\n />\n
\n
\n )}\n\n \n {loading ? : (\n <>{mode === 'signin' ? 'Se connecter' : mode === 'signup' ? 'Créer mon compte' : 'Envoyer'} \n )}\n \n \n\n {mode === 'signin' && (\n \n Connexion démo (Admin)\n \n )}\n\n
\n

\n {mode === 'signin' ? \"Pas de compte ?\" : \"Déjà membre ?\"}\n setMode(mode === 'signin' ? 'signup' : 'signin')}\n className=\"ml-2 font-bold text-blue-600\"\n >\n {mode === 'signin' ? \"S'inscrire\" : \"Se connecter\"}\n \n

\n
\n\n \n
\n
\n
\n );\n};\n\nexport default AuthPage;","'use client';\r\n\r\nimport AuthPage from '@/components/AuthPage';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function Signup() {\r\n const router = useRouter();\r\n\r\n return (\r\n router.push('/')}\r\n onSuccess={() => router.push('/dashboard')}\r\n initialMode=\"signup\"\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z',\n key: 'oel41y',\n },\n ],\n ['path', { d: 'm9 12 2 2 4-4', key: 'dzmm74' }],\n];\n\n/**\n * @component @name ShieldCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjAgMTNjMCA1LTMuNSA3LjUtNy42NiA4Ljk1YTEgMSAwIDAgMS0uNjctLjAxQzcuNSAyMC41IDQgMTggNCAxM1Y2YTEgMSAwIDAgMSAxLTFjMiAwIDQuNS0xLjIgNi4yNC0yLjcyYTEuMTcgMS4xNyAwIDAgMSAxLjUyIDBDMTQuNTEgMy44MSAxNyA1IDE5IDVhMSAxIDAgMCAxIDEgMXoiIC8+CiAgPHBhdGggZD0ibTkgMTIgMiAyIDQtNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/shield-check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ShieldCheck = createLucideIcon('shield-check', __iconNode);\n\nexport default ShieldCheck;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7', key: '132q7q' }],\n ['rect', { x: '2', y: '4', width: '20', height: '16', rx: '2', key: 'izxlao' }],\n];\n\n/**\n * @component @name Mail\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjIgNy04Ljk5MSA1LjcyN2EyIDIgMCAwIDEtMi4wMDkgMEwyIDciIC8+CiAgPHJlY3QgeD0iMiIgeT0iNCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjE2IiByeD0iMiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/mail\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Mail = createLucideIcon('mail', __iconNode);\n\nexport default Mail;\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BCFvCJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACE,kBAAkB,+BCFzCL,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACG,kBAAkB,wDKKvC,CDAA,AFAA,AGAA,CACG,MAAA,CAAO,CAAC,CHDI,AGCJ,CHDI,AGCJ,CHDI,AGCJ,CAAA,AAAkB,AHDd,CAAA,AGCJ,AHD0B,CGC1B,AHDI,AAAsB,CGC1B,AHDI,AAAsB,CAAtB,AGCJ,AHD0B,CGC1B,AHDI,AAA6B,AGCf,CAAlB,AHDI,AGCc,GAGU,CAAA,CAAA,CAAA,CAAA,CAAA,EAAX,CAAA,CAAA,CAAA,CAAA,CAAA,GACtB,EAAM,CAAA,CAAA,CAAN,AAAM,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,AAAe,CAAf,AAAe,CAAf,AAAe,CAAA,AAAf,CAAS,AAAM,CAAN,AAAM,yB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,CAAA,EAAA,EAAA,IAAA,EAAC,SAAA,CACC,QAAS,EACT,UAAU,8KAEV,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAY,KAAM,KAAM,6BAI7B,CAAA,EAAA,EAAA,GAAA,EAAC,MAAA,CAAI,UAAU,6BACb,CAAA,EAAA,EAAA,IAAA,EAAC,IAAA,CAAE,UAAU,mCACV,AAAS,aAAW,kBAAoB,gBACzC,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CACC,QAAS,IAAM,EAAQ,AAAS,aAAW,SAAW,UACtD,UAAU,wCAEA,WAAT,EAAoB,aAAe,sBAK1C,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CAAO,QAAS,EAAQ,UAAU,iGAAwF,6BAOrI,EChMA,IAAA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACpB,IAAM,EAAS,CAAA,EAAA,EAAA,SAAA,AAAS,IAExB,MACI,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACG,OAAQ,IAAM,EAAO,IAAI,CAAC,KAC1B,UAAW,IAAM,EAAO,IAAI,CAAC,cAC7B,YAAY,UAGxB","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__b26e19df._.js b/.next/server/chunks/ssr/[root-of-the-server]__b26e19df._.js deleted file mode 100644 index 1121c3e..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__b26e19df._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},52263,a=>{a.n(a.i(97656))},41780,a=>{a.n(a.i(95184))},48220,a=>{a.n(a.i(48257))},3402,a=>{a.n(a.i(34474))},71880,a=>{a.n(a.i(82562))},52400,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11092).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx ","default")},35609,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11092).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx","default")},20394,a=>{"use strict";a.i(52400);var b=a.i(35609);a.n(b)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__b26e19df._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__b26e19df._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__b26e19df._.js.map deleted file mode 100644 index 1e18f7c..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__b26e19df._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/app/signup/page.tsx/__nextjs-internal-proxy.mjs"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/Documents/00 - projet/plumeia/src/app/signup/page.tsx\",\n \"default\",\n);\n"],"names":[],"mappings":"iWAEe,CAAA,EAAA,AADf,EAAA,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAI,MAAM,uTAAyT,EACtV,sFACA,gEAHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAI,MAAM,mSAAqS,EAClU,kEACA","ignoreList":[0]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__d13a16ad._.js b/.next/server/chunks/ssr/[root-of-the-server]__d13a16ad._.js deleted file mode 100644 index 928fc2d..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__d13a16ad._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},52263,a=>{a.n(a.i(97656))},41780,a=>{a.n(a.i(95184))},48220,a=>{a.n(a.i(48257))},3402,a=>{a.n(a.i(34474))},71880,a=>{a.n(a.i(82562))},64615,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11092).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/login/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx ","default")},40702,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11092).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/login/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx","default")},15849,a=>{"use strict";a.i(64615);var b=a.i(40702);a.n(b)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__d13a16ad._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__d13a16ad._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__d13a16ad._.js.map deleted file mode 100644 index 045d2b9..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__d13a16ad._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/src/app/login/page.tsx/__nextjs-internal-proxy.mjs"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/Documents/00 - projet/plumeia/src/app/login/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/Documents/00 - projet/plumeia/src/app/login/page.tsx\",\n \"default\",\n);\n"],"names":[],"mappings":"iWAEe,CAAA,EAAA,AADf,EAAA,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAI,MAAM,sTAAwT,EACrV,qFACA,gEAHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAI,MAAM,kSAAoS,EACjU,iEACA","ignoreList":[0]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__d4de6698._.js b/.next/server/chunks/ssr/[root-of-the-server]__d4de6698._.js deleted file mode 100644 index daf476c..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__d4de6698._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[25235,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].React},82741,(a,b,c)=>{"use strict";b.exports=a.r(18622)},11092,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].ReactServerDOMTurbopackServer},784,(a,b,c)=>{"use strict";b.exports=a.r(82741).vendored["react-rsc"].ReactJsxRuntime},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},14747,(a,b,c)=>{b.exports=a.x("path",()=>require("path"))},70406,(a,b,c)=>{b.exports=a.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},24361,(a,b,c)=>{b.exports=a.x("util",()=>require("util"))},68338,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js "))},40284,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11092);a.n(d("[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js"))},82562,a=>{"use strict";a.i(68338);var b=a.i(40284);a.n(b)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__d4de6698._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__d4de6698._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__d4de6698._.js.map deleted file mode 100644 index d47982a..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__d4de6698._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js/__nextjs-internal-proxy.cjs","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/client/components/builtin/global-error.tsx"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.React\n","if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.ReactServerDOMTurbopackServer\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.ReactJsxRuntime\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/Documents/00 - projet/plumeia/node_modules/next/dist/client/components/builtin/global-error.js\"));\n","'use client'\n\nimport { HandleISRError } from '../handle-isr-error'\n\nconst styles = {\n error: {\n // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52\n fontFamily:\n 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: '100vh',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n },\n text: {\n fontSize: '14px',\n fontWeight: 400,\n lineHeight: '28px',\n margin: '0 8px',\n },\n} as const\n\nexport type GlobalErrorComponent = React.ComponentType<{\n error: any\n}>\nfunction DefaultGlobalError({ error }: { error: any }) {\n const digest: string | undefined = error?.digest\n return (\n \n \n \n \n
\n
\n

\n Application error: a {digest ? 'server' : 'client'}-side exception\n has occurred while loading {window.location.hostname} (see the{' '}\n {digest ? 'server logs' : 'browser console'} for more\n information).\n

\n {digest ?

{`Digest: ${digest}`}

: null}\n
\n
\n \n \n )\n}\n\n// Exported so that the import signature in the loaders can be identical to user\n// supplied custom global error signatures.\nexport default DefaultGlobalError\n"],"names":["module","exports","require","vendored","React","process","env","NEXT_RUNTIME","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK","ReactServerDOMTurbopackServer","ReactJsxRuntime","styles","error","fontFamily","height","textAlign","display","flexDirection","alignItems","justifyContent","text","fontSize","fontWeight","lineHeight","margin","DefaultGlobalError","digest","html","id","head","body","HandleISRError","div","style","h2","window","location","hostname","p"],"mappings":"6CAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEC,KAAK,+BCwBtBJ,EAAOC,OAAO,CAAGC,EAAQ,CAAA,CAAA,IAAA,iCC1BjCF,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEQ,6BAA6B,4BCFtDX,GAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAES,eAAe,myCCDxC,GAAM,yBAAE,CAAuB,CAAE,CAAA,EAAA,CAAA,CAAA,OAEjC,EAAsB,CAAC,CAAC,EAAwB,kJAFhD,GAAM,yBAAE,CAAuB,CAAE,CAAA,EAAA,CAAA,CAAA,OAEjC,EAAsB,CAAC,CAAC,EAAwB","ignoreList":[0,1,2,3,4]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__d76143b2._.js b/.next/server/chunks/ssr/[root-of-the-server]__d76143b2._.js deleted file mode 100644 index 257a02e..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__d76143b2._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},97442,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.AppRouterContext},42481,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.HooksClientContext},70676,(a,b,c)=>{"use strict";b.exports=a.r(23642).vendored.contexts.ServerInsertedHtml},29892,a=>{"use strict";var b=a.i(28091);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],29892)},79080,a=>{"use strict";let b=(0,a.i(29892).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],79080)},79320,a=>{"use strict";let b=(0,a.i(29892).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);a.s(["ArrowRight",()=>b],79320)},67356,a=>{"use strict";var b=a.i(78352),c=a.i(28091),d=a.i(95121),e=a.i(79080);let f=(0,a.i(29892).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var g=a.i(79320);let h=({onSuccess:a,onRegister:h})=>{let[i,j]=(0,c.useState)(""),[k,l]=(0,c.useState)(""),[m,n]=(0,c.useState)(""),[o,p]=(0,c.useState)(!1),{login:q}=(0,d.useAuthContext)();async function r(b){b.preventDefault(),n(""),p(!0);try{await q(i,k),a()}catch(a){n(a.message||"Une erreur inattendue est survenue."),p(!1)}}return(0,b.jsx)("div",{className:"min-h-screen bg-slate-50 flex overflow-hidden font-sans text-slate-900 items-center justify-center p-4",children:(0,b.jsxs)("div",{className:"w-full max-w-md bg-white rounded-2xl shadow-xl overflow-hidden p-8 animate-in fade-in zoom-in duration-300",children:[(0,b.jsxs)("div",{className:"text-center mb-8",children:[(0,b.jsx)("h1",{className:"text-3xl font-black text-slate-900 mb-2",children:"Connexion"}),(0,b.jsx)("p",{className:"text-slate-500",children:"Bienvenue ! Connectez-vous à votre compte"})]}),m&&(0,b.jsxs)("div",{className:"mb-6 p-4 bg-red-50 border border-red-100 text-red-600 text-sm font-medium rounded-xl flex items-center gap-2 animate-in shake duration-300",children:[(0,b.jsx)(f,{size:18}),m]}),(0,b.jsxs)("form",{onSubmit:r,className:"space-y-4",children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",htmlFor:"email",children:"Email"}),(0,b.jsx)("input",{id:"email",type:"email",className:"w-full px-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium transition-all",placeholder:"votre@email.com",value:i,onChange:a=>j(a.target.value),required:!0})]}),(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",htmlFor:"password",children:"Mot de passe"}),(0,b.jsx)("input",{id:"password",type:"password",className:"w-full px-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium transition-all",placeholder:"••••••••",value:k,onChange:a=>l(a.target.value),required:!0})]}),(0,b.jsxs)("button",{type:"submit",className:"w-full bg-slate-900 text-white py-4 rounded-xl font-bold flex items-center justify-center gap-2 hover:bg-blue-600 transition-all shadow-xl disabled:opacity-50 mt-6",disabled:o,children:[o?(0,b.jsx)(e.Loader2,{className:"animate-spin"}):"Se connecter"," ",(0,b.jsx)(g.ArrowRight,{size:18})]})]}),(0,b.jsxs)("div",{className:"mt-8 text-center text-sm text-slate-500",children:["Pas encore de compte ?"," ",(0,b.jsx)("button",{onClick:h,className:"font-bold text-blue-600 hover:text-blue-800 transition-colors ml-1",children:"Créer un compte"})]})]})})};var i=a.i(34896);function j(){let a=(0,i.useRouter)();return(0,b.jsx)(h,{onSuccess:()=>a.push("/dashboard"),onRegister:()=>a.push("/signup")})}a.s(["default",()=>j],67356)}]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__d76143b2._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/[root-of-the-server]__d76143b2._.js.map b/.next/server/chunks/ssr/[root-of-the-server]__d76143b2._.js.map deleted file mode 100644 index cd2605f..0000000 --- a/.next/server/chunks/ssr/[root-of-the-server]__d76143b2._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/hasA11yProp.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toKebabCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/defaultAttributes.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toCamelCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/mergeClasses.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/shared/src/utils/toPascalCase.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/Icon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/createLucideIcon.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/loader-circle.ts","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/arrow-right.ts","../../../../../../../Documents/00%20-%20projet/plumeia/src/components/LoginPage.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/src/app/login/page.tsx","../../../../../../../Documents/00%20-%20projet/plumeia/node_modules/lucide-react/src/icons/circle-alert.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = (string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = (...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = (string: T): CamelToPascal => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal;\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) =>\n createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n ),\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M21 12a9 9 0 1 1-6.219-8.56', key: '13zald' }]];\n\n/**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LoaderCircle = createLucideIcon('loader-circle', __iconNode);\n\nexport default LoaderCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNNSAxMmgxNCIgLz4KICA8cGF0aCBkPSJtMTIgNSA3IDctNyA3IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n","'use client';\n\nimport React, { useState } from 'react';\r\nimport { useAuthContext } from '@/providers/AuthProvider';\r\nimport { Loader2, AlertCircle, ArrowRight } from 'lucide-react';\r\n\r\ninterface LoginPageProps {\r\n onSuccess: () => void;\r\n onRegister: () => void;\r\n}\r\n\r\nconst LoginPage: React.FC = ({ onSuccess, onRegister }) => {\r\n const [email, setEmail] = useState(\"\");\r\n const [password, setPassword] = useState(\"\");\r\n const [error, setError] = useState(\"\");\r\n const [loading, setLoading] = useState(false);\r\n\r\n // Use the global auth context\r\n const { login } = useAuthContext();\r\n\r\n async function handleSubmit(e: React.FormEvent) {\r\n e.preventDefault();\r\n setError(\"\");\r\n setLoading(true);\r\n\r\n try {\r\n await login(email, password);\r\n onSuccess();\r\n } catch (err: any) {\r\n setError(err.message || \"Une erreur inattendue est survenue.\");\r\n setLoading(false);\r\n }\r\n }\r\n\r\n return (\r\n
\r\n {/* Using styles similar to AuthPage for consistency */}\r\n
\r\n
\r\n

Connexion

\r\n

Bienvenue ! Connectez-vous à votre compte

\r\n
\r\n\r\n {error && (\r\n
\r\n \r\n {error}\r\n
\r\n )}\r\n\r\n
\r\n
\r\n \r\n setEmail(e.target.value)}\r\n required\r\n />\r\n
\r\n\r\n
\r\n \r\n setPassword(e.target.value)}\r\n required\r\n />\r\n
\r\n\r\n \r\n {loading ? : \"Se connecter\"} \r\n \r\n \r\n\r\n
\r\n Pas encore de compte ?{\" \"}\r\n \r\n Créer un compte\r\n \r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default LoginPage;\r\n","'use client';\r\n\r\nimport LoginPage from '@/components/LoginPage';\r\nimport { useRouter } from 'next/navigation';\r\n\r\nexport default function Login() {\r\n const router = useRouter();\r\n\r\n return (\r\n router.push('/dashboard')}\r\n onRegister={() => router.push('/signup')}\r\n />\r\n );\r\n}\r\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['line', { x1: '12', x2: '12', y1: '8', y2: '12', key: '1pkeuh' }],\n ['line', { x1: '12', x2: '12.01', y1: '16', y2: '16', key: '4dfq90' }],\n];\n\n/**\n * @component @name CircleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMiIgeTE9IjgiIHkyPSIxMiIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMi4wMSIgeTE9IjE2IiB5Mj0iMTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/circle-alert\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleAlert = createLucideIcon('circle-alert', __iconNode);\n\nexport default CircleAlert;\n"],"names":["module","exports","require","vendored","AppRouterContext","HooksClientContext","ServerInsertedHtml"],"mappings":"gjBAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACC,gBAAgB,+BCFvCJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACE,kBAAkB,+BCFzCL,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACG,kBAAkB,wDKKvC,CDAA,AFAA,AGAA,CACG,MAAA,CAAO,CAAC,CHDI,AGCJ,CHDI,AGCJ,AHDI,CAAA,AGCJ,CHDI,AGCJ,AAAkB,CHDd,AGCJ,AHD0B,CGC1B,AHDI,AAAsB,CGC1B,AHDI,AAAsB,CAAtB,AAAsB,AGC1B,CHDiC,AGCf,AAAlB,AHDI,CGCc,AHDd,AGCJ,GAG4B,CAAA,CAAA,CAAA,CAAA,CAAA,EAAX,CAAA,CAAA,CAAA,CAAA,CAAA,GACtB,EAAM,CAAA,CAAA,CAAN,AAAM,CAAA,CAAA,CAAA,CA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,11,12,15]} \ No newline at end of file diff --git a/.next/server/middleware-build-manifest.js b/.next/server/middleware-build-manifest.js index b15a7b0..7f79074 100644 --- a/.next/server/middleware-build-manifest.js +++ b/.next/server/middleware-build-manifest.js @@ -8,11 +8,11 @@ globalThis.__BUILD_MANIFEST = { ], "lowPriorityFiles": [], "rootMainFiles": [ - "static/chunks/2f95708884cc928a.js", - "static/chunks/2ec26efb5effde60.js", + "static/chunks/9f14bb6c70372e9b.js", + "static/chunks/a080b0d78a2808cb.js", + "static/chunks/b7300363d543b68c.js", "static/chunks/2d1ce1663f6952f0.js", - "static/chunks/52427933b11d700a.js", - "static/chunks/turbopack-c61e6754afd196ce.js" + "static/chunks/turbopack-012f83c9ae68ee96.js" ] }; globalThis.__BUILD_MANIFEST.lowPriorityFiles = [ diff --git a/.next/server/next-font-manifest.js b/.next/server/next-font-manifest.js index 28dc6cd..bb2f0f1 100644 --- a/.next/server/next-font-manifest.js +++ b/.next/server/next-font-manifest.js @@ -1 +1 @@ -self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/Documents/00 - projet/plumeia/src/app/_not-found/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/checkout/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/features/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/login/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/pricing/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/profile/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/signup/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}" \ No newline at end of file +self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/Documents/00 - projet/plumeia/src/app/_not-found/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/cgu/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/cgv/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/checkout/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/dashboard/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/features/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/login/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/pricing/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/profile/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/ideas/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/settings/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/workflow/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/project/[id]/world/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/signup/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ],\n \"[project]/Documents/00 - projet/plumeia/src/app/sitemap/page\": [\n \"static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\n \"static/media/248e1dc0efc99276-s.p.8a6b2436.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}" \ No newline at end of file diff --git a/.next/server/next-font-manifest.json b/.next/server/next-font-manifest.json index 41f31c0..16f0024 100644 --- a/.next/server/next-font-manifest.json +++ b/.next/server/next-font-manifest.json @@ -4,6 +4,14 @@ "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" ], + "[project]/Documents/00 - projet/plumeia/src/app/cgu/page": [ + "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", + "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" + ], + "[project]/Documents/00 - projet/plumeia/src/app/cgv/page": [ + "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", + "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" + ], "[project]/Documents/00 - projet/plumeia/src/app/checkout/page": [ "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" @@ -55,6 +63,10 @@ "[project]/Documents/00 - projet/plumeia/src/app/signup/page": [ "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" + ], + "[project]/Documents/00 - projet/plumeia/src/app/sitemap/page": [ + "static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2", + "static/media/248e1dc0efc99276-s.p.8a6b2436.woff2" ] }, "appUsingSizeAdjust": true, diff --git a/.next/server/pages/404.html b/.next/server/pages/404.html index 31da6f6..d22f8b4 100644 --- a/.next/server/pages/404.html +++ b/.next/server/pages/404.html @@ -1 +1 @@ -404: This page could not be found.PlumeIA - Éditeur Intelligent

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.Pluume - Éditeur Intelligent

404

This page could not be found.

\ No newline at end of file diff --git a/.next/server/pages/500.html b/.next/server/pages/500.html index 804d489..50caec1 100644 --- a/.next/server/pages/500.html +++ b/.next/server/pages/500.html @@ -1,2 +1,2 @@ -500: Internal Server Error.

500

Internal Server Error.

\ No newline at end of file +500: Internal Server Error.

500

Internal Server Error.

\ No newline at end of file diff --git a/.next/static/chunks/0b0db8395d3fe8fd.js b/.next/static/chunks/0b0db8395d3fe8fd.js deleted file mode 100644 index 99dd4a3..0000000 --- a/.next/static/chunks/0b0db8395d3fe8fd.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44026,e=>{"use strict";let t=(0,e.i(78445).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],44026)},50147,e=>{"use strict";let t=(0,e.i(78445).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],50147)},62746,e=>{"use strict";let t=(0,e.i(78445).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",()=>t],62746)},78445,e=>{"use strict";var t=e.i(59760);let s=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim(),a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let r=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:n="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...l,width:a,height:a,stroke:e,strokeWidth:i?24*Number(r)/Number(a):r,className:s("lucide",n),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,s])=>(0,t.createElement)(e,s)),...Array.isArray(o)?o:[o]])),i=(e,l)=>{let i=(0,t.forwardRef)(({className:i,...n},o)=>(0,t.createElement)(r,{ref:o,iconNode:l,className:s(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...n}));return i.displayName=a(e),i};e.s(["default",()=>i],78445)},12856,(e,t,s)=>{t.exports=e.r(96479)},11690,e=>{"use strict";let t=(0,e.i(78445).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],11690)},35809,e=>{"use strict";let t=(0,e.i(78445).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",()=>t],35809)},24605,e=>{"use strict";var t=e.i(30064),s=e.i(59760),a=e.i(78445);let l=(0,a.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);var r=e.i(35809),i=e.i(50147),n=e.i(11690),o=e.i(44026),c=e.i(62746);let d=(0,a.default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var u=e.i(18404);let m=({onBack:e,onSuccess:a,initialMode:m="signin"})=>{let[x,h]=(0,s.useState)(m),[p,f]=(0,s.useState)(!1),[b,g]=(0,s.useState)({name:"",email:"",password:""}),[v,w]=(0,s.useState)(""),{user:y,login:j,signup:N}=(0,u.useAuthContext)();(0,s.useEffect)(()=>{y&&a()},[y,a]);let k=async()=>{let e={email:"streaper2@gmail.com",password:"Kency1313"};g({name:"Admin Plume",...e}),f(!0),w("");try{await j(e.email,e.password)}catch(e){w(e?.message||"Erreur de connexion au service.")}finally{f(!1)}},C=async e=>{e.preventDefault(),w(""),f(!0);try{"signup"===x?await N(b.email,b.password,b.name):await j(b.email,b.password)}catch(e){w(e?.message||"Une erreur technique est survenue.")}finally{f(!1)}};return(0,t.jsxs)("div",{className:"min-h-screen bg-slate-50 flex overflow-hidden font-sans text-slate-900",children:[(0,t.jsxs)("div",{className:"hidden lg:flex w-1/2 bg-slate-900 relative p-12 flex-col justify-between overflow-hidden",children:[(0,t.jsxs)("div",{className:"absolute top-0 right-0 w-full h-full opacity-20 pointer-events-none",children:[(0,t.jsx)("div",{className:"absolute top-10 right-10 w-64 h-64 bg-blue-500 rounded-full blur-[120px]"}),(0,t.jsx)("div",{className:"absolute bottom-10 left-10 w-96 h-96 bg-indigo-500 rounded-full blur-[150px]"})]}),(0,t.jsxs)("div",{className:"relative z-10 flex items-center gap-2 text-white text-2xl font-black",children:[(0,t.jsx)(c.BookOpen,{className:"text-blue-500"})," PlumeIA"]}),(0,t.jsxs)("div",{className:"relative z-10 max-w-lg",children:[(0,t.jsxs)("h2",{className:"text-5xl font-black text-white leading-tight mb-6",children:["L'endroit où vos ",(0,t.jsx)("span",{className:"text-blue-400",children:"histoires"})," prennent vie."]}),(0,t.jsx)("p",{className:"text-slate-400 text-lg leading-relaxed",children:"Rejoignez une communauté d'auteurs qui utilisent l'IA pour briser la page blanche."})]}),(0,t.jsx)("div",{className:"relative z-10 text-slate-500 text-sm",children:"© 2024 PlumeIA Ecosystem."})]}),(0,t.jsx)("div",{className:"w-full lg:w-1/2 flex items-center justify-center p-8 bg-white overflow-y-auto",children:(0,t.jsxs)("div",{className:"w-full max-w-md animate-in fade-in slide-in-from-right-10 duration-500 py-8",children:[(0,t.jsxs)("div",{className:"text-center mb-10",children:[(0,t.jsx)("h1",{className:"text-3xl font-black text-slate-900 mb-2",children:"signin"===x?"Content de vous revoir":"signup"===x?"Commencer l'aventure":"Récupération"}),(0,t.jsx)("p",{className:"text-slate-500",children:"signin"===x?"Entrez vos identifiants pour continuer.":"Créez votre compte gratuit en quelques secondes."})]}),v&&(0,t.jsx)("div",{className:"mb-6 p-4 bg-red-50 border border-red-100 text-red-600 text-sm font-medium rounded-xl animate-in shake duration-300",children:v}),(0,t.jsxs)("form",{onSubmit:C,className:"space-y-4",children:["signup"===x&&(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",children:"Nom complet"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(i.User,{className:"absolute left-4 top-3.5 text-slate-400",size:18}),(0,t.jsx)("input",{type:"text",required:!0,value:b.name,onChange:e=>g({...b,name:e.target.value}),placeholder:"Marc Dupré",className:"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium"})]})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",children:"Email"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l,{className:"absolute left-4 top-3.5 text-slate-400",size:18}),(0,t.jsx)("input",{type:"email",required:!0,value:b.email,onChange:e=>g({...b,email:e.target.value}),placeholder:"votre@email.com",className:"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium"})]})]}),"forgot"!==x&&(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",children:"Mot de passe"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(r.Lock,{className:"absolute left-4 top-3.5 text-slate-400",size:18}),(0,t.jsx)("input",{type:"password",required:!0,value:b.password,onChange:e=>g({...b,password:e.target.value}),placeholder:"••••••••",className:"w-full pl-12 pr-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium"})]})]}),(0,t.jsx)("button",{type:"submit",disabled:p,className:"w-full bg-slate-900 text-white py-4 rounded-xl font-bold flex items-center justify-center gap-2 hover:bg-blue-600 transition-all shadow-xl disabled:opacity-50 mt-4",children:p?(0,t.jsx)(o.Loader2,{className:"animate-spin"}):(0,t.jsxs)(t.Fragment,{children:["signin"===x?"Se connecter":"signup"===x?"Créer mon compte":"Envoyer"," ",(0,t.jsx)(n.ArrowRight,{size:18})]})})]}),"signin"===x&&(0,t.jsxs)("button",{onClick:k,className:"w-full mt-4 bg-amber-50 border border-amber-200 text-amber-800 py-3 rounded-xl font-bold flex items-center justify-center gap-2 hover:bg-amber-100 transition-all",children:[(0,t.jsx)(d,{size:18})," Connexion démo (Admin)"]}),(0,t.jsx)("div",{className:"mt-10 text-center",children:(0,t.jsxs)("p",{className:"text-sm text-slate-500",children:["signin"===x?"Pas de compte ?":"Déjà membre ?",(0,t.jsx)("button",{onClick:()=>h("signin"===x?"signup":"signin"),className:"ml-2 font-bold text-blue-600",children:"signin"===x?"S'inscrire":"Se connecter"})]})}),(0,t.jsx)("button",{onClick:e,className:"mt-8 text-xs text-slate-300 w-full text-center hover:text-slate-500 transition-colors",children:"← Revenir au site"})]})})]})};var x=e.i(12856);function h(){let e=(0,x.useRouter)();return(0,t.jsx)(m,{onBack:()=>e.push("/"),onSuccess:()=>e.push("/dashboard"),initialMode:"signup"})}e.s(["default",()=>h],24605)}]); \ No newline at end of file diff --git a/.next/static/chunks/0d48399cd7665c53.js b/.next/static/chunks/0d48399cd7665c53.js deleted file mode 100644 index 3822ebf..0000000 --- a/.next/static/chunks/0d48399cd7665c53.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72993,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},20242,(e,t,r)=>{"use strict";function n(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let a=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=a}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),e.r(72993)},63557,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return l}});let n=e.r(28582),a=e.r(30064),o=n._(e.r(59760)),i=e.r(58309),s=e.r(51581);e.r(72993);let c=e.r(97798);class u extends o.default.Component{constructor(e){super(e),this.state={triggeredStatus:void 0,previousPathname:e.pathname}}componentDidCatch(){}static getDerivedStateFromError(e){if((0,s.isHTTPAccessFallbackError)(e))return{triggeredStatus:(0,s.getAccessFallbackHTTPStatus)(e)};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.triggeredStatus?{triggeredStatus:void 0,previousPathname:e.pathname}:{triggeredStatus:t.triggeredStatus,previousPathname:e.pathname}}render(){let{notFound:e,forbidden:t,unauthorized:r,children:n}=this.props,{triggeredStatus:o}=this.state,i={[s.HTTPAccessErrorStatus.NOT_FOUND]:e,[s.HTTPAccessErrorStatus.FORBIDDEN]:t,[s.HTTPAccessErrorStatus.UNAUTHORIZED]:r};if(o){let c=o===s.HTTPAccessErrorStatus.NOT_FOUND&&e,u=o===s.HTTPAccessErrorStatus.FORBIDDEN&&t,l=o===s.HTTPAccessErrorStatus.UNAUTHORIZED&&r;return c||u||l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"robots",content:"noindex"}),!1,i[o]]}):n}return n}}function l({notFound:e,forbidden:t,unauthorized:r,children:n}){let s=(0,i.useUntrackedPathname)(),l=(0,o.useContext)(c.MissingSlotContext);return e||t||r?(0,a.jsx)(u,{pathname:s,notFound:e,forbidden:t,unauthorized:r,missingSlots:l,children:n}):(0,a.jsx)(a.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},7495,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useRouterBFCache",{enumerable:!0,get:function(){return a}});let n=e.r(59760);function a(e,t){let[r,a]=(0,n.useState)(()=>({tree:e,stateKey:t,next:null}));if(r.tree===e)return r;let o={tree:e,stateKey:t,next:null},i=1,s=r,c=o;for(;null!==s&&i<1;){if(s.stateKey===t){c.next=s.next;break}{i++;let e={tree:s.tree,stateKey:s.stateKey,next:null};c.next=e,c=e}s=s.next}return a(o),o}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},62025,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return w}});let n=e.r(57016),a=e.r(28582),o=e.r(30064),i=a._(e.r(59760)),s=n._(e.r(63406)),c=e.r(97798),u=e.r(43134),l=e.r(64358),d=e.r(886),f=e.r(20242),p=e.r(31958),h=e.r(63557),m=e.r(11114),g=e.r(7495);e.r(73145);let y=e.r(68266),b=e.r(17259),P=e.r(67427),_=s.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,S=["bottom","height","left","right","top","width","x","y"];function v(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class O extends i.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,d.matchSegment)(t,e[r]))))return;let r=null,n=e.hashFragment;if(n&&(r="top"===n?document.body:document.getElementById(n)??document.getElementsByName(n)[0]),r||(r="u"0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,f.disableSmoothScrollDuringRouteTransition)(()=>{if(n)return void r.scrollIntoView();let e=document.documentElement,t=e.clientHeight;!v(r,t)&&(e.scrollTop=0,v(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function R({segmentPath:e,children:t}){let r=(0,i.useContext)(c.GlobalLayoutRouterContext);if(!r)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,o.jsx)(O,{segmentPath:e,focusAndScrollRef:r.focusAndScrollRef,children:t})}function E({tree:e,segmentPath:t,debugNameContext:r,cacheNode:n,params:a,url:s,isActive:l}){let d,f=(0,i.useContext)(c.GlobalLayoutRouterContext);if((0,i.useContext)(y.NavigationPromisesContext),!f)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let p=null!==n?n:(0,i.use)(u.unresolvedThenable),h=null!==p.prefetchRsc?p.prefetchRsc:p.rsc,m=(0,i.useDeferredValue)(p.rsc,h);if((0,P.isDeferredRsc)(m)){let e=(0,i.use)(m);null===e&&(0,i.use)(u.unresolvedThenable),d=e}else null===m&&(0,i.use)(u.unresolvedThenable),d=m;let g=d;return(0,o.jsx)(c.LayoutRouterContext.Provider,{value:{parentTree:e,parentCacheNode:p,parentSegmentPath:t,parentParams:a,debugNameContext:r,url:s,isActive:l},children:g})}function j({name:e,loading:t,children:r}){let n;if(n="object"==typeof t&&null!==t&&"function"==typeof t.then?(0,i.use)(t):t){let t=n[0],a=n[1],s=n[2];return(0,o.jsx)(i.Suspense,{name:e,fallback:(0,o.jsxs)(o.Fragment,{children:[a,s,t]}),children:r})}return(0,o.jsx)(o.Fragment,{children:r})}function w({parallelRouterKey:e,error:t,errorStyles:r,errorScripts:n,templateStyles:a,templateScripts:s,template:d,notFound:f,forbidden:y,unauthorized:P,segmentViewBoundaries:_}){let S=(0,i.useContext)(c.LayoutRouterContext);if(!S)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:v,parentCacheNode:O,parentSegmentPath:w,parentParams:C,url:T,isActive:x,debugNameContext:A}=S,M=O.parallelRoutes,D=M.get(e);D||(D=new Map,M.set(e,D));let F=v[0],I=null===w?[e]:w.concat([F,e]),k=v[1][e];void 0===k&&(0,i.use)(u.unresolvedThenable);let N=k[0],U=(0,m.createRouterCacheKey)(N,!0),B=(0,g.useRouterBFCache)(k,U),L=[];do{let e=B.tree,i=B.stateKey,u=e[0],g=(0,m.createRouterCacheKey)(u),_=D.get(g)??null,S=C;if(Array.isArray(u)){let e=u[0],t=u[1],r=u[2],n=(0,b.getParamValueFromCacheKey)(t,r);null!==n&&(S={...C,[e]:n})}let v=function(e){if("/"===e)return"/";if("string"==typeof e)if("(slot)"===e)return;else return e+"/";return e[1]+"/"}(u),w=v??A,M=void 0===v?void 0:A,F=O.loading,k=(0,o.jsxs)(c.TemplateContext.Provider,{value:(0,o.jsxs)(R,{segmentPath:I,children:[(0,o.jsx)(l.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children:(0,o.jsx)(j,{name:M,loading:F,children:(0,o.jsx)(h.HTTPAccessFallbackBoundary,{notFound:f,forbidden:y,unauthorized:P,children:(0,o.jsxs)(p.RedirectBoundary,{children:[(0,o.jsx)(E,{url:T,tree:e,params:S,cacheNode:_,segmentPath:I,debugNameContext:w,isActive:x&&i===U}),null]})})})}),null]}),children:[a,s,d]},i);L.push(k),B=B.next}while(null!==B)return L}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61849,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(28582),a=e.r(30064),o=n._(e.r(59760)),i=e.r(97798);function s(){let e=(0,o.useContext)(i.TemplateContext);return(0,a.jsx)(a.Fragment,{children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90611,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},42790,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(90611).createRenderSearchParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44124,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},45996,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(44124).createRenderParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},58706,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},60111,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return c}});let n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(void 0);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(e.r(59760));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}let o={current:null},i="function"==typeof n.cache?n.cache:e=>e,s=console.warn;function c(e){return function(...t){s(e(...t))}}i(e=>{try{s(o.current)}finally{o.current=null}})},30437,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={describeHasCheckingStringProperty:function(){return s},describeStringPropertyAccess:function(){return i},wellKnownProperties:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function i(e,t){return o.test(t)?`\`${e}.${t}\``:`\`${e}[${JSON.stringify(t)}]\``}function s(e,t){let r=JSON.stringify(t);return`\`Reflect.has(${e}, ${r})\`, \`${r} in ${e}\`, or similar`}let c=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule"])},50702,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(72074).createAsyncLocalStorage)()},84156,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=e.r(50702)},67981,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isRequestAPICallableInsideAfter:function(){return u},throwForSearchParamsAccessInUseCache:function(){return c},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(43146),i=e.r(84156);function s(e,t){throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function c(e,t){let r=Object.defineProperty(Error(`Route ${e.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(r,t),e.invalidDynamicUsageError??=r,r}function u(){let e=i.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},86716,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={RenderStage:function(){return c},StagedRenderingController:function(){return u}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let i=e.r(15121),s=e.r(64874);var c=((n={})[n.Before=1]="Before",n[n.Static=2]="Static",n[n.Runtime=3]="Runtime",n[n.Dynamic=4]="Dynamic",n[n.Abandoned=5]="Abandoned",n);class u{constructor(e=null,t){this.abortSignal=e,this.hasRuntimePrefetch=t,this.currentStage=1,this.staticInterruptReason=null,this.runtimeInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.runtimeStagePromise=(0,s.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,s.createPromiseWithResolvers)(),this.mayAbandon=!1,e&&(e.addEventListener("abort",()=>{let{reason:t}=e;this.currentStage<3&&(this.runtimeStagePromise.promise.catch(l),this.runtimeStagePromise.reject(t)),(this.currentStage<4||5===this.currentStage)&&(this.dynamicStagePromise.promise.catch(l),this.dynamicStagePromise.reject(t))},{once:!0}),this.mayAbandon=!0)}onStage(e,t){if(this.currentStage>=e)t();else if(3===e)this.runtimeStageListeners.push(t);else if(4===e)this.dynamicStageListeners.push(t);else throw Object.defineProperty(new i.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}canSyncInterrupt(){if(1===this.currentStage)return!1;let e=this.hasRuntimePrefetch?4:3;return this.currentStage=3&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),t<4&&e>=4){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveRuntimeStage(){let e=this.runtimeStageListeners;for(let t=0;t{n.then(e.bind(null,o),t)}),void 0!==a&&(i.displayName=a),i);return this.abortSignal&&s.catch(l),s}}function l(){}},39577,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createPrerenderSearchParamsForClientPage:function(){return g},createSearchParamsFromClient:function(){return p},createServerSearchParamsForMetadata:function(){return h},createServerSearchParamsForServerPage:function(){return m},makeErroringSearchParamsForUseCache:function(){return S}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(58706),i=e.r(49330),s=e.r(1038),c=e.r(15121),u=e.r(56868),l=e.r(60111),d=e.r(30437),f=e.r(67981);function p(e,t){let r=s.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return y(t,r);case"prerender-runtime":throw Object.defineProperty(new c.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new c.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"request":return b(e,t,r)}(0,s.throwInvariantForMissingStore)()}e.r(86716);let h=m;function m(e,t){let r=s.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return y(t,r);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new c.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"prerender-runtime":var n,a;return n=e,a=r,(0,i.delayUntilRuntimeStage)(a,v(n));case"request":return b(e,t,r)}(0,s.throwInvariantForMissingStore)()}function g(e){if(e.forceStatic)return Promise.resolve({});let t=s.workUnitAsyncStorage.getStore();if(t)switch(t.type){case"prerender":case"prerender-client":return(0,u.makeHangingPromise)(t.renderSignal,e.route,"`searchParams`");case"prerender-runtime":throw Object.defineProperty(new c.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new c.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,s.throwInvariantForMissingStore)()}function y(e,t){if(e.forceStatic)return Promise.resolve({});switch(t.type){case"prerender":case"prerender-client":var r=e,n=t;let a=P.get(n);if(a)return a;let s=(0,u.makeHangingPromise)(n.renderSignal,r.route,"`searchParams`"),c=new Proxy(s,{get(e,t,r){if(Object.hasOwn(s,t))return o.ReflectAdapter.get(e,t,r);switch(t){case"then":return(0,i.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",n),o.ReflectAdapter.get(e,t,r);case"status":return(0,i.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",n),o.ReflectAdapter.get(e,t,r);default:return o.ReflectAdapter.get(e,t,r)}}});return P.set(n,c),c;case"prerender-ppr":case"prerender-legacy":var l=e,d=t;let p=P.get(l);if(p)return p;let h=Promise.resolve({}),m=new Proxy(h,{get(e,t,r){if(Object.hasOwn(h,t))return o.ReflectAdapter.get(e,t,r);if("string"==typeof t&&"then"===t){let e="`await searchParams`, `searchParams.then`, or similar";l.dynamicShouldError?(0,f.throwWithStaticGenerationBailoutErrorWithDynamicError)(l.route,e):"prerender-ppr"===d.type?(0,i.postponeWithTracking)(l.route,e,d.dynamicTracking):(0,i.throwToInterruptStaticGeneration)(e,l,d)}return o.ReflectAdapter.get(e,t,r)}});return P.set(l,m),m;default:return t}}function b(e,t,r){return t.forceStatic?Promise.resolve({}):v(e)}let P=new WeakMap,_=new WeakMap;function S(e){let t=_.get(e);if(t)return t;let r=Promise.resolve({}),n=new Proxy(r,{get:function t(n,a,i){return Object.hasOwn(r,a)||"string"!=typeof a||"then"!==a&&d.wellKnownProperties.has(a)||(0,f.throwForSearchParamsAccessInUseCache)(e,t),o.ReflectAdapter.get(n,a,i)}});return _.set(e,n),n}function v(e){let t=P.get(e);if(t)return t;let r=Promise.resolve(e);return P.set(e,r),r}(0,l.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})})},32739,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(72074).createAsyncLocalStorage)()},34708,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorage",{enumerable:!0,get:function(){return n.dynamicAccessAsyncStorageInstance}});let n=e.r(32739)},1448,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createParamsFromClient:function(){return h},createPrerenderParamsForClientSegment:function(){return b},createServerParamsForMetadata:function(){return m},createServerParamsForRoute:function(){return g},createServerParamsForServerSegment:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(72010),i=e.r(58706),s=e.r(49330),c=e.r(1038),u=e.r(15121),l=e.r(30437),d=e.r(56868),f=e.r(60111),p=e.r(34708);function h(e,t){let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return P(e,t,r);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"request":return O(e)}(0,c.throwInvariantForMissingStore)()}e.r(86716);let m=y;function g(e,t){let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return P(e,t,r);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"prerender-runtime":return _(e,r);case"request":return O(e)}(0,c.throwInvariantForMissingStore)()}function y(e,t){let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return P(e,t,r);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"prerender-runtime":return _(e,r);case"request":return O(e)}(0,c.throwInvariantForMissingStore)()}function b(e){let t=o.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(new u.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":let n=r.fallbackRouteParams;if(n){for(let a in e)if(n.has(a))return(0,d.makeHangingPromise)(r.renderSignal,t.route,"`params`")}break;case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0})}return Promise.resolve(e)}function P(e,t,r){switch(r.type){case"prerender":case"prerender-client":{let n=r.fallbackRouteParams;if(n){for(let a in e)if(n.has(a))return function(e,t,r){let n=S.get(e);if(n)return n;let a=new Proxy((0,d.makeHangingPromise)(r.renderSignal,t.route,"`params`"),v);return S.set(e,a),a}(e,t,r)}break}case"prerender-ppr":{let n=r.fallbackRouteParams;if(n){for(let a in e)if(n.has(a))return function(e,t,r,n){let a=S.get(e);if(a)return a;let o={...e},i=Promise.resolve(o);return S.set(e,i),Object.keys(e).forEach(e=>{l.wellKnownProperties.has(e)||t.has(e)&&Object.defineProperty(o,e,{get(){let t=(0,l.describeStringPropertyAccess)("params",e);"prerender-ppr"===n.type?(0,s.postponeWithTracking)(r.route,t,n.dynamicTracking):(0,s.throwToInterruptStaticGeneration)(t,r,n)},enumerable:!0})}),i}(e,n,t,r)}}}return O(e)}function _(e,t){return(0,s.delayUntilRuntimeStage)(t,O(e))}let S=new WeakMap,v={get:function(e,t,r){if("then"===t||"catch"===t||"finally"===t){let n=i.ReflectAdapter.get(e,t,r);return({[t]:(...t)=>{let r=p.dynamicAccessAsyncStorage.getStore();return r&&r.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(n.apply(e,t),v)}})[t]}return i.ReflectAdapter.get(e,t,r)}};function O(e){let t=S.get(e);if(t)return t;let r=Promise.resolve(e);return S.set(e,r),r}(0,f.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})})},74697,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientPageRoot",{enumerable:!0,get:function(){return u}});let n=e.r(30064),a=e.r(15121),o=e.r(97798),i=e.r(59760),s=e.r(17259),c=e.r(68266);function u({Component:t,serverProvidedParams:r}){let u,l;if(null!==r)u=r.searchParams,l=r.params;else{let e=(0,i.use)(o.LayoutRouterContext);l=null!==e?e.parentParams:{},u=(0,s.urlSearchParamsToParsedUrlQuery)((0,i.use)(c.SearchParamsContext))}if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientSegmentRoot",{enumerable:!0,get:function(){return s}});let n=e.r(30064),a=e.r(15121),o=e.r(97798),i=e.r(59760);function s({Component:t,slots:r,serverProvidedParams:s}){let c;if(null!==s)c=s.params;else{let e=(0,i.use)(o.LayoutRouterContext);c=null!==e?e.parentParams:{}}if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"IconMark",{enumerable:!0,get:function(){return a}});let n=e.r(30064),a=()=>"u">typeof window?null:(0,n.jsx)("meta",{name:"«nxt-icon»"})}]); \ No newline at end of file diff --git a/.next/static/chunks/1a59817cc31dbd7f.js b/.next/static/chunks/1a59817cc31dbd7f.js deleted file mode 100644 index 8669206..0000000 --- a/.next/static/chunks/1a59817cc31dbd7f.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78445,e=>{"use strict";var t=e.i(59760);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:o="",children:c,iconNode:d,...n},u)=>(0,t.createElement)("svg",{ref:u,...s,width:a,height:a,stroke:e,strokeWidth:l?24*Number(i)/Number(a):i,className:r("lucide",o),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(n)&&{"aria-hidden":"true"},...n},[...d.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(c)?c:[c]])),l=(e,s)=>{let l=(0,t.forwardRef)(({className:l,...o},c)=>(0,t.createElement)(i,{ref:c,iconNode:s,className:r(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...o}));return l.displayName=a(e),l};e.s(["default",()=>l],78445)},12856,(e,t,r)=>{t.exports=e.r(96479)},62746,e=>{"use strict";let t=(0,e.i(78445).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",()=>t],62746)},46202,e=>{"use strict";let t=(0,e.i(78445).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>t],46202)},6746,e=>{"use strict";let t=(0,e.i(78445).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],6746)},82546,e=>{"use strict";let t=(0,e.i(78445).default)("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);e.s(["Feather",()=>t],82546)},36268,e=>{"use strict";let t=(0,e.i(78445).default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);e.s(["Lightbulb",()=>t],36268)},12155,12100,e=>{"use strict";var t=e.i(78445);let r=(0,t.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",()=>r],12155);let a=(0,t.default)("git-graph",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v6",key:"158jrl"}],["circle",{cx:"5",cy:"18",r:"3",key:"104gr9"}],["path",{d:"M12 3v18",key:"108xh3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M16 15.7A9 9 0 0 0 19 9",key:"1e3vqb"}]]);e.s(["GitGraph",()=>a],12100)},18076,e=>{"use strict";var t=e.i(30064),r=e.i(46202),a=e.i(82546),s=e.i(12155),i=e.i(12100),l=e.i(62746),o=e.i(36268),c=e.i(6746);let d=({onBack:e})=>{let d=[{title:"Assistant IA Co-Auteur",icon:r.Sparkles,desc:"Générez des paragraphes, brainstormez des idées et demandez conseil à une IA qui connaît votre univers."},{title:"Bible du Monde Vivante",icon:s.Globe,desc:"Gérez vos personnages, lieux et objets. L'IA les reconnaît et garde une cohérence absolue."},{title:"Story Workflow",icon:i.GitGraph,desc:"Visualisez votre intrigue sous forme de nœuds et gérez les embranchements de votre récit."},{title:"Boîte à Idées Kanban",icon:o.Lightbulb,desc:"Notez vos idées fugaces et transformez-les en chapitres quand vous êtes prêt."},{title:"Mise en page Pro",icon:l.BookOpen,desc:"Exportez au format PDF, Word ou EPUB avec une mise en page soignée et automatique."},{title:"Éditeur Riche",icon:a.Feather,desc:"Un traitement de texte complet avec mode focus et historique des modifications IA."}];return(0,t.jsx)("div",{className:"min-h-screen bg-[#eef2ff] py-20 px-8",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsxs)("button",{onClick:e,className:"flex items-center gap-2 text-slate-500 hover:text-blue-600 mb-12 font-bold transition-colors",children:[(0,t.jsx)(c.ArrowLeft,{size:20})," Retour"]}),(0,t.jsx)("h1",{className:"text-5xl font-black text-slate-900 mb-12 text-center",children:"Un univers d'outils pour votre créativité."}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:d.map((e,r)=>(0,t.jsxs)("div",{className:"bg-white p-8 rounded-3xl shadow-xl border border-indigo-50 hover:scale-105 transition-transform",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-indigo-100 rounded-2xl flex items-center justify-center text-indigo-600 mb-6",children:(0,t.jsx)(e.icon,{size:24})}),(0,t.jsx)("h3",{className:"text-xl font-bold text-slate-900 mb-4",children:e.title}),(0,t.jsx)("p",{className:"text-slate-600 leading-relaxed",children:e.desc})]},r))})]})})};var n=e.i(12856),u=e.i(35828);function h(){let e=(0,n.useRouter)(),{data:r}=(0,u.useSession)();return(0,t.jsx)(d,{onBack:()=>e.push(r?"/dashboard":"/")})}e.s(["default",()=>h],18076)}]); \ No newline at end of file diff --git a/.next/static/chunks/1a6b4062fd26f46f.js b/.next/static/chunks/1a6b4062fd26f46f.js deleted file mode 100644 index cf2f3e4..0000000 --- a/.next/static/chunks/1a6b4062fd26f46f.js +++ /dev/null @@ -1,8 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41498,e=>{"use strict";let t=(0,e.i(78445).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],41498)},96922,e=>{"use strict";let t=(0,e.i(78445).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",()=>t],96922)},81350,e=>{"use strict";var t=e.i(30064),n=e.i(59760),s=e.i(78445);let a=(0,s.default)("bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]),i=(0,s.default)("italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]),r=(0,s.default)("underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]),l=(0,s.default)("text-align-start",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]]),o=(0,s.default)("text-align-center",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 19H5",key:"vjpgq2"}]]),d=(0,s.default)("text-align-end",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 19H7",key:"4cu937"}]]);var c=e.i(96922);let u=(0,s.default)("heading-1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]),x=(0,s.default)("heading-2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]),p=(0,s.default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),h=(0,s.default)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);var m=e.i(41498),g=e.i(74080);let f=(0,s.default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);var y=e.i(44026),v=e.i(97794);let b=(0,s.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),j=(0,s.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),k=(0,s.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),w=(0,s.default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),M=(0,s.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),N=(0,n.forwardRef)(({initialContent:e,onChange:s,onSave:N,onSelectionChange:C,onAiTransform:z},R)=>{let S=(0,n.useRef)(null),H=(0,n.useRef)(null),[L,A]=(0,n.useState)(!1),[T,q]=(0,n.useState)("saved"),D=(0,n.useRef)(null),[I,$]=(0,n.useState)(null),[O,V]=(0,n.useState)(!1),[B,E]=(0,n.useState)([]),[F,P]=(0,n.useState)(!0),[U,K]=(0,n.useState)(new Set),W=(0,n.useRef)(null),X=(0,n.useRef)(null),Y=(0,n.useMemo)(()=>{let e=[...B].sort((e,t)=>t.timestamp-e.timestamp),t=[];return e.forEach(e=>{let n=t.find(t=>60>Math.abs(t.topOffset-e.topOffset));n?(n.versions.push(e),n.versions.sort((e,t)=>t.timestamp-e.timestamp)):t.push({id:`group-${e.id}`,topOffset:e.topOffset,versions:[e]})}),t},[B]),G=(e,t)=>{if(!S.current)return;let n=(()=>{let e=window.getSelection();if(e&&e.rangeCount>0&&S.current){let t=e.getRangeAt(0).getBoundingClientRect(),n=S.current.getBoundingClientRect();return t.top-n.top}return 0})(),s={id:Date.now().toString(),timestamp:Date.now(),type:e,content:S.current.innerHTML,snippet:t.substring(0,80)+(t.length>80?"...":""),topOffset:n};E(e=>[s,...e]),P(!0)},J=e=>{S.current&&confirm("Restaurer cette version ? Le contenu actuel sera remplacé.")&&(S.current.innerHTML=e.content,Q())};(0,n.useImperativeHandle)(R,()=>({insertHtml:e=>{G("Insertion Chat","Insertion depuis le panneau IA"),S.current?.focus();let t=window.getSelection();if(X.current)t?.removeAllRanges(),t?.addRange(X.current);else if(S.current){let e=document.createRange();e.selectNodeContents(S.current),e.collapse(!1),t?.removeAllRanges(),t?.addRange(e)}let n=e.includes("<")?e:e.replace(/\n/g,"
");document.execCommand("insertHTML",!1,n),Q()}})),(0,n.useEffect)(()=>{S.current&&S.current.innerHTML!==e&&!L&&Math.abs(S.current.innerHTML.length-e.length)>5&&(S.current.innerHTML=e)},[e,L]);let Q=()=>{S.current&&(s&&s(S.current.innerHTML),N&&(q("unsaved"),D.current&&clearTimeout(D.current),D.current=setTimeout(async()=>{q("saving"),await N(S.current?.innerHTML||""),q("saved")},2e3)))},Z=()=>{let e=window.getSelection();e&&e.rangeCount>0&&S.current?.contains(e.anchorNode)&&(X.current=e.getRangeAt(0).cloneRange())},_=()=>{let e=window.getSelection();Z(),e&&e.toString().length>0&&C?C(e.toString()):C&&C("")},ee=async e=>{if(!z)return;let t=W.current,n=t?.toString()||"";if(n||"continue"===e){G({correct:"Correction",rewrite:"Reformulation",expand:"Développement",continue:"Continuation"}[e],n||"Position curseur"),V(!0);try{let s=await z(n,e);if(s){S.current?.focus();let n=window.getSelection();n?.removeAllRanges(),t&&n?.addRange(t),"continue"===e?(n?.collapseToEnd(),document.execCommand("insertText",!1," "+s)):document.execCommand("insertText",!1,s),Q()}}catch(e){console.error("AI Action failed",e)}finally{V(!1),$(null)}}},et=({icon:e,cmd:n,arg:s,label:a,onClick:i,isActive:r})=>(0,t.jsx)("button",{onMouseDown:e=>{if(i)e.preventDefault(),i();else e.preventDefault(),document.execCommand(n,!1,s),Q(),S.current?.focus()},className:`p-1.5 rounded transition-colors ${r?"bg-indigo-100 text-indigo-700":"text-slate-500 hover:text-slate-800 hover:bg-slate-200"}`,title:a,children:(0,t.jsx)(e,{size:18})}),en=W.current&&!W.current.collapsed;return(0,t.jsxs)("div",{className:"flex flex-col h-full bg-theme-panel rounded-lg shadow-sm border border-theme-border overflow-hidden relative transition-colors duration-300",children:[(0,t.jsx)("style",{children:` - .editor-content:empty::before { - content: attr(data-placeholder); - color: #cbd5e1; - font-style: italic; - cursor: text; - } - `}),(0,t.jsxs)("div",{className:"flex items-center gap-1 p-2 bg-theme-bg border-b border-theme-border flex-wrap relative z-20 shadow-sm transition-colors duration-300",children:[(0,t.jsx)(et,{icon:a,cmd:"bold",label:"Gras"}),(0,t.jsx)(et,{icon:i,cmd:"italic",label:"Italique"}),(0,t.jsx)(et,{icon:r,cmd:"underline",label:"Souligné"}),(0,t.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,t.jsx)(et,{icon:u,cmd:"formatBlock",arg:"H1",label:"Titre 1"}),(0,t.jsx)(et,{icon:x,cmd:"formatBlock",arg:"H2",label:"Titre 2"}),(0,t.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,t.jsx)(et,{icon:l,cmd:"justifyLeft",label:"Aligner à gauche"}),(0,t.jsx)(et,{icon:o,cmd:"justifyCenter",label:"Centrer"}),(0,t.jsx)(et,{icon:d,cmd:"justifyRight",label:"Aligner à droite"}),(0,t.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,t.jsx)(et,{icon:c.List,cmd:"insertUnorderedList",label:"Liste"}),(0,t.jsx)("div",{className:"flex-1"}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mr-4 text-xs font-medium text-slate-400",children:["saving"===T&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Loader2,{size:12,className:"animate-spin"})," Sauvegarde..."]}),"saved"===T&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Check,{size:12,className:"text-green-500"})," Sauvegardé"]}),"unsaved"===T&&(0,t.jsx)("span",{className:"text-amber-500",children:"Modifications non enregistrées..."})]}),(0,t.jsx)("div",{className:"w-px h-6 bg-slate-300 mx-1"}),(0,t.jsx)(et,{icon:b,label:"Marge d'historique",onClick:()=>P(!F),isActive:F})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto relative bg-theme-bg/50 transition-colors duration-300",ref:H,children:(0,t.jsxs)("div",{className:"flex justify-center relative min-h-full py-8",children:[(0,t.jsx)("div",{ref:S,contentEditable:!0,suppressContentEditableWarning:!0,className:"bg-theme-editor-bg shadow-sm w-[800px] min-h-[1000px] p-12 outline-none font-serif text-lg leading-relaxed text-theme-editor-text editor-content transition-colors duration-300",onInput:Q,onBlur:()=>{A(!1),Z()},onFocus:()=>A(!0),onKeyUp:Z,onMouseUp:Z,onSelect:_,onClick:()=>S.current?.focus(),onContextMenu:e=>{e.preventDefault();let t=window.getSelection();if(t&&t.rangeCount>0){let n=t.getRangeAt(0);if(S.current?.contains(n.commonAncestorContainer)){W.current=n.cloneRange(),$({x:e.clientX,y:e.clientY});return}}W.current=null,$({x:e.clientX,y:e.clientY})},"data-placeholder":"Commencez à écrire votre chef-d'œuvre... (Clic droit pour outils IA)"}),F&&(0,t.jsxs)("div",{className:"absolute left-[calc(50%+420px)] top-0 bottom-0 w-80 pt-8 pointer-events-none",children:[0===Y.length&&(0,t.jsxs)("div",{className:"sticky top-10 text-center text-slate-300 p-4",children:[(0,t.jsx)(b,{size:48,className:"mx-auto mb-2 opacity-20"}),(0,t.jsx)("p",{className:"text-xs",children:"L'historique des modifications IA apparaîtra ici, aligné avec votre texte."})]}),Y.map(e=>{let n=U.has(e.id),s=e.versions.length>1,a=e.versions[0];return(0,t.jsx)("div",{className:"absolute w-72 pointer-events-auto transition-all duration-300 ease-in-out",style:{top:`${e.topOffset+32}px`},children:(0,t.jsxs)("div",{className:`relative bg-white rounded-lg border shadow-sm transition-all duration-200 ${s&&!n?"border-indigo-200 shadow-md translate-x-1 translate-y-1":"border-slate-200"}`,children:[s&&!n&&(0,t.jsx)("div",{className:"absolute inset-0 bg-white border border-indigo-100 rounded-lg transform -translate-x-1 -translate-y-1 -z-10 shadow-sm"}),(0,t.jsxs)("div",{className:"p-2 border-b border-slate-100 flex justify-between items-center bg-slate-50 rounded-t-lg cursor-pointer hover:bg-slate-100",onClick:()=>{var t;let n;return s&&(t=e.id,void((n=new Set(U)).has(t)?n.delete(t):n.add(t),K(n)))},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[s&&(0,t.jsx)(M,{size:14,className:"text-indigo-500"}),(0,t.jsx)("span",{className:`text-[10px] font-bold px-1.5 py-0.5 rounded uppercase tracking-wide ${a.type.includes("Correction")?"bg-green-100 text-green-700":a.type.includes("Insertion")?"bg-blue-100 text-blue-700":"bg-purple-100 text-purple-700"}`,children:a.type})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"text-[10px] text-slate-400",children:new Date(a.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}),s&&(n?(0,t.jsx)(w,{size:14,className:"text-slate-400"}):(0,t.jsx)(k,{size:14,className:"text-slate-400"}))]})]}),!n&&(0,t.jsxs)("div",{className:"p-2",children:[(0,t.jsxs)("div",{className:"text-xs text-slate-500 italic line-clamp-2",children:['"',a.snippet,'"']}),(0,t.jsxs)("button",{onClick:()=>J(a),className:"mt-2 w-full flex items-center justify-center gap-1 text-[10px] bg-slate-50 hover:bg-indigo-50 text-slate-600 hover:text-indigo-700 py-1 rounded transition-colors",children:[(0,t.jsx)(j,{size:10})," Restaurer"]})]}),n&&(0,t.jsx)("div",{className:"divide-y divide-slate-100 max-h-64 overflow-y-auto",children:e.versions.map((e,n)=>(0,t.jsxs)("div",{className:"p-2 bg-white hover:bg-slate-50 transition-colors",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-1",children:[(0,t.jsx)("span",{className:"text-[10px] font-semibold text-slate-600",children:0===n?"Dernière version":`Version -${n}`}),(0,t.jsx)("span",{className:"text-[9px] text-slate-400",children:new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})})]}),(0,t.jsxs)("div",{className:"text-xs text-slate-500 italic bg-slate-50 p-1.5 rounded mb-2 border border-slate-100",children:['"',e.snippet,'"']}),(0,t.jsxs)("button",{onClick:()=>J(e),className:"w-full flex items-center justify-center gap-1 text-[10px] bg-white border border-slate-200 text-slate-600 hover:text-indigo-600 hover:border-indigo-200 py-1 rounded transition-colors",children:[(0,t.jsx)(j,{size:10})," Restaurer cette version"]})]},e.id))})]})},e.id)})]})]})}),I&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40 bg-transparent",onClick:()=>$(null),onContextMenu:e=>{e.preventDefault(),$(null)}}),(0,t.jsx)("div",{className:"fixed z-50 bg-white border border-slate-200 rounded-lg shadow-xl py-1 w-56 animate-in fade-in zoom-in-95 duration-100 flex flex-col",style:{top:Math.min(I.y,window.innerHeight-200),left:Math.min(I.x,window.innerWidth-224)},children:O?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-4 text-indigo-600 gap-2",children:[(0,t.jsx)(y.Loader2,{className:"animate-spin",size:24}),(0,t.jsx)("span",{className:"text-xs font-medium",children:"L'IA travaille..."})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"px-3 py-1 text-[10px] font-bold text-slate-400 uppercase tracking-wider",children:"Outils IA"}),(0,t.jsxs)("button",{onClick:()=>ee("correct"),disabled:!en,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!en?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,t.jsx)(m.Check,{size:14})," Corriger l'orthographe"]}),(0,t.jsxs)("button",{onClick:()=>ee("rewrite"),disabled:!en,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!en?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,t.jsx)(g.RefreshCw,{size:14})," Reformuler"]}),(0,t.jsxs)("button",{onClick:()=>ee("expand"),disabled:!en,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!en?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-indigo-50 hover:text-indigo-700"}`,children:[(0,t.jsx)(f,{size:14})," Développer"]}),(0,t.jsxs)("button",{onClick:()=>ee("continue"),className:"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-indigo-50 hover:text-indigo-700 text-left transition-colors",children:[(0,t.jsx)(h,{size:14})," Continuer l'écriture"]}),(0,t.jsx)("div",{className:"h-px bg-slate-100 my-1"}),(0,t.jsx)("div",{className:"px-3 py-1 text-[10px] font-bold text-slate-400 uppercase tracking-wider",children:"Édition"}),(0,t.jsxs)("button",{onClick:()=>{if(W.current){let e=window.getSelection();e?.removeAllRanges(),e?.addRange(W.current),document.execCommand("copy")}$(null)},disabled:!en,className:`flex items-center gap-2 px-3 py-2 text-sm text-left transition-colors ${!en?"text-slate-300 cursor-not-allowed":"text-slate-700 hover:bg-slate-50"}`,children:[(0,t.jsx)(p,{size:14})," Copier"]}),(0,t.jsxs)("button",{onClick:()=>{S.current?.focus(),document.execCommand("selectAll"),_(),$(null)},className:"flex items-center gap-2 px-3 py-2 text-sm text-slate-700 hover:bg-slate-50 text-left transition-colors",children:[(0,t.jsx)(v.MousePointerClick,{size:14})," Tout sélectionner"]})]})})]})]})});var C=e.i(24224),z=e.i(4301);function R(){let e=(0,n.useRef)(null),{project:s,user:a,currentChapterId:i,updateChapter:r,incrementUsage:l}=(0,C.useProjectContext)();if(!i)return null;let o=s.chapters?.find(e=>e.id===i);return(0,t.jsx)(N,{ref:e,initialContent:o?.content||"",onSave:e=>r(i,{content:e}),onAiTransform:async(e,t)=>{let n=await z.default.ai.transform(e,t,o?.content||"",a);return l(),n}})}e.s(["default",()=>R],81350)}]); \ No newline at end of file diff --git a/.next/static/chunks/2130e993b25c1235.js b/.next/static/chunks/2130e993b25c1235.js deleted file mode 100644 index eff5968..0000000 --- a/.next/static/chunks/2130e993b25c1235.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78445,e=>{"use strict";var t=e.i(59760);let a=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim(),s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let r=(0,t.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:o="",children:d,iconNode:n,...c},u)=>(0,t.createElement)("svg",{ref:u,...l,width:s,height:s,stroke:e,strokeWidth:i?24*Number(r)/Number(s):r,className:a("lucide",o),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...n.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(d)?d:[d]])),i=(e,l)=>{let i=(0,t.forwardRef)(({className:i,...o},d)=>(0,t.createElement)(r,{ref:d,iconNode:l,className:a(`lucide-${s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...o}));return i.displayName=s(e),i};e.s(["default",()=>i],78445)},12856,(e,t,a)=>{t.exports=e.r(96479)},54879,e=>{"use strict";let t=(0,e.i(78445).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",()=>t],54879)},50147,e=>{"use strict";let t=(0,e.i(78445).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],50147)},98867,e=>{"use strict";let t=(0,e.i(78445).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);e.s(["Layout",()=>t],98867)},19809,e=>{"use strict";let t=(0,e.i(78445).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",()=>t],19809)},54956,e=>{"use strict";let t=(0,e.i(78445).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Target",()=>t],54956)},49491,e=>{"use strict";let t=(0,e.i(78445).default)("flame",[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]);e.s(["Flame",()=>t],49491)},4248,e=>{"use strict";var t=e.i(30064),a=e.i(12856),s=e.i(18404),l=e.i(59760),r=e.i(50147),i=e.i(19809),o=e.i(54879);let d=(0,e.i(78445).default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);var n=e.i(54956),c=e.i(49491),u=e.i(98867);let x=({user:e,onUpdate:a,onBack:s})=>{console.log("[UserProfileSettings DEBUG] PROPS RECEIVED:",{user:e,userId:e?.id,hasOnUpdate:!!a,hasOnBack:!!s});let[x,h]=(0,l.useState)("profile"),[m,p]=(0,l.useState)({name:e.name,avatar:e.avatar||"",bio:e.bio||"",email:e.email,theme:e.preferences.theme,dailyWordGoal:e.preferences.dailyWordGoal}),b=l.default.useRef(null),f="dark"===m.theme,g="sepia"===m.theme,v=f?"bg-slate-800 border-slate-700":g?"bg-[#f4ecd8] border-[#dfcdae]":"bg-white border-slate-200",j=f?"text-white":g?"text-[#332616]":"text-slate-900",y=f?"text-slate-400":g?"text-[#735e44]":"text-slate-500",w=f?"bg-slate-900 border-slate-700 text-white":g?"bg-[#fbf8f1] border-[#eaddc4] text-[#433422]":"bg-slate-50 border-slate-200 text-slate-900",N=f?"bg-white text-slate-900 shadow-lg":g?"bg-[#5c4731] text-white shadow-lg":"bg-slate-900 text-white shadow-lg",k=f?"text-slate-400 hover:bg-slate-800 hover:text-white":g?"text-[#735e44] hover:bg-[#eaddc4] hover:text-[#332616]":"text-slate-500 hover:bg-white hover:text-slate-900";return(0,t.jsx)("div",{className:`h-screen overflow-y-auto p-8 font-sans ${f?"bg-slate-900 text-white":g?"bg-[#eaddc4] text-[#433422]":"bg-slate-50 text-slate-900"}`,children:(0,t.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-10",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:`text-3xl font-black ${j}`,children:"Mon Compte"}),(0,t.jsx)("p",{className:y,children:"Gérez vos informations personnelles et préférences d'écriture."})]}),(0,t.jsx)("button",{onClick:s,className:`${v} px-4 py-2 rounded-lg text-sm font-bold opacity-80 hover:opacity-100 transition-opacity`,children:"Fermer"})]}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[(0,t.jsxs)("div",{className:"w-full md:w-64 space-y-1",children:[(0,t.jsxs)("button",{onClick:()=>h("profile"),className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${"profile"===x?N:k}`,children:[(0,t.jsx)(r.User,{size:18})," Profil Public"]}),(0,t.jsxs)("button",{onClick:()=>h("preferences"),className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${"preferences"===x?N:k}`,children:[(0,t.jsx)(u.Layout,{size:18})," Interface & Écriture"]}),(0,t.jsxs)("button",{onClick:()=>h("account"),className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all ${"account"===x?N:k}`,children:[(0,t.jsx)(i.Shield,{size:18})," Sécurité & Plan"]})]}),(0,t.jsxs)("div",{className:`flex-1 rounded-2xl shadow-sm border p-8 ${v}`,children:["profile"===x&&(0,t.jsxs)("div",{className:"space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-300",children:[(0,t.jsxs)("div",{className:`flex items-center gap-6 pb-8 border-b ${f?"border-slate-700":g?"border-[#dfcdae]":"border-slate-100"}`,children:[(0,t.jsxs)("div",{className:"relative group cursor-pointer",onClick:()=>b.current?.click(),children:[(0,t.jsx)("input",{type:"file",ref:b,onChange:e=>{let t=e.target.files?.[0];if(!t)return;if(!t.type.startsWith("image/"))return void alert("Veuillez sélectionner une image valide.");let a=new FileReader;a.onload=e=>{let t=new Image;t.onload=()=>{let e=t.width,a=t.height;e>a&&e>256?(a=Math.round(256*a/e),e=256):a>256&&(e=Math.round(256*e/a),a=256);let s=document.createElement("canvas");s.width=e,s.height=a;let l=s.getContext("2d");if(l){l.drawImage(t,0,0,e,a);let r=s.toDataURL("image/jpeg",.8);p(e=>({...e,avatar:r}))}},t.src=e.target?.result},a.readAsDataURL(t)},accept:"image/*",className:"hidden"}),(0,t.jsx)("img",{src:m.avatar||"https://via.placeholder.com/150",className:`w-24 h-24 rounded-full object-cover border-4 shadow-md ${f?"border-slate-800":g?"border-[#f4ecd8]":"border-slate-50"}`,alt:"Avatar"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/40 text-white rounded-full opacity-0 group-hover:opacity-100 flex items-center justify-center transition-opacity",title:"Changer d'avatar",children:(0,t.jsx)(d,{size:20})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:`font-bold text-lg ${j}`,children:e.name}),(0,t.jsxs)("p",{className:`text-sm ${y}`,children:["Membre depuis ",new Date(e.subscription.startDate).toLocaleDateString("fr-FR",{month:"long",year:"numeric"})]}),(0,t.jsx)("div",{className:"mt-2 flex gap-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-xs font-bold text-orange-500",children:[(0,t.jsx)(c.Flame,{size:14,fill:"currentColor"})," ",e.stats.writingStreak," jours de streak"]})})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:`text-xs font-black uppercase tracking-widest ${y}`,children:"Nom affiché"}),(0,t.jsx)("input",{type:"text",value:m.name,onChange:e=>p({...m,name:e.target.value}),className:`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 ${w}`})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:`text-xs font-black uppercase tracking-widest ${y}`,children:"Bio / Citation inspirante"}),(0,t.jsx)("textarea",{value:m.bio,onChange:e=>p({...m,bio:e.target.value}),className:`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 h-24 resize-none ${w}`,placeholder:"Partagez quelques mots sur votre style..."})]})]})]}),"preferences"===x&&(0,t.jsx)("div",{className:"space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-300",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8",children:[(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("label",{className:`text-xs font-black uppercase tracking-widest flex items-center gap-2 ${y}`,children:[(0,t.jsx)(n.Target,{size:14})," Objectif quotidien de mots"]}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("input",{type:"range",min:"0",max:"5000",step:"100",value:m.dailyWordGoal,onChange:e=>p({...m,dailyWordGoal:parseInt(e.target.value)}),className:"flex-1 accent-blue-600"}),(0,t.jsx)("span",{className:"font-mono font-bold text-blue-600 bg-blue-50 px-3 py-1 rounded-lg",children:m.dailyWordGoal})]})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("label",{className:`text-xs font-black uppercase tracking-widest flex items-center gap-2 ${y}`,children:"Thème de l'éditeur"}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-3",children:["light","sepia","dark"].map(e=>(0,t.jsxs)("button",{onClick:()=>p({...m,theme:e}),className:`p-4 rounded-xl border-2 transition-all flex flex-col items-center gap-2 ${m.theme===e?"border-blue-500 bg-blue-50 text-blue-700":f?"border-slate-700 hover:border-slate-600":g?"border-[#dfcdae] hover:border-[#cfbd9e]":"border-slate-100 hover:border-slate-200"}`,children:[(0,t.jsx)("div",{className:`w-8 h-8 rounded-full border border-slate-200 ${"light"===e?"bg-white":"sepia"===e?"bg-[#f4ecd8]":"bg-slate-900"}`}),(0,t.jsx)("span",{className:`text-[10px] font-bold uppercase ${m.theme!==e?y:""}`,children:e})]},e))})]})]})}),"account"===x&&(0,t.jsxs)("div",{className:"space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-300",children:[(0,t.jsxs)("div",{className:"p-4 bg-blue-50 border border-blue-100 rounded-xl flex justify-between items-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h4",{className:"font-bold text-blue-900",children:["Plan ",(e.subscription.planDetails?.displayName||e.subscription.plan).toUpperCase()]}),(0,t.jsx)("p",{className:"text-xs text-blue-700",children:"Abonnement actif"})]}),(0,t.jsx)("button",{className:"bg-blue-600 text-white px-4 py-2 rounded-lg text-xs font-bold hover:bg-blue-700 shadow-md shadow-blue-200",children:"Gérer"})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:`text-xs font-black uppercase tracking-widest ${y}`,children:"Email du compte"}),(0,t.jsx)("input",{type:"email",value:m.email,onChange:e=>p({...m,email:e.target.value}),className:`w-full p-3 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 ${w}`})]}),(0,t.jsx)("div",{className:"pt-4",children:(0,t.jsx)("button",{className:"text-red-500 text-sm font-bold hover:underline",children:"Supprimer mon compte définitivement"})})]}),(0,t.jsx)("div",{className:`mt-12 pt-8 border-t flex justify-end ${f?"border-slate-700":g?"border-[#dfcdae]":"border-slate-100"}`,children:(0,t.jsxs)("button",{onClick:()=>{a({name:m.name,avatar:m.avatar,bio:m.bio,email:m.email,preferences:{...e.preferences,theme:m.theme,dailyWordGoal:m.dailyWordGoal}}),alert("Profil mis à jour !")},className:`px-8 py-3 rounded-xl font-bold flex items-center gap-2 transition-all shadow-xl hover:shadow-blue-200 ${f?"bg-white text-slate-900 hover:bg-blue-500 hover:text-white":g?"bg-[#5c4731] text-white hover:bg-blue-600":"bg-slate-900 text-white hover:bg-blue-600"}`,children:[(0,t.jsx)(o.Save,{size:18})," Sauvegarder les modifications"]})})]})]})]})})};function h(){let e=(0,a.useRouter)(),{user:r,loading:i,updateProfile:o}=(0,s.useAuthContext)();return((0,l.useEffect)(()=>{i||r||e.replace("/login")},[r,i,e]),i||!r)?null:(0,t.jsx)(x,{user:r,onUpdate:async e=>{try{await o(e)}catch(e){}},onBack:()=>e.push("/dashboard")})}e.s(["default",()=>h],4248)}]); \ No newline at end of file diff --git a/.next/static/chunks/25a68da295a65da6.js b/.next/static/chunks/25a68da295a65da6.js deleted file mode 100644 index 75c3249..0000000 --- a/.next/static/chunks/25a68da295a65da6.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44026,e=>{"use strict";let t=(0,e.i(78445).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],44026)},50147,e=>{"use strict";let t=(0,e.i(78445).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],50147)},78445,e=>{"use strict";var t=e.i(59760);let s=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim(),r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:o="",children:n,iconNode:d,...c},u)=>(0,t.createElement)("svg",{ref:u,...i,width:r,height:r,stroke:e,strokeWidth:l?24*Number(a)/Number(r):a,className:s("lucide",o),...!n&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...d.map(([e,s])=>(0,t.createElement)(e,s)),...Array.isArray(n)?n:[n]])),l=(e,i)=>{let l=(0,t.forwardRef)(({className:l,...o},n)=>(0,t.createElement)(a,{ref:n,iconNode:i,className:s(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...o}));return l.displayName=r(e),l};e.s(["default",()=>l],78445)},12856,(e,t,s)=>{t.exports=e.r(96479)},62746,e=>{"use strict";let t=(0,e.i(78445).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",()=>t],62746)},33907,e=>{"use strict";var t,s=((t={}).CHARACTER="Personnage",t.LOCATION="Lieu",t.OBJECT="Objet",t.NOTE="Note",t);e.s(["EntityType",()=>s])},22508,e=>{"use strict";let t=(0,e.i(78445).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>t],22508)},4915,e=>{"use strict";let t=(0,e.i(78445).default)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);e.s(["Edit3",()=>t],4915)},54956,e=>{"use strict";let t=(0,e.i(78445).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Target",()=>t],54956)},49491,e=>{"use strict";let t=(0,e.i(78445).default)("flame",[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]]);e.s(["Flame",()=>t],49491)},43331,e=>{"use strict";let t=(0,e.i(78445).default)("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);e.s(["Book",()=>t],43331)},71143,e=>{"use strict";var t=e.i(33907);let s={[t.EntityType.CHARACTER]:"👤",[t.EntityType.LOCATION]:"🏰",[t.EntityType.OBJECT]:"🗝️",[t.EntityType.NOTE]:"📝"},r={[t.EntityType.CHARACTER]:"bg-blue-100 text-blue-800 border-blue-200",[t.EntityType.LOCATION]:"bg-green-100 text-green-800 border-green-200",[t.EntityType.OBJECT]:"bg-amber-100 text-amber-800 border-amber-200",[t.EntityType.NOTE]:"bg-gray-100 text-gray-800 border-gray-200"};e.s(["ARCHETYPES",0,["Le Héros","L'Ombre / Le Méchant","Le Mentor","Le Gardien du Seuil","Le Shapeshifter (Changeforme)","Le Trickster (Farceur)","L'Allié","L'Élu","Le Rebelle","Le Séducteur","Le Sage","Le Guerrier","L'Innocent"],"DEFAULT_AUTHOR",0,"Auteur Inconnu","DEFAULT_BOOK_TITLE",0,"Nouveau Roman","ENTITY_COLORS",0,r,"ENTITY_ICONS",0,s,"EYE_COLORS",0,["Marron","Bleu","Vert","Noisette","Gris","Noir","Vairons","Ambre"],"GENRES",0,["Fantasy","Science-Fiction","Thriller / Polar","Romance","Historique","Horreur","Aventure","Contemporain","Jeunesse / Young Adult","Dystopie"],"HAIR_COLORS",0,["Brun","Noir","Blond","Roux","Auburn","Gris","Blanc","Châtain","Chauve","Teinture (Bleu/Rose/Etc)"],"INITIAL_CHAPTER",0,{id:"chap-1",title:"Chapitre 1",content:"

Il était une fois...

",summary:"Début de l'histoire."},"POV_OPTIONS",0,["1ère personne (Je)","3ème personne (Limitée au protagoniste)","3ème personne (Omnisciente)","Multi-points de vue (Alterné)"],"TENSE_OPTIONS",0,["Passé (Passé simple / Imparfait)","Présent de narration"],"TONES",0,["Sombre & Sérieux","Léger & Humoristique","Épique & Grandiose","Mélancolique","Mystérieux","Optimiste","Cynique","Romantique"]])},8011,30103,86180,e=>{"use strict";var t=e.i(59760),s=e.i(4301),r=e.i(71143);e.s(["useProjects",0,e=>{let[i,a]=(0,t.useState)([]),[l,o]=(0,t.useState)(null),[n,d]=(0,t.useState)(!1);(0,t.useEffect)(()=>{e?(async()=>{d(!0);try{let e=(await s.default.projects.list()||[]).map(e=>({id:e.id,title:e.title,author:e.author,lastModified:new Date(e.updatedAt).getTime(),chapters:Array.from({length:e._count?.chapters||0},(e,t)=>({id:`placeholder-${t}`,title:"",content:""})),entities:Array.from({length:e._count?.entities||0},(e,t)=>({id:`placeholder-${t}`,type:"character",name:"",description:""})),ideas:[],settings:e.settings||void 0}));a(e)}catch(e){console.error("Failed to load projects",e)}finally{d(!1)}})():a([])},[e]),(0,t.useEffect)(()=>{l&&(async()=>{try{let e=await s.default.projects.get(l),t={id:e.id,title:e.title,author:e.author,lastModified:new Date(e.updatedAt).getTime(),settings:e.settings||void 0,styleGuide:e.styleGuide||void 0,chapters:(e.chapters||[]).map(e=>({id:e.id,title:e.title,content:e.content,summary:e.summary})),entities:(e.entities||[]).map(e=>({id:e.id,type:e.type,name:e.name,description:e.description,details:e.details,storyContext:e.storyContext,attributes:e.attributes,customValues:e.customValues})),ideas:(e.ideas||[]).map(e=>({id:e.id,title:e.title,description:e.description,status:e.status,category:e.category,createdAt:new Date(e.createdAt).getTime()})),workflow:{nodes:(e.plotNodes||[]).map(e=>({id:e.id,x:e.x,y:e.y,title:e.title,description:e.description,color:e.color,type:e.type})),connections:(e.plotConnections||[]).map(e=>({id:e.id,source:e.source,target:e.target}))}};a(e=>e.map(e=>e.id===l?t:e))}catch(e){console.error("Failed to load project details",e)}})()},[l]);let c=async(e,t)=>{try{let r=await s.default.chapters.create({projectId:e,title:t.title||"New Chapter",content:t.content||"",summary:t.summary||void 0});return a(t=>t.map(t=>t.id!==e?t:{...t,chapters:[...t.chapters,{id:r.id,title:r.title,content:r.content,summary:r.summary}]})),r.id}catch(e){return console.error("Failed to add chapter",e),null}};return{projects:i,currentProjectId:l,setCurrentProjectId:o,createProject:async()=>{if(e)try{let t=await s.default.projects.create({title:r.DEFAULT_BOOK_TITLE,author:e.name||r.DEFAULT_AUTHOR,settings:{genre:"Fantasy",targetAudience:"Adult",tone:"Epic"}}),i={id:t.id,title:t.title,author:t.author,lastModified:Date.now(),chapters:[],entities:[],ideas:[],settings:t.settings};return a(e=>[...e,i]),await c(t.id,r.INITIAL_CHAPTER),t.id}catch(e){throw console.error("Failed to create project",e),e}},updateProject:async(e,t)=>{a(s=>s.map(s=>s.id===e?{...s,...t}:s));try{let r={};void 0!==t.title&&(r.title=t.title),void 0!==t.author&&(r.author=t.author),void 0!==t.settings&&(r.settings=t.settings),void 0!==t.styleGuide&&(r.styleGuide=t.styleGuide),Object.keys(r).length>0&&await s.default.projects.update(e,r),t.workflow&&await s.default.projects.syncWorkflow(e,{nodes:t.workflow.nodes||[],connections:t.workflow.connections||[]})}catch(e){console.error("Failed to update project",e)}},addChapter:c,updateChapter:async(e,t,r)=>{a(s=>s.map(s=>s.id!==e?s:{...s,chapters:s.chapters.map(e=>e.id===t?{...e,...r}:e)}));try{await s.default.chapters.update(t,r)}catch(e){console.error("Failed to update chapter",e)}},createEntity:async(e,t,r)=>{try{let i=await s.default.entities.create({projectId:e,type:t,name:r?.name||`Nouveau ${t}`,description:r?.description||"",details:r?.details||"",attributes:r?.attributes||void 0,customValues:r?.customValues||void 0});return a(t=>t.map(t=>t.id!==e?t:{...t,entities:[...t.entities,{id:i.id,type:i.type,name:i.name,description:i.description,details:i.details,attributes:i.attributes,customValues:i.customValues||{}}]})),i.id}catch(e){throw console.error("Failed to create entity",e),e}},updateEntity:async(e,t,r)=>{a(s=>s.map(s=>s.id!==e?s:{...s,entities:s.entities.map(e=>e.id===t?{...e,...r}:e)}));try{await s.default.entities.update(t,r)}catch(e){console.error("Failed to update entity",e)}},deleteEntity:async(e,t)=>{a(s=>s.map(s=>s.id!==e?s:{...s,entities:s.entities.filter(e=>e.id!==t)}));try{await s.default.entities.delete(t)}catch(e){console.error("Failed to delete entity",e)}},deleteProject:async e=>{try{await s.default.projects.delete(e),a(t=>t.filter(t=>t.id!==e)),l===e&&o(null)}catch(e){console.error("Failed to delete project",e)}}}}],8011);var i=e.i(78445);let a=(0,i.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>a],30103);let l=(0,i.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",()=>l],86180)},23439,e=>{"use strict";var t=e.i(30064),s=e.i(12856),r=e.i(18404),i=e.i(8011),a=e.i(22508),l=e.i(43331);let o=(0,e.i(78445).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var n=e.i(30103),d=e.i(86180),c=e.i(50147),u=e.i(54956),h=e.i(49491),m=e.i(4915);let p=({user:e,projects:s,onSelect:r,onCreate:i,onLogout:p,onPricing:x,onProfile:g})=>(0,t.jsx)("div",{className:"min-h-screen bg-theme-bg p-8 font-sans transition-colors duration-300",children:(0,t.jsxs)("div",{className:"max-w-6xl mx-auto space-y-8",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center bg-theme-panel p-8 rounded-[2rem] shadow-sm border border-theme-border gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("img",{src:e.avatar,className:"w-20 h-20 rounded-full border-4 border-slate-50 shadow-lg object-cover",alt:"Avatar"}),(0,t.jsx)("div",{className:"absolute -bottom-1 -right-1 bg-green-500 w-5 h-5 rounded-full border-4 border-white"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-3xl font-black text-theme-text",children:["Bonjour, ",e.name," 👋"]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 mt-1",children:[(0,t.jsx)("span",{className:"px-3 py-1 rounded-full bg-indigo-100 text-indigo-700 text-[10px] uppercase font-black tracking-widest",children:e.subscription.planDetails?.displayName||e.subscription.plan}),(0,t.jsx)("span",{className:"text-theme-muted text-xs font-medium",children:"Membre depuis le 24 janv."})]})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("button",{onClick:g,className:"bg-theme-bg text-theme-text px-5 py-2.5 rounded-xl text-sm font-bold hover:opacity-80 transition-all flex items-center gap-2 border border-theme-border",children:[(0,t.jsx)(c.User,{size:18})," Mon Profil"]}),(0,t.jsx)("button",{onClick:p,className:"p-3 text-theme-muted hover:text-red-500 rounded-full hover:bg-red-500/10 transition-colors",children:(0,t.jsx)(d.LogOut,{size:20})})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,t.jsxs)("div",{className:"bg-theme-panel p-6 rounded-3xl shadow-sm border border-theme-border flex items-center gap-4",children:[(0,t.jsx)("div",{className:"bg-orange-100 p-3 rounded-2xl text-orange-600",children:(0,t.jsx)(h.Flame,{size:24})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs font-bold text-theme-muted uppercase tracking-wider",children:"Série actuelle"}),(0,t.jsxs)("p",{className:"text-2xl font-black text-theme-text",children:[e.stats.writingStreak," Jours"]})]})]}),(0,t.jsxs)("div",{className:"bg-theme-panel p-6 rounded-3xl shadow-sm border border-theme-border flex items-center gap-4",children:[(0,t.jsx)("div",{className:"bg-blue-100 p-3 rounded-2xl text-blue-600",children:(0,t.jsx)(m.Edit3,{size:24})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs font-bold text-theme-muted uppercase tracking-wider",children:"Mots écrits"}),(0,t.jsx)("p",{className:"text-2xl font-black text-theme-text",children:e.stats.totalWordsWritten.toLocaleString()})]})]}),(0,t.jsxs)("div",{className:"bg-theme-panel p-6 rounded-3xl shadow-sm border border-theme-border flex items-center gap-4",children:[(0,t.jsx)("div",{className:"bg-indigo-100 p-3 rounded-2xl text-indigo-600",children:(0,t.jsx)(u.Target,{size:24})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs font-bold text-theme-muted uppercase tracking-wider",children:"Objectif du jour"}),(0,t.jsxs)("p",{className:"text-2xl font-black text-theme-text",children:[e.preferences.dailyWordGoal," Mots"]})]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[(0,t.jsxs)("div",{className:"lg:col-span-2 space-y-4",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,t.jsx)("h3",{className:"text-2xl font-black text-theme-text",children:"Mes Romans"}),(0,t.jsxs)("button",{onClick:i,className:"flex items-center gap-2 bg-blue-600 text-white px-6 py-3 rounded-2xl font-bold hover:bg-blue-700 transition-all shadow-xl shadow-blue-200",children:[(0,t.jsx)(a.Plus,{size:20})," Écrire un nouveau livre"]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.map(e=>(0,t.jsxs)("div",{onClick:()=>r(e.id),className:"bg-theme-panel p-8 rounded-[2.5rem] border border-theme-border shadow-sm hover:shadow-2xl hover:scale-[1.02] transition-all cursor-pointer group flex flex-col justify-between h-64",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"bg-blue-500/10 w-12 h-12 rounded-2xl flex items-center justify-center text-blue-500 mb-6 group-hover:bg-blue-600 group-hover:text-white transition-colors",children:(0,t.jsx)(l.Book,{size:24})}),(0,t.jsx)("h4",{className:"font-black text-theme-text text-xl truncate mb-1",children:e.title}),(0,t.jsxs)("p",{className:"text-theme-muted text-sm",children:["Dernière modification : ",new Date(e.lastModified).toLocaleDateString()]})]}),(0,t.jsxs)("div",{className:"flex justify-between items-center text-[10px] text-theme-muted font-black uppercase tracking-widest border-t border-theme-border pt-4 mt-auto",children:[(0,t.jsxs)("span",{children:[e.chapters.length," Chapitres"]}),(0,t.jsx)(n.ChevronRight,{size:20,className:"group-hover:text-blue-600 transition-transform group-hover:translate-x-1 duration-300"})]})]},e.id)),0===s.length&&(0,t.jsxs)("div",{className:"col-span-2 py-24 bg-theme-panel rounded-[3rem] border-2 border-dashed border-theme-border flex flex-col items-center justify-center text-theme-muted",children:[(0,t.jsx)(l.Book,{size:64,className:"mb-6 opacity-20"}),(0,t.jsx)("p",{className:"font-bold text-lg",children:"Prêt à commencer votre premier roman ?"}),(0,t.jsx)("button",{onClick:i,className:"mt-4 text-blue-600 font-bold hover:underline",children:"Créer un projet maintenant"})]})]})]}),(0,t.jsx)("div",{className:"space-y-6",children:(0,t.jsxs)("div",{className:"bg-slate-900 text-white p-8 rounded-[2.5rem] shadow-xl relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-indigo-500/20 blur-[60px] -z-1"}),(0,t.jsxs)("h3",{className:"font-black text-xl mb-6 flex items-center gap-2",children:[(0,t.jsx)(o,{size:20,className:"text-yellow-400"})," Utilisation"]}),(0,t.jsxs)("div",{className:"space-y-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex justify-between text-[10px] font-black text-slate-400 uppercase tracking-widest mb-2",children:[(0,t.jsx)("span",{children:"Actions IA"}),(0,t.jsxs)("span",{children:[e.usage.aiActionsCurrent," / ",999999===e.usage.aiActionsLimit?"∞":e.usage.aiActionsLimit]})]}),(0,t.jsx)("div",{className:"h-3 w-full bg-slate-800 rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-blue-500 transition-all duration-1000 shadow-[0_0_10px_rgba(59,130,246,0.5)]",style:{width:`${Math.min(100,e.usage.aiActionsCurrent/e.usage.aiActionsLimit*100)}%`}})})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex justify-between text-[10px] font-black text-slate-400 uppercase tracking-widest mb-2",children:[(0,t.jsx)("span",{children:"Emplacements Roman"}),(0,t.jsxs)("span",{children:[s.length," / ",e.usage.projectsLimit]})]}),(0,t.jsx)("div",{className:"h-3 w-full bg-slate-800 rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-indigo-500 transition-all duration-1000 shadow-[0_0_10px_rgba(99,102,241,0.5)]",style:{width:`${Math.min(100,s.length/e.usage.projectsLimit*100)}%`}})})]})]}),(0,t.jsx)("button",{onClick:x,className:"w-full mt-10 bg-white/10 hover:bg-white/20 py-4 rounded-2xl text-sm font-bold transition-all",children:"Upgrade Plan"})]})})]})]})});var x=e.i(44026),g=e.i(62746),b=e.i(59760);function y(){let e=(0,s.useRouter)(),{user:a,logout:l,loading:o}=(0,r.useAuthContext)(),{projects:n,setCurrentProjectId:d,createProject:c}=(0,i.useProjects)(a);return((0,b.useEffect)(()=>{o||a||e.replace("/login")},[a,o,e]),o||!a)?(0,t.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,t.jsx)(x.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(g.BookOpen,{className:"text-blue-500",size:20}),(0,t.jsx)("span",{className:"text-lg font-bold",children:"PlumeIA"})]})]}):(0,t.jsx)(p,{user:a,projects:n,onSelect:t=>{d(t),e.push(`/project/${t}`)},onCreate:async()=>{try{let t=await c();t&&(d(t),e.push(`/project/${t}`))}catch(t){t?.message?.includes("Limite")?(alert(t.message),e.push("/pricing")):alert("Erreur lors de la création du projet")}},onLogout:()=>{l(),e.push("/")},onPricing:()=>e.push("/pricing"),onProfile:()=>e.push("/profile")})}e.s(["default",()=>y],23439)}]); \ No newline at end of file diff --git a/.next/static/chunks/26b64173345909cf.js b/.next/static/chunks/26b64173345909cf.js deleted file mode 100644 index f5067cd..0000000 --- a/.next/static/chunks/26b64173345909cf.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44026,e=>{"use strict";let t=(0,e.i(78445).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],44026)},78445,e=>{"use strict";var t=e.i(59760);let s=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim(),l=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:n="",children:d,iconNode:c,...o},x)=>(0,t.createElement)("svg",{ref:x,...r,width:l,height:l,stroke:e,strokeWidth:a?24*Number(i)/Number(l):i,className:s("lucide",n),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(o)&&{"aria-hidden":"true"},...o},[...c.map(([e,s])=>(0,t.createElement)(e,s)),...Array.isArray(d)?d:[d]])),a=(e,r)=>{let a=(0,t.forwardRef)(({className:a,...n},d)=>(0,t.createElement)(i,{ref:d,iconNode:r,className:s(`lucide-${l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...n}));return a.displayName=l(e),a};e.s(["default",()=>a],78445)},12856,(e,t,s)=>{t.exports=e.r(96479)},11690,e=>{"use strict";let t=(0,e.i(78445).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],11690)},19809,e=>{"use strict";let t=(0,e.i(78445).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",()=>t],19809)},35809,e=>{"use strict";let t=(0,e.i(78445).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",()=>t],35809)},24911,e=>{"use strict";var t=e.i(30064),s=e.i(59760);let l=(0,e.i(78445).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var r=e.i(19809),i=e.i(35809),a=e.i(11690),n=e.i(44026);let d=({onComplete:e,onCancel:d})=>{let[c,o]=(0,s.useState)(!1);return(0,t.jsx)("div",{className:"min-h-screen bg-[#eef2ff] flex items-center justify-center p-8",children:(0,t.jsxs)("div",{className:"bg-white rounded-3xl shadow-2xl flex flex-col md:flex-row max-w-4xl w-full overflow-hidden animate-in fade-in slide-in-from-bottom-10 duration-500",children:[(0,t.jsxs)("div",{className:"w-full md:w-1/3 bg-slate-900 text-white p-8",children:[(0,t.jsxs)("h3",{className:"text-xl font-bold mb-8 flex items-center gap-2",children:[(0,t.jsx)(i.Lock,{size:18,className:"text-blue-400"})," Commande"]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,t.jsx)("span",{children:"Auteur Pro"}),(0,t.jsx)("span",{children:"12.00€"})]}),(0,t.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,t.jsx)("span",{children:"TVA (20%)"}),(0,t.jsx)("span",{children:"2.40€"})]}),(0,t.jsx)("div",{className:"h-px bg-slate-800 my-4"}),(0,t.jsxs)("div",{className:"flex justify-between text-xl font-black",children:[(0,t.jsx)("span",{children:"Total"}),(0,t.jsx)("span",{className:"text-blue-400",children:"14.40€"})]})]})]}),(0,t.jsxs)("div",{className:"flex-1 p-8 md:p-12",children:[(0,t.jsx)("h2",{className:"text-2xl font-black text-slate-900 mb-8 text-center",children:"Paiement Sécurisé"}),(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault(),o(!0),setTimeout(()=>{e()},2e3)},className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-black text-slate-500 uppercase tracking-widest mb-2",children:"Numéro de carte"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{type:"text",placeholder:"4242 4242 4242 4242",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"}),(0,t.jsx)(l,{className:"absolute right-4 top-4 text-slate-400"})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,t.jsx)("input",{type:"text",placeholder:"MM / YY",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"}),(0,t.jsx)("input",{type:"text",placeholder:"CVC",className:"w-full bg-[#eef2ff] border border-indigo-100 p-4 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-bold"})]}),(0,t.jsx)("button",{disabled:c,className:"w-full bg-blue-600 text-white py-5 rounded-2xl font-black text-lg hover:bg-blue-700 transition-all shadow-xl shadow-blue-200 flex items-center justify-center gap-3",children:c?(0,t.jsx)(n.Loader2,{className:"animate-spin"}):(0,t.jsxs)(t.Fragment,{children:["Confirmer le paiement ",(0,t.jsx)(a.ArrowRight,{size:20})]})}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 text-[10px] text-slate-400 font-bold uppercase",children:[(0,t.jsx)(r.Shield,{size:12})," Traitement chiffré SSL 256-bits"]})]})]})]})})};var c=e.i(12856);function o(){let e=(0,c.useRouter)();return(0,t.jsx)(d,{onComplete:()=>e.push("/dashboard"),onCancel:()=>e.push("/pricing")})}e.s(["default",()=>o],24911)}]); \ No newline at end of file diff --git a/.next/static/chunks/2ec26efb5effde60.js b/.next/static/chunks/2ec26efb5effde60.js deleted file mode 100644 index 0d72e95..0000000 --- a/.next/static/chunks/2ec26efb5effde60.js +++ /dev/null @@ -1,4 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15121,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"InvariantError",{enumerable:!0,get:function(){return n}});class n extends Error{constructor(e,t){super(`Invariant: ${e.endsWith(".")?e:e+"."} This is a bug in Next.js.`,t),this.name="InvariantError"}}},57016,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},56661,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={BailoutToCSRError:function(){return u},isBailoutToCSRError:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a="BAILOUT_TO_CLIENT_SIDE_RENDERING";class u extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=a}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===a}},51581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTTPAccessErrorStatus:function(){return a},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return i},getAccessFallbackErrorTypeByStatus:function(){return l},getAccessFallbackHTTPStatus:function(){return s},isHTTPAccessFallbackError:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},u=new Set(Object.values(a)),i="NEXT_HTTP_ERROR_FALLBACK";function c(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===i&&u.has(Number(r))}function s(e){return Number(e.digest.split(";")[1])}function l(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},84789,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RedirectStatusCode",{enumerable:!0,get:function(){return o}});var n,o=((n={})[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},24664,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,o={REDIRECT_ERROR_CODE:function(){return i},RedirectType:function(){return c},isRedirectError:function(){return s}};for(var a in o)Object.defineProperty(r,a,{enumerable:!0,get:o[a]});let u=e.r(84789),i="NEXT_REDIRECT";var c=((n={}).push="push",n.replace="replace",n);function s(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,o=t.slice(2,-2).join(";"),a=Number(t.at(-2));return r===i&&("replace"===n||"push"===n)&&"string"==typeof o&&!isNaN(a)&&a in u.RedirectStatusCode}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},69661,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return a}});let n=e.r(51581),o=e.r(24664);function a(e){return(0,o.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},29063,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return o}});class n extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class o extends URLSearchParams{append(){throw new n}delete(){throw new n}set(){throw new n}sort(){throw new n}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68266,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return l},PathParamsContext:function(){return s},PathnameContext:function(){return c},ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},SearchParamsContext:function(){return i},createDevToolsInstrumentedPromise:function(){return d}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(59760),u=e.r(29063),i=(0,a.createContext)(null),c=(0,a.createContext)(null),s=(0,a.createContext)(null),l=(0,a.createContext)(null);function d(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},32306,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(72074).createAsyncLocalStorage)()},37180,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ACTION_HEADER:function(){return u},FLIGHT_HEADERS:function(){return y},NEXT_ACTION_NOT_FOUND_HEADER:function(){return R},NEXT_ACTION_REVALIDATED_HEADER:function(){return P},NEXT_DID_POSTPONE_HEADER:function(){return h},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return d},NEXT_HMR_REFRESH_HEADER:function(){return l},NEXT_HTML_REQUEST_ID_HEADER:function(){return v},NEXT_IS_PRERENDER_HEADER:function(){return g},NEXT_REQUEST_ID_HEADER:function(){return O},NEXT_REWRITTEN_PATH_HEADER:function(){return b},NEXT_REWRITTEN_QUERY_HEADER:function(){return E},NEXT_ROUTER_PREFETCH_HEADER:function(){return c},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return s},NEXT_ROUTER_STALE_TIME_HEADER:function(){return m},NEXT_ROUTER_STATE_TREE_HEADER:function(){return i},NEXT_RSC_UNION_QUERY:function(){return _},NEXT_URL:function(){return f},RSC_CONTENT_TYPE_HEADER:function(){return p},RSC_HEADER:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a="rsc",u="next-action",i="next-router-state-tree",c="next-router-prefetch",s="next-router-segment-prefetch",l="next-hmr-refresh",d="__next_hmr_refresh_hash__",f="next-url",p="text/x-component",y=[a,i,c,l,s],_="_rsc",m="x-nextjs-stale-time",h="x-nextjs-postponed",b="x-nextjs-rewritten-path",E="x-nextjs-rewritten-query",g="x-nextjs-prerender",R="x-nextjs-action-not-found",O="x-nextjs-request-id",v="x-nextjs-html-request-id",P="x-action-revalidated";("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},1038,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getCacheSignal:function(){return m},getDraftModeProviderForCacheScope:function(){return _},getHmrRefreshHash:function(){return f},getPrerenderResumeDataCache:function(){return l},getRenderResumeDataCache:function(){return d},getRuntimeStagePromise:function(){return h},getServerComponentsHmrCache:function(){return y},isHmrRefresh:function(){return p},throwForMissingRequestStore:function(){return c},throwInvariantForMissingStore:function(){return s},workUnitAsyncStorage:function(){return a.workUnitAsyncStorageInstance}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(32306),u=e.r(37180),i=e.r(15121);function c(e){throw Object.defineProperty(Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function s(){throw Object.defineProperty(new i.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function l(e){switch(e.type){case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-client":return e.prerenderResumeDataCache;case"request":if(e.prerenderResumeDataCache)return e.prerenderResumeDataCache;case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":return null;default:return e}}function d(e){switch(e.type){case"request":case"prerender":case"prerender-runtime":case"prerender-client":if(e.renderResumeDataCache)return e.renderResumeDataCache;case"prerender-ppr":return e.prerenderResumeDataCache??null;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":return null;default:return e}}function f(e,t){if(e.dev)switch(t.type){case"cache":case"private-cache":case"prerender":case"prerender-runtime":return t.hmrRefreshHash;case"request":var r;return null==(r=t.cookies.get(u.NEXT_HMR_REFRESH_HASH_COOKIE))?void 0:r.value}}function p(e,t){if(e.dev)switch(t.type){case"cache":case"private-cache":case"request":return t.isHmrRefresh??!1}return!1}function y(e,t){if(e.dev)switch(t.type){case"cache":case"private-cache":case"request":return t.serverComponentsHmrCache}}function _(e,t){if(e.isDraftMode)switch(t.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return t.draftMode}}function m(e){switch(e.type){case"prerender":case"prerender-client":case"prerender-runtime":return e.cacheSignal;case"request":if(e.cacheSignal)return e.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":return null;default:return e}}function h(e){switch(e.type){case"prerender-runtime":case"private-cache":return e.runtimeStagePromise;case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"unstable-cache":return null;default:return e}}},28582,(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}r._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(o,u,i):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o}},63393,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DEFAULT_SEGMENT_KEY:function(){return d},NOT_FOUND_SEGMENT_KEY:function(){return f},PAGE_SEGMENT_KEY:function(){return l},addSearchParamsIfPageSegment:function(){return c},computeSelectedLayoutSegment:function(){return s},getSegmentValue:function(){return a},getSelectedLayoutSegmentPath:function(){return function e(t,r,n=!0,o=[]){let u;if(n)u=t[1][r];else{let e=t[1];u=e.children??Object.values(e)[0]}if(!u)return o;let i=a(u[0]);return!i||i.startsWith(l)?o:(o.push(i),e(u,r,!1,o))}},isGroupSegment:function(){return u},isParallelRouteSegment:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){return Array.isArray(e)?e[1]:e}function u(e){return"("===e[0]&&e.endsWith(")")}function i(e){return e.startsWith("@")&&"@children"!==e}function c(e,t){if(e.includes(l)){let e=JSON.stringify(t);return"{}"!==e?l+"?"+e:l}return e}function s(e,t){if(!e||0===e.length)return null;let r="children"===t?e[0]:e[e.length-1];return r===d?null:r}let l="__PAGE__",d="__DEFAULT__",f="/_not-found"},86646,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={UnrecognizedActionError:function(){return a},unstable_isUnrecognizedActionError:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});class a extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function u(e){return!!(e&&"object"==typeof e&&e instanceof a)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},9089,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(72074).createAsyncLocalStorage)()},88535,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorageInstance}});let n=e.r(9089)},38405,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return f},getURLFromRedirectError:function(){return d},permanentRedirect:function(){return l},redirect:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(84789),u=e.r(24664),i="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={AppRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return c},LayoutRouterContext:function(){return i},MissingSlotContext:function(){return l},TemplateContext:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(57016)._(e.r(59760)),u=a.default.createContext(null),i=a.default.createContext(null),c=a.default.createContext(null),s=a.default.createContext(null),l=a.default.createContext(new Set)},5808,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return u},useServerInsertedHTML:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(28582)._(e.r(59760)),u=a.default.createContext(null);function i(e){let t=(0,a.useContext)(u);t&&t(e)}},51761,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"notFound",{enumerable:!0,get:function(){return a}});let n=e.r(51581),o=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function a(){let e=Object.defineProperty(Error(o),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=o,e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94139,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"forbidden",{enumerable:!0,get:function(){return n}}),e.r(51581).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},87374,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unauthorized",{enumerable:!0,get:function(){return n}}),e.r(51581).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},96468,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,o.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(56661),o=e.r(69661);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56868,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isHangingPromiseRejectionError:function(){return a},makeDevtoolsIOAwarePromise:function(){return d},makeHangingPromise:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===u}let u="HANGING_PROMISE_REJECTION";class i extends Error{constructor(e,t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${e}".`),this.route=e,this.expression=t,this.digest=u}}let c=new WeakMap;function s(e,t,r){if(e.aborted)return Promise.reject(new i(t,r));{let n=new Promise((n,o)=>{let a=o.bind(null,new i(t,r)),u=c.get(e);if(u)u.push(a);else{let t=[a];c.set(e,t),e.addEventListener("abort",()=>{for(let e=0;e{setTimeout(()=>{t(e)},0)})}},92136,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isPostpone",{enumerable:!0,get:function(){return o}});let n=Symbol.for("react.postpone");function o(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}},63256,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DynamicServerError:function(){return u},isDynamicServerError:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a="DYNAMIC_SERVER_USAGE";class u extends Error{constructor(e){super(`Dynamic server usage: ${e}`),this.description=e,this.digest=a}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===a}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43146,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={StaticGenBailoutError:function(){return u},isStaticGenBailoutError:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a="NEXT_STATIC_GEN_BAILOUT";class u extends Error{constructor(...e){super(...e),this.code=a}}function i(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===a}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},35825,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={METADATA_BOUNDARY_NAME:function(){return a},OUTLET_BOUNDARY_NAME:function(){return i},ROOT_LAYOUT_BOUNDARY_NAME:function(){return c},VIEWPORT_BOUNDARY_NAME:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a="__next_metadata_boundary__",u="__next_viewport_boundary__",i="__next_outlet_boundary__",c="__next_root_layout_boundary__"},97242,(e,t,r)=>{"use strict";var n=e.i(58865);Object.defineProperty(r,"__esModule",{value:!0});var o={atLeastOneTask:function(){return c},scheduleImmediate:function(){return i},scheduleOnNextTick:function(){return u},waitAtLeastOneReactRenderTask:function(){return s}};for(var a in o)Object.defineProperty(r,a,{enumerable:!0,get:o[a]});let u=e=>{Promise.resolve().then(()=>{n.default.nextTick(e)})},i=e=>{setImmediate(e)};function c(){return new Promise(e=>i(e))}function s(){return new Promise(e=>setImmediate(e))}},49330,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,o,a={Postpone:function(){return T},PreludeState:function(){return J},abortAndThrowOnSynchronousRequestDataAccess:function(){return S},abortOnSynchronousPlatformIOAccess:function(){return j},accessedDynamicData:function(){return k},annotateDynamicAccess:function(){return $},consumeDynamicAccess:function(){return I},createDynamicTrackingState:function(){return b},createDynamicValidationState:function(){return E},createHangingInputAbortSignal:function(){return L},createRenderInBrowserAbortSignal:function(){return H},delayUntilRuntimeStage:function(){return er},formatDynamicAPIAccesses:function(){return U},getFirstDynamicReason:function(){return g},getStaticShellDisallowedDynamicReasons:function(){return et},isDynamicPostpone:function(){return x},isPrerenderInterruptedError:function(){return N},logDisallowedDynamicError:function(){return Z},markCurrentScopeAsDynamic:function(){return R},postponeWithTracking:function(){return w},throwIfDisallowedDynamic:function(){return ee},throwToInterruptStaticGeneration:function(){return O},trackAllowedDynamicAccess:function(){return z},trackDynamicDataInDynamicRender:function(){return v},trackDynamicHoleInRuntimeShell:function(){return K},trackDynamicHoleInStaticShell:function(){return V},useDynamicRouteParams:function(){return X},useDynamicSearchParams:function(){return B}};for(var u in a)Object.defineProperty(r,u,{enumerable:!0,get:a[u]});let i=(n=e.r(59760))&&n.__esModule?n:{default:n},c=e.r(63256),s=e.r(43146),l=e.r(1038),d=e.r(72010),f=e.r(56868),p=e.r(35825),y=e.r(97242),_=e.r(56661),m=e.r(15121),h="function"==typeof i.default.unstable_postpone;function b(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function E(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function g(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function R(e,t,r){if(t)switch(t.type){case"cache":case"unstable-cache":case"private-cache":return}if(!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(t)switch(t.type){case"prerender-ppr":return w(e.route,r,t.dynamicTracking);case"prerender-legacy":t.revalidate=0;let n=Object.defineProperty(new c.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}function O(e,t,r){let n=Object.defineProperty(new c.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function v(e){switch(e.type){case"cache":case"unstable-cache":case"private-cache":return}}function P(e,t,r){let n=C(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let o=r.dynamicTracking;o&&o.dynamicAccesses.push({stack:o.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function j(e,t,r,n){let o=n.dynamicTracking;P(e,t,n),o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicErrorWithStack=r)}function S(e,t,r,n){if(!1===n.controller.signal.aborted){P(e,t,n);let o=n.dynamicTracking;o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicErrorWithStack=r)}throw C(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}function T({reason:e,route:t}){let r=l.workUnitAsyncStorage.getStore();w(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function w(e,t,r){(function(){if(!h)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),i.default.unstable_postpone(D(e,t))}function D(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function x(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&A(e.message)}function A(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===A(D("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let M="NEXT_PRERENDER_INTERRUPTED";function C(e){let t=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.digest=M,t}function N(e){return"object"==typeof e&&null!==e&&e.digest===M&&"name"in e&&"message"in e&&e instanceof Error}function k(e){return e.length>0}function I(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function U(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: -${t}`))}function H(){let e=new AbortController;return e.abort(Object.defineProperty(new _.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),e.signal}function L(e){switch(e.type){case"prerender":case"prerender-runtime":let t=new AbortController;if(e.cacheSignal)e.cacheSignal.inputReady().then(()=>{t.abort()});else{let r=(0,l.getRuntimeStagePromise)(e);r?r.then(()=>(0,y.scheduleOnNextTick)(()=>t.abort())):(0,y.scheduleOnNextTick)(()=>t.abort())}return t.signal;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return}}function $(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function X(e){let t=d.workAsyncStorage.getStore(),r=l.workUnitAsyncStorage.getStore();if(t&&r)switch(r.type){case"prerender-client":case"prerender":{let n=r.fallbackRouteParams;n&&n.size>0&&i.default.use((0,f.makeHangingPromise)(r.renderSignal,t.route,e));break}case"prerender-ppr":{let n=r.fallbackRouteParams;if(n&&n.size>0)return w(t.route,e,r.dynamicTracking);break}case"prerender-runtime":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called during a runtime prerender. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0})}}function B(e){let t=d.workAsyncStorage.getStore(),r=l.workUnitAsyncStorage.getStore();if(t)switch(!r&&(0,l.throwForMissingRequestStore)(e),r.type){case"prerender-client":i.default.use((0,f.makeHangingPromise)(r.renderSignal,t.route,e));break;case"prerender-legacy":case"prerender-ppr":if(t.forceStatic)return;throw Object.defineProperty(new _.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called from a Server Component. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new m.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"request":return}}let F=/\n\s+at Suspense \(\)/,W=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${p.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),G=RegExp(`\\n\\s+at ${p.METADATA_BOUNDARY_NAME}[\\n\\s]`),q=RegExp(`\\n\\s+at ${p.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),Y=RegExp(`\\n\\s+at ${p.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function z(e,t,r,n){if(!Y.test(t)){if(G.test(t)){r.hasDynamicMetadata=!0;return}if(q.test(t)){r.hasDynamicViewport=!0;return}if(W.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(F.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let o=Q(`Route "${e.route}": Uncached data was accessed outside of . This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,t);return void r.dynamicErrors.push(o)}}}function K(e,t,r,n){if(!Y.test(t)){if(G.test(t)){r.dynamicMetadata=Q(`Route "${e.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,t);return}if(q.test(t)){let n=Q(`Route "${e.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,t);r.dynamicErrors.push(n);return}if(W.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(F.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let o=Q(`Route "${e.route}": Uncached data or \`connection()\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,t);return void r.dynamicErrors.push(o)}}}function V(e,t,r,n){if(!Y.test(t)){if(G.test(t)){r.dynamicMetadata=Q(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`,t);return}if(q.test(t)){let n=Q(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`,t);r.dynamicErrors.push(n);return}if(W.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(F.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let o=Q(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`,t);return void r.dynamicErrors.push(o)}}}function Q(e,t){let r=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r.stack=r.name+": "+e+t,r}var J=((o={})[o.Full=0]="Full",o[o.Empty=1]="Empty",o[o.Errored=2]="Errored",o);function Z(e,t){console.error(t),e.dev||(e.hasReadableErrorStacks?console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${e.route}" in your browser to investigate the error.`):console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${e.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`))}function ee(e,t,r,n){if(n.syncDynamicErrorWithStack)throw Z(e,n.syncDynamicErrorWithStack),new s.StaticGenBailoutError;if(0!==t){if(r.hasSuspenseAboveBody)return;let n=r.dynamicErrors;if(n.length>0){for(let t=0;t0)return n;if(1===t)return[Object.defineProperty(new m.InvariantError(`Route "${e.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===r.hasAllowedDynamic&&0===r.dynamicErrors.length&&r.dynamicMetadata)return[r.dynamicMetadata];return[]}function er(e,t){return e.runtimeStagePromise?e.runtimeStagePromise.then(()=>t):t}},47533,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,u.isNextRouterError)(t)||(0,a.isBailoutToCSRError)(t)||(0,c.isDynamicServerError)(t)||(0,i.isDynamicPostpone)(t)||(0,o.isPostpone)(t)||(0,n.isHangingPromiseRejectionError)(t)||(0,i.isPrerenderInterruptedError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(56868),o=e.r(92136),a=e.r(56661),u=e.r(69661),i=e.r(49330),c=e.r(63256);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},74434,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return a.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},forbidden:function(){return s.forbidden},notFound:function(){return c.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},unauthorized:function(){return l.unauthorized},unstable_isUnrecognizedActionError:function(){return f},unstable_rethrow:function(){return d.unstable_rethrow}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(29063),u=e.r(38405),i=e.r(24664),c=e.r(51761),s=e.r(94139),l=e.r(87374),d=e.r(74434);function f(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},96479,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return d.RedirectType},ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext},forbidden:function(){return d.forbidden},notFound:function(){return d.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return d.unauthorized},unstable_isUnrecognizedActionError:function(){return l.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return d.unstable_rethrow},useParams:function(){return h},usePathname:function(){return _},useRouter:function(){return m},useSearchParams:function(){return y},useSelectedLayoutSegment:function(){return E},useSelectedLayoutSegments:function(){return b},useServerInsertedHTML:function(){return s.useServerInsertedHTML}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(28582)._(e.r(59760)),u=e.r(97798),i=e.r(68266),c=e.r(63393),s=e.r(5808),l=e.r(86646),d=e.r(11333),f="u"e?new i.ReadonlyURLSearchParams(e):null,[e])}function _(){return f?.("usePathname()"),(0,a.useContext)(i.PathnameContext)}function m(){let e=(0,a.useContext)(u.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function h(){return f?.("useParams()"),(0,a.useContext)(i.PathParamsContext)}function b(e="children"){f?.("useSelectedLayoutSegments()");let t=(0,a.useContext)(u.LayoutRouterContext);return t?(0,c.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function E(e="children"){f?.("useSelectedLayoutSegment()"),(0,a.useContext)(i.NavigationPromisesContext);let t=b(e);return(0,c.computeSelectedLayoutSegment)(t,e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]); \ No newline at end of file diff --git a/.next/static/chunks/2f95708884cc928a.js b/.next/static/chunks/2f95708884cc928a.js deleted file mode 100644 index aebb227..0000000 --- a/.next/static/chunks/2f95708884cc928a.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90591,(e,t,r)=>{var n={229:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var c=[],l=!1,a=-1;function f(){l&&n&&(l=!1,n.length?c=n.concat(c):a=-1,c.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(n=c,c=[];++a1)for(var r=1;r{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(90591)},49477,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in r={},t)"key"!==u&&(r[u]=t[u]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},30064,(e,t,r)=>{"use strict";t.exports=e.r(49477)},21536,(e,t,r)=>{"use strict";var n=e.i(58865),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),a=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),v=Symbol.for("react.view_transition"),m=Symbol.iterator,b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,g={};function S(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}function j(){}function w(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||b}S.prototype.isReactComponent={},S.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},j.prototype=S.prototype;var E=w.prototype=new j;E.constructor=w,_(E,S.prototype),E.isPureReactComponent=!0;var x=Array.isArray;function T(){}var O={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function R(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var H=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function P(e,t,r){if(null==e)return e;var n=[],i=0;return!function e(t,r,n,i,s){var c,l,a,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var p=!1;if(null===t)p=!0;else switch(f){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case o:case u:p=!0;break;case y:return e((p=t._init)(t._payload),r,n,i,s)}}if(p)return s=s(t),p=""===i?"."+C(t,0):i,x(s)?(n="",null!=p&&(n=p.replace(H,"$&/")+"/"),e(s,r,n,"",function(e){return e})):null!=s&&(A(s)&&(c=s,l=n+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(H,"$&/")+"/")+p,s=R(c.type,l,c.props)),r.push(s)),1;p=0;var d=""===i?".":i+":";if(x(t))for(var h=0;h{"use strict";t.exports=e.r(21536)},72074,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return c},createSnapshot:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class i{disable(){throw u}getStore(){}run(){throw u}exit(){throw u}enterWith(){throw u}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function c(){return s?new s:new i}function l(e){return s?s.bind(e):i.bind(e)}function a(){return s?s.snapshot():function(e,...t){return e(...t)}}},70582,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(72074).createAsyncLocalStorage)()},72010,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=e.r(70582)},70825,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HandleISRError",{enumerable:!0,get:function(){return o}});let n="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(30064),o=e.r(70825),u={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},i={fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"},s=function({error:e}){let t=e?.digest;return(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{}),(0,n.jsxs)("body",{children:[(0,n.jsx)(o.HandleISRError,{error:e}),(0,n.jsx)("div",{style:u,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("h2",{style:i,children:["Application error: a ",t?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",t?"server logs":"browser console"," for more information)."]}),t?(0,n.jsx)("p",{style:i,children:`Digest: ${t}`}):null]})})]})]})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]); \ No newline at end of file diff --git a/.next/static/chunks/2fccc3238b861960.js b/.next/static/chunks/2fccc3238b861960.js deleted file mode 100644 index 73df3cf..0000000 --- a/.next/static/chunks/2fccc3238b861960.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54956,e=>{"use strict";let t=(0,e.i(78445).default)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Target",()=>t],54956)},62200,e=>{"use strict";let t=(0,e.i(78445).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Clock",()=>t],62200)},82546,e=>{"use strict";let t=(0,e.i(78445).default)("feather",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);e.s(["Feather",()=>t],82546)},78424,e=>{"use strict";var t=e.i(30064),s=e.i(59760),r=e.i(71143),l=e.i(46553),o=e.i(43331),n=e.i(82546),i=e.i(78445);let a=(0,i.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);var d=e.i(62200),c=e.i(54956);let u=(0,i.default)("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]),m={genre:"",subGenre:"",targetAudience:"",tone:"",pov:"",tense:"",synopsis:"",themes:""},x=({project:e,onUpdate:i,onDeleteProject:x})=>{let[b,h]=(0,s.useState)(e.settings||m),[g,p]=(0,s.useState)(!1);(0,s.useEffect)(()=>{e.settings&&h(e.settings)},[e.settings]);let f=(t,s)=>{let r={...b,[t]:s};h(r),i({...e,settings:r})};return(0,t.jsx)("div",{className:"h-full bg-theme-bg p-8 overflow-y-auto transition-colors duration-300",children:(0,t.jsxs)("div",{className:"max-w-4xl mx-auto bg-theme-panel rounded-xl shadow-lg border border-theme-border overflow-hidden transition-colors duration-300",children:[(0,t.jsxs)("div",{className:"bg-slate-900 text-white p-6 border-b border-slate-800 flex items-center gap-4",children:[(0,t.jsx)("div",{className:"bg-blue-600 p-3 rounded-lg",children:(0,t.jsx)(l.Settings,{size:24})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-2xl font-bold",children:"Paramètres Généraux du Roman"}),(0,t.jsx)("p",{className:"text-slate-400 text-sm",children:"Définissez l'identité, le ton et les règles de votre œuvre pour guider l'IA."})]})]}),(0,t.jsxs)("div",{className:"p-8 space-y-8",children:[(0,t.jsxs)("section",{className:"space-y-4",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,t.jsx)(o.Book,{size:18,className:"text-blue-600"})," Informations de Base"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Titre du Roman"}),(0,t.jsx)("input",{type:"text",value:e.title,onChange:t=>i({...e,title:t.target.value}),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-serif font-bold text-lg transition-colors duration-300"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Nom d'Auteur"}),(0,t.jsx)("input",{type:"text",value:e.author,onChange:t=>i({...e,author:t.target.value}),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Synopsis Global"}),(0,t.jsx)("textarea",{value:b.synopsis,onChange:e=>f("synopsis",e.target.value),className:"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none h-24 text-sm transition-colors duration-300",placeholder:"De quoi parle votre histoire dans les grandes lignes ?"})]})]}),(0,t.jsxs)("section",{className:"space-y-4",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,t.jsx)(c.Target,{size:18,className:"text-red-500"})," Genre & Public"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Genre Principal"}),(0,t.jsx)("input",{type:"text",list:"genre-suggestions",value:b.genre,onChange:e=>f("genre",e.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Fantasy"}),(0,t.jsx)("datalist",{id:"genre-suggestions",children:r.GENRES.map(e=>(0,t.jsx)("option",{value:e},e))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Sous-Genre"}),(0,t.jsx)("input",{type:"text",value:b.subGenre||"",onChange:e=>f("subGenre",e.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Dark Fantasy"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Public Cible"}),(0,t.jsx)("input",{type:"text",value:b.targetAudience,onChange:e=>f("targetAudience",e.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Jeune Adulte, Adulte..."})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Thèmes Clés"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(u,{size:14,className:"absolute left-3 top-3 text-theme-muted"}),(0,t.jsx)("input",{type:"text",value:b.themes,onChange:e=>f("themes",e.target.value),className:"w-full pl-9 p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Vengeance, Rédemption, Voyage initiatique..."})]})]})]}),(0,t.jsxs)("section",{className:"space-y-4",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-theme-text flex items-center gap-2 border-b border-theme-border pb-2",children:[(0,t.jsx)(n.Feather,{size:18,className:"text-purple-600"})," Narration & Style"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-semibold text-theme-muted mb-1 flex items-center gap-1",children:[(0,t.jsx)(a,{size:14})," Point de Vue (POV)"]}),(0,t.jsxs)("select",{value:b.pov,onChange:e=>f("pov",e.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",children:[(0,t.jsx)("option",{value:"",children:"Sélectionner..."}),r.POV_OPTIONS.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-semibold text-theme-muted mb-1 flex items-center gap-1",children:[(0,t.jsx)(d.Clock,{size:14})," Temps du récit"]}),(0,t.jsxs)("select",{value:b.tense,onChange:e=>f("tense",e.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",children:[(0,t.jsx)("option",{value:"",children:"Sélectionner..."}),r.TENSE_OPTIONS.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Ton Général"}),(0,t.jsx)("input",{type:"text",list:"tone-suggestions",value:b.tone,onChange:e=>f("tone",e.target.value),className:"w-full p-2.5 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none transition-colors duration-300",placeholder:"Ex: Sombre, Ironique..."}),(0,t.jsx)("datalist",{id:"tone-suggestions",children:r.TONES.map(e=>(0,t.jsx)("option",{value:e},e))})]})]}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{className:"block text-sm font-semibold text-theme-muted mb-1",children:"Guide de Style & Instructions IA (Prompt Système)"}),(0,t.jsx)("p",{className:"text-xs text-theme-muted mb-2",children:'Ces instructions seront envoyées à l\'IA à chaque génération. Décrivez ici le style d\'écriture désiré (ex: "phrases courtes", "vocabulaire soutenu", "beaucoup de métaphores").'}),(0,t.jsx)("textarea",{value:e.styleGuide||"",onChange:t=>{var s;return s=t.target.value,void i({...e,styleGuide:s})},className:"w-full p-3 bg-theme-bg text-theme-text border border-theme-border rounded-lg focus:ring-2 focus:ring-indigo-500 outline-none h-32 text-sm font-mono transition-colors duration-300",placeholder:"Ex: Utilise un style descriptif et sensoriel. Évite les adverbes. Le narrateur est cynique."})]})]}),(0,t.jsxs)("section",{className:"space-y-4 pt-8 border-t border-red-200",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-red-600 flex items-center gap-2 pb-2",children:[(0,t.jsx)("span",{className:"bg-red-100 p-1 rounded",children:"⚠️"})," Zone de Danger"]}),(0,t.jsxs)("div",{className:"bg-red-50 border border-red-200 rounded-lg p-6",children:[(0,t.jsx)("h4",{className:"font-bold text-red-900 mb-2",children:"Supprimer le projet"}),(0,t.jsx)("p",{className:"text-sm text-red-700 mb-4",children:"Cette action est irréversible. Toutes les données associées à ce projet (chapitres, entités, idées) seront définitivement effacées."}),g?(0,t.jsxs)("div",{className:"flex items-center gap-4 bg-theme-panel p-4 rounded border border-red-200",children:[(0,t.jsx)("span",{className:"text-sm font-bold text-theme-text",children:"Êtes-vous sûr ?"}),(0,t.jsx)("button",{onClick:x,className:"px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 text-sm font-bold opacity-90 transition-opacity",children:"Oui, supprimer définitivement"}),(0,t.jsx)("button",{onClick:()=>p(!1),className:"px-4 py-2 bg-theme-bg text-theme-text border border-theme-border rounded hover:opacity-80 text-sm transition-opacity",children:"Annuler"})]}):(0,t.jsx)("button",{onClick:()=>p(!0),className:"px-4 py-2 bg-theme-panel border border-red-300 text-red-600 rounded hover:bg-red-50 text-sm font-bold transition-colors duration-300",children:"Supprimer ce projet"})]})]})]})]})})};var b=e.i(24224),h=e.i(12856);function g(){let{project:e,updateProject:s,deleteProject:r}=(0,b.useProjectContext)(),l=(0,h.useRouter)();return(0,t.jsx)(x,{project:e,onUpdate:e=>s(e),onDeleteProject:async()=>{await r(),l.push("/dashboard")}})}e.s(["default",()=>g],78424)}]); \ No newline at end of file diff --git a/.next/static/chunks/303f525330a930e3.js b/.next/static/chunks/303f525330a930e3.js deleted file mode 100644 index 2bf23a2..0000000 --- a/.next/static/chunks/303f525330a930e3.js +++ /dev/null @@ -1,39 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34779,e=>{"use strict";var s=e.i(30064),t=e.i(59760),l=e.i(12856),a=e.i(18404),r=e.i(24224),i=e.i(8011),n=e.i(4301),d=e.i(46202),o=e.i(78445);let c=(0,o.default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var x=e.i(74080),h=e.i(62746);let m=(0,o.default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]),u=(0,o.default)("brain-circuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);var p=e.i(30914);let b=({chatHistory:e,onSendMessage:l,onInsertText:a,selectedText:r,isGenerating:i,usage:n})=>{let[o,b]=(0,t.useState)(""),g=(0,t.useRef)(null);(0,t.useEffect)(()=>{g.current?.scrollIntoView({behavior:"smooth"})},[e,i]);let j=!!n&&n.aiActionsCurrent>=n.aiActionsLimit;return(0,s.jsxs)("div",{className:"flex flex-col h-full bg-theme-panel border-l border-theme-border shadow-xl w-80 lg:w-96 transition-colors duration-300",children:[(0,s.jsxs)("div",{className:"p-4 bg-indigo-600 text-white flex items-center justify-between shadow-md",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(d.Sparkles,{size:20,className:"animate-pulse"}),(0,s.jsx)("h3",{className:"font-bold tracking-tight",children:"Assistant IA"})]}),n&&(0,s.jsxs)("div",{className:"bg-indigo-900/50 px-2 py-1 rounded text-[10px] font-black flex items-center gap-1",children:[(0,s.jsx)(p.Zap,{size:10,fill:"currentColor"})," ",n.aiActionsCurrent," / ",999999===n.aiActionsLimit?"∞":n.aiActionsLimit]})]}),r&&(0,s.jsxs)("div",{className:"bg-indigo-50 p-3 border-b border-indigo-100 text-xs text-indigo-800",children:[(0,s.jsxs)("div",{className:"font-bold flex items-center gap-1 mb-1",children:[(0,s.jsx)(h.BookOpen,{size:12})," Contexte :"]}),(0,s.jsxs)("div",{className:"italic truncate opacity-80",children:['"',r.substring(0,60),'..."']})]}),(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto p-4 space-y-4 bg-theme-bg transition-colors duration-300",children:[0===e.length&&(0,s.jsxs)("div",{className:"text-center text-theme-muted mt-10",children:[(0,s.jsx)(m,{size:48,className:"mx-auto mb-2 opacity-50"}),(0,s.jsx)("p",{className:"text-sm",children:"Bonjour ! Comment puis-je vous aider aujourd'hui ?"}),j&&(0,s.jsx)("div",{className:"mt-4 p-4 bg-red-50 border border-red-100 rounded-xl text-red-600 text-xs font-bold uppercase animate-pulse",children:"Limite atteinte ! Améliorez votre plan."})]}),e.map(e=>(0,s.jsx)("div",{className:`flex flex-col ${"user"===e.role?"items-end":"items-start"}`,children:(0,s.jsxs)("div",{className:`max-w-[85%] rounded-2xl p-4 text-sm shadow-sm transition-colors duration-300 ${"user"===e.role?"bg-indigo-600 text-white rounded-br-none":"bg-theme-panel text-theme-text border border-theme-border rounded-bl-none"}`,children:["model"===e.role&&"reflection"===e.responseType&&(0,s.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] font-black text-amber-600 mb-1.5 uppercase tracking-wide",children:[(0,s.jsx)(u,{size:12})," Réflexion"]}),(0,s.jsx)("div",{className:"whitespace-pre-wrap leading-relaxed",children:e.text})]})},e.id)),i&&(0,s.jsx)("div",{className:"flex justify-start",children:(0,s.jsxs)("div",{className:"bg-theme-panel p-3 rounded-2xl rounded-bl-none shadow-sm border border-theme-border flex items-center gap-2 text-xs text-theme-muted transition-colors duration-300",children:[(0,s.jsx)(x.RefreshCw,{size:14,className:"animate-spin"})," L'IA travaille..."]})}),(0,s.jsx)("div",{ref:g})]}),(0,s.jsx)("div",{className:"p-4 bg-theme-panel border-t border-theme-border transition-colors duration-300",children:(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),o.trim()&&!i&&(l(o),b(""))},className:"relative",children:[(0,s.jsx)("input",{type:"text",value:o,onChange:e=>b(e.target.value),placeholder:j?"Limite atteinte...":"Votre message...",className:"w-full pl-4 pr-12 py-3 bg-theme-bg text-theme-text border border-theme-border rounded-2xl text-sm focus:outline-none focus:border-indigo-500 transition-all disabled:opacity-50",disabled:i||j}),(0,s.jsx)("button",{type:"submit",disabled:!o.trim()||i||j,className:"absolute right-1.5 top-1.5 p-2 bg-indigo-600 text-white rounded-xl hover:bg-indigo-700 disabled:opacity-50 transition-colors shadow-md",children:(0,s.jsx)(c,{size:18})})]})})]})};var g=e.i(43331);let j=(0,o.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);var f=e.i(12155),v=e.i(12100),y=e.i(36268),N=e.i(46553);let w=(0,o.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var k=e.i(30103);let C=(0,o.default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),z=(0,o.default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),M=(0,o.default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var A=e.i(86180);let $=(0,o.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);var P=e.i(50147),S=e.i(22508),I=e.i(4917);let L=e=>{let{project:l,user:a,viewMode:r,currentChapterId:i,children:n}=e,[d,o]=(0,t.useState)(!0),[c,x]=(0,t.useState)(!0),h=l.chapters.find(e=>e.id===i);return(0,s.jsxs)("div",{className:"flex h-screen overflow-hidden no-print bg-theme-bg text-theme-text transition-colors duration-300",children:[(0,s.jsxs)("aside",{className:`${d?"w-64":"w-0"} bg-slate-900 text-slate-300 flex-shrink-0 transition-all duration-300 overflow-hidden flex flex-col border-r border-slate-800`,children:[(0,s.jsxs)("div",{className:"p-4 border-b border-slate-700",children:[(0,s.jsxs)("h1",{className:"text-white font-bold flex items-center gap-2 mb-4 cursor-pointer",onClick:()=>e.onViewModeChange("dashboard"),children:[(0,s.jsx)(g.Book,{className:"text-blue-400"})," PlumeIA"]}),(0,s.jsx)("input",{type:"text",value:l.title,onChange:s=>e.onUpdateProject({title:s.target.value}),className:"w-full bg-transparent font-serif font-bold text-white text-lg mb-1 focus:outline-none focus:border-b focus:border-blue-500 truncate",placeholder:"Titre du livre"}),(0,s.jsxs)("button",{onClick:()=>e.onViewModeChange("dashboard"),className:"w-full flex items-center gap-2 text-xs hover:bg-slate-800 p-2 rounded transition-colors text-slate-400",children:[(0,s.jsx)($,{size:14})," Retour au Dashboard"]})]}),(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto py-2",children:[(0,s.jsxs)("div",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase flex justify-between items-center",children:["Chapitres ",(0,s.jsx)("button",{onClick:e.onAddChapter,className:"hover:text-blue-400",children:(0,s.jsx)(S.Plus,{size:14})})]}),l.chapters.map((t,l)=>(0,s.jsxs)("div",{className:"group relative",children:[(0,s.jsxs)("button",{onClick:()=>e.onChapterSelect(t.id),className:`w-full text-left px-4 py-2 text-sm truncate transition-colors ${i===t.id&&"write"===r?"bg-blue-900 text-white border-r-2 border-blue-400":"hover:bg-slate-800"}`,children:[l+1,". ",t.title]}),(0,s.jsx)("button",{onClick:()=>e.onDeleteChapter(t.id),className:"absolute right-2 top-2 text-slate-600 hover:text-red-400 opacity-0 group-hover:opacity-100",children:(0,s.jsx)(I.Trash2,{size:14})})]},t.id)),(0,s.jsx)("div",{className:"mt-6 px-4 py-2 text-xs font-semibold text-slate-500 uppercase",children:"Outils & Bible"}),(0,s.jsxs)("button",{onClick:()=>e.onViewModeChange("write"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"write"===r?"bg-blue-900 text-white":"hover:bg-slate-800"}`,children:[(0,s.jsx)(j,{size:16})," Retour à la rédaction"]}),(0,s.jsxs)("button",{onClick:()=>e.onViewModeChange("world_building"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"world_building"===r?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,s.jsx)(f.Globe,{size:16})," Bible du Monde"]}),(0,s.jsxs)("button",{onClick:()=>e.onViewModeChange("workflow"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"workflow"===r?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,s.jsx)(v.GitGraph,{size:16})," Workflow"]}),(0,s.jsxs)("button",{onClick:()=>e.onViewModeChange("ideas"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"ideas"===r?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,s.jsx)(y.Lightbulb,{size:16})," Boîte à Idées"]}),(0,s.jsxs)("button",{onClick:()=>e.onViewModeChange("settings"),className:`w-full text-left px-4 py-2 text-sm flex items-center gap-2 ${"settings"===r?"bg-indigo-900 text-white":"hover:bg-slate-800"}`,children:[(0,s.jsx)(N.Settings,{size:16})," Paramètres"]})]}),(0,s.jsxs)("div",{className:"p-4 border-t border-slate-800",children:[(0,s.jsxs)("div",{className:"bg-slate-800 rounded-lg p-3 mb-4",children:[(0,s.jsxs)("div",{className:"flex justify-between text-[10px] text-slate-400 uppercase font-bold mb-1",children:[(0,s.jsx)("span",{children:"Actions IA"}),(0,s.jsxs)("span",{children:[a.usage.aiActionsCurrent," / ",999999===a.usage.aiActionsLimit?"∞":a.usage.aiActionsLimit]})]}),(0,s.jsx)("div",{className:"h-1.5 w-full bg-slate-700 rounded-full overflow-hidden",children:(0,s.jsx)("div",{className:"h-full bg-blue-500",style:{width:`${Math.min(100,a.usage.aiActionsCurrent/a.usage.aiActionsLimit*100)}%`}})})]}),(0,s.jsxs)("button",{onClick:()=>e.onViewModeChange("profile"),className:"w-full flex items-center gap-2 px-3 py-2 text-xs text-slate-400 hover:bg-slate-800 rounded mb-2",children:[(0,s.jsx)(P.User,{size:14})," Mon Compte"]}),(0,s.jsxs)("button",{onClick:e.onLogout,className:"w-full flex items-center gap-2 px-3 py-2 text-xs text-red-400 hover:bg-red-900/20 rounded",children:[(0,s.jsx)(A.LogOut,{size:14})," Déconnexion"]})]})]}),(0,s.jsxs)("div",{className:"flex-1 flex flex-col h-full overflow-hidden",children:[(0,s.jsxs)("header",{className:"h-14 bg-theme-panel border-b border-theme-border flex items-center justify-between px-4 shadow-sm z-10 text-theme-text transition-colors duration-300",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("button",{onClick:()=>o(!d),className:"text-theme-muted hover:text-theme-text",children:(0,s.jsx)(w,{size:20})}),"write"===r?(0,s.jsx)("input",{type:"text",value:h?.title||"",onChange:s=>e.onUpdateProject({chapters:l.chapters.map(e=>e.id===i?{...e,title:s.target.value}:e)}),className:"font-serif font-bold text-lg bg-transparent border-b border-transparent focus:border-blue-500 focus:outline-none"}):(0,s.jsx)("span",{className:"font-bold uppercase tracking-widest text-xs",children:r})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsxs)("button",{onClick:e.onOpenExport,className:"bg-blue-600 text-white px-4 py-1.5 rounded-lg text-sm font-medium hover:bg-blue-700 flex items-center gap-2",children:[(0,s.jsx)(z,{size:16})," Publier"]}),(0,s.jsx)("button",{onClick:e.onOpenHelp,className:"p-2 text-slate-400 hover:text-blue-600 rounded-full",children:(0,s.jsx)(M,{size:20})}),(0,s.jsx)("button",{onClick:()=>x(!c),className:`p-2 rounded-full ${c?"bg-indigo-100 text-indigo-600":"text-slate-500 hover:bg-slate-100"}`,children:c?(0,s.jsx)(k.ChevronRight,{size:20}):(0,s.jsx)(C,{size:20})})]})]}),(0,s.jsx)("main",{className:"flex-1 overflow-hidden relative",children:n})]}),(0,s.jsx)("div",{className:`${c?"w-80 lg:w-96":"w-0"} transition-all duration-300 flex-shrink-0 h-full border-l border-theme-border relative bg-theme-panel`,children:c&&(0,s.jsx)(b,{chatHistory:e.chatHistory,onSendMessage:e.onSendMessage,onInsertText:e.onInsertText,selectedText:"",isGenerating:e.isGenerating,usage:a.usage})})]})},T=(0,o.default)("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);var E=e.i(59111);let B=(0,o.default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),V=(0,o.default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]),R=({isOpen:e,onClose:l,project:a,onPrint:r})=>{let[i,n]=(0,t.useState)("pdf"),[d,o]=(0,t.useState)("A4"),[c,x]=(0,t.useState)(!0),[h,m]=(0,t.useState)(!0);if(!e)return null;let u=()=>{let e=` - - - - - ${a.title} - - - - `;return c&&(e+=` -
-

${a.title}

-

${a.author}

-
- `),h&&(e+=`

Table des Mati\xe8res

    `,a.chapters.forEach((s,t)=>{e+=`
  • ${s.title}
  • `}),e+="
"),a.chapters.forEach((s,t)=>{e+=` -
-

${s.title}

- ${s.content} -
- `}),e+=""},p=(e,s)=>{let t=URL.createObjectURL(e),a=document.createElement("a");a.href=t,a.download=s,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(t),l()};return(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200 no-print",children:(0,s.jsxs)("div",{className:"bg-white rounded-xl shadow-2xl w-[600px] overflow-hidden flex flex-col max-h-[90vh]",children:[(0,s.jsxs)("div",{className:"bg-slate-900 text-white p-6 flex justify-between items-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("h2",{className:"text-xl font-bold flex items-center gap-2",children:[(0,s.jsx)(B,{size:24})," Exporter le livre"]}),(0,s.jsx)("p",{className:"text-slate-400 text-sm mt-1",children:a.title})]}),(0,s.jsx)("button",{onClick:l,className:"text-slate-400 hover:text-white transition-colors",children:(0,s.jsx)(E.X,{size:24})})]}),(0,s.jsxs)("div",{className:"p-6 overflow-y-auto flex-1",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[(0,s.jsxs)("button",{onClick:()=>n("pdf"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"pdf"===i?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,s.jsx)(T,{size:32}),(0,s.jsx)("div",{className:"font-semibold",children:"PDF (Impression)"})]}),(0,s.jsxs)("button",{onClick:()=>n("word"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"word"===i?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,s.jsx)(j,{size:32}),(0,s.jsx)("div",{className:"font-semibold",children:"Microsoft Word"})]}),(0,s.jsxs)("button",{onClick:()=>n("epub"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"epub"===i?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,s.jsx)(g.Book,{size:32}),(0,s.jsx)("div",{className:"font-semibold",children:"EPUB / Ebook"})]}),(0,s.jsxs)("button",{onClick:()=>n("markdown"),className:`p-4 rounded-lg border-2 flex flex-col items-center gap-3 transition-all ${"markdown"===i?"border-blue-600 bg-blue-50 text-blue-800":"border-slate-200 hover:border-slate-300 text-slate-600"}`,children:[(0,s.jsx)(V,{size:32}),(0,s.jsx)("div",{className:"font-semibold",children:"Markdown"})]})]}),(0,s.jsxs)("div",{className:"bg-slate-50 rounded-lg p-5 border border-slate-200",children:[(0,s.jsxs)("h3",{className:"text-sm font-bold text-slate-500 uppercase tracking-wider mb-4",children:["Paramètres d'exportation (",i.toUpperCase(),")"]}),(0,s.jsxs)("div",{className:"space-y-4",children:["pdf"===i&&(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("label",{className:"text-slate-700 font-medium",children:"Format du papier"}),(0,s.jsx)("span",{className:"text-xs text-slate-400",children:"Géré par l'imprimante (A4, A5...)"})]}),(0,s.jsx)("div",{className:"bg-slate-200 px-3 py-1 rounded text-xs font-mono text-slate-600",children:"Auto"})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("label",{className:"text-slate-700 font-medium cursor-pointer",htmlFor:"cover",children:"Inclure la page de titre"}),(0,s.jsx)("input",{id:"cover",type:"checkbox",checked:c,onChange:e=>x(e.target.checked),className:"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500"})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("label",{className:"text-slate-700 font-medium cursor-pointer",htmlFor:"toc",children:"Générer la table des matières"}),(0,s.jsx)("input",{id:"toc",type:"checkbox",checked:h,onChange:e=>m(e.target.checked),className:"w-5 h-5 rounded border-slate-300 text-blue-600 focus:ring-blue-500"})]}),"epub"===i&&(0,s.jsx)("p",{className:"text-xs text-amber-600 bg-amber-50 p-2 rounded mt-2",children:"Note: L'export EPUB génère un fichier XHTML optimisé prêt à être converti par Calibre ou Kindle Previewer."})]})]})]}),(0,s.jsxs)("div",{className:"p-4 border-t border-slate-200 bg-slate-50 flex justify-end gap-3",children:[(0,s.jsx)("button",{onClick:l,className:"px-5 py-2 text-slate-600 hover:bg-slate-200 rounded-lg font-medium transition-colors",children:"Annuler"}),(0,s.jsxs)("button",{onClick:()=>{let e=a.title.replace(/[^a-z0-9]/gi,"_").toLowerCase();if("pdf"===i){let e=u(),s=window.open("","_blank");s&&(s.document.write(e),s.document.close(),s.focus(),setTimeout(()=>{s.print()},300)),l()}else if("word"===i)p(new Blob(["\uFEFF",u()],{type:"application/msword"}),`${e}.doc`);else if("epub"===i)p(new Blob([u()],{type:"application/xhtml+xml"}),`${e}.xhtml`);else if("markdown"===i){let s=`# ${a.title} -By ${a.author} - -`;a.chapters.forEach(e=>{let t=e.content.replace(/<[^>]+>/g,"\n");s+=`## ${e.title} - -${t} - ---- - -`}),p(new Blob([s],{type:"text/markdown"}),`${e}.md`)}},className:"px-6 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg font-medium shadow-md transition-all flex items-center gap-2",children:["pdf"===i?(0,s.jsx)(T,{size:18}):(0,s.jsx)(B,{size:18}),"pdf"===i?"Imprimer / Enregistrer PDF":`T\xe9l\xe9charger .${"word"===i?"doc":"epub"===i?"xhtml":"md"}`]})]})]})})},D=(0,o.default)("keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);var U=e.i(97794),q=e.i(15536);let O=(0,o.default)("command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);var G=e.i(98867);let H=({children:e})=>(0,s.jsx)("kbd",{className:"px-2 py-1 text-xs font-semibold text-slate-800 bg-slate-100 border border-slate-300 rounded-md shadow-[0px_2px_0px_0px_rgba(203,213,225,1)] mx-1 font-mono",children:e}),_=({isOpen:e,onClose:t,viewMode:l})=>e?(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm animate-in fade-in duration-200",children:(0,s.jsxs)("div",{className:"bg-white rounded-xl shadow-2xl w-[800px] max-h-[90vh] flex flex-col overflow-hidden",children:[(0,s.jsxs)("div",{className:"bg-slate-900 text-white p-6 flex justify-between items-center shrink-0",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("h2",{className:"text-xl font-bold flex items-center gap-2",children:[(0,s.jsx)(h.BookOpen,{size:24,className:"text-blue-400"})," Aide : ","workflow"===l?"Workflow & Dialogues":"world_building"===l?"Bible du Monde":"settings"===l?"Paramètres":"ideas"===l?"Boîte à Idées":"Éditeur & IA"]}),(0,s.jsx)("p",{className:"text-slate-400 text-sm mt-1",children:"Astuces pour l'écran actuel."})]}),(0,s.jsx)("button",{onClick:t,className:"text-slate-400 hover:text-white transition-colors p-2 hover:bg-slate-800 rounded-full",children:(0,s.jsx)(E.X,{size:24})})]}),(0,s.jsxs)("div",{className:"overflow-y-auto p-8",children:[(()=>{switch(l){case"ideas":return(0,s.jsxs)("section",{className:"mb-8",children:[(0,s.jsxs)("h3",{className:"text-lg font-bold text-yellow-600 flex items-center gap-2 border-b border-yellow-100 pb-2 mb-4",children:[(0,s.jsx)(y.Lightbulb,{size:20})," Boîte à Idées & Tâches"]}),(0,s.jsxs)("div",{className:"text-sm text-slate-600 space-y-4",children:[(0,s.jsx)("p",{children:"Un espace de type Kanban pour ne rien oublier. Utilisez-le pour noter des idées fugaces, planifier des recherches ou lister les scènes à écrire."}),(0,s.jsxs)("ul",{className:"space-y-3",children:[(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(U.MousePointerClick,{size:16,className:"mt-0.5 shrink-0"}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"font-semibold text-slate-800",children:"Glisser-Déposer :"})," Déplacez les cartes d'une colonne à l'autre (À faire → En cours → Validé) pour suivre votre progression."]})]}),(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(G.Layout,{size:16,className:"mt-0.5 shrink-0"}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"font-semibold text-slate-800",children:"Catégories :"})," Utilisez les catégories (Intrigue, Personnage, Recherche) pour filtrer visuellement vos tâches grâce aux codes couleurs."]})]})]})]})]});case"workflow":return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"mb-8",children:[(0,s.jsxs)("h3",{className:"text-lg font-bold text-indigo-700 flex items-center gap-2 border-b border-indigo-100 pb-2 mb-4",children:[(0,s.jsx)(v.GitGraph,{size:20})," Organisation Narrative"]}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-sm text-slate-600",children:(0,s.jsxs)("ul",{className:"space-y-3",children:[(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(U.MousePointerClick,{size:16,className:"mt-0.5 shrink-0"}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"font-semibold text-slate-800",children:"Sélection :"})," ",(0,s.jsx)(H,{children:"Ctrl"})," + Clic pour sélectionner plusieurs cartes. Glissez pour déplacer tout un groupe."]})]}),(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(O,{size:16,className:"mt-0.5 shrink-0"}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"font-semibold text-slate-800",children:"Copier / Coller :"})," ",(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"C"})," pour copier les nœuds sélectionnés, ",(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"V"})," pour coller."]})]}),(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(G.Layout,{size:16,className:"mt-0.5 shrink-0"}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"font-semibold text-slate-800",children:"Connexions :"})," Tirez depuis le cercle à droite d'une carte pour lier les événements."]})]})]})})]}),(0,s.jsxs)("section",{className:"bg-blue-50 p-6 rounded-xl border border-blue-100 mb-8",children:[(0,s.jsxs)("h3",{className:"text-lg font-bold text-blue-800 flex items-center gap-2 border-b border-blue-200 pb-2 mb-4",children:[(0,s.jsx)(q.MessageCircle,{size:20})," Mode Dialogue (Workflow)"]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-sm",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-semibold text-slate-800 mb-1",children:"Écriture Rapide"}),(0,s.jsxs)("p",{className:"text-slate-600 leading-relaxed mb-3",children:["Tapez un nom et ",(0,s.jsx)(H,{children:"Entrée"})," : le formatage ",(0,s.jsx)("code",{children:"Nom: "})," s'ajoute seul."]}),(0,s.jsxs)("p",{className:"text-slate-600 leading-relaxed",children:["Dans un dialogue, ",(0,s.jsx)(H,{children:"Entrée"})," change de ligne et ",(0,s.jsx)("strong",{children:"devine le prochain interlocuteur"})," automatiquement."]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-semibold text-slate-800 mb-1",children:"Rotation & Insertion"}),(0,s.jsxs)("p",{className:"text-slate-600 leading-relaxed mb-3",children:[(0,s.jsx)(H,{children:"Tab"})," permute instantanément entre les personnages présents dans la scène."]}),(0,s.jsxs)("p",{className:"text-slate-600 leading-relaxed",children:["Utilisez ",(0,s.jsx)(H,{children:"@"})," pour insérer un personnage, ",(0,s.jsx)(H,{children:"#"})," pour un lieu."]})]})]})]})]});case"world_building":return(0,s.jsxs)("section",{className:"mb-8",children:[(0,s.jsxs)("h3",{className:"text-lg font-bold text-green-700 flex items-center gap-2 border-b border-green-100 pb-2 mb-4",children:[(0,s.jsx)(f.Globe,{size:20})," Bible du Monde"]}),(0,s.jsxs)("div",{className:"text-sm text-slate-600 space-y-4",children:[(0,s.jsxs)("p",{children:["La bible du monde permet de centraliser toutes les informations sur vos personnages et lieux. Ces informations sont ",(0,s.jsx)("strong",{children:"lues par l'IA"})," pour assurer la cohérence de l'histoire."]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mt-4",children:[(0,s.jsxs)("div",{className:"bg-slate-50 p-4 rounded-lg",children:[(0,s.jsx)("h4",{className:"font-bold text-slate-800 mb-2",children:"Modèles Personnalisés"}),(0,s.jsx)("p",{children:'Cliquez sur le bouton "Modèles" pour ajouter des champs spécifiques (ex: "Type de Magie", "Allégeance") à tous vos personnages ou lieux.'})]}),(0,s.jsxs)("div",{className:"bg-slate-50 p-4 rounded-lg",children:[(0,s.jsx)("h4",{className:"font-bold text-slate-800 mb-2",children:"Contexte Automatique"}),(0,s.jsx)("p",{children:"Le champ \"Contexte Narratif\" se remplit automatiquement au fur et à mesure que vous écrivez votre histoire et que l'IA détecte l'évolution des personnages."})]})]})]})]});case"settings":return(0,s.jsxs)("section",{className:"mb-8",children:[(0,s.jsxs)("h3",{className:"text-lg font-bold text-slate-700 flex items-center gap-2 border-b border-slate-100 pb-2 mb-4",children:[(0,s.jsx)(N.Settings,{size:20})," Paramètres du Livre"]}),(0,s.jsx)("p",{className:"text-sm text-slate-600 mb-4",children:'Ces réglages sont cruciaux pour l\'Assistant IA. Ils définissent le "ton" de toutes les générations de texte.'}),(0,s.jsxs)("ul",{className:"list-disc pl-5 space-y-2 text-sm text-slate-600",children:[(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"Style Guide :"}),' Soyez précis sur le style (ex: "phrases courtes", "beaucoup de métaphores", "humour noir").']}),(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"POV (Point de Vue) :"}),' Définit si l\'IA doit écrire en "Je" ou "Il/Elle".']})]})]});default:return(0,s.jsxs)("section",{className:"mb-8",children:[(0,s.jsxs)("h3",{className:"text-lg font-bold text-amber-600 flex items-center gap-2 border-b border-amber-100 pb-2 mb-4",children:[(0,s.jsx)(d.Sparkles,{size:20})," Éditeur & Assistant IA"]}),(0,s.jsxs)("div",{className:"space-y-4 text-sm text-slate-600",children:[(0,s.jsxs)("div",{className:"bg-amber-50 p-4 rounded-lg border border-amber-100",children:[(0,s.jsx)("h4",{className:"font-bold text-amber-800 mb-2",children:"Menu Contextuel Intelligent"}),(0,s.jsxs)("p",{children:["Sélectionnez du texte et faites un ",(0,s.jsx)("strong",{children:"clic droit"})," pour :"]}),(0,s.jsxs)("ul",{className:"grid grid-cols-2 gap-2 mt-2 pl-4",children:[(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Corriger l'orthographe"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Reformuler / Améliorer"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Développer (Show, don't tell)"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-amber-400"}),"Continuer l'écriture"]})]})]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"font-semibold text-slate-800",children:"Historique des versions :"})," Activez la marge de droite (icône horloge) pour voir toutes les interventions de l'IA et revenir en arrière si nécessaire."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"font-semibold text-slate-800",children:"Chat Latéral :"})," Posez des questions sur votre histoire, demandez des résumés ou des idées de rebondissements. L'IA connaît le contexte de vos chapitres précédents et de vos fiches personnages."]}),(0,s.jsxs)("div",{className:"mt-6 border-t border-slate-100 pt-4",children:[(0,s.jsxs)("h4",{className:"font-bold text-slate-700 mb-3 flex items-center gap-2",children:[(0,s.jsx)(D,{size:16})," Raccourcis Clavier (Éditeur)"]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 bg-slate-50 p-4 rounded-lg border border-slate-100",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,s.jsx)("span",{className:"text-slate-600",children:"Mettre en Gras"}),(0,s.jsxs)("span",{children:[(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"B"})]})]}),(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,s.jsx)("span",{className:"text-slate-600",children:"Mettre en Italique"}),(0,s.jsxs)("span",{children:[(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"I"})]})]}),(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,s.jsx)("span",{className:"text-slate-600",children:"Souligner"}),(0,s.jsxs)("span",{children:[(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"U"})]})]})]}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,s.jsx)("span",{className:"text-slate-600",children:"Tout sélectionner"}),(0,s.jsxs)("span",{children:[(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"A"})]})]}),(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,s.jsx)("span",{className:"text-slate-600",children:"Annuler"}),(0,s.jsxs)("span",{children:[(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"Z"})]})]}),(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs",children:[(0,s.jsx)("span",{className:"text-slate-600",children:"Rétablir"}),(0,s.jsxs)("span",{children:[(0,s.jsx)(H,{children:"Ctrl"})," + ",(0,s.jsx)(H,{children:"Shift"})," + ",(0,s.jsx)(H,{children:"Z"})]})]})]})]})]})]})]})}})(),(0,s.jsxs)("div",{className:"border-t border-slate-100 pt-6 mt-6",children:[(0,s.jsx)("h4",{className:"text-sm font-bold text-slate-500 uppercase tracking-wider mb-4",children:"Raccourcis Généraux"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-xs text-slate-600",children:[(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("span",{children:"Sauvegarde Automatique"}),(0,s.jsx)("span",{className:"font-mono text-slate-400",children:"Permanente"})]}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("span",{children:"Menu Latéral"}),(0,s.jsx)("span",{children:"Clic sur le burger"})]})]})]})]}),(0,s.jsx)("div",{className:"p-4 border-t border-slate-200 bg-slate-50 flex justify-end",children:(0,s.jsx)("button",{onClick:t,className:"px-6 py-2 bg-slate-800 text-white rounded-lg hover:bg-slate-900 transition-colors font-medium",children:"Fermer"})})]})}):null;var F=e.i(44026);function W({children:e}){let d=(0,l.useParams)(),o=(0,l.useRouter)(),c=(0,l.usePathname)(),x=d.id,{user:m,logout:u,incrementUsage:p,loading:b}=(0,a.useAuthContext)(),{projects:g,setCurrentProjectId:j,updateProject:f,updateChapter:v,addChapter:y,createEntity:N,updateEntity:w,deleteEntity:k,deleteProject:C}=(0,i.useProjects)(m),{chatHistory:z,isGenerating:M,sendMessage:A}=(()=>{let[e,s]=(0,t.useState)([]),[l,a]=(0,t.useState)(!1);return{chatHistory:e,isGenerating:l,sendMessage:async(e,t,l,r,i)=>{let d={id:Date.now().toString(),role:"user",text:l};s(e=>[...e,d]),a(!0);try{let a=await n.default.ai.generate(e,"global"===t?"":t,l,r);i();let d={id:(Date.now()+1).toString(),role:"model",text:a.text,responseType:a.type};s(e=>[...e,d])}catch{s(e=>[...e,{id:Date.now().toString(),role:"model",text:"Désolé, une erreur est survenue lors de la génération."}])}finally{a(!1)}}}})(),[$,P]=(0,t.useState)(""),[S,I]=(0,t.useState)(!1),[T,E]=(0,t.useState)(!1),B=c.endsWith("/world")?"world_building":c.endsWith("/ideas")?"ideas":c.endsWith("/workflow")?"workflow":c.endsWith("/settings")?"settings":"write";(0,t.useEffect)(()=>{x&&j(x)},[x,j]),(0,t.useEffect)(()=>{b||m||o.replace("/login")},[m,b,o]);let V=g.find(e=>e.id===x);return((0,t.useEffect)(()=>{!V||$&&V.chapters.some(e=>e.id===$)||P(V.chapters[0]?.id||"")},[V,$]),b||!m)?(0,s.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,s.jsx)(F.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(h.BookOpen,{className:"text-blue-500",size:20}),(0,s.jsx)("span",{className:"text-lg font-bold",children:"PlumeIA"})]})]}):V?(0,s.jsx)(r.ProjectProvider,{value:{project:V,user:m,projectId:x,currentChapterId:$,setCurrentChapterId:P,updateProject:e=>f(x,e),updateChapter:(e,s)=>v(x,e,s),createEntity:(e,s)=>N(x,e,s),updateEntity:(e,s)=>w(x,e,s),deleteEntity:e=>k(x,e),deleteProject:()=>C(x),incrementUsage:p},children:(0,s.jsxs)(L,{project:V,user:m,viewMode:B,currentChapterId:$,chatHistory:z,isGenerating:M,onViewModeChange:e=>{let s=`/project/${x}`;switch(e){case"write":default:o.push(s);break;case"world_building":o.push(`${s}/world`);break;case"ideas":o.push(`${s}/ideas`);break;case"workflow":o.push(`${s}/workflow`);break;case"settings":o.push(`${s}/settings`);break;case"dashboard":o.push("/dashboard")}},onChapterSelect:e=>{P(e),o.push(`/project/${x}`)},onUpdateProject:e=>f(x,e),onAddChapter:async()=>{let e=await y(x,{});e&&(P(e),o.push(`/project/${x}`))},onDeleteChapter:e=>{if(V.chapters.length>1){let s=V.chapters.filter(s=>s.id!==e);f(x,{chapters:s}),$===e&&P(s[0].id)}},onLogout:()=>{u(),o.push("/")},onSendMessage:e=>{V&&m&&A(V,"global",e,m,p)},onInsertText:()=>{},onOpenExport:()=>I(!0),onOpenHelp:()=>E(!0),children:[(0,s.jsx)(R,{isOpen:S,onClose:()=>I(!1),project:V,onPrint:()=>{}}),(0,s.jsx)(_,{isOpen:T,onClose:()=>E(!1),viewMode:B}),e]})}):(0,s.jsxs)("div",{className:"h-screen w-full flex flex-col items-center justify-center bg-slate-900 text-white",children:[(0,s.jsx)(F.Loader2,{className:"animate-spin text-blue-500 mb-4",size:48}),(0,s.jsx)("p",{className:"text-slate-400",children:"Chargement du projet..."})]})}e.s(["default",()=>W],34779)}]); \ No newline at end of file diff --git a/.next/static/chunks/4ed6dd63873df3bd.js b/.next/static/chunks/4ed6dd63873df3bd.js deleted file mode 100644 index a3271bb..0000000 --- a/.next/static/chunks/4ed6dd63873df3bd.js +++ /dev/null @@ -1,2 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18404,e=>{"use strict";e.s(["AuthProvider",()=>l,"useAuthContext",()=>c],18404);var t=e.i(30064),r=e.i(59760),s=e.i(35828),a=e.i(4301);function n({children:e}){let{user:s}=c();return(0,r.useEffect)(()=>{if(!s)return;let e=s.preferences?.theme||"light",t=document.documentElement;t.classList.remove("theme-light","theme-dark","theme-sepia"),t.classList.add(`theme-${e}`)},[s?.preferences?.theme]),(0,t.jsx)(t.Fragment,{children:e})}let i=(0,r.createContext)(null);function o({children:e}){let o=(()=>{let{data:e,status:t}=(0,s.useSession)(),[n,i]=(0,r.useState)(null),o="loading"===t;(0,r.useEffect)(()=>{e?.user?.id?fetch("/api/user/profile",{cache:"no-store"}).then(e=>e.json()).then(e=>{let t=e.plan||"free",r=e.planDetails||{id:"free",displayName:"Gratuit",maxAiActions:100,maxProjects:3};i({id:e.id,email:e.email,name:e.name||"User",avatar:e.avatar,bio:e.bio,subscription:{plan:t,planDetails:r,startDate:new Date(e.createdAt).getTime(),status:"active"},usage:{aiActionsCurrent:e.aiActionsUsed||0,aiActionsLimit:r.maxAiActions,projectsLimit:r.maxProjects},preferences:{theme:"light",dailyWordGoal:e.dailyWordGoal||500,language:"fr"},stats:{totalWordsWritten:e.totalWords||0,writingStreak:e.writingStreak||0,lastWriteDate:e.lastWriteDate?new Date(e.lastWriteDate).getTime():0}})}).catch(t=>{console.error("Failed to fetch user profile:",t),i({id:e.user.id||"",email:e.user.email||"",name:e.user.name||"User",subscription:{plan:"free",startDate:Date.now(),status:"active"},usage:{aiActionsCurrent:0,aiActionsLimit:100,projectsLimit:3},preferences:{theme:"light",dailyWordGoal:500,language:"fr"},stats:{totalWordsWritten:0,writingStreak:0,lastWriteDate:0}})}):"unauthenticated"===t&&i(null)},[e,t]);let l=(0,r.useCallback)(async(e,t)=>{let r=await (0,s.signIn)("credentials",{email:e,password:t,redirect:!1});if(r?.error)throw Error("CredentialsSignin"===r.error?"Email ou mot de passe incorrect":r.error)},[]),c=(0,r.useCallback)(async(e,t,r)=>{await a.default.auth.register(e,t,r);let n=await (0,s.signIn)("credentials",{email:e,password:t,redirect:!1});if(n?.error)throw Error("Compte créé mais erreur de connexion automatique")},[]),u=(0,r.useCallback)(async()=>{await (0,s.signOut)({redirect:!1}),i(null)},[]),d=(0,r.useCallback)(e=>{n&&i({...n,usage:{...n.usage,aiActionsCurrent:void 0!==e?e:n.usage.aiActionsCurrent+1}})},[n]),h=(0,r.useCallback)(async e=>{if(n)try{let t={};void 0!==e.name&&(t.name=e.name),void 0!==e.avatar&&(t.avatar=e.avatar),void 0!==e.bio&&(t.bio=e.bio),e.preferences?.dailyWordGoal!==void 0&&(t.dailyWordGoal=e.preferences.dailyWordGoal),await a.default.user.updateProfile(t),i(t=>t?{...t,...e}:null)}catch(e){throw console.error("Failed to update profile:",e),e}},[n]);return{user:n,login:l,signup:c,logout:u,incrementUsage:d,updateProfile:h,loading:o}})();return(0,t.jsx)(i.Provider,{value:o,children:(0,t.jsx)(n,{children:e})})}let l=({children:e})=>(0,t.jsx)(s.SessionProvider,{children:(0,t.jsx)(o,{children:e})});function c(){return(0,r.useContext)(i)}},4301,e=>{"use strict";let t={async request(e,t={}){let r=`/api${e}`,s={"Content-Type":"application/json",...t.headers},a=await fetch(r,{...t,headers:s});if(!a.ok){let e=`Error ${a.status}: ${a.statusText}`;try{let t=await a.json();t.error&&(e=t.error),t.message&&(e=t.message)}catch{}throw Error(e)}return 204===a.status?null:a.json()},auth:{register:async(e,r,s)=>t.request("/auth/register",{method:"POST",body:JSON.stringify({email:e,password:r,name:s})})},user:{updateProfile:async e=>t.request("/user/profile",{method:"PUT",body:JSON.stringify(e)})},projects:{list:async()=>t.request("/projects"),get:async e=>t.request(`/projects/${e}`),create:async e=>t.request("/projects",{method:"POST",body:JSON.stringify(e)}),update:async(e,r)=>t.request(`/projects/${e}`,{method:"PUT",body:JSON.stringify(r)}),delete:async e=>t.request(`/projects/${e}`,{method:"DELETE"}),syncWorkflow:async(e,r)=>t.request(`/projects/${e}/workflow`,{method:"PUT",body:JSON.stringify(r)})},chapters:{create:async e=>t.request("/chapters",{method:"POST",body:JSON.stringify(e)}),update:async(e,r)=>t.request(`/chapters/${e}`,{method:"PUT",body:JSON.stringify(r)}),delete:async e=>t.request(`/chapters/${e}`,{method:"DELETE"})},entities:{create:async e=>t.request("/entities",{method:"POST",body:JSON.stringify(e)}),update:async(e,r)=>t.request(`/entities/${e}`,{method:"PUT",body:JSON.stringify(r)}),delete:async e=>t.request(`/entities/${e}`,{method:"DELETE"})},ideas:{create:async e=>t.request("/ideas",{method:"POST",body:JSON.stringify(e)}),update:async(e,r)=>t.request(`/ideas/${e}`,{method:"PUT",body:JSON.stringify(r)}),delete:async e=>t.request(`/ideas/${e}`,{method:"DELETE"})},ai:{generate:async(e,r,s,a)=>t.request("/ai/generate",{method:"POST",body:JSON.stringify({project:e,chapterId:r,prompt:s,user:a})}),transform:async(e,r,s,a)=>(await t.request("/ai/transform",{method:"POST",body:JSON.stringify({text:e,mode:r,context:s,user:a})})).text}};e.s(["default",0,t])},35828,e=>{"use strict";var t=e.i(58865),r=e.i(30064),s=e.i(59760);class a extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const r=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${r}`}}class n extends a{}class i extends a{}async function o(e,t,r,s={}){let a=`${l(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...s?.headers?.cookie?{cookie:s.headers.cookie}:{}}};s?.body&&(e.body=JSON.stringify(s.body),e.method="POST");let t=await fetch(a,e),r=await t.json();if(!t.ok)throw r;return r}catch(e){return r.error(new n(e.message,e)),null}}function l(e){return"u"a}}let d={baseUrl:u(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:u(t.default.env.NEXTAUTH_URL).path,baseUrlServer:u(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:u(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},h=null;function f(){return"u"{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")}function g(){return null===h&&(h=f()),h}let m={debug:console.debug,error:console.error,warn:console.warn},y=s.createContext?.(void 0);function p(e){if(!y)throw Error("React Context is unavailable in Server Components");let t=s.useContext(y),{required:r,onUnauthenticated:a}=e??{},n=r&&"unauthenticated"===t.status;return(s.useEffect(()=>{if(n){let e=`${d.basePath}/signin?${new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href})}`;a?a():window.location.href=e}},[n,a]),n)?{data:t.data,update:t.update,status:"loading"}:t}async function w(e){let t=await o("session",d,m,e);return(e?.broadcast??!0)&&f().postMessage({event:"session",data:{trigger:"getSession"}}),t}async function v(){let e=await o("csrf",d,m);return e?.csrfToken??""}async function S(){return o("providers",d,m)}async function b(e,t,r){let{callbackUrl:s,...a}=t??{},{redirect:n=!0,redirectTo:i=s??window.location.href,...o}=a,c=l(d),u=await S();if(!u){let e=`${c}/error`;window.location.href=e;return}if(!e||!u[e]){let e=`${c}/signin?${new URLSearchParams({callbackUrl:i})}`;window.location.href=e;return}let h=u[e].type;if("webauthn"===h)throw TypeError(`Provider id "${e}" refers to a WebAuthn provider. -Please use \`import { signIn } from "next-auth/webauthn"\` instead.`);let f=`${c}/${"credentials"===h?"callback":"signin"}/${e}`,g=await v(),m=await fetch(`${f}?${new URLSearchParams(r)}`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...o,csrfToken:g,callbackUrl:i})}),y=await m.json();if(n){let e=y.url??i;window.location.href=e,e.includes("#")&&window.location.reload();return}let p=new URL(y.url).searchParams.get("error")??void 0,w=new URL(y.url).searchParams.get("code")??void 0;return m.ok&&await d._getSession({event:"storage"}),{error:p,code:w,status:m.status,ok:m.ok,url:p?null:y.url}}async function E(e){let{redirect:t=!0,redirectTo:r=e?.callbackUrl??window.location.href}=e??{},s=l(d),a=await v(),n=await fetch(`${s}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:a,callbackUrl:r})}),i=await n.json();if(g().postMessage({event:"session",data:{trigger:"signout"}}),t){let e=i.url??r;window.location.href=e,e.includes("#")&&window.location.reload();return}return await d._getSession({event:"storage"}),i}function T(e){if(!y)throw Error("React Context is unavailable in Server Components");let{children:t,basePath:a,refetchInterval:n,refetchWhenOffline:l}=e;a&&(d.basePath=a);let u=void 0!==e.session;d._lastSync=u?c():0;let[h,f]=s.useState(()=>(u&&(d._session=e.session),e.session)),[p,S]=s.useState(!u);s.useEffect(()=>(d._getSession=async({event:e}={})=>{try{let t="storage"===e;if(t||void 0===d._session){d._lastSync=c(),d._session=await w({broadcast:!t}),f(d._session);return}if(!e||null===d._session||c(){d._lastSync=0,d._session=void 0,d._getSession=()=>{}}),[]),s.useEffect(()=>{let e=()=>d._getSession({event:"storage"});return g().addEventListener("message",e),()=>g().removeEventListener("message",e)},[]),s.useEffect(()=>{let{refetchOnWindowFocus:t=!0}=e,r=()=>{t&&"visible"===document.visibilityState&&d._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",r,!1),()=>document.removeEventListener("visibilitychange",r,!1)},[e.refetchOnWindowFocus]);let b=function(){let[e,t]=s.useState("u">typeof navigator&&navigator.onLine),r=()=>t(!0),a=()=>t(!1);return s.useEffect(()=>(window.addEventListener("online",r),window.addEventListener("offline",a),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}),[]),e}(),E=!1!==l||b;s.useEffect(()=>{if(n&&E){let e=setInterval(()=>{d._session&&d._getSession({event:"poll"})},1e3*n);return()=>clearInterval(e)}},[n,E]);let T=s.useMemo(()=>({data:h,status:p?"loading":h?"authenticated":"unauthenticated",async update(e){if(p)return;S(!0);let t=await o("session",d,m,void 0===e?void 0:{body:{csrfToken:await v(),data:e}});return S(!1),t&&(f(t),g().postMessage({event:"session",data:{trigger:"getSession"}})),t}}),[h,p]);return(0,r.jsx)(y.Provider,{value:T,children:t})}e.s(["SessionProvider",()=>T,"signIn",()=>b,"signOut",()=>E,"useSession",()=>p],35828)}]); \ No newline at end of file diff --git a/.next/static/chunks/52427933b11d700a.js b/.next/static/chunks/52427933b11d700a.js deleted file mode 100644 index de43781..0000000 --- a/.next/static/chunks/52427933b11d700a.js +++ /dev/null @@ -1,2 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38654,(e,t,r)=>{"use strict";var n=e.r(59760);function a(e){var t="https://react.dev/errors/"+e;if(1{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(38654)},96164,(e,t,r)=>{"use strict";var n=e.r(63406),a={stream:!0},l=Object.prototype.hasOwnProperty;function u(t){var r=e.r(t);return"function"!=typeof r.then||"fulfilled"===r.status?null:(r.then(function(e){r.status="fulfilled",r.value=e},function(e){r.status="rejected",r.reason=e}),r)}var o=new WeakSet,i=new WeakSet;function s(){}function c(t){for(var r=t[1],n=[],a=0;af||35===f||114===f||120===f?(p=f,f=3,s++):(p=0,f=3);continue;case 2:44===(v=i[s++])?f=4:h=h<<4|(96i.length&&(v=-1)}var _=i.byteOffset+s;if(-1{"use strict";t.exports=e.r(96164)},21851,(e,t,r)=>{"use strict";t.exports=e.r(56539)},58309,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useUntrackedPathname",{enumerable:!0,get:function(){return l}});let n=e.r(59760),a=e.r(68266);function l(){return!function(){if("u"0}}return!1}()?(0,n.useContext)(a.PathnameContext):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63152,(e,t,r)=>{"use strict";function n(e,t=!0){return e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createHrefFromUrl",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},46852,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={handleHardNavError:function(){return u},useNavFailureHandler:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});e.r(59760);let l=e.r(63152);function u(e){return!!(e&&"u">typeof window)&&!!window.next.__pendingUrl&&(0,l.createHrefFromUrl)(new URL(window.location.href))!==(0,l.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function o(){}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},51384,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return n}});let n=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},61099,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTML_LIMITED_BOT_UA_RE:function(){return l.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return o},getBotType:function(){return c},isBot:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(51384),u=/Googlebot(?!-)|Googlebot$/i,o=l.HTML_LIMITED_BOT_UA_RE.source;function i(e){return l.HTML_LIMITED_BOT_UA_RE.test(e)}function s(e){return u.test(e)||i(e)}function c(e){return u.test(e)?"dom":i(e)?"html":void 0}},64358,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return p}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(57016),u=e.r(30064),o=l._(e.r(59760)),i=e.r(58309),s=e.r(69661);e.r(46852);let c=e.r(70825),f=e.r(61099),d="u">typeof window&&(0,f.isBot)(window.navigator.userAgent);class p extends o.default.Component{constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,s.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error&&!d?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.HandleISRError,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,u.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}}function h({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let a=(0,i.useUntrackedPathname)();return e?(0,u.jsx)(p,{pathname:a,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,u.jsx)(u.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},86624,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={ACTION_HMR_REFRESH:function(){return c},ACTION_NAVIGATE:function(){return o},ACTION_REFRESH:function(){return u},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return s},PrefetchKind:function(){return d}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let u="refresh",o="navigate",i="restore",s="server-patch",c="hmr-refresh",f="server-action";var d=((n={}).AUTO="auto",n.FULL="full",n);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},52398,(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isThenable",{enumerable:!0,get:function(){return n}})},96848,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={dispatchAppRouterAction:function(){return i},useActionQueue:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(28582)._(e.r(59760)),u=e.r(52398),o=null;function i(e){if(null===o)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});o(e)}function s(e){let[t,r]=l.default.useState(e.state);o=t=>e.dispatch(t,r);let n=(0,l.useMemo)(()=>t,[t]);return(0,u.isThenable)(n)?(0,l.use)(n):n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},9558,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"callServer",{enumerable:!0,get:function(){return u}});let n=e.r(59760),a=e.r(86624),l=e.r(96848);async function u(e,t){return new Promise((r,u)=>{(0,n.startTransition)(()=>{(0,l.dispatchAppRouterAction)({type:a.ACTION_SERVER_ACTION,actionId:e,actionArgs:t,resolve:r,reject:u})})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},60885,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findSourceMapURL",{enumerable:!0,get:function(){return n}});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},50107,(e,t,r)=>{"use strict";function n(e){return e.startsWith("/")?e:`/${e}`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},73145,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={normalizeAppPath:function(){return o},normalizeRscURL:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(50107),u=e.r(63393);function o(e){return(0,l.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,u.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:`${e}/${t}`,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}},91180,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={INTERCEPTION_ROUTE_MARKERS:function(){return u},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(73145),u=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>u.find(t=>e.startsWith(t)))}function i(e){let t,r,n;for(let a of e.split("/"))if(r=u.find(e=>a.startsWith(e))){[t,n]=e.split(r,2);break}if(!t||!r||!n)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,l.normalizeAppPath)(t),r){case"(.)":n="/"===t?`/${n}`:t+"/"+n;break;case"(..)":if("/"===t)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});n=t.split("/").slice(0,-1).concat(n).join("/");break;case"(...)":n="/"+n;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});n=a.slice(0,-2).concat(n).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:n}}},886,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"matchSegment",{enumerable:!0,get:function(){return n}});let n=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1];("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90133,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={computeChangedPath:function(){return f},extractPathFromFlightRouterState:function(){return c},getSelectedParams:function(){return function e(t,r={}){for(let n of Object.values(t[1])){let t=n[0],a=Array.isArray(t),l=a?t[1]:t;!l||l.startsWith(u.PAGE_SEGMENT_KEY)||(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(91180),u=e.r(63393),o=e.r(886),i=e=>"string"==typeof e?"children"===e?"":e:e[1];function s(e){return e.reduce((e,t)=>{let r;return""===(t="/"===(r=t)[0]?r.slice(1):r)||(0,u.isGroupSegment)(t)?e:`${e}/${t}`},"")||"/"}function c(e){let t=Array.isArray(e[0])?e[0][1]:e[0];if(t===u.DEFAULT_SEGMENT_KEY||l.INTERCEPTION_ROUTE_MARKERS.some(e=>t.startsWith(e)))return;if(t.startsWith(u.PAGE_SEGMENT_KEY))return"";let r=[i(t)],n=e[1]??{},a=n.children?c(n.children):void 0;if(void 0!==a)r.push(a);else for(let[e,t]of Object.entries(n)){if("children"===e)continue;let n=c(t);void 0!==n&&r.push(n)}return s(r)}function f(e,t){let r=function e(t,r){let[n,a]=t,[u,s]=r,f=i(n),d=i(u);if(l.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,o.matchSegment)(n,u))return c(r)??"";for(let t in a)if(s[t]){let r=e(a[t],s[t]);if(null!==r)return`${i(u)}/${r}`}return null}(e,t);return null==r||"/"===r?r:s(r.split("/"))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleMutable",{enumerable:!0,get:function(){return l}});let n=e.r(90133);function a(e){return void 0!==e}function l(e,t){let r=t.shouldScroll??!0,l=e.previousNextUrl,u=e.nextUrl;if(a(t.patchedTree)){let r=(0,n.computeChangedPath)(e.tree,t.patchedTree);r?(l=u,u=r):u||(u=e.canonicalUrl)}return{canonicalUrl:t.canonicalUrl??e.canonicalUrl,renderedSearch:t.renderedSearch??e.renderedSearch,pushRef:{pendingPush:a(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:a(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:a(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!r&&(!!a(t?.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:t.onlyHashChange||!1,hashFragment:r?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:r?t?.scrollableSegments??e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,tree:a(t.patchedTree)?t.patchedTree:e.tree,nextUrl:u,previousNextUrl:l,debugInfo:t.collectedDebugInfo??null}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32937,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HEAD_REQUEST_KEY:function(){return o},ROOT_SEGMENT_REQUEST_KEY:function(){return u},appendSegmentRequestKeyPart:function(){return s},convertSegmentPathToStaticExportFilename:function(){return d},createSegmentRequestKeyPart:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(63393),u="",o="/_head";function i(e){if("string"==typeof e)return e.startsWith(l.PAGE_SEGMENT_KEY)?l.PAGE_SEGMENT_KEY:"/_not-found"===e?"_not-found":f(e);let t=e[0];return"$"+e[2]+"$"+f(t)}function s(e,t,r){return e+"/"+("children"===t?r:`@${f(t)}/${r}`)}let c=/^[a-zA-Z0-9\-_@]+$/;function f(e){return c.test(e)?e:"!"+btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function d(e){return`__next${e.replace(/\//g,".")}.txt`}},17259,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={doesStaticSegmentAppearInURL:function(){return f},getCacheKeyForDynamicParam:function(){return d},getParamValueFromCacheKey:function(){return h},getRenderedPathname:function(){return s},getRenderedSearch:function(){return i},parseDynamicParamFromURLPart:function(){return c},urlSearchParamsToParsedUrlQuery:function(){return y},urlToUrlWithoutFlightMarker:function(){return p}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(63393),u=e.r(32937),o=e.r(37180);function i(e){let t=e.headers.get(o.NEXT_REWRITTEN_QUERY_HEADER);return null!==t?""===t?"":"?"+t:p(new URL(e.url)).search}function s(e){return e.headers.get(o.NEXT_REWRITTEN_PATH_HEADER)??p(new URL(e.url)).pathname}function c(e,t,r){switch(e){case"c":return rencodeURIComponent(e)):[];case"ci(..)(..)":case"ci(.)":case"ci(..)":case"ci(...)":{let n=e.length-2;return r0===t?encodeURIComponent(e.slice(n)):encodeURIComponent(e)):[]}case"oc":return rencodeURIComponent(e)):null;case"d":if(r>=t.length)return"";return encodeURIComponent(t[r]);case"di(..)(..)":case"di(.)":case"di(..)":case"di(...)":{let n=e.length-2;if(r>=t.length)return"";return encodeURIComponent(t[r].slice(n))}default:return""}}function f(e){return!(e===u.ROOT_SEGMENT_REQUEST_KEY||e.startsWith(l.PAGE_SEGMENT_KEY)||"("===e[0]&&e.endsWith(")"))&&e!==l.DEFAULT_SEGMENT_KEY&&"/_not-found"!==e}function d(e,t){return"string"==typeof e?(0,l.addSearchParamsIfPageSegment)(e,Object.fromEntries(new URLSearchParams(t))):null===e?"":e.join("/")}function p(e){let t=new URL(e);return t.searchParams.delete(o.NEXT_RSC_UNION_QUERY),t}function h(e,t){return"c"===t||"oc"===t?e.split("/"):e}function y(e){let t={};for(let[r,n]of e.entries())void 0===t[r]?t[r]=n:Array.isArray(t[r])?t[r].push(n):t[r]=[t[r],n];return t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68942,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createInitialRSCPayloadFromFallbackPrerender:function(){return s},getFlightDataPartsFromPath:function(){return i},getNextFlightSegmentPath:function(){return c},normalizeFlightData:function(){return f},prepareFlightRouterStateForRequest:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(63393),u=e.r(17259),o=e.r(63152);function i(e){let[t,r,n,a]=e.slice(-4),l=e.slice(0,-4);return{pathToSegment:l.slice(0,-1),segmentPath:l,segment:l[l.length-1]??"",tree:t,seedData:r,head:n,isHeadPartial:a,isRootRender:4===e.length}}function s(e,t){let r=(0,u.getRenderedPathname)(e),n=(0,u.getRenderedSearch)(e),a=(0,o.createHrefFromUrl)(new URL(location.href)),l=t.f[0],i=l[0];return{b:t.b,c:a.split("/"),q:n,i:t.i,f:[[function e(t,r,n,a){let l,o,i=t[0];if("string"==typeof i)l=i,o=(0,u.doesStaticSegmentAppearInURL)(i);else{let e=i[0],t=i[2],s=(0,u.parseDynamicParamFromURLPart)(t,n,a);l=[e,(0,u.getCacheKeyForDynamicParam)(s,r),t],o=!0}let s=o?a+1:a,c=t[1],f={};for(let t in c){let a=c[t];f[t]=e(a,r,n,s)}return[l,f,null,t[3],t[4]]}(i,n,r.split("/").filter(e=>""!==e),0),l[1],l[2],l[2]]],m:t.m,G:t.G,S:t.S}}function c(e){return e.slice(2)}function f(e){return"string"==typeof e?e:e.map(e=>i(e))}function d(e,t){return t?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(JSON.stringify(function e(t){var r,n;let[a,u,o,i,s,c]=t,f="string"==typeof(r=a)&&r.startsWith(l.PAGE_SEGMENT_KEY+"?")?l.PAGE_SEGMENT_KEY:r,d={};for(let[t,r]of Object.entries(u))d[t]=e(r);let p=[f,d,null,(n=i)&&"refresh"!==n?i:null];return void 0!==s&&(p[4]=s),void 0!==c&&(p[5]=c),p}(e)))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79619,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getAppBuildId:function(){return o},setAppBuildId:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l="";function u(e){l=e}function o(){return l}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82831,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={djb2Hash:function(){return l},hexHash:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(e){let t=5381;for(let r=0;r>>0}function u(e){return l(e).toString(36).slice(0,5)}},68862,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"computeCacheBustingSearchParam",{enumerable:!0,get:function(){return a}});let n=e.r(82831);function a(e,t,r,a){return(void 0===e||"0"===e)&&void 0===t&&void 0===r&&void 0===a?"":(0,n.hexHash)([e||"0",t||"0",r||"0",a||"0"].join(","))}},82460,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={setCacheBustingSearchParam:function(){return o},setCacheBustingSearchParamWithHash:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(68862),u=e.r(37180),o=(e,t)=>{i(e,(0,l.computeCacheBustingSearchParam)(t[u.NEXT_ROUTER_PREFETCH_HEADER],t[u.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],t[u.NEXT_ROUTER_STATE_TREE_HEADER],t[u.NEXT_URL]))},i=(e,t)=>{let r=e.search,n=(r.startsWith("?")?r.slice(1):r).split("&").filter(e=>e&&!e.startsWith(`${u.NEXT_RSC_UNION_QUERY}=`));t.length>0?n.push(`${u.NEXT_RSC_UNION_QUERY}=${t}`):n.push(`${u.NEXT_RSC_UNION_QUERY}`),e.search=n.length?`?${n.join("&")}`:""};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},50891,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getDeploymentId:function(){return l},getDeploymentIdQueryOrEmptyString:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(){return!1}function u(){return""}},25497,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0});var a={createFetch:function(){return R},createFromNextReadableStream:function(){return m},fetchServerResponse:function(){return b}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let u=e.r(21851),o=e.r(37180),i=e.r(9558),s=e.r(60885),c=e.r(68942),f=e.r(79619),d=e.r(82460),p=e.r(17259),h=e.r(50891),y=u.createFromReadableStream,g=u.createFromFetch;function v(e){return(0,p.urlToUrlWithoutFlightMarker)(new URL(e,location.origin)).toString()}let _=!1;async function b(e,t){let{flightRouterState:r,nextUrl:n}=t,a={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_STATE_TREE_HEADER]:(0,c.prepareFlightRouterStateForRequest)(r,t.isHmrRefresh)};n&&(a[o.NEXT_URL]=n);try{let t=await R(e,a,"auto",!0),r=(0,p.urlToUrlWithoutFlightMarker)(new URL(t.url)),n=t.redirected?r:e,l=t.headers.get("content-type")||"",u=!!t.headers.get("vary")?.includes(o.NEXT_URL),i=!!t.headers.get(o.NEXT_DID_POSTPONE_HEADER),s=t.headers.get(o.NEXT_ROUTER_STALE_TIME_HEADER),d=null!==s?1e3*parseInt(s,10):-1;if(!l.startsWith(o.RSC_CONTENT_TYPE_HEADER)||!t.ok||!t.body)return e.hash&&(r.hash=e.hash),v(r.toString());let h=t.flightResponse;if(null===h){let e,r=i?(e=t.body.getReader(),new ReadableStream({async pull(t){for(;;){let{done:r,value:n}=await e.read();if(!r){t.enqueue(n);continue}return}}})):t.body;h=m(r,a)}let y=await h;if((0,f.getAppBuildId)()!==y.b)return v(t.url);let g=(0,c.normalizeFlightData)(y.f);if("string"==typeof g)return v(g);return{flightData:g,canonicalUrl:n,renderedSearch:(0,p.getRenderedSearch)(t),couldBeIntercepted:u,prerendered:y.S,postponed:i,staleTime:d,debugInfo:h._debugInfo??null}}catch(t){return _||console.error(`Failed to fetch RSC payload for ${e}. Falling back to browser navigation.`,t),e.toString()}}async function R(e,t,r,a,l){var u,c;let f=(0,h.getDeploymentId)();f&&(t["x-deployment-id"]=f);let p=new URL(e);(0,d.setCacheBustingSearchParam)(p,t);let y=fetch(p,{credentials:"same-origin",headers:t,priority:r||void 0,signal:l}),v=a?(u=y,c=t,g(u,{callServer:i.callServer,findSourceMapURL:s.findSourceMapURL,debugChannel:n&&n(c)})):null,_=await y,b=_.redirected,R=new URL(_.url,p);return R.searchParams.delete(o.NEXT_RSC_UNION_QUERY),{url:R.href,redirected:b,ok:_.ok,headers:_.headers,body:_.body,status:_.status,flightResponse:v}}function m(e,t){return y(e,{callServer:i.callServer,findSourceMapURL:s.findSourceMapURL,debugChannel:n&&n(t)})}"u">typeof window&&(window.addEventListener("pagehide",()=>{_=!0}),window.addEventListener("pageshow",()=>{_=!1})),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},11114,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return a}});let n=e.r(63393);function a(e,t=!1){return Array.isArray(e)?`${e[0]}|${e[1]}|${e[2]}`:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},41495,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let n=t[0],a=r[0];if(Array.isArray(n)&&Array.isArray(a)){if(n[0]!==a[0]||n[2]!==a[2])return!0}else if(n!==a)return!0;if(t[4])return!r[4];if(r[4])return!0;let l=Object.values(t[1])[0],u=Object.values(r[1])[0];return!l||!u||e(l,u)}}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},67427,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={FreshnessPolicy:function(){return g},createInitialCacheNodeForHydration:function(){return _},isDeferredRsc:function(){return C},spawnDynamicRequests:function(){return j},startPPRNavigation:function(){return b}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let u=e.r(63393),o=e.r(886),i=e.r(63152),s=e.r(11114),c=e.r(25497),f=e.r(96848),d=e.r(86624),p=e.r(41495),h=e.r(92643),y=e.r(39369);var g=((n={})[n.Default=0]="Default",n[n.Hydration=1]="Hydration",n[n.HistoryTraversal=2]="HistoryTraversal",n[n.RefreshAll=3]="RefreshAll",n[n.HMRRefresh=4]="HMRRefresh",n);let v=()=>{};function _(e,t,r,n){return R(e,t,void 0,1,r,n,null,null,!1,null,null,!1,{scrollableSegments:null,separateRefreshUrls:null}).node}function b(e,t,r,n,a,l,c,f,d,h,y,g,v){return function e(t,r,n,a,l,c,f,d,h,y,g,v,_,b,T,j,w,M){var A,N;let C,U,F,I=a[0],k=l[0];if(!(0,o.matchSegment)(k,I))return!f&&(0,p.isNavigatingToNewRootLayout)(a,l)||k===u.NOT_FOUND_SEGMENT_KEY||null===b||null===T?null:R(t,l,n,c,d,h,y,g,v,b,T,j,M);let D=null!==T&&null!==b?b.concat([T,k]):[],L=l[1],x=a[1],H=null!==d?d[1]:null,B=null!==y?y[1]:null,$=!0===l[4],V=f||$,K=void 0!==n?n.parallelRoutes:void 0,q=!1,G=!1;switch(c){case 0:case 2:case 1:q=!1,G=!1;break;case 3:case 4:q=!0,G=!0}let W=new Map(q?void 0:K),z=0===Object.keys(L).length;if(void 0===n||G||z&&_)if(null!==d&&null!==d[0]){let e=d[0],r=d[2],n=null===h;U=S(e,r,!1,h,n,z,W,t),F=z&&n}else if(null!==y){let e=y[0],r=y[2],n=y[3];U=S(e,r,n,g,v,z,W,t),F=n||z&&v}else U=O(W,z,t,c),F=!0;else U=E(!1,n,W),F=!1;let X=l[2],Y="string"==typeof X&&"refresh"===l[3]?X:w;F&&null!==Y&&(A=M,N=Y,null===(C=A.separateRefreshUrls)?A.separateRefreshUrls=new Set([N]):C.add(N));let Q={},J=null,Z=!1,ee={};for(let n in L){let a=L[n],l=x[n];if(void 0===l)return null;let o=void 0!==K?K.get(n):void 0,f=null!==H?H[n]:null,d=null!==B?B[n]:null,p=a[0],y=h,b=g,R=v;2!==c&&p===u.DEFAULT_SEGMENT_KEY&&(p=(a=function(e,t){let r;return"refresh"===t[3]?r=t:((r=m(t,t[1]))[2]=(0,i.createHrefFromUrl)(e),r[3]="refresh"),r}(r,l))[0],f=null,y=null,d=null,b=null,R=!1);let P=(0,s.createRouterCacheKey)(p),E=e(t,r,void 0!==o?o.get(P):void 0,l,a,c,V,f??null,y,d??null,b,R,_,D,n,j||F,Y,M);if(null===E)return null;null===J&&(J=new Map),J.set(n,E);let S=E.node;if(null!==S){let e=new Map(q?void 0:o);e.set(P,S),W.set(n,e)}let O=E.route;Q[n]=O;let T=E.dynamicRequestTree;null!==T?(Z=!0,ee[n]=T):ee[n]=O}return{status:+!F,route:m(l,Q),node:U,dynamicRequestTree:P(l,ee,F,Z,j),refreshUrl:Y,children:J}}(e,t,null!==r?r:void 0,n,a,l,!1,c,f,d,h,y,g,null,null,!1,null,v)}function R(e,t,r,n,a,l,u,o,i,c,f,d,p){let y,g,v=t[0],_=null!==f&&null!==c?c.concat([f,v]):[],b=t[1],T=null!==u?u[1]:null,j=null!==a?a[1]:null,w=void 0!==r?r.parallelRoutes:void 0,M=!1,A=!1,N=!1;switch(n){case 0:M=!1,A=void 0===r||e-r.navigatedAt>=h.DYNAMIC_STALETIME_MS,N=!1;break;case 1:A=!1,M=!1,N=!1;break;case 2:if(A=!1,A=!1,void 0!==r){let e=r.rsc;N=!C(e)||"pending"!==e.status}else N=!1;break;case 3:case 4:A=!0,M=!0,N=!1}let U=new Map(M?void 0:w),F=0===Object.keys(b).length;if(F&&(null===p.scrollableSegments&&(p.scrollableSegments=[]),p.scrollableSegments.push(_)),A||void 0===r)if(null!==a&&null!==a[0]){let t=a[0],r=a[2],u=null===l&&1!==n;y=S(t,r,!1,l,u,F,U,e),g=F&&u}else if(1===n&&F&&null!==l)y=S(null,null,!1,l,!1,F,U,e),g=!1;else if(1!==n&&null!==u){let t=u[0],r=u[2],n=u[3];y=S(t,r,n,o,i,F,U,e),g=n||F&&i}else y=O(U,F,e,n),g=!0;else y=E(N,r,U),g=!1;let I={},k=null,D=!1,L={};for(let t in b){let r=b[t],a=void 0!==w?w.get(t):void 0,u=null!==j?j[t]:null,c=null!==T?T[t]:null,f=r[0],h=(0,s.createRouterCacheKey)(f),y=R(e,r,void 0!==a?a.get(h):void 0,n,u??null,l,c??null,o,i,_,t,d||g,p);null===k&&(k=new Map),k.set(t,y);let v=y.node;if(null!==v){let e=new Map(M?void 0:a);e.set(h,v),U.set(t,e)}let m=y.route;I[t]=m;let P=y.dynamicRequestTree;null!==P?(D=!0,L[t]=P):L[t]=m}return{status:+!g,route:m(t,I),node:y,dynamicRequestTree:P(t,L,g,D,d),refreshUrl:null,children:k}}function m(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),r}function P(e,t,r,n,a){let l=null;return r?(l=m(e,t),a||(l[3]="refetch")):l=n?m(e,t):null,l}function E(e,t,r){return{rsc:t.rsc,prefetchRsc:e?null:t.prefetchRsc,head:t.head,prefetchHead:e?null:t.prefetchHead,loading:t.loading,parallelRoutes:r,navigatedAt:t.navigatedAt}}function S(e,t,r,n,a,l,u,o){let i,s,c,f;return r?(s=e,i=U()):(s=null,i=e),l?a?(c=n,f=U()):(c=null,f=n):(c=null,f=null),{rsc:i,prefetchRsc:s,head:f,prefetchHead:c,loading:t,parallelRoutes:u,navigatedAt:o}}function O(e,t,r,n){let a=1===n;return{rsc:a?null:U(),prefetchRsc:null,head:!a&&t?U():null,prefetchHead:null,loading:a?null:U(),parallelRoutes:e,navigatedAt:r}}let T=!1;function j(e,t,r,n,a){let l=e.dynamicRequestTree;if(null===l){T=!1;return}let u=A(e,l,t,r,n),o=a.separateRefreshUrls,s=null;if(null!==o){s=[];let a=(0,i.createHrefFromUrl)(t);for(let t of o)t!==a&&null!==l&&s.push(A(e,l,new URL(t,location.origin),r,n))}w(e,r,u,s).then(v,v)}async function w(e,t,r,n){var a,l;let u=await (a=r,l=n,new Promise(e=>{let t=t=>{0===t.exitStatus?0==--n&&e(0):e(t.exitStatus)},r=()=>e(2),n=1;a.then(t,r),null!==l&&(n+=l.length,l.forEach(e=>e.then(t,r)))}));switch(0===u&&(u=function e(t,r,n){var a,l,u;let o,i,s,c;0===t.status?(t.status=2,a=t.node,l=r,u=n,C(i=a.rsc)&&(null===l?i.resolve(null,u):i.reject(l,u)),C(s=a.loading)&&s.resolve(null,u),C(c=a.head)&&c.resolve(null,u),o=null===t.refreshUrl?1:2):o=0;let f=t.children;if(null!==f)for(let[,t]of f){let a=e(t,r,n);a>o&&(o=a)}return o}(e,null,null)),u){case 0:T=!1;return;case 1:{let n=await r;M(!1,n.url,t,n.seed,e.route);return}case 2:{let n=await r;M(!0,n.url,t,n.seed,e.route);return}default:return u}}function M(e,t,r,n,a){e=e||T,T=!0;let l={type:d.ACTION_SERVER_PATCH,previousTree:a,url:t,nextUrl:r,seed:n,mpa:e};(0,f.dispatchAppRouterAction)(l)}async function A(e,t,r,n,a){try{let l=await (0,c.fetchServerResponse)(r,{flightRouterState:t,nextUrl:n,isHmrRefresh:4===a});if("string"==typeof l)return{exitStatus:2,url:new URL(l,location.origin),seed:null};let u=(0,y.convertServerPatchToFullTree)(e.route,l.flightData,l.renderedSearch);return{exitStatus:+!!function e(t,r,n,a,l){0===t.status&&null!==n&&(t.status=1,function(e,t,r,n){let a=e.rsc,l=t[0];if(null===l)return;null===a?e.rsc=l:C(a)&&a.resolve(l,n);let u=e.loading;if(C(u)){let e=t[2];u.resolve(e,n)}let o=e.head;C(o)&&o.resolve(r,n)}(t.node,n,a,l));let u=t.children,i=r[1],s=null!==n?n[1]:null,c=!1;if(null!==u)for(let t in i){let r=i[t],n=null!==s?s[t]:null,f=u.get(t);if(void 0===f)c=!0;else{let t=f.route[0];(0,o.matchSegment)(r[0],t)&&null!=n&&e(f,r,n,a,l)&&(c=!0)}}return c}(e,u.tree,u.data,u.head,l.debugInfo),url:new URL(l.canonicalUrl,location.origin),seed:u}}catch{return{exitStatus:2,url:r,seed:null}}}let N=Symbol();function C(e){return e&&"object"==typeof e&&e.tag===N}function U(){let e,t,r=[],n=new Promise((r,n)=>{e=r,t=n});return n.status="pending",n.resolve=(t,a)=>{"pending"===n.status&&(n.status="fulfilled",n.value=t,null!==a&&r.push.apply(r,a),e(t))},n.reject=(e,a)=>{"pending"===n.status&&(n.status="rejected",n.reason=e,null!==a&&r.push.apply(r,a),t(e))},n.tag=N,n._debugInfo=r,n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82801,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HasLoadingBoundary",{enumerable:!0,get:function(){return a}});var n,a=((n={})[n.SegmentHasLoadingBoundary=1]="SegmentHasLoadingBoundary",n[n.SubtreeHasLoadingBoundary=2]="SubtreeHasLoadingBoundary",n[n.SubtreeHasNoLoadingBoundary=3]="SubtreeHasNoLoadingBoundary",n)},75013,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a,l,u={FetchStrategy:function(){return c},NavigationResultTag:function(){return i},PrefetchPriority:function(){return s}};for(var o in u)Object.defineProperty(r,o,{enumerable:!0,get:u[o]});var i=((n={})[n.MPA=0]="MPA",n[n.Success=1]="Success",n[n.NoOp=2]="NoOp",n[n.Async=3]="Async",n),s=((a={})[a.Intent=2]="Intent",a[a.Default=1]="Default",a[a.Background=0]="Background",a),c=((l={})[l.LoadingBoundary=0]="LoadingBoundary",l[l.PPR=1]="PPR",l[l.PPRRuntime=2]="PPRRuntime",l[l.Full=3]="Full",l);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={deleteFromLru:function(){return f},lruPut:function(){return s},updateLruSize:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(58172),u=null,o=!1,i=0;function s(e){if(u===e)return;let t=e.prev,r=e.next;if(null===r||null===t?(i+=e.size,d()):(t.next=r,r.prev=t),null===u)e.prev=e,e.next=e;else{let t=u.prev;e.prev=t,null!==t&&(t.next=e),e.next=u,u.prev=e}u=e}function c(e,t){let r=e.size;e.size=t,null!==e.next&&(i=i-r+t,d())}function f(e){let t=e.next,r=e.prev;null!==t&&null!==r&&(i-=e.size,e.next=null,e.prev=null,u===e?t===u?u=null:(u=t,r.next=t,t.prev=r):(r.next=t,t.prev=r))}function d(){o||i<=0x3200000||(o=!0,h(p))}function p(){o=!1;for(;i>0x2d00000&&null!==u;){let e=u.prev;null!==e&&(0,l.deleteMapEntry)(e)}}let h="function"==typeof requestIdleCallback?requestIdleCallback:e=>setTimeout(e,0);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},58172,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={Fallback:function(){return u},createCacheMap:function(){return i},deleteFromCacheMap:function(){return p},deleteMapEntry:function(){return h},getFromCacheMap:function(){return s},isValueExpired:function(){return c},setInCacheMap:function(){return f},setSizeInCacheMap:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(57958),u={},o={};function i(){return{parent:null,key:null,value:null,map:null,prev:null,next:null,size:0}}function s(e,t,r,n,a){let i=function e(t,r,n,a,l,i){let s,f;if(null!==a)s=a.value,f=a.parent;else if(l&&i!==o)s=o,f=null;else return null===n.value?n:c(t,r,n.value)?(h(n),null):n;let d=n.map;if(null!==d){let n=d.get(s);if(void 0!==n){let a=e(t,r,n,f,l,s);if(null!==a)return a}let a=d.get(u);if(void 0!==a)return e(t,r,a,f,l,s)}return null}(e,t,r,n,a,0);return null===i||null===i.value?null:((0,l.lruPut)(i),i.value)}function c(e,t,r){return r.staleAt<=e||r.version{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={appendLayoutVaryPath:function(){return c},clonePageVaryPathWithNewSearchParams:function(){return y},finalizeLayoutVaryPath:function(){return f},finalizeMetadataVaryPath:function(){return p},finalizePageVaryPath:function(){return d},getFulfilledRouteVaryPath:function(){return s},getRouteVaryPath:function(){return i},getSegmentVaryPathForRequest:function(){return h}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(75013),u=e.r(58172),o=e.r(32937);function i(e,t,r){return{value:e,parent:{value:t,parent:{value:r,parent:null}}}}function s(e,t,r,n){return{value:e,parent:{value:t,parent:{value:n?r:u.Fallback,parent:null}}}}function c(e,t){return{value:t,parent:e}}function f(e,t){return{value:e,parent:t}}function d(e,t,r){return{value:e,parent:{value:t,parent:r}}}function p(e,t,r){return{value:e+o.HEAD_REQUEST_KEY,parent:{value:t,parent:r}}}function h(e,t){let r=t.varyPath;if(t.isPage&&e!==l.FetchStrategy.Full&&e!==l.FetchStrategy.PPRRuntime){let e=r.parent.parent;return{value:r.value,parent:{value:u.Fallback,parent:e}}}return r}function y(e,t){let r=e.parent;return{value:e.value,parent:{value:t,parent:r.parent}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},34547,(e,t,r)=>{"use strict";function n(e,t){let r=new URL(e);return{pathname:r.pathname,search:r.search,nextUrl:t}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createCacheKey",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},2490,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelPrefetchTask:function(){return m},isPrefetchTaskDirty:function(){return E},pingPrefetchTask:function(){return M},reschedulePrefetchTask:function(){return P},schedulePrefetchTask:function(){return R},startRevalidationCooldown:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(82801),u=e.r(886),o=e.r(34405),i=e.r(50208),s=e.r(34547),c=e.r(75013),f=e.r(63393),d="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e})),p=[],h=0,y=0,g=!1,v=null,_=null;function b(){null!==_&&clearTimeout(_),_=setTimeout(()=>{_=null,O()},300)}function R(e,t,r,n,a){let l={key:e,treeAtTimeOfPrefetch:t,cacheVersion:(0,o.getCurrentCacheVersion)(),priority:n,phase:1,hasBackgroundWork:!1,spawnedRuntimePrefetches:null,fetchStrategy:r,sortId:y++,isCanceled:!1,onInvalidate:a,_heapIndex:-1};return S(l),B(p,l),O(),l}function m(e){e.isCanceled=!0,function(e,t){let r=t._heapIndex;if(-1!==r&&(t._heapIndex=-1,0!==e.length)){let n=e.pop();n!==t&&(e[r]=n,n._heapIndex=r,G(e,n,r))}}(p,e)}function P(e,t,r,n){e.isCanceled=!1,e.phase=1,e.sortId=y++,e.priority=e===v?c.PrefetchPriority.Intent:n,e.treeAtTimeOfPrefetch=t,e.fetchStrategy=r,S(e),-1!==e._heapIndex?K(p,e):B(p,e),O()}function E(e,t,r){let n=(0,o.getCurrentCacheVersion)();return e.cacheVersion!==n||e.treeAtTimeOfPrefetch!==r||e.key.nextUrl!==t}function S(e){e.priority===c.PrefetchPriority.Intent&&e!==v&&(null!==v&&v.priority!==c.PrefetchPriority.Background&&(v.priority=c.PrefetchPriority.Default,K(p,v)),v=e)}function O(){g||(g=!0,d(A))}function T(e){return null===_&&(e.priority===c.PrefetchPriority.Intent?h<12:h<4)}function j(e){return h++,e.then(e=>null===e?(w(),null):(e.closed.then(w),e.value))}function w(){h--,O()}function M(e){e.isCanceled||-1!==e._heapIndex||(B(p,e),O())}function A(){g=!1;let e=Date.now(),t=$(p);for(;null!==t&&T(t);){t.cacheVersion=(0,o.getCurrentCacheVersion)();let r=function(e,t){let r=t.key,n=(0,o.readOrCreateRouteCacheEntry)(e,t,r),a=function(e,t,r){switch(r.status){case o.EntryStatus.Empty:j((0,o.fetchRouteOnCacheMiss)(r,t,t.key)),r.staleAt=e+6e4,r.status=o.EntryStatus.Pending;case o.EntryStatus.Pending:{let e=r.blockedTasks;return null===e?r.blockedTasks=new Set([t]):e.add(t),1}case o.EntryStatus.Rejected:break;case o.EntryStatus.Fulfilled:{if(0!==t.phase)return 2;if(!T(t))return 0;let i=r.tree,s=t.fetchStrategy===c.FetchStrategy.PPR?r.isPPREnabled?c.FetchStrategy.PPR:c.FetchStrategy.LoadingBoundary:t.fetchStrategy;switch(s){case c.FetchStrategy.PPR:{var n,a,u;if(F(n=e,a=t,u=r,(0,o.readOrCreateSegmentCacheEntry)(n,c.FetchStrategy.PPR,u,u.metadata),a.key,u.metadata),0===function e(t,r,n,a,l){let u=(0,o.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,n,l);F(t,r,n,u,r.key,l);let i=a[1],s=l.slots;if(null!==s)for(let a in s){if(!T(r))return 0;let l=s[a],u=l.segment,c=i[a],f=c?.[0];if(0===(void 0!==f&&x(n,u,f)?e(t,r,n,c,l):function e(t,r,n,a){if(a.hasRuntimePrefetch)return null===r.spawnedRuntimePrefetches?r.spawnedRuntimePrefetches=new Set([a.requestKey]):r.spawnedRuntimePrefetches.add(a.requestKey),2;let l=(0,o.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,n,a);if(F(t,r,n,l,r.key,a),null!==a.slots){if(!T(r))return 0;for(let l in a.slots)if(0===e(t,r,n,a.slots[l]))return 0}return 2}(t,r,n,l)))return 0}return 2}(e,t,r,t.treeAtTimeOfPrefetch,i))return 0;let l=t.spawnedRuntimePrefetches;if(null!==l){let n=new Map;C(e,t,r,n,c.FetchStrategy.PPRRuntime);let a=function e(t,r,n,a,l,u){if(l.has(a.requestKey))return U(t,r,n,a,!1,u,c.FetchStrategy.PPRRuntime);let o={},i=a.slots;if(null!==i)for(let a in i){let s=i[a];o[a]=e(t,r,n,s,l,u)}return[a.segment,o,null,null]}(e,t,r,i,l,n);n.size>0&&j((0,o.fetchSegmentPrefetchesUsingDynamicRequest)(t,r,c.FetchStrategy.PPRRuntime,a,n))}return 2}case c.FetchStrategy.Full:case c.FetchStrategy.PPRRuntime:case c.FetchStrategy.LoadingBoundary:{let n=new Map;C(e,t,r,n,s);let a=function e(t,r,n,a,u,i,s){let f=a[1],d=u.slots,p={};if(null!==d)for(let a in d){let u=d[a],h=u.segment,y=f[a],g=y?.[0];if(void 0!==g&&x(n,h,g)){let l=e(t,r,n,y,u,i,s);p[a]=l}else switch(s){case c.FetchStrategy.LoadingBoundary:{let e=u.hasLoadingBoundary!==l.HasLoadingBoundary.SubtreeHasNoLoadingBoundary?function e(t,r,n,a,u,i){let s=null===u?"inside-shared-layout":null,f=(0,o.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,n,a);switch(f.status){case o.EntryStatus.Empty:i.set(a.requestKey,(0,o.upgradeToPendingSegment)(f,c.FetchStrategy.LoadingBoundary)),"refetch"!==u&&(s=u="refetch");break;case o.EntryStatus.Fulfilled:if(a.hasLoadingBoundary===l.HasLoadingBoundary.SegmentHasLoadingBoundary)return(0,o.convertRouteTreeToFlightRouterState)(a);case o.EntryStatus.Pending:case o.EntryStatus.Rejected:}let d={};if(null!==a.slots)for(let l in a.slots){let o=a.slots[l];d[l]=e(t,r,n,o,u,i)}return[a.segment,d,null,s,a.isRootLayout]}(t,r,n,u,null,i):(0,o.convertRouteTreeToFlightRouterState)(u);p[a]=e;break}case c.FetchStrategy.PPRRuntime:{let e=U(t,r,n,u,!1,i,s);p[a]=e;break}case c.FetchStrategy.Full:{let e=U(t,r,n,u,!1,i,s);p[a]=e}}}return[u.segment,p,null,null,u.isRootLayout]}(e,t,r,t.treeAtTimeOfPrefetch,i,n,s);return n.size>0&&j((0,o.fetchSegmentPrefetchesUsingDynamicRequest)(t,r,s,a,n)),2}}}}return 2}(e,t,n);if(0!==a&&""!==r.search){let n=new URL(r.pathname,location.origin),a=(0,s.createCacheKey)(n.href,r.nextUrl),l=(0,o.readOrCreateRouteCacheEntry)(e,t,a);switch(l.status){case o.EntryStatus.Empty:N(t)&&(l.status=o.EntryStatus.Pending,j((0,o.fetchRouteOnCacheMiss)(l,t,a)));case o.EntryStatus.Pending:case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:}}return a}(e,t),n=t.hasBackgroundWork;switch(t.hasBackgroundWork=!1,t.spawnedRuntimePrefetches=null,r){case 0:return;case 1:V(p),t=$(p);continue;case 2:1===t.phase?(t.phase=0,K(p,t)):n?(t.priority=c.PrefetchPriority.Background,K(p,t)):V(p),t=$(p);continue}}}function N(e){return e.priority===c.PrefetchPriority.Background||(e.hasBackgroundWork=!0,!1)}function C(e,t,r,n,a){U(e,t,r,r.metadata,!1,n,a===c.FetchStrategy.LoadingBoundary?c.FetchStrategy.Full:a)}function U(e,t,r,n,a,l,u){let i=(0,o.readOrCreateSegmentCacheEntry)(e,u,r,n),s=null;switch(i.status){case o.EntryStatus.Empty:s=(0,o.upgradeToPendingSegment)(i,u);break;case o.EntryStatus.Fulfilled:i.isPartial&&(0,o.canNewFetchStrategyProvideMoreContent)(i.fetchStrategy,u)&&(s=k(e,r,n,u));break;case o.EntryStatus.Pending:case o.EntryStatus.Rejected:(0,o.canNewFetchStrategyProvideMoreContent)(i.fetchStrategy,u)&&(s=k(e,r,n,u))}let c={};if(null!==n.slots)for(let o in n.slots){let i=n.slots[o];c[o]=U(e,t,r,i,a||null!==s,l,u)}null!==s&&l.set(n.requestKey,s);let f=a||null===s?null:"refetch";return[n.segment,c,null,f,n.isRootLayout]}function F(e,t,r,n,a,l){switch(n.status){case o.EntryStatus.Empty:j((0,o.fetchSegmentOnCacheMiss)(r,(0,o.upgradeToPendingSegment)(n,c.FetchStrategy.PPR),a,l));break;case o.EntryStatus.Pending:switch(n.fetchStrategy){case c.FetchStrategy.PPR:case c.FetchStrategy.PPRRuntime:case c.FetchStrategy.Full:break;case c.FetchStrategy.LoadingBoundary:N(t)&&I(e,r,a,l);break;default:n.fetchStrategy}break;case o.EntryStatus.Rejected:switch(n.fetchStrategy){case c.FetchStrategy.PPR:case c.FetchStrategy.PPRRuntime:case c.FetchStrategy.Full:break;case c.FetchStrategy.LoadingBoundary:I(e,r,a,l);break;default:n.fetchStrategy}case o.EntryStatus.Fulfilled:}}function I(e,t,r,n){let a=(0,o.readOrCreateRevalidatingSegmentEntry)(e,c.FetchStrategy.PPR,t,n);switch(a.status){case o.EntryStatus.Empty:L(j((0,o.fetchSegmentOnCacheMiss)(t,(0,o.upgradeToPendingSegment)(a,c.FetchStrategy.PPR),r,n)),(0,i.getSegmentVaryPathForRequest)(c.FetchStrategy.PPR,n));case o.EntryStatus.Pending:case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:}}function k(e,t,r,n){let a=(0,o.readOrCreateRevalidatingSegmentEntry)(e,n,t,r);if(a.status===o.EntryStatus.Empty){let e=(0,o.upgradeToPendingSegment)(a,n);return L((0,o.waitForSegmentCacheEntry)(e),(0,i.getSegmentVaryPathForRequest)(n,r)),e}if((0,o.canNewFetchStrategyProvideMoreContent)(a.fetchStrategy,n)){let e=(0,o.overwriteRevalidatingSegmentCacheEntry)(n,t,r),a=(0,o.upgradeToPendingSegment)(e,n);return L((0,o.waitForSegmentCacheEntry)(a),(0,i.getSegmentVaryPathForRequest)(n,r)),a}switch(a.status){case o.EntryStatus.Pending:case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:default:return null}}let D=()=>{};function L(e,t){e.then(e=>{null!==e&&(0,o.upsertSegmentEntry)(Date.now(),t,e)},D)}function x(e,t,r){return r===f.PAGE_SEGMENT_KEY?t===(0,f.addSearchParamsIfPageSegment)(f.PAGE_SEGMENT_KEY,Object.fromEntries(new URLSearchParams(e.renderedSearch))):(0,u.matchSegment)(r,t)}function H(e,t){let r=t.priority-e.priority;if(0!==r)return r;let n=t.phase-e.phase;return 0!==n?n:t.sortId-e.sortId}function B(e,t){let r=e.length;e.push(t),t._heapIndex=r,q(e,t,r)}function $(e){return 0===e.length?null:e[0]}function V(e){if(0===e.length)return null;let t=e[0];t._heapIndex=-1;let r=e.pop();return r!==t&&(e[0]=r,r._heapIndex=0,G(e,r,0)),t}function K(e,t){let r=t._heapIndex;-1!==r&&(0===r?G(e,t,0):H(e[r-1>>>1],t)>0?q(e,t,r):G(e,t,r))}function q(e,t,r){let n=r;for(;n>0;){let r=n-1>>>1,a=e[r];if(!(H(a,t)>0))return;e[r]=t,t._heapIndex=r,e[n]=a,a._heapIndex=n,n=r}}function G(e,t,r){let n=r,a=e.length,l=a>>>1;for(;nH(l,t))uH(o,l)?(e[n]=o,o._heapIndex=n,e[u]=t,t._heapIndex=u,n=u):(e[n]=l,l._heapIndex=n,e[r]=t,t._heapIndex=r,n=r);else{if(!(uH(o,t)))return;e[n]=o,o._heapIndex=n,e[u]=t,t._heapIndex=u,n=u}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},75441,(e,t,r)=>{"use strict";function n(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return n}})},13147,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(75441);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:l}=(0,n.parsePath)(e);return`${t}${r}${a}${l}`}},57439,(e,t,r)=>{"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},81923,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return l}});let n=e.r(57439),a=e.r(75441),l=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:l}=(0,a.parsePath)(e);return`${(0,n.removeTrailingSlash)(t)}${r}${l}`};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},17784,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addBasePath",{enumerable:!0,get:function(){return l}});let n=e.r(13147),a=e.r(81923);function l(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},38170,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createPrefetchURL:function(){return i},isExternalURL:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(61099),u=e.r(17784);function o(e){return e.origin!==window.location.origin}function i(e){let t;if((0,l.isBot)(window.navigator.userAgent))return null;try{t=new URL((0,u.addBasePath)(e),window.location.href)}catch(t){throw Object.defineProperty(Error(`Cannot prefetch '${e}' because it cannot be converted to a URL.`),"__NEXT_ERROR_CODE",{value:"E234",enumerable:!1,configurable:!0})}return o(t)?null:t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},70231,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={IDLE_LINK_STATUS:function(){return f},PENDING_LINK_STATUS:function(){return c},mountFormInstance:function(){return R},mountLinkInstance:function(){return b},onLinkVisibilityChanged:function(){return P},onNavigationIntent:function(){return E},pingVisibleLinks:function(){return O},setLinkForCurrentNavigation:function(){return d},unmountLinkForCurrentNavigation:function(){return p},unmountPrefetchableInstance:function(){return m}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(75013),u=e.r(34547),o=e.r(2490),i=e.r(59760),s=null,c={pending:!0},f={pending:!1};function d(e){(0,i.startTransition)(()=>{s?.setOptimisticLinkStatus(f),e?.setOptimisticLinkStatus(c),s=e})}function p(e){s===e&&(s=null)}let h="function"==typeof WeakMap?new WeakMap:new Map,y=new Set,g="function"==typeof IntersectionObserver?new IntersectionObserver(function(e){for(let t of e){let e=t.intersectionRatio>0;P(t.target,e)}},{rootMargin:"200px"}):null;function v(e,t){void 0!==h.get(e)&&m(e),h.set(e,t),null!==g&&g.observe(e)}function _(t){if(!("u">typeof window))return null;{let{createPrefetchURL:r}=e.r(38170);try{return r(t)}catch{return("function"==typeof reportError?reportError:console.error)(`Cannot prefetch '${t}' because it cannot be converted to a URL.`),null}}}function b(e,t,r,n,a,l){if(a){let a=_(t);if(null!==a){let t={router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:l};return v(e,t),t}}return{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:null,setOptimisticLinkStatus:l}}function R(e,t,r,n){let a=_(t);null===a||v(e,{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:null})}function m(e){let t=h.get(e);if(void 0!==t){h.delete(e),y.delete(t);let r=t.prefetchTask;null!==r&&(0,o.cancelPrefetchTask)(r)}null!==g&&g.unobserve(e)}function P(e,t){let r=h.get(e);void 0!==r&&(r.isVisible=t,t?y.add(r):y.delete(r),S(r,l.PrefetchPriority.Default))}function E(e,t){let r=h.get(e);void 0!==r&&void 0!==r&&S(r,l.PrefetchPriority.Intent)}function S(t,r){if("u">typeof window){let n=t.prefetchTask;if(!t.isVisible){null!==n&&(0,o.cancelPrefetchTask)(n);return}let{getCurrentAppRouterState:a}=e.r(99373),l=a();if(null!==l){let e=l.tree;if(null===n){let n=l.nextUrl,a=(0,u.createCacheKey)(t.prefetchHref,n);t.prefetchTask=(0,o.schedulePrefetchTask)(a,e,t.fetchStrategy,r,null)}else(0,o.reschedulePrefetchTask)(n,e,t.fetchStrategy,r)}}}function O(e,t){for(let r of y){let n=r.prefetchTask;if(null!==n&&!(0,o.isPrefetchTaskDirty)(n,e,t))continue;null!==n&&(0,o.cancelPrefetchTask)(n);let a=(0,u.createCacheKey)(r.prefetchHref,e);r.prefetchTask=(0,o.schedulePrefetchTask)(a,t,r.fetchStrategy,l.PrefetchPriority.Default,null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},64874,(e,t,r)=>{"use strict";function n(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return{resolve:e,reject:t,promise:r}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createPromiseWithResolvers",{enumerable:!0,get:function(){return n}})},34405,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={EntryStatus:function(){return S},canNewFetchStrategyProvideMoreContent:function(){return ea},convertRouteTreeToFlightRouterState:function(){return function e(t){let r={};if(null!==t.slots)for(let n in t.slots)r[n]=e(t.slots[n]);return[t.segment,r,null,null,t.isRootLayout]}},createDetachedSegmentCacheEntry:function(){return V},fetchRouteOnCacheMiss:function(){return Y},fetchSegmentOnCacheMiss:function(){return Q},fetchSegmentPrefetchesUsingDynamicRequest:function(){return J},getCurrentCacheVersion:function(){return A},getStaleTimeMs:function(){return E},overwriteRevalidatingSegmentCacheEntry:function(){return B},pingInvalidationListeners:function(){return C},readOrCreateRevalidatingSegmentEntry:function(){return H},readOrCreateRouteCacheEntry:function(){return k},readOrCreateSegmentCacheEntry:function(){return x},readRouteCacheEntry:function(){return U},readSegmentCacheEntry:function(){return F},requestOptimisticRouteCacheEntry:function(){return D},revalidateEntireCache:function(){return N},upgradeToPendingSegment:function(){return K},upsertSegmentEntry:function(){return $},waitForSegmentCacheEntry:function(){return I}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let u=e.r(82801),o=e.r(37180),i=e.r(25497),s=e.r(2490),c=e.r(50208),f=e.r(79619),d=e.r(63152),p=e.r(34547),h=e.r(17259),y=e.r(58172),g=e.r(32937),v=e.r(68942),_=e.r(92643),b=e.r(70231),R=e.r(63393),m=e.r(75013),P=e.r(64874);function E(e){return 1e3*Math.max(e,30)}var S=((n={})[n.Empty=0]="Empty",n[n.Pending=1]="Pending",n[n.Fulfilled=2]="Fulfilled",n[n.Rejected=3]="Rejected",n);let O=["",{},null,"metadata-only"],T=(0,y.createCacheMap)(),j=(0,y.createCacheMap)(),w=null,M=0;function A(){return M}function N(e,t){M++,(0,s.startRevalidationCooldown)(),(0,b.pingVisibleLinks)(e,t),C(e,t)}function C(e,t){if(null!==w){let r=w;for(let n of(w=null,r))(0,s.isPrefetchTaskDirty)(n,e,t)&&function(e){let t=e.onInvalidate;if(null!==t){e.onInvalidate=null;try{t()}catch(e){"function"==typeof reportError?reportError(e):console.error(e)}}}(n)}}function U(e,t){let r=(0,c.getRouteVaryPath)(t.pathname,t.search,t.nextUrl);return(0,y.getFromCacheMap)(e,M,T,r,!1)}function F(e,t){return(0,y.getFromCacheMap)(e,M,j,t,!1)}function I(e){let t=e.promise;return null===t&&(t=e.promise=(0,P.createPromiseWithResolvers)()),t.promise}function k(e,t,r){null!==t.onInvalidate&&(null===w?w=new Set([t]):w.add(t));let n=U(e,r);if(null!==n)return n;let a={canonicalUrl:null,status:0,blockedTasks:null,tree:null,metadata:null,couldBeIntercepted:!0,isPPREnabled:!1,renderedSearch:null,ref:null,size:0,staleAt:1/0,version:M},l=(0,c.getRouteVaryPath)(r.pathname,r.search,r.nextUrl);return(0,y.setInCacheMap)(T,l,a,!1),a}function D(e,t,r){let n=t.search;if(""===n)return null;let a=new URL(t);a.search="";let l=U(e,(0,p.createCacheKey)(a.href,r));if(null===l||2!==l.status)return null;let u=new URL(l.canonicalUrl,t.origin),o=""!==u.search?u.search:n,i=""!==l.renderedSearch?l.renderedSearch:n,s=new URL(l.canonicalUrl,location.origin);return s.search=o,{canonicalUrl:(0,d.createHrefFromUrl)(s),status:2,blockedTasks:null,tree:L(l.tree,i),metadata:L(l.metadata,i),couldBeIntercepted:l.couldBeIntercepted,isPPREnabled:l.isPPREnabled,renderedSearch:i,ref:null,size:0,staleAt:l.staleAt,version:l.version}}function L(e,t){let r=null,n=e.slots;if(null!==n)for(let e in r={},n){let a=n[e];r[e]=L(a,t)}return e.isPage?{requestKey:e.requestKey,segment:e.segment,varyPath:(0,c.clonePageVaryPathWithNewSearchParams)(e.varyPath,t),isPage:!0,slots:r,isRootLayout:e.isRootLayout,hasLoadingBoundary:e.hasLoadingBoundary,hasRuntimePrefetch:e.hasRuntimePrefetch}:{requestKey:e.requestKey,segment:e.segment,varyPath:e.varyPath,isPage:!1,slots:r,isRootLayout:e.isRootLayout,hasLoadingBoundary:e.hasLoadingBoundary,hasRuntimePrefetch:e.hasRuntimePrefetch}}function x(e,t,r,n){let a=F(e,n.varyPath);if(null!==a)return a;let l=(0,c.getSegmentVaryPathForRequest)(t,n),u=V(r.staleAt);return(0,y.setInCacheMap)(j,l,u,!1),u}function H(e,t,r,n){var a;let l=(a=n.varyPath,(0,y.getFromCacheMap)(e,M,j,a,!0));if(null!==l)return l;let u=(0,c.getSegmentVaryPathForRequest)(t,n),o=V(r.staleAt);return(0,y.setInCacheMap)(j,u,o,!0),o}function B(e,t,r){let n=(0,c.getSegmentVaryPathForRequest)(e,r),a=V(t.staleAt);return(0,y.setInCacheMap)(j,n,a,!0),a}function $(e,t,r){if((0,y.isValueExpired)(e,M,r))return null;let n=F(e,t);if(null!==n){var a;if(r.fetchStrategy!==n.fetchStrategy&&(a=n.fetchStrategy,!(a""!==e),n=g.ROOT_SEGMENT_REQUEST_KEY,function e(t,r,n,a,l,o,i,s){let f,d,p=null,y=t.slots;if(null!==y)for(let t in f=!1,d=(0,c.finalizeLayoutVaryPath)(a,n),p={},y){let r,u,f,d=y[t],v=d.name,_=d.paramType,b=d.paramKey;if(null!==_){let e=(0,h.parseDynamicParamFromURLPart)(_,l,o),t=null!==b?b:(0,h.getCacheKeyForDynamicParam)(e,"");f=(0,c.appendLayoutVaryPath)(n,t),u=[v,t,_],r=!0}else f=n,u=v,r=(0,h.doesStaticSegmentAppearInURL)(v);let R=r?o+1:o,m=(0,g.createSegmentRequestKeyPart)(u),P=(0,g.appendSegmentRequestKeyPart)(a,t,m);p[t]=e(d,u,f,P,l,R,i,s)}else a.endsWith(R.PAGE_SEGMENT_KEY)?(f=!0,d=(0,c.finalizePageVaryPath)(a,i,n),null===s.metadataVaryPath&&(s.metadataVaryPath=(0,c.finalizeMetadataVaryPath)(a,i,n))):(f=!1,d=(0,c.finalizeLayoutVaryPath)(a,n));return{requestKey:a,segment:r,varyPath:d,isPage:f,slots:p,isRootLayout:t.isRootLayout,hasLoadingBoundary:u.HasLoadingBoundary.SegmentHasLoadingBoundary,hasRuntimePrefetch:t.hasRuntimePrefetch}}(l.tree,n,null,g.ROOT_SEGMENT_REQUEST_KEY,t,0,d,p)),_=p.metadataVaryPath;if(null===_)return z(e,Date.now()+1e4),null;let b=E(l.staleTime);G(e,v,_,Date.now()+b,j,S,d,M)}else{let n=en(r.body,w.resolve,function(t){(0,y.setSizeInCacheMap)(e,t)}),a=await (0,i.createFromNextReadableStream)(n,s);if(a.b!==(0,f.getAppBuildId)())return z(e,Date.now()+1e4),null;!function(e,t,r,n,a,l,i,s,f){let d=(0,h.getRenderedSearch)(n),p=(0,v.normalizeFlightData)(a.f);if("string"==typeof p||1!==p.length)return z(l,e+1e4);let y=p[0];if(!y.isRootRender)return z(l,e+1e4);let b=y.tree,m="number"==typeof a.rp?.[1]?a.rp[1]:parseInt(n.headers.get(o.NEXT_ROUTER_STALE_TIME_HEADER)??"",10),P=isNaN(m)?_.STATIC_STALETIME_MS:E(m),S="1"===n.headers.get(o.NEXT_DID_POSTPONE_HEADER),O={metadataVaryPath:null},T=function e(t,r,n,a,l){let o,i,s,f,d=t[0];if(Array.isArray(d)){s=!1;let e=d[1];i=(0,c.appendLayoutVaryPath)(n,e),f=(0,c.finalizeLayoutVaryPath)(r,i),o=d}else i=n,r.endsWith(R.PAGE_SEGMENT_KEY)?(s=!0,o=R.PAGE_SEGMENT_KEY,f=(0,c.finalizePageVaryPath)(r,a,i),null===l.metadataVaryPath&&(l.metadataVaryPath=(0,c.finalizeMetadataVaryPath)(r,a,i))):(s=!1,o=d,f=(0,c.finalizeLayoutVaryPath)(r,i));let p=null,h=t[1];for(let t in h){let n=h[t],u=n[0],o=(0,g.createSegmentRequestKeyPart)(u),s=e(n,(0,g.appendSegmentRequestKeyPart)(r,t,o),i,a,l);null===p?p={[t]:s}:p[t]=s}return{requestKey:r,segment:o,varyPath:f,isPage:s,slots:p,isRootLayout:!0===t[4],hasLoadingBoundary:void 0!==t[5]?t[5]:u.HasLoadingBoundary.SubtreeHasNoLoadingBoundary,hasRuntimePrefetch:!1}}(b,g.ROOT_SEGMENT_REQUEST_KEY,null,d,O),j=O.metadataVaryPath;if(null===j)return z(l,e+1e4);let w=G(l,T,j,e+P,i,s,d,f);ee(e,t,r,n,a,S,w,null)}(Date.now(),t,m.FetchStrategy.LoadingBoundary,r,a,e,j,S,M)}if(!j){let t=(0,c.getFulfilledRouteVaryPath)(n,a,l,j);(0,y.setInCacheMap)(T,t,e,!1)}return{value:null,closed:w.promise}}catch(t){return z(e,Date.now()+1e4),null}}async function Q(e,t,r,n){let a=new URL(e.canonicalUrl,location.origin),l=r.nextUrl,u=n.requestKey,s=u===g.ROOT_SEGMENT_REQUEST_KEY?"/_index":u,c={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_PREFETCH_HEADER]:"1",[o.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:s};null!==l&&(c[o.NEXT_URL]=l);try{let r=await er(a,c);if(!r||!r.ok||204===r.status||"2"!==r.headers.get(o.NEXT_DID_POSTPONE_HEADER)||!r.body)return X(t,Date.now()+1e4),null;let n=(0,P.createPromiseWithResolvers)(),l=en(r.body,n.resolve,function(e){(0,y.setSizeInCacheMap)(t,e)}),u=await (0,i.createFromNextReadableStream)(l,c);if(u.buildId!==(0,f.getAppBuildId)())return X(t,Date.now()+1e4),null;return{value:W(t,u.rsc,u.loading,e.staleAt,u.isPartial),closed:n.promise}}catch(e){return X(t,Date.now()+1e4),null}}async function J(e,t,r,n,a){let l=e.key,u=new URL(t.canonicalUrl,location.origin),s=l.nextUrl;1===a.size&&a.has(t.metadata.requestKey)&&(n=O);let c={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_STATE_TREE_HEADER]:(0,v.prepareFlightRouterStateForRequest)(n)};switch(null!==s&&(c[o.NEXT_URL]=s),r){case m.FetchStrategy.Full:break;case m.FetchStrategy.PPRRuntime:c[o.NEXT_ROUTER_PREFETCH_HEADER]="2";break;case m.FetchStrategy.LoadingBoundary:c[o.NEXT_ROUTER_PREFETCH_HEADER]="1"}try{let n=await er(u,c);if(!n||!n.ok||!n.body||(0,h.getRenderedSearch)(n)!==t.renderedSearch)return Z(a,Date.now()+1e4),null;let l=(0,P.createPromiseWithResolvers)(),o=null,s=en(n.body,l.resolve,function(e){if(null===o)return;let t=e/o.length;for(let e of o)(0,y.setSizeInCacheMap)(e,t)}),f=await (0,i.createFromNextReadableStream)(s,c),d=r===m.FetchStrategy.PPRRuntime&&f.rp?.[0]===!0;return o=ee(Date.now(),e,r,n,f,d,t,a),{value:null,closed:l.promise}}catch(e){return Z(a,Date.now()+1e4),null}}function Z(e,t){let r=[];for(let n of e.values())1===n.status?X(n,t):2===n.status&&r.push(n);return r}function ee(e,t,r,n,a,l,u,i){if(a.b!==(0,f.getAppBuildId)())return null!==i&&Z(i,e+1e4),null;let s=(0,v.normalizeFlightData)(a.f);if("string"==typeof s)return null;let c="number"==typeof a.rp?.[1]?a.rp[1]:parseInt(n.headers.get(o.NEXT_ROUTER_STALE_TIME_HEADER)??"",10),d=e+(isNaN(c)?_.STATIC_STALETIME_MS:E(c));for(let n of s){let a=n.seedData;if(null!==a){let o=n.segmentPath,s=u.tree;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={convertServerPatchToFullTree:function(){return R},navigate:function(){return d},navigateToSeededRoute:function(){return p}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(25497),u=e.r(67427),o=e.r(63152),i=e.r(34405),s=e.r(34547),c=e.r(63393),f=e.r(75013);function d(e,t,r,n,a,l,u,o){let c=Date.now(),d=e.href,p=d===t.href,y=(0,s.createCacheKey)(d,a),_=(0,i.readRouteCacheEntry)(c,y);if(null!==_&&_.status===i.EntryStatus.Fulfilled){let o=g(c,_,_.tree),i=o.flightRouterState,s=o.seedData,f=v(c,_),d=f.rsc,y=f.isPartial,b=_.canonicalUrl+e.hash;return h(c,e,t,a,p,r,n,i,s,d,y,b,_.renderedSearch,l,u)}if(null===_||_.status!==i.EntryStatus.Rejected){let o=(0,i.requestOptimisticRouteCacheEntry)(c,e,a);if(null!==o){let i=g(c,o,o.tree),s=i.flightRouterState,f=i.seedData,d=v(c,o),y=d.rsc,_=d.isPartial,b=o.canonicalUrl+e.hash;return h(c,e,t,a,p,r,n,s,f,y,_,b,o.renderedSearch,l,u)}}let R=o.collectedDebugInfo??[];return void 0===o.collectedDebugInfo&&(R=o.collectedDebugInfo=[]),{tag:f.NavigationResultTag.Async,data:b(c,e,t,a,r,n,l,u,R)}}function p(e,t,r,n,a,l,o,i,s,c){let d={scrollableSegments:null,separateRefreshUrls:null},p=t.href===a.href,h=(0,u.startPPRNavigation)(e,a,l,o,n.tree,i,n.data,n.head,null,null,!1,p,d);return null!==h?((0,u.spawnDynamicRequests)(h,t,s,i,d),y(h,r,n.renderedSearch,d.scrollableSegments,c,t.hash)):{tag:f.NavigationResultTag.MPA,data:r}}function h(e,t,r,n,a,l,o,i,s,c,d,p,h,g,v){let _={scrollableSegments:null,separateRefreshUrls:null},b=(0,u.startPPRNavigation)(e,r,l,o,i,g,null,null,s,c,d,a,_);return null!==b?((0,u.spawnDynamicRequests)(b,t,n,g,_),y(b,p,h,_.scrollableSegments,v,t.hash)):{tag:f.NavigationResultTag.MPA,data:p}}function y(e,t,r,n,a,l){return{tag:f.NavigationResultTag.Success,data:{flightRouterState:e.route,cacheNode:e.node,canonicalUrl:t,renderedSearch:r,scrollableSegments:n,shouldScroll:a,hash:l}}}function g(e,t,r){let n={},a={},l=r.slots;if(null!==l)for(let r in l){let u=g(e,t,l[r]);n[r]=u.flightRouterState,a[r]=u.seedData}let u=null,o=null,s=!0,f=(0,i.readSegmentCacheEntry)(e,r.varyPath);if(null!==f)switch(f.status){case i.EntryStatus.Fulfilled:u=f.rsc,o=f.loading,s=f.isPartial;break;case i.EntryStatus.Pending:{let e=(0,i.waitForSegmentCacheEntry)(f);u=e.then(e=>null!==e?e.rsc:null),o=e.then(e=>null!==e?e.loading:null),s=f.isPartial}case i.EntryStatus.Empty:case i.EntryStatus.Rejected:}return{flightRouterState:[(0,c.addSearchParamsIfPageSegment)(r.segment,Object.fromEntries(new URLSearchParams(t.renderedSearch))),n,null,null,r.isRootLayout],seedData:[u,a,o,s,!1]}}function v(e,t){let r=null,n=!0,a=(0,i.readSegmentCacheEntry)(e,t.metadata.varyPath);if(null!==a)switch(a.status){case i.EntryStatus.Fulfilled:r=a.rsc,n=a.isPartial;break;case i.EntryStatus.Pending:r=(0,i.waitForSegmentCacheEntry)(a).then(e=>null!==e?e.rsc:null),n=a.isPartial;case i.EntryStatus.Empty:case i.EntryStatus.Rejected:}return{rsc:r,isPartial:n}}let _=["",{},null,"refetch"];async function b(e,t,r,n,a,i,s,c,d){let h;switch(s){case u.FreshnessPolicy.Default:case u.FreshnessPolicy.HistoryTraversal:h=i;break;case u.FreshnessPolicy.Hydration:case u.FreshnessPolicy.RefreshAll:case u.FreshnessPolicy.HMRRefresh:h=_;break;default:h=i}let y=(0,l.fetchServerResponse)(t,{flightRouterState:h,nextUrl:n}),g=await y;if("string"==typeof g)return{tag:f.NavigationResultTag.MPA,data:g};let{flightData:v,canonicalUrl:b,renderedSearch:m,debugInfo:P}=g;null!==P&&d.push(...P);let E=R(i,v,m);return p(e,t,(0,o.createHrefFromUrl)(b),E,r,a,i,s,n,c)}function R(e,t,r){let n=e,a=null,l=null;for(let{segmentPath:e,tree:r,seedData:u,head:o}of t){let t=function e(t,r,n,a,l,u){let o;if(u===l.length)return{tree:n,data:a};let i=l[u],s=t[1],c=null!==r?r[1]:null,f={},d={};for(let t in s){let r=s[t],o=null!==c?c[t]??null:null;if(t===i){let i=e(r,o,n,a,l,u+2);f[t]=i.tree,d[t]=i.data}else f[t]=r,d[t]=o}return o=[t[0],f],2 in t&&(o[2]=t[2]),3 in t&&(o[3]=t[3]),4 in t&&(o[4]=t[4]),{tree:o,data:[null,d,null,!0,!1]}}(n,a,r,u,e,0);n=t.tree,a=t.data,l=o}return{tree:n,data:a,renderedSearch:r,head:l}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92643,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DYNAMIC_STALETIME_MS:function(){return f},STATIC_STALETIME_MS:function(){return d},generateSegmentsFromPatch:function(){return function e(t){let r=[],[n,a]=t;if(0===Object.keys(a).length)return[[n]];for(let[t,l]of Object.entries(a))for(let a of e(l))""===n?r.push([t,...a]):r.push([n,t,...a]);return r}},handleExternalUrl:function(){return p},handleNavigationResult:function(){return h},navigateReducer:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(63152),u=e.r(68187),o=e.r(39369),i=e.r(75013),s=e.r(34405),c=e.r(67427),f=1e3*Number("0"),d=(0,s.getStaleTimeMs)(Number("300"));function p(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,u.handleMutable)(e,t)}function h(e,t,r,n,a){switch(a.tag){case i.NavigationResultTag.MPA:return p(t,r,a.data,n);case i.NavigationResultTag.Success:{r.cache=a.data.cacheNode,r.patchedTree=a.data.flightRouterState,r.renderedSearch=a.data.renderedSearch,r.canonicalUrl=a.data.canonicalUrl,r.scrollableSegments=a.data.scrollableSegments??void 0,r.shouldScroll=a.data.shouldScroll,r.hashFragment=a.data.hash;let n=new URL(t.canonicalUrl,e);return e.pathname===n.pathname&&e.search===n.search&&e.hash!==n.hash&&(r.onlyHashChange=!0,r.shouldScroll=a.data.shouldScroll,r.hashFragment=e.hash,r.scrollableSegments=[]),(0,u.handleMutable)(t,r)}case i.NavigationResultTag.Async:return a.data.then(a=>h(e,t,r,n,a),()=>t);default:return t}}function y(e,t){let{url:r,isExternalUrl:n,navigateType:a,shouldScroll:u}=t,i={},s=(0,l.createHrefFromUrl)(r),f="push"===a;if(i.preserveCustomHistoryState=!1,i.pendingPush=f,n)return p(e,i,r.toString(),f);if(document.getElementById("__next-page-redirect"))return p(e,i,s,f);let d=new URL(e.canonicalUrl,location.origin),y=(0,o.navigate)(r,d,e.cache,e.tree,e.nextUrl,c.FreshnessPolicy.Default,u,i);return h(r,e,i,f,y)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90013,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e([t,r]){if(Array.isArray(t)&&("di(..)(..)"===t[2]||"ci(..)(..)"===t[2]||"di(.)"===t[2]||"ci(.)"===t[2]||"di(..)"===t[2]||"ci(..)"===t[2]||"di(...)"===t[2]||"ci(...)"===t[2])||"string"==typeof t&&(0,n.isInterceptionRouteAppPath)(t))return!0;if(r){for(let t in r)if(e(r[t]))return!0}return!1}}});let n=e.r(91180);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},6367,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={refreshDynamicData:function(){return f},refreshReducer:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(92643),u=e.r(39369),o=e.r(34405),i=e.r(90013),s=e.r(67427);function c(e){let t=e.nextUrl,r=e.tree;return(0,o.revalidateEntireCache)(t,r),f(e,s.FreshnessPolicy.RefreshAll)}function f(e,t){let r=e.nextUrl,n=(0,i.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||r:null,a=e.canonicalUrl,o=new URL(a,location.origin),s=e.tree,c={tree:e.tree,renderedSearch:e.renderedSearch,data:null,head:null},f=Date.now(),d=(0,u.navigateToSeededRoute)(f,o,a,c,o,e.cache,s,t,n,!0),p={};return p.preserveCustomHistoryState=!1,(0,l.handleNavigationResult)(o,e,p,!1,d)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},48007,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverPatchReducer",{enumerable:!0,get:function(){return i}});let n=e.r(63152),a=e.r(92643),l=e.r(39369),u=e.r(6367),o=e.r(67427);function i(e,t){let r={};r.preserveCustomHistoryState=!1;let i=t.mpa,s=new URL(t.url,location.origin),c=t.seed;if(i||null===c)return(0,a.handleExternalUrl)(e,r,s.href,!1);let f=new URL(e.canonicalUrl,location.origin);if(t.previousTree!==e.tree)return(0,u.refreshReducer)(e);let d=(0,n.createHrefFromUrl)(s),p=t.nextUrl,h=Date.now(),y=(0,l.navigateToSeededRoute)(h,s,d,c,f,e.cache,e.tree,o.FreshnessPolicy.RefreshAll,p,!0);return(0,a.handleNavigationResult)(s,e,r,!1,y)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},10805,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"restoreReducer",{enumerable:!0,get:function(){return o}});let n=e.r(63152),a=e.r(90133),l=e.r(67427),u=e.r(92643);function o(e,t){let r,o,i=t.historyState;i?(r=i.tree,o=i.renderedSearch):(r=e.tree,o=e.renderedSearch);let s=new URL(e.canonicalUrl,location.origin),c=t.url,f=(0,n.createHrefFromUrl)(c),d=(0,a.extractPathFromFlightRouterState)(r)??c.pathname,p=Date.now(),h={scrollableSegments:null,separateRefreshUrls:null},y=(0,l.startPPRNavigation)(p,s,e.cache,e.tree,r,l.FreshnessPolicy.HistoryTraversal,null,null,null,null,!1,!1,h);return null===y?(0,u.handleExternalUrl)(e,{preserveCustomHistoryState:!0},f,!1):((0,l.spawnDynamicRequests)(y,c,d,l.FreshnessPolicy.HistoryTraversal,h),{canonicalUrl:f,renderedSearch:o,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:y.node,tree:r,nextUrl:d,previousNextUrl:null,debugInfo:null})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},75187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hmrRefreshReducer",{enumerable:!0,get:function(){return l}});let n=e.r(6367),a=e.r(67427);function l(e){return(0,n.refreshDynamicData)(e,a.FreshnessPolicy.HMRRefresh)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},87741,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"assignLocation",{enumerable:!0,get:function(){return a}});let n=e.r(17784);function a(e,t){if(e.startsWith(".")){let r=t.origin+t.pathname;return new URL((r.endsWith("/")?r:r+"/")+e)}return new URL((0,n.addBasePath)(e),t.href)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},47505,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(75441);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},46045,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasBasePath",{enumerable:!0,get:function(){return a}});let n=e.r(47505);function a(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},13737,(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return n}}),e.r(46045),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},21847,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={extractInfoFromServerReferenceId:function(){return l},omitUnusedArgs:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(e){let t=parseInt(e.slice(0,2),16),r=t>>1&63,n=Array(6);for(let e=0;e<6;e++){let t=r>>5-e&1;n[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:n,hasRestArgs:1==(1&t)}}function u(e,t){let r=Array(e.length);for(let n=0;n=6&&t.hasRestArgs)&&(r[n]=e[n]);return r}},70398,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ActionDidNotRevalidate:function(){return l},ActionDidRevalidateDynamicOnly:function(){return o},ActionDidRevalidateStaticAndDynamic:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=0,u=1,o=2},48320,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverActionReducer",{enumerable:!0,get:function(){return j}});let a=e.r(9558),l=e.r(60885),u=e.r(37180),o=e.r(86646),i=e.r(21851),s=e.r(87741),c=e.r(63152),f=e.r(92643),d=e.r(90013),p=e.r(68942),h=e.r(38405),y=e.r(24664),g=e.r(13737),v=e.r(46045),_=e.r(21847),b=e.r(34405),R=e.r(50891),m=e.r(39369),P=e.r(70398),E=e.r(38170),S=e.r(67427),O=i.createFromFetch;async function T(e,t,{actionId:r,actionArgs:c}){let f,d,h,g,v,b=(0,i.createTemporaryReferenceSet)(),m=(0,_.extractInfoFromServerReferenceId)(r),E="use-cache"===m.type?(0,_.omitUnusedArgs)(c,m):c,S=await (0,i.encodeReply)(E,{temporaryReferences:b}),T={Accept:u.RSC_CONTENT_TYPE_HEADER,[u.ACTION_HEADER]:r,[u.NEXT_ROUTER_STATE_TREE_HEADER]:(0,p.prepareFlightRouterStateForRequest)(e.tree)},j=(0,R.getDeploymentId)();j&&(T["x-deployment-id"]=j),t&&(T[u.NEXT_URL]=t);let w=await fetch(e.canonicalUrl,{method:"POST",headers:T,body:S});if("1"===w.headers.get(u.NEXT_ACTION_NOT_FOUND_HEADER))throw Object.defineProperty(new o.UnrecognizedActionError(`Server Action "${r}" was not found on the server. -Read more: https://nextjs.org/docs/messages/failed-to-find-server-action`),"__NEXT_ERROR_CODE",{value:"E715",enumerable:!1,configurable:!0});let M=w.headers.get("x-action-redirect"),[A,N]=M?.split(";")||[];switch(N){case"push":f=y.RedirectType.push;break;case"replace":f=y.RedirectType.replace;break;default:f=void 0}let C=!!w.headers.get(u.NEXT_IS_PRERENDER_HEADER),U=P.ActionDidNotRevalidate;try{let e=w.headers.get("x-action-revalidated");if(e){let t=JSON.parse(e);(t===P.ActionDidRevalidateStaticAndDynamic||t===P.ActionDidRevalidateDynamicOnly)&&(U=t)}}catch{}let F=A?(0,s.assignLocation)(A,new URL(e.canonicalUrl,window.location.href)):void 0,I=w.headers.get("content-type"),k=!!(I&&I.startsWith(u.RSC_CONTENT_TYPE_HEADER));if(!k&&!F)throw Object.defineProperty(Error(w.status>=400&&"text/plain"===I?await w.text():"An unexpected response was received from the server."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});if(k){let e=await O(Promise.resolve(w),{callServer:a.callServer,findSourceMapURL:l.findSourceMapURL,temporaryReferences:b,debugChannel:n&&n(T)});d=F?void 0:e.a;let t=(0,p.normalizeFlightData)(e.f);""!==t&&(h=t,g=e.q,v=e.i)}else d=void 0,h=void 0,g=void 0,v=void 0;return{actionResult:d,actionFlightData:h,actionFlightDataRenderedSearch:g,actionFlightDataCouldBeIntercepted:v,redirectLocation:F,redirectType:f,revalidationKind:U,isPrerender:C}}function j(e,t){let{resolve:r,reject:n}=t,a={};a.preserveCustomHistoryState=!1;let l=(e.previousNextUrl||e.nextUrl)&&(0,d.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||e.nextUrl:null;return T(e,l,t).then(async({revalidationKind:u,actionResult:o,actionFlightData:i,actionFlightDataRenderedSearch:s,actionFlightDataCouldBeIntercepted:d,redirectLocation:p,redirectType:h})=>{u!==P.ActionDidNotRevalidate&&(t.didRevalidate=!0,u===P.ActionDidRevalidateStaticAndDynamic&&(0,b.revalidateEntireCache)(l,e.tree));let _=h!==y.RedirectType.replace;if(e.pushRef.pendingPush=_,a.pendingPush=_,void 0!==p){let t=h||y.RedirectType.push;if((0,E.isExternalURL)(p)){let r=p.href;return n(w(r,t)),(0,f.handleExternalUrl)(e,a,r,_)}{let e=(0,c.createHrefFromUrl)(p,!1);n(w((0,v.hasBasePath)(e)?(0,g.removeBasePath)(e):e,t))}}else r(o);if(void 0===p&&u===P.ActionDidNotRevalidate&&void 0===i)return e;if(void 0===i&&void 0!==p)return(0,f.handleExternalUrl)(e,a,p.href,_);if("string"==typeof i)return(0,f.handleExternalUrl)(e,a,i,_);let R=new URL(e.canonicalUrl,location.origin),O=void 0!==p?p:R,T=e.tree,j=u===P.ActionDidNotRevalidate?S.FreshnessPolicy.Default:S.FreshnessPolicy.RefreshAll;if(void 0!==i){let t=i[0];if(void 0!==t&&t.isRootRender&&void 0!==s&&void 0!==d){let r=(0,c.createHrefFromUrl)(O),n={tree:t.tree,renderedSearch:s,data:t.seedData,head:t.head},u=Date.now(),o=(0,m.navigateToSeededRoute)(u,O,r,n,R,e.cache,T,j,l,!0);return(0,f.handleNavigationResult)(O,e,a,_,o)}}let M=(0,m.navigate)(O,R,e.cache,T,l,j,!0,a);return(0,f.handleNavigationResult)(O,e,a,_,M)},t=>(n(t),e))}function w(e,t){let r=(0,h.getRedirectError)(e,t);return r.handled=!0,r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39600,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"reducer",{enumerable:!0,get:function(){return c}});let n=e.r(86624),a=e.r(92643),l=e.r(48007),u=e.r(10805),o=e.r(6367),i=e.r(75187),s=e.r(48320),c="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"prefetch",{enumerable:!0,get:function(){return o}});let n=e.r(38170),a=e.r(34547),l=e.r(2490),u=e.r(75013);function o(e,t,r,o,i){let s=(0,n.createPrefetchURL)(e);if(null===s)return;let c=(0,a.createCacheKey)(s.href,t);(0,l.schedulePrefetchTask)(c,r,o,u.PrefetchPriority.Default,i)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99373,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createMutableActionQueue:function(){return _},dispatchNavigateAction:function(){return m},dispatchTraverseAction:function(){return P},getCurrentAppRouterState:function(){return b},publicAppRouterInstance:function(){return E}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(86624),u=e.r(39600),o=e.r(59760),i=e.r(52398),s=e.r(75013),c=e.r(53058),f=e.r(96848),d=e.r(17784),p=e.r(38170),h=e.r(70231);function y(e,t){null!==e.pending?(e.pending=e.pending.next,null!==e.pending&&g({actionQueue:e,action:e.pending,setState:t})):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:l.ACTION_REFRESH},t))}async function g({actionQueue:e,action:t,setState:r}){let n=e.state;e.pending=t;let a=t.payload,u=e.action(n,a);function o(n){if(t.discarded){t.payload.type===l.ACTION_SERVER_ACTION&&t.payload.didRevalidate&&(e.needsRefresh=!0),y(e,r);return}e.state=n,y(e,r),t.resolve(n)}(0,i.isThenable)(u)?u.then(o,n=>{y(e,r),t.reject(n)}):o(u)}let v=null;function _(e,t){let r={state:e,dispatch:(e,t)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==l.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,o.startTransition)(()=>{r(e)})}let a={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=a,g({actionQueue:e,action:a,setState:r})):t.type===l.ACTION_NAVIGATE||t.type===l.ACTION_RESTORE?(e.pending.discarded=!0,a.next=e.pending.next,g({actionQueue:e,action:a,setState:r})):(null!==e.last&&(e.last.next=a),e.last=a)})(r,e,t),action:async(e,t)=>(0,u.reducer)(e,t),pending:null,last:null,onRouterTransitionStart:null!==t&&"function"==typeof t.onRouterTransitionStart?t.onRouterTransitionStart:null};if("u">typeof window){if(null!==v)throw Object.defineProperty(Error("Internal Next.js Error: createMutableActionQueue was called more than once"),"__NEXT_ERROR_CODE",{value:"E624",enumerable:!1,configurable:!0});v=r}return r}function b(){return null!==v?v.state:null}function R(){return null!==v?v.onRouterTransitionStart:null}function m(e,t,r,n){let a=new URL((0,d.addBasePath)(e),location.href);(0,h.setLinkForCurrentNavigation)(n);let u=R();null!==u&&u(e,t),(0,f.dispatchAppRouterAction)({type:l.ACTION_NAVIGATE,url:a,isExternalUrl:(0,p.isExternalURL)(a),locationSearch:location.search,shouldScroll:r,navigateType:t})}function P(e,t){let r=R();null!==r&&r(e,"traverse"),(0,f.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(e),historyState:t})}let E={back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let r,n=function(){if(null===v)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});return v}();switch(t?.kind??l.PrefetchKind.AUTO){case l.PrefetchKind.AUTO:r=s.FetchStrategy.PPR;break;case l.PrefetchKind.FULL:r=s.FetchStrategy.Full;break;default:r=s.FetchStrategy.PPR}(0,c.prefetch)(e,n.state.nextUrl,n.state.tree,r,t?.onInvalidate??null)},replace:(e,t)=>{(0,o.startTransition)(()=>{m(e,"replace",t?.scroll??!0,null)})},push:(e,t)=>{(0,o.startTransition)(()=>{m(e,"push",t?.scroll??!0,null)})},refresh:()=>{(0,o.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:l.ACTION_REFRESH})})},hmrRefresh:()=>{throw Object.defineProperty(Error("hmrRefresh can only be used in development mode. Please use refresh instead."),"__NEXT_ERROR_CODE",{value:"E485",enumerable:!1,configurable:!0})}};"u">typeof window&&window.next&&(window.next.router=E),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},31958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(28582),u=e.r(30064),o=l._(e.r(59760)),i=e.r(96479),s=e.r(38405),c=e.r(24664);function f({redirect:e,reset:t,redirectType:r}){let n=(0,i.useRouter)();return(0,o.useEffect)(()=>{o.default.startTransition(()=>{r===c.RedirectType.push?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends o.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,s.getURLFromRedirectError)(e),r=(0,s.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,u.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,i.useRouter)();return(0,u.jsx)(d,{router:t,children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43134,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},35523,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MetadataBoundary:function(){return o},OutletBoundary:function(){return s},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(35825),u={[l.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[l.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[l.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[l.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},o=u[l.METADATA_BOUNDARY_NAME.slice(0)],i=u[l.VIEWPORT_BOUNDARY_NAME.slice(0)],s=u[l.OUTLET_BOUNDARY_NAME.slice(0)],c=u[l.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]}]); \ No newline at end of file diff --git a/.next/static/chunks/5375b9d412441d7d.js b/.next/static/chunks/5375b9d412441d7d.js deleted file mode 100644 index bb9fb19..0000000 --- a/.next/static/chunks/5375b9d412441d7d.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78445,e=>{"use strict";var t=e.i(59760);let s=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim(),l=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:l=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:c="",children:n,iconNode:o,...d},u)=>(0,t.createElement)("svg",{ref:u,...r,width:l,height:l,stroke:e,strokeWidth:i?24*Number(a)/Number(l):a,className:s("lucide",c),...!n&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...o.map(([e,s])=>(0,t.createElement)(e,s)),...Array.isArray(n)?n:[n]])),i=(e,r)=>{let i=(0,t.forwardRef)(({className:i,...c},n)=>(0,t.createElement)(a,{ref:n,iconNode:r,className:s(`lucide-${l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...c}));return i.displayName=l(e),i};e.s(["default",()=>i],78445)},12856,(e,t,s)=>{t.exports=e.r(96479)},41498,e=>{"use strict";let t=(0,e.i(78445).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],41498)},6746,e=>{"use strict";let t=(0,e.i(78445).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],6746)},72150,e=>{"use strict";var t=e.i(30064),s=e.i(59760),l=e.i(41498),r=e.i(6746);let a=({plans:e,currentPlan:s,onBack:a,onSelectPlan:i,isLoading:c})=>(0,t.jsx)("div",{className:"min-h-screen bg-[#eef2ff] py-20 px-8",children:(0,t.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,t.jsxs)("button",{onClick:a,className:"flex items-center gap-2 text-slate-500 hover:text-blue-600 mb-12 font-bold transition-colors",children:[(0,t.jsx)(r.ArrowLeft,{size:20})," Retour"]}),(0,t.jsxs)("div",{className:"text-center mb-16",children:[(0,t.jsx)("h2",{className:"text-4xl font-black text-slate-900 mb-4",children:"Choisissez votre destin d'écrivain."}),(0,t.jsx)("p",{className:"text-slate-500",children:"Passez au plan supérieur pour libérer toute la puissance de l'IA."})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[c&&(0,t.jsx)("p",{className:"text-center col-span-3 py-10",children:"Chargement des offres..."}),!c&&e.map(e=>(0,t.jsxs)("div",{className:`bg-white rounded-3xl p-8 border transition-all ${e.isPopular?"border-blue-500 shadow-2xl scale-105 z-10":"border-indigo-100 shadow-xl"}`,children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("h4",{className:"text-xl font-bold text-slate-900 mb-2",children:e.displayName}),(0,t.jsxs)("div",{className:"text-4xl font-black text-slate-900 mb-2",children:[e.price,"€",(0,t.jsx)("span",{className:"text-sm font-normal text-slate-400",children:"/mois"})]}),(0,t.jsx)("p",{className:"text-sm text-slate-500",children:e.description})]}),(0,t.jsx)("ul",{className:"space-y-4 mb-10",children:e.features.map((e,s)=>(0,t.jsxs)("li",{className:"flex items-center gap-3 text-sm text-slate-700",children:[(0,t.jsx)("div",{className:"text-blue-500 bg-blue-50 p-0.5 rounded-full",children:(0,t.jsx)(l.Check,{size:14})}),e]},s))}),(0,t.jsx)("button",{onClick:()=>i(e.id),className:`w-full py-4 rounded-2xl font-black transition-all ${e.id===s?"bg-slate-100 text-slate-400 cursor-default":e.isPopular?"bg-blue-600 text-white hover:bg-blue-700":"bg-slate-900 text-white hover:bg-slate-800"}`,children:e.id===s?"Plan Actuel":"Sélectionner"})]},e.id))]})]})});var i=e.i(12856),c=e.i(18404);function n(){let e=(0,i.useRouter)(),{user:l}=(0,c.useAuthContext)(),[r,n]=(0,s.useState)([]),[o,d]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{fetch("/api/plans",{cache:"no-store"}).then(e=>e.json()).then(e=>{n(e),d(!1)}).catch(e=>{console.error(e),d(!1)})},[]),(0,t.jsx)(a,{plans:r,isLoading:o,currentPlan:l?.subscription.plan||"free",onBack:()=>e.push(l?"/dashboard":"/"),onSelectPlan:()=>e.push(l?"/checkout":"/login")})}e.s(["default",()=>n],72150)}]); \ No newline at end of file diff --git a/.next/static/chunks/5455a9bd9f6da178.js b/.next/static/chunks/5455a9bd9f6da178.js deleted file mode 100644 index 35d9775..0000000 --- a/.next/static/chunks/5455a9bd9f6da178.js +++ /dev/null @@ -1,4 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,11690,e=>{"use strict";let t=(0,e.i(78445).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],11690)},38562,e=>{"use strict";var t=e.i(30064),r=e.i(59760),i=e.i(33907),n=e.i(22508),o=e.i(4917),l=e.i(11690),s=e.i(62746),a=e.i(15536),d=e.i(30914);let c=(0,e.i(78445).default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]),u=["#ffffff","#dbeafe","#dcfce7","#fef9c3","#fee2e2","#f3e8ff"],x=r.default.memo(({node:e,isSelected:i,isEditing:n,isDragging:o,activeColorPickerId:u,entities:x,savedColors:g,onMouseDown:f,onMouseUp:p,onStartConnection:h,onUpdate:b,onSetEditing:m,onToggleColorPicker:y,onSaveColor:v,onNavigateToEntity:w,onInputFocus:k,onInputCheckAutocomplete:j,onKeyDownInInput:C})=>{let[N,S]=(0,r.useState)(!1),E=(0,r.useMemo)(()=>((e,r,i)=>{if(!e)return(0,t.jsx)("span",{className:"text-slate-400 italic",children:"Description..."});let n=[e];return r.forEach(e=>{if(!e.name)return;let r=RegExp(`(${e.name})`,"gi");for(let o=0;o1){let r=s.map((r,n)=>r.toLowerCase()===e.name.toLowerCase()?(0,t.jsx)("span",{onClick:t=>{t.stopPropagation(),i(e.id)},className:"text-indigo-600 hover:text-indigo-800 underline decoration-indigo-300 hover:decoration-indigo-600 cursor-pointer font-medium bg-indigo-50 px-0.5 rounded transition-all",title:`Voir la fiche de ${e.name}`,children:r},`${e.id}-${n}`):r);n.splice(o,1,...r),o+=r.length-1}}}}),(0,t.jsx)(t.Fragment,{children:n})})(e.description,x,w),[e.description,x,w]);return(0,t.jsxs)("div",{className:`absolute flex flex-col rounded-xl shadow-sm border z-10 group - ${o?"":"transition-all"} - ${i?"ring-2 ring-indigo-500 shadow-lg scale-[1.01]":"border-slate-200 hover:shadow-md"} - `,style:{transform:`translate3d(${e.x}px, ${e.y}px, 0)`,width:260,height:220,backgroundColor:e.color||"#ffffff",willChange:"transform"},onMouseDown:t=>f(t,e.id),onMouseUp:t=>p(t,e.id),onDoubleClick:e=>e.stopPropagation(),onMouseLeave:()=>S(!1),children:[(0,t.jsx)("div",{className:"h-1.5 rounded-t-xl bg-black/5 w-full cursor-grab active:cursor-grabbing"}),(0,t.jsxs)("div",{className:"flex-1 px-4 pb-4 pt-2 flex flex-col overflow-hidden relative",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start mb-2 relative",children:[n?(0,t.jsx)("input",{className:"font-bold text-slate-800 bg-white/50 border-b border-indigo-400 outline-none w-full mr-6 text-sm p-1 rounded",value:e.title,onChange:t=>b(e.id,{title:t.target.value}),onFocus:k,autoFocus:!0}):(0,t.jsx)("div",{className:"font-bold text-slate-800 cursor-text truncate mr-6 text-sm",onDoubleClick:()=>m(e.id),children:e.title}),(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),y(e.id)},className:"p-1 rounded-full hover:bg-black/10 text-slate-400 hover:text-indigo-600 transition-colors absolute right-0 top-0",children:(0,t.jsx)(c,{size:14})}),u===e.id&&(0,t.jsxs)("div",{className:"absolute right-[-10px] top-8 bg-white rounded-lg shadow-xl border border-slate-200 p-3 z-50 w-48 animate-in fade-in zoom-in-95 duration-100 cursor-default",onMouseDown:e=>e.stopPropagation(),children:[(0,t.jsx)("div",{className:"grid grid-cols-4 gap-2 mb-3",children:g.map(r=>(0,t.jsx)("button",{onClick:()=>b(e.id,{color:r}),className:`w-8 h-8 rounded-full border border-slate-200 shadow-sm transition-transform hover:scale-110 ${e.color===r?"ring-2 ring-offset-1 ring-indigo-400":""}`,style:{backgroundColor:r}},r))}),(0,t.jsxs)("div",{className:"flex items-center gap-2 pt-2 border-t border-slate-100",children:[(0,t.jsx)("div",{className:"relative w-8 h-8 rounded-full overflow-hidden border border-slate-300 shadow-inner",children:(0,t.jsx)("input",{type:"color",className:"absolute -top-2 -left-2 w-16 h-16 cursor-pointer",value:e.color||"#ffffff",onChange:t=>b(e.id,{color:t.target.value})})}),(0,t.jsx)("button",{onClick:()=>v(e.color||"#ffffff"),className:"text-[10px] font-bold text-indigo-600 hover:text-indigo-800 hover:underline flex-1 text-right",children:"+ SAUVER"})]})]})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto custom-scrollbar relative mb-4",children:n?(0,t.jsx)("textarea",{className:`w-full h-full bg-white/70 resize-none outline-none text-xs leading-relaxed p-2 rounded border border-indigo-100 shadow-inner ${"dialogue"===e.type?"font-mono text-slate-700":"text-slate-600"}`,placeholder:"dialogue"===e.type?"Héros: Salut !\nGuide: ...":"Résumé de l'intrigue...",value:e.description,onChange:t=>j(t,e.id,"description"),onKeyDown:t=>C(t,e.id),onFocus:k,onBlur:()=>m(null)}):(0,t.jsx)("div",{className:`w-full h-full text-xs text-slate-600 leading-relaxed p-1 cursor-text whitespace-pre-wrap ${"dialogue"===e.type?"font-mono bg-indigo-50/30 rounded pl-2 border-l-2 border-indigo-200":""}`,onClick:()=>m(e.id),children:E})}),(0,t.jsxs)("div",{className:"absolute bottom-2 right-2 z-20",children:[N&&(0,t.jsxs)("div",{className:"absolute bottom-full mb-2 right-0 bg-white shadow-xl border border-slate-200 rounded-lg p-1 flex gap-1 animate-in zoom-in-95 duration-100 w-max",onMouseDown:e=>e.stopPropagation(),children:[(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),b(e.id,{type:"story"}),S(!1)},className:`p-1.5 rounded hover:bg-slate-100 ${"story"===e.type?"bg-indigo-50 ring-1 ring-indigo-200":""}`,title:"Narration",children:(0,t.jsx)(s.BookOpen,{size:14,className:"text-slate-500"})}),(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),b(e.id,{type:"action"}),S(!1)},className:`p-1.5 rounded hover:bg-amber-50 ${"action"===e.type?"bg-amber-50 ring-1 ring-amber-200":""}`,title:"Action",children:(0,t.jsx)(d.Zap,{size:14,className:"text-amber-500"})}),(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),b(e.id,{type:"dialogue"}),S(!1)},className:`p-1.5 rounded hover:bg-blue-50 ${"dialogue"===e.type?"bg-blue-50 ring-1 ring-blue-200":""}`,title:"Dialogue",children:(0,t.jsx)(a.MessageCircle,{size:14,className:"text-blue-500"})})]}),(0,t.jsxs)("button",{className:"p-1.5 rounded-full bg-white/70 hover:bg-white shadow-sm border border-slate-100 hover:border-indigo-200 transition-all opacity-80 group-hover:opacity-100",onClick:e=>{e.stopPropagation(),S(!N)},children:["story"===e.type&&(0,t.jsx)(s.BookOpen,{size:14,className:"text-slate-500"}),"action"===e.type&&(0,t.jsx)(d.Zap,{size:14,className:"text-amber-500"}),"dialogue"===e.type&&(0,t.jsx)(a.MessageCircle,{size:14,className:"text-blue-500"})]})]})]}),(0,t.jsx)("button",{className:"absolute -right-3 top-1/2 -translate-y-1/2 w-6 h-6 bg-white border border-slate-300 rounded-full flex items-center justify-center text-slate-400 hover:text-indigo-600 hover:border-indigo-500 shadow-sm opacity-0 group-hover:opacity-100 transition-all z-20",onMouseDown:t=>h(t,e.id),children:(0,t.jsx)(l.ArrowRight,{size:12})})]})},(e,t)=>e.node===t.node&&e.isSelected===t.isSelected&&e.isEditing===t.isEditing&&e.isDragging===t.isDragging&&e.activeColorPickerId===t.activeColorPickerId&&e.entities===t.entities),g=({data:e,onUpdate:l,entities:s,onNavigateToEntity:a})=>{let d=(0,r.useRef)(null),c=(0,r.useRef)(null),[g,f]=(0,r.useState)(e.nodes),p=(0,r.useRef)(g);(0,r.useEffect)(()=>{p.current=g},[g]),(0,r.useEffect)(()=>{f(e.nodes)},[e.nodes]),(0,r.useEffect)(()=>()=>{c.current&&cancelAnimationFrame(c.current)},[]);let[h,b]=(0,r.useState)(null),[m,y]=(0,r.useState)(new Set),[v,w]=(0,r.useState)(u),[k,j]=(0,r.useState)(null),[C,N]=(0,r.useState)(null),[S,E]=(0,r.useState)([]),[z,D]=(0,r.useState)(!1),[T,$]=(0,r.useState)(new Map),[I,M]=(0,r.useState)({x:0,y:0}),[P,L]=(0,r.useState)(null),[A,R]=(0,r.useState)({x:0,y:0}),[U,O]=(0,r.useState)(!1),[B,F]=(0,r.useState)({x:0,y:0}),[K,X]=(0,r.useState)({x:0,y:0}),Y=(0,r.useCallback)(()=>{E(t=>{let r=[...t,e];return r.length>20?r.slice(r.length-20):r})},[e]),H=(0,r.useCallback)((t,r)=>{let i=p.current;l({...e,nodes:i.map(e=>e.id===t?{...e,...r}:e)})},[e,l]),W=(0,r.useCallback)(e=>{e.stopPropagation()},[]),q=(0,r.useCallback)((e,t,r)=>{let n=e.target.value;H(t,{[r]:n});let o=e.target.selectionStart||0,l=n.slice(0,o).match(/([@#^])([^@#^\s]*)$/);if(l){let e=l[1],n=l[2].toLowerCase(),a="@"===e?i.EntityType.CHARACTER:"#"===e?i.EntityType.LOCATION:i.EntityType.OBJECT,d=s.filter(e=>e.type===a&&e.name.toLowerCase().includes(n));b({active:!0,trigger:e,query:n,nodeId:t,field:r,cursorIndex:o,selectedIndex:0,filteredEntities:d})}else b(null)},[H,s]),Z=e=>{if(!h)return;let{nodeId:t,field:r,trigger:i,query:n}=h,o=p.current.find(e=>e.id===t);if(!o)return;let l=o[r],s=h.cursorIndex,a=s-(i.length+n.length);if(a<0)return;let d=l.slice(0,a),c=l.slice(s),u="dialogue"===o.type&&"@"===h.trigger;H(t,{[r]:d+e.name+(u?": ":" ")+c}),b(null)},J=(0,r.useCallback)((e,t)=>{if(h&&h.nodeId===t){if("ArrowDown"===e.key){e.preventDefault(),b(e=>e?{...e,selectedIndex:(e.selectedIndex+1)%e.filteredEntities.length}:null);return}else if("ArrowUp"===e.key){e.preventDefault(),b(e=>e?{...e,selectedIndex:(e.selectedIndex-1+e.filteredEntities.length)%e.filteredEntities.length}:null);return}else if("Tab"===e.key||"Enter"===e.key){e.preventDefault(),h.filteredEntities.length>0?Z(h.filteredEntities[h.selectedIndex]):b(null);return}else if("Escape"===e.key)return void b(null)}},[h,s,H]),V=(0,r.useCallback)((e,t)=>{e.stopPropagation(),j(null),y(r=>{let i=new Set(r);e.ctrlKey?i.has(t)?i.delete(t):i.add(t):i.has(t)||(i.clear(),i.add(t));let n=e.ctrlKey||i.has(t)?i:new Set([t]),o=new Map;return p.current.forEach(e=>{n.has(e.id)&&o.set(e.id,{x:e.x,y:e.y})}),$(o),i}),D(!0),M({x:e.clientX,y:e.clientY}),Y()},[Y]),G=(0,r.useCallback)((e,t)=>{e.stopPropagation(),Y(),L(t)},[Y]),Q=(0,r.useCallback)((t,r)=>{if(P&&P!==r&&!e.connections.some(e=>e.source===P&&e.target===r)){let t={id:`conn-${Date.now()}`,source:P,target:r};l({...e,nodes:p.current,connections:[...e.connections,t]})}L(null)},[e,l,P]),_=(0,r.useCallback)(e=>{j(t=>t===e?null:e)},[]),ee=(0,r.useCallback)(e=>{w(t=>t.includes(e)?t:[...t,e])},[]);return(0,t.jsxs)("div",{className:"h-full flex flex-col overflow-hidden bg-theme-bg relative transition-colors duration-300",children:[(0,t.jsxs)("div",{className:"h-12 bg-theme-panel border-b border-theme-border flex items-center justify-between px-4 z-10 shadow-sm shrink-0 transition-colors duration-300",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("button",{onClick:()=>{Y();let t=d.current?.scrollLeft||0,r=d.current?.scrollTop||0,i=d.current?.clientWidth||800,n=d.current?.clientHeight||600,o={id:`node-${Date.now()}`,x:t+i/2-130,y:r+n/2-110,title:"Nouveau point d'intrigue",description:"",color:u[0],type:"story"};l({...e,nodes:[...p.current,o]}),y(new Set([o.id])),N(o.id)},className:"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 text-xs font-bold transition-all shadow-md shadow-indigo-100",children:[(0,t.jsx)(n.Plus,{size:14})," AJOUTER NŒUD"]}),(0,t.jsx)("div",{className:"w-px h-6 bg-theme-border mx-2"}),(0,t.jsx)("div",{className:"text-[10px] uppercase font-bold text-theme-muted tracking-wider",children:m.size>0?`${m.size} S\xc9LECTIONN\xc9(S)`:"Double-cliquez sur le canvas pour créer"})]}),(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("button",{onClick:()=>{0===m.size||(Y(),l({nodes:g.filter(e=>!m.has(e.id)),connections:e.connections.filter(e=>!m.has(e.source)&&!m.has(e.target))}),y(new Set))},disabled:0===m.size,className:"p-2 text-red-500 hover:bg-red-500/10 rounded-lg disabled:opacity-30 transition-colors",title:"Supprimer",children:(0,t.jsx)(o.Trash2,{size:16})})})]}),(0,t.jsxs)("div",{ref:d,className:"flex-1 overflow-auto relative cursor-grab active:cursor-grabbing bg-theme-bg canvas-grid transition-colors duration-300",onMouseDown:e=>{e.ctrlKey||y(new Set),b(null),j(null),N(null),O(!0),F({x:e.clientX,y:e.clientY}),d.current&&X({x:d.current.scrollLeft,y:d.current.scrollTop})},onMouseMove:e=>{let t=d.current?.getBoundingClientRect();if(!t)return;let r=e.clientX,i=e.clientY;if(U&&d.current){let e=r-B.x,t=i-B.y;d.current.scrollLeft=K.x-e,d.current.scrollTop=K.y-t;return}if(P){let e=d.current?.scrollLeft||0,n=d.current?.scrollTop||0;R({x:r-t.left+e,y:i-t.top+n})}if(z){if(c.current)return;c.current=requestAnimationFrame(()=>{let e=r-I.x,t=i-I.y;f(r=>r.map(r=>{let i=T.get(r.id);return i?{...r,x:i.x+e,y:i.y+t}:r})),c.current=null})}},onMouseUp:t=>{if(c.current&&(cancelAnimationFrame(c.current),c.current=null),z&&l({...e,nodes:p.current}),P&&d.current){let r=d.current.getBoundingClientRect(),i=d.current.scrollLeft,n=d.current.scrollTop,o=t.clientX-r.left+i,s=t.clientY-r.top+n,a=p.current.find(e=>e.id!==P&&o>=e.x&&o<=e.x+260&&s>=e.y&&s<=e.y+220);if(a&&!e.connections.some(e=>e.source===P&&e.target===a.id)){let t={id:`conn-${Date.now()}`,source:P,target:a.id};l({...e,nodes:p.current,connections:[...e.connections,t]})}}D(!1),O(!1),L(null)},onDoubleClick:t=>{t.preventDefault();let r=d.current?.getBoundingClientRect();if(!r)return;let i=t.clientX-r.left+(d.current?.scrollLeft||0)-130,n=t.clientY-r.top+(d.current?.scrollTop||0)-110;Y();let o={id:`node-${Date.now()}`,x:i,y:n,title:"Nouvel événement",description:"",color:u[0],type:"story"};l({...e,nodes:[...p.current,o]}),y(new Set([o.id])),N(o.id)},style:{backgroundImage:"radial-gradient(var(--theme-border) 1px, transparent 1px)",backgroundSize:"24px 24px"},children:[(0,t.jsxs)("svg",{className:"absolute top-0 left-0 w-[4000px] h-[4000px] pointer-events-none z-0",children:[e.connections.map(e=>{let r=g.find(t=>t.id===e.source),i=g.find(t=>t.id===e.target);if(!r||!i)return null;let n=r.x+130,o=r.y+110,l=i.x+130,s=i.y+110;return(0,t.jsx)("line",{x1:n,y1:o,x2:l,y2:s,stroke:"var(--theme-border)",strokeWidth:"2",markerEnd:"url(#arrowhead)"},e.id)}),P&&(0,t.jsx)("line",{x1:(g.find(e=>e.id===P)?.x||0)+130,y1:(g.find(e=>e.id===P)?.y||0)+110,x2:A.x,y2:A.y,stroke:"#6366f1",strokeWidth:"2",strokeDasharray:"5,5",markerEnd:"url(#arrowhead-blue)"}),(0,t.jsxs)("defs",{children:[(0,t.jsx)("marker",{id:"arrowhead",markerWidth:"10",markerHeight:"7",refX:"28",refY:"3.5",orient:"auto",children:(0,t.jsx)("path",{d:"M0,0 L0,7 L10,3.5 Z",fill:"var(--theme-border)"})}),(0,t.jsx)("marker",{id:"arrowhead-blue",markerWidth:"10",markerHeight:"7",refX:"10",refY:"3.5",orient:"auto",children:(0,t.jsx)("path",{d:"M0,0 L0,7 L10,3.5 Z",fill:"#6366f1"})})]})]}),g.map(e=>(0,t.jsx)(x,{node:e,isSelected:m.has(e.id),isEditing:C===e.id,isDragging:z,activeColorPickerId:k,entities:s,savedColors:v,onMouseDown:V,onMouseUp:Q,onStartConnection:G,onUpdate:H,onSetEditing:N,onToggleColorPicker:_,onSaveColor:ee,onNavigateToEntity:a,onInputFocus:W,onInputCheckAutocomplete:q,onKeyDownInInput:J},e.id))]}),h&&(0,t.jsxs)("div",{className:"fixed z-50 bg-white rounded-xl shadow-2xl border border-indigo-100 w-64 max-h-48 overflow-y-auto",style:{left:"50%",top:"50%",transform:"translate(-50%, -50%)"},children:[(0,t.jsxs)("div",{className:"px-3 py-2 bg-indigo-600 text-white text-[10px] font-black uppercase tracking-widest",children:["Insérer ","@"===h.trigger?"Personnage":"#"===h.trigger?"Lieu":"Objet"]}),(0,t.jsx)("div",{className:"divide-y divide-slate-50",children:h.filteredEntities.length>0?h.filteredEntities.map((e,r)=>(0,t.jsx)("button",{className:`w-full text-left px-4 py-3 text-xs flex items-center gap-3 hover:bg-indigo-50 transition-colors ${r===h.selectedIndex?"bg-indigo-50 text-indigo-700 font-bold":"text-slate-700"}`,onClick:()=>Z(e),children:e.name},e.id)):(0,t.jsx)("div",{className:"p-4 text-xs text-slate-400 italic text-center",children:"Aucun résultat"})})]})]})};var f=e.i(24224),p=e.i(12856);function h(){let{project:e,projectId:r,updateProject:i}=(0,f.useProjectContext)(),n=(0,p.useRouter)();return(0,t.jsx)(g,{data:e.workflow||{nodes:[],connections:[]},onUpdate:e=>i({workflow:e}),entities:e.entities||[],onNavigateToEntity:()=>n.push(`/project/${r}/world`)})}e.s(["default",()=>h],38562)}]); \ No newline at end of file diff --git a/.next/static/chunks/6d057587eb93aa9b.js b/.next/static/chunks/6d057587eb93aa9b.js deleted file mode 100644 index 43e7c8a..0000000 --- a/.next/static/chunks/6d057587eb93aa9b.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54879,e=>{"use strict";let t=(0,e.i(78445).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",()=>t],54879)},4915,e=>{"use strict";let t=(0,e.i(78445).default)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);e.s(["Edit3",()=>t],4915)},62200,e=>{"use strict";let t=(0,e.i(78445).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Clock",()=>t],62200)},89250,e=>{"use strict";var t=e.i(30064),r=e.i(59760),s=e.i(22508),l=e.i(59111),o=e.i(78445);let i=(0,o.default)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]),a=(0,o.default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),n=(0,o.default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var d=e.i(62200),c=e.i(36268);let u=(0,o.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);var x=e.i(4917),m=e.i(4915),b=e.i(54879);let h={plot:{label:"Intrigue",color:"bg-rose-100 text-rose-800 border-rose-200",icon:c.Lightbulb},character:{label:"Personnage",color:"bg-blue-100 text-blue-800 border-blue-200",icon:u},research:{label:"Recherche",color:"bg-amber-100 text-amber-800 border-amber-200",icon:u},todo:{label:"À faire",color:"bg-slate-100 text-slate-800 border-slate-200",icon:a}},p={todo:"Idées / À faire",progress:"En cours",done:"Terminé / Validé"},g=({ideas:e,onUpdate:o})=>{let[u,g]=(0,r.useState)(""),[f,j]=(0,r.useState)("plot"),[v,y]=(0,r.useState)(null),[N,k]=(0,r.useState)(null),w=t=>{confirm("Supprimer cette carte ?")&&(o(e.filter(e=>e.id!==t)),N?.id===t&&k(null))},C=e=>{k({title:"",description:"",category:"plot",status:e})},z=e=>{k({...e})},D=e=>{e.preventDefault(),e.dataTransfer.dropEffect="move"},S=({title:r,status:l,icon:a})=>{let n=e.filter(e=>e.status===l);return(0,t.jsxs)("div",{className:"flex-1 bg-theme-bg/50 rounded-xl border border-theme-border flex flex-col h-full overflow-hidden transition-colors hover:border-blue-300",onDragOver:D,onDrop:t=>{t.preventDefault(),v&&(o(e.map(e=>e.id===v?{...e,status:l}:e)),y(null))},onDoubleClick:()=>C(l),title:"Double-cliquez dans le vide pour ajouter une carte ici",children:[(0,t.jsxs)("div",{className:`p-4 border-b border-theme-border flex justify-between items-center transition-colors duration-300 ${"todo"===l?"bg-theme-bg":"progress"===l?"bg-indigo-500/10":"bg-green-500/10"}`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 font-bold text-theme-text",children:[(0,t.jsx)(a,{size:18}),r]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),C(l)},className:"p-1 hover:bg-theme-panel rounded-full text-theme-muted hover:text-blue-600 transition-colors",children:(0,t.jsx)(s.Plus,{size:16})}),(0,t.jsx)("span",{className:"text-xs font-semibold bg-theme-panel px-2 py-1 rounded-full border border-theme-border text-theme-muted",children:n.length})]})]}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto p-3 space-y-3 custom-scrollbar",children:[n.map(e=>{let r=e.description.length>300?e.description.substring(0,300)+"...":e.description;return(0,t.jsxs)("div",{draggable:!0,onDragStart:t=>{y(e.id),t.dataTransfer.effectAllowed="move"},onDoubleClick:t=>{t.stopPropagation(),z(e)},className:"bg-theme-panel p-3 rounded-lg shadow-sm border border-theme-border cursor-grab active:cursor-grabbing hover:shadow-md hover:border-blue-300 transition-all group relative animate-in zoom-in-95 duration-200",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,t.jsx)("span",{className:`text-[10px] uppercase font-bold px-2 py-0.5 rounded-full flex items-center gap-1 ${h[e.category].color}`,children:h[e.category].label}),(0,t.jsxs)("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),z(e)},className:"text-slate-300 hover:text-blue-500",children:(0,t.jsx)(m.Edit3,{size:14})}),(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),w(e.id)},className:"text-slate-300 hover:text-red-500",children:(0,t.jsx)(x.Trash2,{size:14})})]})]}),(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("h4",{className:"font-bold text-theme-text text-sm mb-1 leading-tight",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-xs text-theme-muted line-clamp-3 leading-relaxed",title:e.description.length>300?"Description tronquée (voir détail)":void 0,children:r})]}),(0,t.jsxs)("div",{className:"flex justify-between items-center text-xs text-theme-muted border-t border-theme-border pt-2 mt-2 transition-colors duration-300",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)(d.Clock,{size:10})," ",new Date(e.createdAt).toLocaleDateString()]}),(0,t.jsx)(i,{size:14,className:"opacity-20"})]})]},e.id)}),0===n.length&&(0,t.jsxs)("div",{className:"h-full flex flex-col items-center justify-center text-slate-300 text-sm italic border-2 border-dashed border-indigo-200 rounded-lg m-1",children:[(0,t.jsx)("span",{className:"mb-2",children:"Vide"}),(0,t.jsx)("span",{className:"text-xs opacity-70",children:"Double-cliquez pour ajouter"})]})]})]})};return(0,t.jsxs)("div",{className:"flex flex-col h-full bg-theme-bg p-6 gap-6 relative transition-colors duration-300 -m-8",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center gap-4 bg-theme-panel p-4 rounded-xl border border-theme-border shadow-sm shrink-0 transition-colors duration-300",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-2xl font-bold text-theme-text flex items-center gap-2",children:[(0,t.jsx)(c.Lightbulb,{className:"text-yellow-500"})," Boîte à Idées"]}),(0,t.jsx)("p",{className:"text-theme-muted text-sm",children:"Organisez vos tâches, idées de scènes et recherches."})]}),(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault(),u.trim()&&(o([...e,{id:`idea-${Date.now()}`,title:u,description:"",category:f,status:"todo",createdAt:Date.now()}]),g(""))},className:"flex-1 w-full md:w-auto max-w-2xl flex gap-2",children:[(0,t.jsx)("select",{value:f,onChange:e=>j(e.target.value),className:"bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none transition-colors duration-300",children:Object.entries(h).map(([e,r])=>(0,t.jsx)("option",{value:e,children:r.label},e))}),(0,t.jsx)("input",{type:"text",value:u,onChange:e=>g(e.target.value),placeholder:"Titre de la nouvelle idée...",className:"flex-1 bg-theme-bg border border-theme-border text-theme-text text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 p-2.5 outline-none font-medium transition-colors duration-300"}),(0,t.jsx)("button",{type:"submit",disabled:!u.trim(),className:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 disabled:opacity-50 transition-colors flex items-center gap-2",children:(0,t.jsx)(s.Plus,{size:18})})]})]}),(0,t.jsxs)("div",{className:"flex-1 grid grid-cols-1 md:grid-cols-3 gap-6 min-h-0",children:[(0,t.jsx)(S,{title:"Idées / À faire",status:"todo",icon:n}),(0,t.jsx)(S,{title:"En cours",status:"progress",icon:d.Clock}),(0,t.jsx)(S,{title:"Terminé",status:"done",icon:a})]}),N&&(0,t.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black/40 backdrop-blur-sm p-4 animate-in fade-in duration-200",children:(0,t.jsxs)("div",{className:"bg-theme-panel rounded-xl shadow-2xl w-full max-w-lg overflow-hidden flex flex-col max-h-[90%] transition-colors duration-300 border border-theme-border",children:[(0,t.jsxs)("div",{className:"bg-theme-bg border-b border-theme-border p-4 flex justify-between items-center",children:[(0,t.jsxs)("h3",{className:"font-bold text-theme-text flex items-center gap-2",children:[N.id?(0,t.jsx)(m.Edit3,{size:18}):(0,t.jsx)(s.Plus,{size:18}),N.id?"Éditer la carte":"Ajouter une carte"]}),(0,t.jsx)("button",{onClick:()=>k(null),className:"text-theme-muted hover:text-theme-text",children:(0,t.jsx)(l.X,{size:20})})]}),(0,t.jsxs)("div",{className:"p-6 space-y-4 overflow-y-auto",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Titre"}),(0,t.jsx)("input",{type:"text",value:N.title,onChange:e=>k({...N,title:e.target.value}),className:"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none font-bold text-theme-text transition-colors duration-300",placeholder:"Titre de la tâche ou de l'idée...",autoFocus:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Description"}),(0,t.jsx)("textarea",{value:N.description,onChange:e=>k({...N,description:e.target.value}),maxLength:500,className:"w-full p-3 bg-theme-bg border border-theme-border rounded-lg focus:ring-2 focus:ring-blue-500 outline-none min-h-[120px] text-sm text-theme-text leading-relaxed resize-none transition-colors duration-300",placeholder:"Détails, notes, liens..."}),(0,t.jsxs)("div",{className:`text-right text-xs mt-1 transition-colors ${(N.description?.length||0)>=500?"text-red-500 font-bold":(N.description?.length||0)>450?"text-orange-500":"text-slate-400"}`,children:[N.description?.length||0," / ",500," caractères"]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Catégorie"}),(0,t.jsx)("select",{value:N.category,onChange:e=>k({...N,category:e.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300",children:Object.entries(h).map(([e,r])=>(0,t.jsx)("option",{value:e,children:r.label},e))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-bold text-theme-muted uppercase mb-1",children:"Statut"}),(0,t.jsx)("select",{value:N.status,onChange:e=>k({...N,status:e.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded-lg text-theme-text text-sm outline-none focus:border-blue-500 transition-colors duration-300",children:Object.entries(p).map(([e,r])=>(0,t.jsx)("option",{value:e,children:r},e))})]})]})]}),(0,t.jsxs)("div",{className:"p-4 border-t border-theme-border bg-theme-bg flex justify-end gap-2 shrink-0 transition-colors duration-300",children:[N.id&&(0,t.jsx)("button",{onClick:()=>w(N.id),className:"mr-auto text-red-500 hover:text-red-700 text-sm font-medium px-3 py-2",children:"Supprimer"}),(0,t.jsx)("button",{onClick:()=>k(null),className:"px-4 py-2 text-theme-text hover:bg-theme-panel border border-transparent rounded-lg text-sm font-medium transition-colors duration-300",children:"Annuler"}),(0,t.jsxs)("button",{onClick:()=>{N&&N.title?.trim()&&(N.id?o(e.map(e=>e.id===N.id?{...e,...N}:e)):o([...e,{id:`idea-${Date.now()}`,title:N.title||"",description:N.description||"",category:N.category||"plot",status:N.status||"todo",createdAt:Date.now()}]),k(null))},disabled:!N.title?.trim(),className:"px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg text-sm font-medium shadow-sm disabled:opacity-50 flex items-center gap-2",children:[(0,t.jsx)(b.Save,{size:16})," Enregistrer"]})]})]})})]})};var f=e.i(24224);function j(){let{project:e,updateProject:r}=(0,f.useProjectContext)();return(0,t.jsx)(g,{ideas:e.ideas||[],onUpdate:e=>r({ideas:e})})}e.s(["default",()=>j],89250)}]); \ No newline at end of file diff --git a/.next/static/chunks/7dee21f4f59da1b4.js b/.next/static/chunks/7dee21f4f59da1b4.js deleted file mode 100644 index 8cff189..0000000 --- a/.next/static/chunks/7dee21f4f59da1b4.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44026,e=>{"use strict";let t=(0,e.i(78445).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],44026)},78445,e=>{"use strict";var t=e.i(59760);let s=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim(),r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:n="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...a,width:r,height:r,stroke:e,strokeWidth:i?24*Number(l)/Number(r):l,className:s("lucide",n),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,s])=>(0,t.createElement)(e,s)),...Array.isArray(o)?o:[o]])),i=(e,a)=>{let i=(0,t.forwardRef)(({className:i,...n},o)=>(0,t.createElement)(l,{ref:o,iconNode:a,className:s(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...n}));return i.displayName=r(e),i};e.s(["default",()=>i],78445)},12856,(e,t,s)=>{t.exports=e.r(96479)},11690,e=>{"use strict";let t=(0,e.i(78445).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],11690)},37143,e=>{"use strict";var t=e.i(30064),s=e.i(59760),r=e.i(18404),a=e.i(44026);let l=(0,e.i(78445).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var i=e.i(11690);let n=({onSuccess:e,onRegister:n})=>{let[o,c]=(0,s.useState)(""),[d,u]=(0,s.useState)(""),[m,x]=(0,s.useState)(""),[h,p]=(0,s.useState)(!1),{login:f}=(0,r.useAuthContext)();async function b(t){t.preventDefault(),x(""),p(!0);try{await f(o,d),e()}catch(e){x(e.message||"Une erreur inattendue est survenue."),p(!1)}}return(0,t.jsx)("div",{className:"min-h-screen bg-slate-50 flex overflow-hidden font-sans text-slate-900 items-center justify-center p-4",children:(0,t.jsxs)("div",{className:"w-full max-w-md bg-white rounded-2xl shadow-xl overflow-hidden p-8 animate-in fade-in zoom-in duration-300",children:[(0,t.jsxs)("div",{className:"text-center mb-8",children:[(0,t.jsx)("h1",{className:"text-3xl font-black text-slate-900 mb-2",children:"Connexion"}),(0,t.jsx)("p",{className:"text-slate-500",children:"Bienvenue ! Connectez-vous à votre compte"})]}),m&&(0,t.jsxs)("div",{className:"mb-6 p-4 bg-red-50 border border-red-100 text-red-600 text-sm font-medium rounded-xl flex items-center gap-2 animate-in shake duration-300",children:[(0,t.jsx)(l,{size:18}),m]}),(0,t.jsxs)("form",{onSubmit:b,className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",htmlFor:"email",children:"Email"}),(0,t.jsx)("input",{id:"email",type:"email",className:"w-full px-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium transition-all",placeholder:"votre@email.com",value:o,onChange:e=>c(e.target.value),required:!0})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{className:"text-xs font-black text-slate-500 uppercase tracking-widest ml-1",htmlFor:"password",children:"Mot de passe"}),(0,t.jsx)("input",{id:"password",type:"password",className:"w-full px-4 py-3 bg-slate-50 border border-slate-200 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 font-medium transition-all",placeholder:"••••••••",value:d,onChange:e=>u(e.target.value),required:!0})]}),(0,t.jsxs)("button",{type:"submit",className:"w-full bg-slate-900 text-white py-4 rounded-xl font-bold flex items-center justify-center gap-2 hover:bg-blue-600 transition-all shadow-xl disabled:opacity-50 mt-6",disabled:h,children:[h?(0,t.jsx)(a.Loader2,{className:"animate-spin"}):"Se connecter"," ",(0,t.jsx)(i.ArrowRight,{size:18})]})]}),(0,t.jsxs)("div",{className:"mt-8 text-center text-sm text-slate-500",children:["Pas encore de compte ?"," ",(0,t.jsx)("button",{onClick:n,className:"font-bold text-blue-600 hover:text-blue-800 transition-colors ml-1",children:"Créer un compte"})]})]})})};var o=e.i(12856);function c(){let e=(0,o.useRouter)();return(0,t.jsx)(n,{onSuccess:()=>e.push("/dashboard"),onRegister:()=>e.push("/signup")})}e.s(["default",()=>c],37143)}]); \ No newline at end of file diff --git a/.next/static/chunks/90607739e2665c35.js b/.next/static/chunks/90607739e2665c35.js deleted file mode 100644 index 960f786..0000000 --- a/.next/static/chunks/90607739e2665c35.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54879,e=>{"use strict";let t=(0,e.i(78445).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",()=>t],54879)},96922,e=>{"use strict";let t=(0,e.i(78445).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",()=>t],96922)},52724,e=>{"use strict";var t=e.i(30064),s=e.i(59760),a=e.i(33907),r=e.i(22508),l=e.i(4917),i=e.i(54879),n=e.i(59111),d=e.i(46202),o=e.i(50147),c=e.i(78445);let m=(0,c.default)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]),h=(0,c.default)("ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);var x=e.i(46553),u=e.i(98867),p=e.i(96922),b=e.i(71143);let g={age:30,height:175,hair:"Brun",eyes:"Marron",archetype:"Le Héros",role:"support",personality:{spectrumIntrovertExtravert:50,spectrumEmotionalRational:50,spectrumChaoticLawful:50},physicalQuirk:"",behavioralQuirk:""},v=({entities:e,onCreate:c,onUpdate:v,onDelete:j,templates:f,onUpdateTemplates:y,initialSelectedId:N})=>{let C,[k,w]=(0,s.useState)(null),[T,E]=(0,s.useState)(null),[A,M]=(0,s.useState)("entities"),[R,S]=(0,s.useState)(a.EntityType.CHARACTER);(0,s.useEffect)(()=>{if(N){let t=e.find(e=>e.id===N);t&&(I(t),M("entities"))}},[N,e]);let z=(0,s.useMemo)(()=>{let t=e.filter(e=>e.type===a.EntityType.CHARACTER&&e.attributes?.archetype).map(e=>e.attributes.archetype);return Array.from(new Set([...b.ARCHETYPES,...t])).sort()},[e]),I=e=>{let t={...e};e.type!==a.EntityType.CHARACTER||e.attributes||(t.attributes={...g}),e.customValues||(t.customValues={}),E(t),w(e.id)},L=async()=>{if(T&&T.name){if("NEW"===k){let{id:e,...t}=T;await c(t)}else v(T.id,T);w(null),E(null)}},O=(e,t)=>{T&&T.attributes&&E({...T,attributes:{...T.attributes,[e]:t}})},H=(e,t)=>{T&&T.attributes&&E({...T,attributes:{...T.attributes,personality:{...T.attributes.personality,[e]:t}}})},P=(e,t)=>{T&&E({...T,customValues:{...T.customValues,[e]:t}})},V=(e,t,s)=>{y(f.map(a=>a.entityType!==e?a:{...a,fields:a.fields.map(e=>e.id===t?{...e,...s}:e)}))},q=t=>e.filter(e=>e.type===t);if("templates"===A){let e;return(0,t.jsxs)("div",{className:"flex h-full gap-6 p-6 bg-theme-bg",children:[(0,t.jsx)("div",{className:"w-1/3 opacity-50 pointer-events-none filter blur-[1px]",children:(0,t.jsxs)("div",{className:"bg-theme-panel rounded-lg p-6 shadow-sm border border-theme-border",children:[(0,t.jsx)("h3",{className:"font-bold text-theme-text mb-4",children:"Aperçu Fiches"}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"}),(0,t.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"}),(0,t.jsx)("div",{className:"h-10 bg-indigo-500/10 rounded"})]})]})}),(e=f.find(e=>e.entityType===R)||{entityType:R,fields:[]},(0,t.jsxs)("div",{className:"flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-8 overflow-y-auto",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start mb-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-2xl font-bold text-theme-text flex items-center gap-2",children:[(0,t.jsx)(u.Layout,{size:24,className:"text-indigo-600"})," Éditeur de Modèles"]}),(0,t.jsx)("p",{className:"text-theme-muted text-sm mt-1",children:"Configurez les champs personnalisés pour chaque type de fiche."})]}),(0,t.jsx)("button",{onClick:()=>M("entities"),className:"p-2 text-theme-muted hover:bg-theme-border rounded-full",children:(0,t.jsx)(n.X,{size:20})})]}),(0,t.jsx)("div",{className:"flex gap-2 mb-8 border-b border-theme-border pb-1",children:Object.values(a.EntityType).map(e=>(0,t.jsx)("button",{onClick:()=>S(e),className:`px-4 py-2 text-sm font-medium rounded-t-lg transition-colors ${R===e?"bg-indigo-500/10 text-indigo-700 border-b-2 border-indigo-600":"text-theme-muted hover:text-theme-text hover:bg-theme-panel/50"}`,children:e},e))}),(0,t.jsxs)("div",{className:"space-y-4",children:[e.fields.map((e,s)=>(0,t.jsxs)("div",{className:"bg-theme-bg border border-theme-border rounded-lg p-4 flex gap-4 items-start group",children:[(0,t.jsxs)("div",{className:"flex-1 grid grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Nom du champ"}),(0,t.jsx)("input",{type:"text",value:e.label,onChange:t=>V(R,e.id,{label:t.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Type"}),(0,t.jsxs)("select",{value:e.type,onChange:t=>V(R,e.id,{type:t.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:[(0,t.jsx)("option",{value:"text",children:"Texte court"}),(0,t.jsx)("option",{value:"textarea",children:"Texte long"}),(0,t.jsx)("option",{value:"number",children:"Nombre"}),(0,t.jsx)("option",{value:"boolean",children:"Case à cocher"}),(0,t.jsx)("option",{value:"select",children:"Liste déroulante"})]})]}),"select"===e.type&&(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Options (séparées par des virgules)"}),(0,t.jsx)("input",{type:"text",value:e.options?.join(",")||"",onChange:t=>V(R,e.id,{options:t.target.value.split(",").map(e=>e.trim())}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",placeholder:"Option A, Option B, Option C"})]})]}),(0,t.jsx)("button",{onClick:()=>{var t;return t=e.id,void y(f.map(e=>e.entityType!==R?e:{...e,fields:e.fields.filter(e=>e.id!==t)}))},className:"p-2 text-theme-muted hover:text-red-600 hover:bg-red-50 rounded mt-5",children:(0,t.jsx)(l.Trash2,{size:16})})]},e.id)),(0,t.jsxs)("button",{onClick:()=>{let e,t;return e={id:`field-${Date.now()}`,label:"Nouveau Champ",type:"text",placeholder:""},void(!(t=f.map(t=>t.entityType===R?{...t,fields:[...t.fields,e]}:t)).some(e=>e.entityType===R)&&t.push({entityType:R,fields:[e]}),y(t))},className:"w-full py-3 border-2 border-dashed border-theme-border rounded-lg text-theme-muted hover:border-indigo-400 hover:text-indigo-600 hover:bg-indigo-500/10 transition-all flex items-center justify-center gap-2",children:[(0,t.jsx)(r.Plus,{size:20})," Ajouter un champ"]})]})]}))]})}return(0,t.jsxs)("div",{className:"flex h-full gap-6 p-6 bg-theme-bg",children:[(0,t.jsxs)("div",{className:"w-1/3 flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center px-1",children:[(0,t.jsx)("h2",{className:"text-lg font-bold text-theme-text",children:"Explorateur"}),(0,t.jsxs)("button",{onClick:()=>M("templates"),className:"flex items-center gap-1.5 px-3 py-1.5 bg-indigo-100 text-indigo-700 hover:bg-indigo-200 rounded text-xs font-medium transition-colors",title:"Gérer les modèles de fiches",children:[(0,t.jsx)(x.Settings,{size:14})," Modèles"]})]}),(0,t.jsx)("div",{className:"space-y-6 overflow-y-auto pr-2 pb-4 flex-1",children:Object.values(a.EntityType).map(e=>(0,t.jsxs)("div",{className:"bg-theme-panel rounded-lg shadow-sm border border-theme-border overflow-hidden",children:[(0,t.jsxs)("div",{className:"bg-indigo-500/10 p-3 border-b border-theme-border flex justify-between items-center",children:[(0,t.jsxs)("h3",{className:"font-semibold text-theme-text flex items-center gap-2",children:[(0,t.jsx)("span",{children:b.ENTITY_ICONS[e]})," ",e,"s"]}),(0,t.jsx)("button",{onClick:()=>{E({id:Date.now().toString(),type:e,name:"",description:"",details:"",storyContext:"",attributes:e===a.EntityType.CHARACTER?{...g}:void 0,customValues:{}}),w("NEW")},className:"p-1 hover:bg-indigo-100 rounded text-indigo-600 transition-colors",children:(0,t.jsx)(r.Plus,{size:16})})]}),(0,t.jsxs)("div",{className:"divide-y divide-slate-100",children:[0===q(e).length&&(0,t.jsx)("p",{className:"p-4 text-sm text-theme-muted italic text-center",children:"Aucun élément"}),q(e).map(e=>(0,t.jsxs)("div",{onClick:()=>I(e),className:`p-3 cursor-pointer hover:bg-blue-500/10 transition-colors flex justify-between group ${k===e.id?"bg-blue-500/10 border-l-4 border-blue-500":""}`,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-medium text-theme-text",children:e.name}),(0,t.jsx)("div",{className:"text-xs text-theme-muted truncate",children:e.description})]}),(0,t.jsx)("button",{onClick:t=>{var s;t.stopPropagation(),s=e.id,confirm("Supprimer cet élément ?")&&(j(s),k===s&&(w(null),E(null)))},className:"opacity-0 group-hover:opacity-100 text-red-400 hover:text-red-600 transition-opacity",children:(0,t.jsx)(l.Trash2,{size:14})})]},e.id))]})]},e))})]}),(0,t.jsx)("div",{className:"flex-1 bg-theme-panel rounded-xl shadow-lg border border-theme-border p-8 overflow-y-auto",children:k&&T?(0,t.jsxs)("div",{className:"space-y-6 animate-in fade-in duration-200",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("span",{className:`inline-block px-2 py-1 rounded text-xs font-bold uppercase tracking-wider ${b.ENTITY_COLORS[T.type]}`,children:T.type}),(0,t.jsx)("h2",{className:"text-2xl font-bold text-theme-text",children:T.type===a.EntityType.CHARACTER?"Fiche Personnage":"Édition de la fiche"})]}),(0,t.jsx)("div",{className:"flex gap-2",children:(0,t.jsx)("button",{onClick:()=>w(null),className:"p-2 text-theme-muted hover:bg-theme-border rounded-full",children:(0,t.jsx)(n.X,{size:20})})})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:"Nom"}),(0,t.jsx)("input",{type:"text",value:T.name,onChange:e=>E({...T,name:e.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none font-serif text-lg",placeholder:"Ex: Gandalf le Gris"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:"Description Courte (pour l'IA)"}),(0,t.jsx)("textarea",{value:T.description,onChange:e=>E({...T,description:e.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-20",placeholder:"Un magicien puissant qui guide la communauté..."})]}),T.type===a.EntityType.CHARACTER&&(()=>{if(!T?.attributes)return null;let e=T.attributes;return(0,t.jsxs)("div",{className:"space-y-8 border-t border-theme-border pt-6 mt-4",children:[(0,t.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,t.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,t.jsx)(o.User,{size:16})," Identité Narrative"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-2",children:"Archétype"}),(0,t.jsx)("input",{type:"text",list:"archetype-suggestions",value:e.archetype,onChange:e=>O("archetype",e.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-blue-500",placeholder:"Ex: Le Héros, Le Sage..."}),(0,t.jsx)("datalist",{id:"archetype-suggestions",children:z.map(e=>(0,t.jsx)("option",{value:e},e))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-2",children:"Rôle dans l'histoire"}),(0,t.jsx)("div",{className:"flex gap-2 flex-wrap",children:[{val:"protagonist",label:"Protagoniste"},{val:"antagonist",label:"Antagoniste"},{val:"support",label:"Secondaire"},{val:"extra",label:"Figurant"}].map(s=>(0,t.jsxs)("label",{className:`cursor-pointer px-3 py-1.5 rounded text-xs border transition-colors ${e.role===s.val?"bg-indigo-100 border-indigo-300 text-indigo-700 font-bold":"bg-theme-bg border-theme-border text-theme-muted hover:bg-theme-border"}`,children:[(0,t.jsx)("input",{type:"radio",name:"role",value:s.val,checked:e.role===s.val,onChange:()=>O("role",s.val),className:"hidden"}),s.label]},s.val))})]})]})]}),(0,t.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,t.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,t.jsx)(h,{size:16})," Apparence Physique"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex justify-between text-xs mb-1",children:(0,t.jsx)("label",{className:"font-semibold text-theme-muted",children:"Âge (ans)"})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("input",{type:"range",min:"1",max:"100",value:Math.min(e.age,100),onChange:e=>O("age",parseInt(e.target.value)),className:"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"}),(0,t.jsx)("input",{type:"number",value:e.age,onChange:e=>O("age",parseInt(e.target.value)),className:"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex justify-between text-xs mb-1",children:(0,t.jsx)("label",{className:"font-semibold text-theme-muted",children:"Taille (cm)"})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("input",{type:"range",min:"50",max:"250",value:Math.min(e.height,250),onChange:e=>O("height",parseInt(e.target.value)),className:"flex-1 h-2 bg-slate-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"}),(0,t.jsx)("input",{type:"number",value:e.height,onChange:e=>O("height",parseInt(e.target.value)),className:"w-20 p-1 text-right text-sm border border-theme-border rounded font-mono text-indigo-700 bg-theme-bg focus:border-indigo-500 outline-none"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Cheveux"}),(0,t.jsx)("select",{value:e.hair,onChange:e=>O("hair",e.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:b.HAIR_COLORS.map(e=>(0,t.jsx)("option",{value:e,children:e},e))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Yeux"}),(0,t.jsx)("select",{value:e.eyes,onChange:e=>O("eyes",e.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm",children:b.EYE_COLORS.map(e=>(0,t.jsx)("option",{value:e,children:e},e))})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Signe distinctif"}),(0,t.jsx)("input",{type:"text",value:e.physicalQuirk,onChange:e=>O("physicalQuirk",e.target.value),placeholder:"Cicatrice, tatouage...",className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400"})]})]})]})]}),(0,t.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border",children:[(0,t.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,t.jsx)(m,{size:16})," Psychologie & Comportement"]}),(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"space-y-4 px-2",children:[(0,t.jsxs)("div",{className:"relative pt-1",children:[(0,t.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,t.jsx)("span",{children:"Introverti"}),(0,t.jsx)("span",{children:"Extraverti"})]}),(0,t.jsx)("input",{type:"range",min:"0",max:"100",value:e.personality.spectrumIntrovertExtravert,onChange:e=>H("spectrumIntrovertExtravert",parseInt(e.target.value)),className:"w-full h-2 bg-gradient-to-r from-slate-300 via-indigo-200 to-slate-300 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]}),(0,t.jsxs)("div",{className:"relative pt-1",children:[(0,t.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,t.jsx)("span",{children:"Émotionnel"}),(0,t.jsx)("span",{children:"Rationnel"})]}),(0,t.jsx)("input",{type:"range",min:"0",max:"100",value:e.personality.spectrumEmotionalRational,onChange:e=>H("spectrumEmotionalRational",parseInt(e.target.value)),className:"w-full h-2 bg-gradient-to-r from-red-200 via-purple-200 to-blue-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]}),(0,t.jsxs)("div",{className:"relative pt-1",children:[(0,t.jsxs)("div",{className:"flex justify-between text-[10px] uppercase font-bold text-theme-muted mb-1",children:[(0,t.jsx)("span",{children:"Chaotique"}),(0,t.jsx)("span",{children:"Loyal"})]}),(0,t.jsx)("input",{type:"range",min:"0",max:"100",value:e.personality.spectrumChaoticLawful,onChange:e=>H("spectrumChaoticLawful",parseInt(e.target.value)),className:"w-full h-2 bg-gradient-to-r from-orange-200 via-yellow-100 to-green-200 rounded-lg appearance-none cursor-pointer accent-indigo-600"})]})]}),(0,t.jsxs)("div",{className:"border-t border-theme-border pt-4",children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:"Toc ou habitude comportementale"}),(0,t.jsx)("input",{type:"text",value:e.behavioralQuirk,onChange:e=>O("behavioralQuirk",e.target.value),placeholder:"Joue avec sa bague, bégaie quand il ment...",className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400"})]})]})]})]})})(),(C=f.find(e=>e.entityType===T?.type))&&0!==C.fields.length?(0,t.jsxs)("div",{className:"bg-theme-bg p-4 rounded-lg border border-theme-border mt-6",children:[(0,t.jsxs)("h3",{className:"text-sm font-bold text-theme-text uppercase mb-4 flex items-center gap-2",children:[(0,t.jsx)(p.List,{size:16})," Champs Personnalisés"]}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-4",children:C.fields.map(e=>{let s=T?.customValues?.[e.id]??"";return(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-xs font-semibold text-theme-muted mb-1",children:e.label}),"textarea"===e.type?(0,t.jsx)("textarea",{value:s,onChange:t=>P(e.id,t.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",placeholder:e.placeholder}):"select"===e.type?(0,t.jsxs)("select",{value:s,onChange:t=>P(e.id,t.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",children:[(0,t.jsx)("option",{value:"",children:"Sélectionner..."}),e.options?.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]}):"boolean"===e.type?(0,t.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,t.jsx)("input",{type:"checkbox",checked:!!s,onChange:t=>P(e.id,t.target.checked),className:"w-4 h-4 text-indigo-600 rounded border-theme-border focus:ring-indigo-500"}),(0,t.jsx)("span",{className:"text-sm text-theme-text",children:"Activé / Oui"})]}):(0,t.jsx)("input",{type:"number"===e.type?"number":"text",value:s,onChange:t=>P(e.id,t.target.value),className:"w-full p-2 bg-theme-bg border border-theme-border rounded text-sm outline-none focus:border-indigo-400",placeholder:e.placeholder})]},e.id)})})]}):null,(0,t.jsxs)("div",{className:"mt-6 border-t border-theme-border pt-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-indigo-700 mb-1 flex items-center gap-2",children:[(0,t.jsx)(d.Sparkles,{size:14})," Contexte Narratif (Auto-généré)"]}),(0,t.jsx)("textarea",{value:T.storyContext||"",onChange:e=>E({...T,storyContext:e.target.value}),className:"w-full p-2 border border-indigo-200 bg-indigo-500/10 rounded focus:ring-2 focus:ring-blue-500 outline-none text-sm h-24 italic text-theme-muted",placeholder:"Les événements vécus par ce personnage apparaîtront ici..."})]}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-theme-text mb-1",children:"Notes & Biographie Complète"}),(0,t.jsx)("textarea",{value:T.details,onChange:e=>E({...T,details:e.target.value}),className:"w-full p-2 bg-theme-bg border border-theme-border rounded focus:ring-2 focus:ring-blue-500 outline-none h-48 font-serif",placeholder:"Histoire détaillée, secrets, origines..."})]})]}),(0,t.jsx)("div",{className:"pt-4 flex justify-end",children:(0,t.jsxs)("button",{onClick:L,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg flex items-center gap-2 transition-colors shadow-md",children:[(0,t.jsx)(i.Save,{size:18}),"Enregistrer la fiche"]})})]})]}):(0,t.jsxs)("div",{className:"h-full flex flex-col items-center justify-center text-theme-muted",children:[(0,t.jsx)("div",{className:"text-6xl mb-4 opacity-20",children:"🌍"}),(0,t.jsx)("p",{className:"text-lg",children:"Sélectionnez ou créez une fiche pour commencer."}),(0,t.jsx)("p",{className:"text-sm",children:"Ces informations aideront l'IA à rester cohérente."})]})})]})};var j=e.i(24224);function f(){let{project:e,updateProject:s,createEntity:a,updateEntity:r,deleteEntity:l}=(0,j.useProjectContext)();return(0,t.jsx)(v,{entities:e.entities||[],onCreate:async e=>await a(e.type,e),onUpdate:(e,t)=>r(e,t),onDelete:e=>l(e),templates:e.templates||[],onUpdateTemplates:e=>s({templates:e}),initialSelectedId:null})}e.s(["default",()=>f],52724)}]); \ No newline at end of file diff --git a/.next/static/chunks/b882acfc29dfc10d.js b/.next/static/chunks/b882acfc29dfc10d.js deleted file mode 100644 index 7ba1f25..0000000 --- a/.next/static/chunks/b882acfc29dfc10d.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78445,e=>{"use strict";var t=e.i(59760);let s=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim(),l=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let r=(0,t.forwardRef)(({color:e="currentColor",size:l=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:o="",children:n,iconNode:c,...d},x)=>(0,t.createElement)("svg",{ref:x,...a,width:l,height:l,stroke:e,strokeWidth:i?24*Number(r)/Number(l):r,className:s("lucide",o),...!n&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,s])=>(0,t.createElement)(e,s)),...Array.isArray(n)?n:[n]])),i=(e,a)=>{let i=(0,t.forwardRef)(({className:i,...o},n)=>(0,t.createElement)(r,{ref:n,iconNode:a,className:s(`lucide-${l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...o}));return i.displayName=l(e),i};e.s(["default",()=>i],78445)},12856,(e,t,s)=>{t.exports=e.r(96479)},11690,e=>{"use strict";let t=(0,e.i(78445).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],11690)},43331,e=>{"use strict";let t=(0,e.i(78445).default)("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);e.s(["Book",()=>t],43331)},46202,e=>{"use strict";let t=(0,e.i(78445).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>t],46202)},99473,e=>{"use strict";var t=e.i(30064),s=e.i(43331),l=e.i(46202),a=e.i(11690);let r=({onLogin:e,onPricing:r,onFeatures:i})=>(0,t.jsxs)("div",{className:"min-h-screen bg-[#eef2ff] font-sans selection:bg-blue-200",children:[(0,t.jsxs)("nav",{className:"fixed top-0 w-full bg-white/80 backdrop-blur-md z-50 border-b border-indigo-100 px-8 h-16 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"bg-blue-600 p-1.5 rounded-lg",children:(0,t.jsx)(s.Book,{className:"text-white",size:24})}),(0,t.jsx)("span",{className:"text-xl font-black text-slate-900 tracking-tight",children:"PlumeIA"})]}),(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-8 text-sm font-medium text-slate-600",children:[(0,t.jsx)("button",{onClick:i,className:"hover:text-blue-600 transition-colors",children:"Fonctionnalités"}),(0,t.jsx)("button",{onClick:r,className:"hover:text-blue-600 transition-colors",children:"Tarifs"}),(0,t.jsx)("a",{href:"#",className:"hover:text-blue-600 transition-colors",children:"Blog"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("button",{onClick:e,className:"text-sm font-bold text-slate-700 hover:text-blue-600 px-4 py-2",children:"Connexion"}),(0,t.jsx)("button",{onClick:e,className:"bg-slate-900 text-white px-5 py-2.5 rounded-full text-sm font-bold hover:bg-blue-600 transition-all shadow-lg hover:shadow-blue-200",children:"Essai Gratuit"})]})]}),(0,t.jsxs)("header",{className:"pt-32 pb-20 px-8 max-w-7xl mx-auto text-center",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 bg-white border border-indigo-100 px-4 py-2 rounded-full text-xs font-bold text-blue-600 mb-8 shadow-sm",children:[(0,t.jsx)(l.Sparkles,{size:14,className:"animate-pulse"})," NOUVEAUTÉ : GÉNÉRATION DE BIBLE DU MONDE PAR IA"]}),(0,t.jsxs)("h1",{className:"text-5xl md:text-7xl font-black text-slate-900 leading-[1.1] mb-6",children:["L'écriture d'un roman, ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-500",children:"augmentée par l'IA."})]}),(0,t.jsx)("p",{className:"text-xl text-slate-600 max-w-2xl mx-auto mb-10 leading-relaxed",children:"PlumeIA est le premier éditeur intelligent qui comprend votre univers, vos personnages et votre style pour vous aider à franchir la page blanche."}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[(0,t.jsxs)("button",{onClick:e,className:"w-full sm:w-auto bg-blue-600 text-white px-8 py-4 rounded-full text-lg font-bold hover:bg-blue-700 transition-all shadow-xl shadow-blue-200 flex items-center gap-2 justify-center",children:["Commencer mon livre ",(0,t.jsx)(a.ArrowRight,{size:20})]}),(0,t.jsx)("button",{onClick:i,className:"w-full sm:w-auto bg-white text-slate-900 border border-slate-200 px-8 py-4 rounded-full text-lg font-bold hover:bg-slate-50 transition-all",children:"Voir la démo"})]}),(0,t.jsxs)("div",{className:"mt-20 relative",children:[(0,t.jsx)("div",{className:"absolute -inset-4 bg-gradient-to-r from-blue-500/20 to-indigo-500/20 blur-3xl -z-10 rounded-full"}),(0,t.jsx)("div",{className:"bg-white rounded-2xl shadow-2xl border border-indigo-100 p-2 overflow-hidden max-w-5xl mx-auto",children:(0,t.jsx)("img",{src:"https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&q=80&w=2000",alt:"Editor Preview",className:"rounded-xl object-cover h-[500px] w-full"})})]})]}),(0,t.jsx)("section",{className:"bg-white py-24 px-8 border-y border-indigo-100",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto text-center",children:[(0,t.jsx)("h2",{className:"text-slate-400 text-sm font-bold uppercase tracking-widest mb-12",children:"Utilisé par les auteurs de demain"}),(0,t.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-12 items-center grayscale opacity-60",children:[(0,t.jsx)("span",{className:"text-3xl font-serif font-black italic",children:"FantasyMag"}),(0,t.jsx)("span",{className:"text-2xl font-sans font-bold",children:"Writer's Hub"}),(0,t.jsx)("span",{className:"text-3xl font-serif",children:"L'Éditeur"}),(0,t.jsx)("span",{className:"text-2xl font-sans font-black tracking-tight underline underline-offset-4 decoration-blue-500",children:"Novelty"})]})]})}),(0,t.jsx)("footer",{className:"bg-slate-900 text-slate-400 py-12 px-8 text-center",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 text-white mb-6",children:[(0,t.jsx)(s.Book,{className:"text-blue-500",size:24}),(0,t.jsx)("span",{className:"text-xl font-bold",children:"PlumeIA"})]}),(0,t.jsx)("p",{className:"text-sm",children:"© 2024 PlumeIA. Tous droits réservés."})]})})]});var i=e.i(12856);function o(){let e=(0,i.useRouter)();return(0,t.jsx)(r,{onLogin:()=>e.push("/login"),onFeatures:()=>e.push("/features"),onPricing:()=>e.push("/pricing")})}e.s(["default",()=>o],99473)}]); \ No newline at end of file diff --git a/.next/static/chunks/df6079c3e636ac5a.js b/.next/static/chunks/df6079c3e636ac5a.js deleted file mode 100644 index c889fa4..0000000 --- a/.next/static/chunks/df6079c3e636ac5a.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44026,e=>{"use strict";let t=(0,e.i(78445).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],44026)},78445,e=>{"use strict";var t=e.i(59760);let a=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim(),r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:d,iconNode:c,...n},u)=>(0,t.createElement)("svg",{ref:u,...i,width:r,height:r,stroke:e,strokeWidth:o?24*Number(s)/Number(r):s,className:a("lucide",l),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(n)&&{"aria-hidden":"true"},...n},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(d)?d:[d]])),o=(e,i)=>{let o=(0,t.forwardRef)(({className:o,...l},d)=>(0,t.createElement)(s,{ref:d,iconNode:i,className:a(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...l}));return o.displayName=r(e),o};e.s(["default",()=>o],78445)},12856,(e,t,a)=>{t.exports=e.r(96479)},62746,e=>{"use strict";let t=(0,e.i(78445).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",()=>t],62746)},46202,e=>{"use strict";let t=(0,e.i(78445).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>t],46202)},59111,e=>{"use strict";let t=(0,e.i(78445).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],59111)},46553,e=>{"use strict";let t=(0,e.i(78445).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",()=>t],46553)},50147,e=>{"use strict";let t=(0,e.i(78445).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],50147)},98867,e=>{"use strict";let t=(0,e.i(78445).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);e.s(["Layout",()=>t],98867)},74080,97794,e=>{"use strict";var t=e.i(78445);let a=(0,t.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",()=>a],74080);let r=(0,t.default)("mouse-pointer-click",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]]);e.s(["MousePointerClick",()=>r],97794)},36268,e=>{"use strict";let t=(0,e.i(78445).default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);e.s(["Lightbulb",()=>t],36268)},12155,12100,e=>{"use strict";var t=e.i(78445);let a=(0,t.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",()=>a],12155);let r=(0,t.default)("git-graph",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M5 9v6",key:"158jrl"}],["circle",{cx:"5",cy:"18",r:"3",key:"104gr9"}],["path",{d:"M12 3v18",key:"108xh3"}],["circle",{cx:"19",cy:"6",r:"3",key:"108a5v"}],["path",{d:"M16 15.7A9 9 0 0 0 19 9",key:"1e3vqb"}]]);e.s(["GitGraph",()=>r],12100)},33907,e=>{"use strict";var t,a=((t={}).CHARACTER="Personnage",t.LOCATION="Lieu",t.OBJECT="Objet",t.NOTE="Note",t);e.s(["EntityType",()=>a])},22508,e=>{"use strict";let t=(0,e.i(78445).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>t],22508)},24224,e=>{"use strict";var t=e.i(30064),a=e.i(59760);let r=(0,a.createContext)(null);function i({value:e,children:a}){return(0,t.jsx)(r.Provider,{value:e,children:a})}function s(){let e=(0,a.useContext)(r);if(!e)throw Error("useProjectContext must be used within ProjectProvider");return e}e.s(["ProjectProvider",()=>i,"useProjectContext",()=>s])},4917,e=>{"use strict";let t=(0,e.i(78445).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["Trash2",()=>t],4917)},30914,e=>{"use strict";let t=(0,e.i(78445).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",()=>t],30914)},15536,e=>{"use strict";let t=(0,e.i(78445).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["MessageCircle",()=>t],15536)},43331,e=>{"use strict";let t=(0,e.i(78445).default)("book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);e.s(["Book",()=>t],43331)},71143,e=>{"use strict";var t=e.i(33907);let a={[t.EntityType.CHARACTER]:"👤",[t.EntityType.LOCATION]:"🏰",[t.EntityType.OBJECT]:"🗝️",[t.EntityType.NOTE]:"📝"},r={[t.EntityType.CHARACTER]:"bg-blue-100 text-blue-800 border-blue-200",[t.EntityType.LOCATION]:"bg-green-100 text-green-800 border-green-200",[t.EntityType.OBJECT]:"bg-amber-100 text-amber-800 border-amber-200",[t.EntityType.NOTE]:"bg-gray-100 text-gray-800 border-gray-200"};e.s(["ARCHETYPES",0,["Le Héros","L'Ombre / Le Méchant","Le Mentor","Le Gardien du Seuil","Le Shapeshifter (Changeforme)","Le Trickster (Farceur)","L'Allié","L'Élu","Le Rebelle","Le Séducteur","Le Sage","Le Guerrier","L'Innocent"],"DEFAULT_AUTHOR",0,"Auteur Inconnu","DEFAULT_BOOK_TITLE",0,"Nouveau Roman","ENTITY_COLORS",0,r,"ENTITY_ICONS",0,a,"EYE_COLORS",0,["Marron","Bleu","Vert","Noisette","Gris","Noir","Vairons","Ambre"],"GENRES",0,["Fantasy","Science-Fiction","Thriller / Polar","Romance","Historique","Horreur","Aventure","Contemporain","Jeunesse / Young Adult","Dystopie"],"HAIR_COLORS",0,["Brun","Noir","Blond","Roux","Auburn","Gris","Blanc","Châtain","Chauve","Teinture (Bleu/Rose/Etc)"],"INITIAL_CHAPTER",0,{id:"chap-1",title:"Chapitre 1",content:"

Il était une fois...

",summary:"Début de l'histoire."},"POV_OPTIONS",0,["1ère personne (Je)","3ème personne (Limitée au protagoniste)","3ème personne (Omnisciente)","Multi-points de vue (Alterné)"],"TENSE_OPTIONS",0,["Passé (Passé simple / Imparfait)","Présent de narration"],"TONES",0,["Sombre & Sérieux","Léger & Humoristique","Épique & Grandiose","Mélancolique","Mystérieux","Optimiste","Cynique","Romantique"]])},8011,30103,86180,e=>{"use strict";var t=e.i(59760),a=e.i(4301),r=e.i(71143);e.s(["useProjects",0,e=>{let[i,s]=(0,t.useState)([]),[o,l]=(0,t.useState)(null),[d,c]=(0,t.useState)(!1);(0,t.useEffect)(()=>{e?(async()=>{c(!0);try{let e=(await a.default.projects.list()||[]).map(e=>({id:e.id,title:e.title,author:e.author,lastModified:new Date(e.updatedAt).getTime(),chapters:Array.from({length:e._count?.chapters||0},(e,t)=>({id:`placeholder-${t}`,title:"",content:""})),entities:Array.from({length:e._count?.entities||0},(e,t)=>({id:`placeholder-${t}`,type:"character",name:"",description:""})),ideas:[],settings:e.settings||void 0}));s(e)}catch(e){console.error("Failed to load projects",e)}finally{c(!1)}})():s([])},[e]),(0,t.useEffect)(()=>{o&&(async()=>{try{let e=await a.default.projects.get(o),t={id:e.id,title:e.title,author:e.author,lastModified:new Date(e.updatedAt).getTime(),settings:e.settings||void 0,styleGuide:e.styleGuide||void 0,chapters:(e.chapters||[]).map(e=>({id:e.id,title:e.title,content:e.content,summary:e.summary})),entities:(e.entities||[]).map(e=>({id:e.id,type:e.type,name:e.name,description:e.description,details:e.details,storyContext:e.storyContext,attributes:e.attributes,customValues:e.customValues})),ideas:(e.ideas||[]).map(e=>({id:e.id,title:e.title,description:e.description,status:e.status,category:e.category,createdAt:new Date(e.createdAt).getTime()})),workflow:{nodes:(e.plotNodes||[]).map(e=>({id:e.id,x:e.x,y:e.y,title:e.title,description:e.description,color:e.color,type:e.type})),connections:(e.plotConnections||[]).map(e=>({id:e.id,source:e.source,target:e.target}))}};s(e=>e.map(e=>e.id===o?t:e))}catch(e){console.error("Failed to load project details",e)}})()},[o]);let n=async(e,t)=>{try{let r=await a.default.chapters.create({projectId:e,title:t.title||"New Chapter",content:t.content||"",summary:t.summary||void 0});return s(t=>t.map(t=>t.id!==e?t:{...t,chapters:[...t.chapters,{id:r.id,title:r.title,content:r.content,summary:r.summary}]})),r.id}catch(e){return console.error("Failed to add chapter",e),null}};return{projects:i,currentProjectId:o,setCurrentProjectId:l,createProject:async()=>{if(e)try{let t=await a.default.projects.create({title:r.DEFAULT_BOOK_TITLE,author:e.name||r.DEFAULT_AUTHOR,settings:{genre:"Fantasy",targetAudience:"Adult",tone:"Epic"}}),i={id:t.id,title:t.title,author:t.author,lastModified:Date.now(),chapters:[],entities:[],ideas:[],settings:t.settings};return s(e=>[...e,i]),await n(t.id,r.INITIAL_CHAPTER),t.id}catch(e){throw console.error("Failed to create project",e),e}},updateProject:async(e,t)=>{s(a=>a.map(a=>a.id===e?{...a,...t}:a));try{let r={};void 0!==t.title&&(r.title=t.title),void 0!==t.author&&(r.author=t.author),void 0!==t.settings&&(r.settings=t.settings),void 0!==t.styleGuide&&(r.styleGuide=t.styleGuide),Object.keys(r).length>0&&await a.default.projects.update(e,r),t.workflow&&await a.default.projects.syncWorkflow(e,{nodes:t.workflow.nodes||[],connections:t.workflow.connections||[]})}catch(e){console.error("Failed to update project",e)}},addChapter:n,updateChapter:async(e,t,r)=>{s(a=>a.map(a=>a.id!==e?a:{...a,chapters:a.chapters.map(e=>e.id===t?{...e,...r}:e)}));try{await a.default.chapters.update(t,r)}catch(e){console.error("Failed to update chapter",e)}},createEntity:async(e,t,r)=>{try{let i=await a.default.entities.create({projectId:e,type:t,name:r?.name||`Nouveau ${t}`,description:r?.description||"",details:r?.details||"",attributes:r?.attributes||void 0,customValues:r?.customValues||void 0});return s(t=>t.map(t=>t.id!==e?t:{...t,entities:[...t.entities,{id:i.id,type:i.type,name:i.name,description:i.description,details:i.details,attributes:i.attributes,customValues:i.customValues||{}}]})),i.id}catch(e){throw console.error("Failed to create entity",e),e}},updateEntity:async(e,t,r)=>{s(a=>a.map(a=>a.id!==e?a:{...a,entities:a.entities.map(e=>e.id===t?{...e,...r}:e)}));try{await a.default.entities.update(t,r)}catch(e){console.error("Failed to update entity",e)}},deleteEntity:async(e,t)=>{s(a=>a.map(a=>a.id!==e?a:{...a,entities:a.entities.filter(e=>e.id!==t)}));try{await a.default.entities.delete(t)}catch(e){console.error("Failed to delete entity",e)}},deleteProject:async e=>{try{await a.default.projects.delete(e),s(t=>t.filter(t=>t.id!==e)),o===e&&l(null)}catch(e){console.error("Failed to delete project",e)}}}}],8011);var i=e.i(78445);let s=(0,i.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>s],30103);let o=(0,i.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",()=>o],86180)}]); \ No newline at end of file diff --git a/.next/static/chunks/turbopack-c61e6754afd196ce.js b/.next/static/chunks/turbopack-c61e6754afd196ce.js deleted file mode 100644 index 1b70db7..0000000 --- a/.next/static/chunks/turbopack-c61e6754afd196ce.js +++ /dev/null @@ -1,4 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/2f95708884cc928a.js","static/chunks/2ec26efb5effde60.js","static/chunks/2d1ce1663f6952f0.js","static/chunks/52427933b11d700a.js"],runtimeModuleIds:[42833]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=(self.TURBOPACK_CHUNK_SUFFIX??document?.currentScript?.getAttribute?.("src")?.replace(/^(.*(?=\?)|^.*$)/,""))||"",n=new WeakMap;function o(e,t){this.m=e,this.e=t}let l=o.prototype,i=Object.prototype.hasOwnProperty,s="u">typeof Symbol&&Symbol.toStringTag;function u(e,t,r){i.call(e,t)||Object.defineProperty(e,t,r)}function c(e,t){let r=e[t];return r||(r=a(t),e[t]=r),r}function a(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function f(e,t){u(e,"__esModule",{value:!0}),s&&u(e,s,{value:"Module"});let r=0;for(;rObject.getPrototypeOf(e):e=>e.__proto__,h=[null,p({}),p([]),p(p)];function d(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!h.includes(t);t=p(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),f(t,n),t}function m(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=d(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function b(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function y(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}l.i=m,l.A=function(e){return this.r(e)(m.bind(this))},l.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},l.r=function(e){return B(e,this.m).exports},l.f=function(e){function t(t){if(t=b(t),i.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=b(t),i.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let O=Symbol("turbopack queues"),g=Symbol("turbopack exports"),w=Symbol("turbopack error");function C(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}l.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:l,reject:i,promise:s}=y(),u=Object.assign(s,{[g]:r.exports,[O]:e=>{n&&e(n),o.forEach(e),u.catch(()=>{})}}),c={get:()=>u,set(e){e!==u&&(u[g]=e)}};Object.defineProperty(r,"exports",c),Object.defineProperty(r,"namespaceObject",c),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(O in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[g]:{},[O]:e=>e(t)};return e.then(e=>{r[g]=e,C(t)},e=>{r[w]=e,C(t)}),r}}return{[g]:e,[O]:()=>{}}}),r=()=>t.map(e=>{if(e[w])throw e[w];return e[g]}),{promise:l,resolve:i}=y(),s=Object.assign(()=>i(r),{queueCount:0});function u(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(s.queueCount++,e.push(s)))}return t.map(e=>e[O](u)),s.queueCount?l:r()},function(e){e?i(u[w]=e):l(u[g]),C(n)}),n&&-1===n.status&&(n.status=0)};let U=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}U.prototype=URL.prototype,l.U=U,l.z=function(e){throw Error("dynamic usage of require is not supported")},l.g=globalThis;let j=o.prototype;var k,_=((k=_||{})[k.Runtime=0]="Runtime",k[k.Parent=1]="Parent",k[k.Update=2]="Update",k);let v=new Map;l.M=v;let $=new Map,P=new Map;async function S(e,t,r){let n;if("string"==typeof r)return E(e,t,K(r));let o=r.included||[],l=o.map(e=>!!v.has(e)||$.get(e));if(l.length>0&&l.every(e=>e))return void await Promise.all(l);let i=r.moduleChunks||[],s=i.map(e=>P.get(e)).filter(e=>e);if(s.length>0){if(s.length===i.length)return void await Promise.all(s);let r=new Set;for(let e of i)P.has(e)||r.add(e);for(let n of r){let r=E(e,t,K(n));P.set(n,r),s.push(r)}n=Promise.all(s)}else{for(let o of(n=E(e,t,K(r.path)),i))P.has(o)||P.set(o,n)}for(let e of o)$.has(e)||$.set(e,n);await n}j.l=function(e){return S(1,this.m.id,e)};let T=Promise.resolve(void 0),A=new WeakMap;function E(t,r,n){let o=e.loadChunkCached(t,n),l=A.get(o);if(void 0===l){let e=A.set.bind(A,o,T);l=o.then(e).catch(e=>{let o;switch(t){case 0:o=`as a runtime dependency of chunk ${r}`;break;case 1:o=`from module ${r}`;break;case 2:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let l=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw l.name="ChunkLoadError",l}),A.set(o,l)}return l}function K(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}j.L=function(e){return E(1,this.m.id,e)},j.R=function(e){let t=this.r(e);return t?.default??t},j.P=function(e){return`/ROOT/${e??""}`},j.b=function(e){let t=new Blob([`self.TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)}; -self.TURBOPACK_CHUNK_SUFFIX = ${JSON.stringify(r)}; -self.TURBOPACK_NEXT_CHUNK_URLS = ${JSON.stringify(e.reverse().map(K),null,2)}; -importScripts(...self.TURBOPACK_NEXT_CHUNK_URLS.map(c => self.TURBOPACK_WORKER_LOCATION + c).reverse());`],{type:"text/javascript"});return URL.createObjectURL(t)};let x=/\.js(?:\?[^#]*)?(?:#.*)?$/,N=/\.css(?:\?[^#]*)?(?:#.*)?$/;function M(e){return N.test(e)}l.w=function(t,r,n){return e.loadWebAssembly(1,this.m.id,t,r,n)},l.u=function(t,r){return e.loadWebAssemblyModule(1,this.m.id,t,r)};let L={};l.c=L;let B=(e,t)=>{let r=L[e];if(r){if(r.error)throw r.error;return r}return q(e,_.Parent,t.id)};function q(e,t,r){let n=v.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let l=a(e),i=l.exports;L[e]=l;let s=new o(l,i);try{n(s,l,i)}catch(e){throw l.error=e,e}return l.namespaceObject&&l.exports!==l.namespaceObject&&d(l.exports,l.namespaceObject),l}function I(r){let n,o=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(("u">typeof TURBOPACK_NEXT_CHUNK_URLS?TURBOPACK_NEXT_CHUNK_URLS.pop():e.getAttribute("src")).replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(r[0]);return 2===r.length?n=r[1]:(n=void 0,!function(e,t,r,n){let o=1;for(;o{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},W.set(e,t)}return t}e={async registerChunk(e,t){if(H(K(e)).resolve(),null!=t){for(let e of t.otherChunks)H(K("string"==typeof e?e:e.path));if(await Promise.all(t.otherChunks.map(t=>S(0,e,t))),t.runtimeModuleIds.length>0)for(let r of t.runtimeModuleIds)!function(e,t){let r=L[t];if(r){if(r.error)throw r.error;return}q(t,_.Runtime,e)}(e,r)}},loadChunkCached:(e,t)=>(function(e,t){let r=H(t);if(r.loadingStarted)return r.promise;if(e===_.Runtime)return r.loadingStarted=!0,M(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(M(t));else if(x.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(TURBOPACK_WORKER_LOCATION+t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(M(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(x.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let l=fetch(K(r)),{instance:i}=await WebAssembly.instantiateStreaming(l,o);return i.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(K(r));return await WebAssembly.compileStreaming(o)}};let F=globalThis.TURBOPACK;globalThis.TURBOPACK={push:I},F.forEach(I)})(); \ No newline at end of file diff --git a/.next/trace b/.next/trace index 217f880..28bbf19 100644 --- a/.next/trace +++ b/.next/trace @@ -1 +1 @@ -[{"name":"generate-buildid","duration":124,"timestamp":709226307693,"id":4,"parentId":1,"tags":{},"startTime":1772455769806,"traceId":"11e537efe4dbf3a8"},{"name":"load-custom-routes","duration":190,"timestamp":709226307873,"id":5,"parentId":1,"tags":{},"startTime":1772455769806,"traceId":"11e537efe4dbf3a8"},{"name":"create-dist-dir","duration":217,"timestamp":709226308078,"id":6,"parentId":1,"tags":{},"startTime":1772455769806,"traceId":"11e537efe4dbf3a8"},{"name":"clean","duration":68135,"timestamp":709226308824,"id":7,"parentId":1,"tags":{},"startTime":1772455769807,"traceId":"11e537efe4dbf3a8"},{"name":"create-pages-mapping","duration":135,"timestamp":709226390067,"id":8,"parentId":1,"tags":{},"startTime":1772455769888,"traceId":"11e537efe4dbf3a8"},{"name":"collect-app-files","duration":1281,"timestamp":709226390224,"id":9,"parentId":1,"tags":{},"startTime":1772455769888,"traceId":"11e537efe4dbf3a8"},{"name":"create-app-mapping","duration":1092,"timestamp":709226391525,"id":10,"parentId":1,"tags":{},"startTime":1772455769889,"traceId":"11e537efe4dbf3a8"},{"name":"create-app-layouts","duration":78,"timestamp":709226392634,"id":11,"parentId":1,"tags":{},"startTime":1772455769891,"traceId":"11e537efe4dbf3a8"},{"name":"collect-default-files","duration":836,"timestamp":709226394317,"id":13,"parentId":1,"tags":{},"startTime":1772455769892,"traceId":"11e537efe4dbf3a8"},{"name":"generate-route-types","duration":12411,"timestamp":709226393791,"id":12,"parentId":1,"tags":{},"startTime":1772455769892,"traceId":"11e537efe4dbf3a8"},{"name":"public-dir-conflict-check","duration":86,"timestamp":709226406225,"id":14,"parentId":1,"tags":{},"startTime":1772455769904,"traceId":"11e537efe4dbf3a8"},{"name":"generate-routes-manifest","duration":1478,"timestamp":709226406373,"id":15,"parentId":1,"tags":{},"startTime":1772455769904,"traceId":"11e537efe4dbf3a8"},{"name":"run-turbopack","duration":2845705,"timestamp":709226411497,"id":17,"parentId":1,"tags":{},"startTime":1772455769909,"traceId":"11e537efe4dbf3a8"},{"name":"run-typescript","duration":63887,"timestamp":709229268125,"id":19,"parentId":1,"tags":{},"startTime":1772455772766,"traceId":"11e537efe4dbf3a8"},{"name":"generate-required-server-files","duration":419,"timestamp":709229332085,"id":21,"parentId":1,"tags":{},"startTime":1772455772830,"traceId":"11e537efe4dbf3a8"},{"name":"check-static-error-page","duration":2498,"timestamp":709229447899,"id":23,"parentId":22,"tags":{},"startTime":1772455772946,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":398567,"timestamp":709229452705,"id":54,"parentId":25,"tags":{},"startTime":1772455772951,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":402033,"timestamp":709229449316,"id":25,"parentId":22,"tags":{"page":"/_global-error"},"startTime":1772455772947,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":496656,"timestamp":709229453190,"id":55,"parentId":24,"tags":{},"startTime":1772455772951,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":501208,"timestamp":709229448684,"id":24,"parentId":22,"tags":{"page":"/_not-found"},"startTime":1772455772947,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":518356,"timestamp":709229461538,"id":58,"parentId":28,"tags":{},"startTime":1772455772959,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":530442,"timestamp":709229449497,"id":28,"parentId":22,"tags":{"page":"/api/auth/[...nextauth]"},"startTime":1772455772947,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":517047,"timestamp":709229468966,"id":73,"parentId":43,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":535923,"timestamp":709229450121,"id":43,"parentId":22,"tags":{"page":"/features"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":522941,"timestamp":709229468855,"id":71,"parentId":42,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":541742,"timestamp":709229450099,"id":42,"parentId":22,"tags":{"page":"/dashboard"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":530362,"timestamp":709229469028,"id":75,"parentId":46,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":549252,"timestamp":709229450185,"id":46,"parentId":22,"tags":{"page":"/pricing"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":544035,"timestamp":709229460597,"id":56,"parentId":29,"tags":{},"startTime":1772455772959,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":555132,"timestamp":709229449531,"id":29,"parentId":22,"tags":{"page":"/api/auth/register"},"startTime":1772455772947,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":543785,"timestamp":709229468996,"id":74,"parentId":45,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":562654,"timestamp":709229450163,"id":45,"parentId":22,"tags":{"page":"/"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":546240,"timestamp":709229468931,"id":72,"parentId":41,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":565145,"timestamp":709229450073,"id":41,"parentId":22,"tags":{"page":"/checkout"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":554091,"timestamp":709229469258,"id":78,"parentId":47,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":573169,"timestamp":709229450214,"id":47,"parentId":22,"tags":{"page":"/profile"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":555702,"timestamp":709229469684,"id":80,"parentId":48,"tags":{},"startTime":1772455772968,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":575181,"timestamp":709229450241,"id":48,"parentId":22,"tags":{"page":"/project/[id]/ideas"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":556312,"timestamp":709229469916,"id":83,"parentId":50,"tags":{},"startTime":1772455772968,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":575963,"timestamp":709229450293,"id":50,"parentId":22,"tags":{"page":"/project/[id]/settings"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":556838,"timestamp":709229469595,"id":79,"parentId":49,"tags":{},"startTime":1772455772968,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":576183,"timestamp":709229450268,"id":49,"parentId":22,"tags":{"page":"/project/[id]"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":559321,"timestamp":709229469172,"id":77,"parentId":53,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":578155,"timestamp":709229450370,"id":53,"parentId":22,"tags":{"page":"/signup"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":560195,"timestamp":709229469054,"id":76,"parentId":44,"tags":{},"startTime":1772455772967,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":579134,"timestamp":709229450142,"id":44,"parentId":22,"tags":{"page":"/login"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":561928,"timestamp":709229469767,"id":81,"parentId":52,"tags":{},"startTime":1772455772968,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":581388,"timestamp":709229450343,"id":52,"parentId":22,"tags":{"page":"/project/[id]/world"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":562445,"timestamp":709229469844,"id":82,"parentId":51,"tags":{},"startTime":1772455772968,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":582003,"timestamp":709229450319,"id":51,"parentId":22,"tags":{"page":"/project/[id]/workflow"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":578099,"timestamp":709229464616,"id":64,"parentId":35,"tags":{},"startTime":1772455772963,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":592990,"timestamp":709229449756,"id":35,"parentId":22,"tags":{"page":"/api/ideas"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":584755,"timestamp":709229464275,"id":63,"parentId":32,"tags":{},"startTime":1772455772962,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":599500,"timestamp":709229449620,"id":32,"parentId":22,"tags":{"page":"/api/entities/[id]"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":586745,"timestamp":709229462473,"id":60,"parentId":33,"tags":{},"startTime":1772455772960,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":599540,"timestamp":709229449691,"id":33,"parentId":22,"tags":{"page":"/api/entities"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":587447,"timestamp":709229464900,"id":65,"parentId":36,"tags":{},"startTime":1772455772963,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":602597,"timestamp":709229449785,"id":36,"parentId":22,"tags":{"page":"/api/plans"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":590780,"timestamp":709229461991,"id":59,"parentId":31,"tags":{},"startTime":1772455772960,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":603199,"timestamp":709229449589,"id":31,"parentId":22,"tags":{"page":"/api/chapters"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":588955,"timestamp":709229465571,"id":66,"parentId":40,"tags":{},"startTime":1772455772964,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":604511,"timestamp":709229450033,"id":40,"parentId":22,"tags":{"page":"/api/user/profile"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":593944,"timestamp":709229463157,"id":61,"parentId":30,"tags":{},"startTime":1772455772961,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":607560,"timestamp":709229449559,"id":30,"parentId":22,"tags":{"page":"/api/chapters/[id]"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":595281,"timestamp":709229466530,"id":68,"parentId":37,"tags":{},"startTime":1772455772964,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":612024,"timestamp":709229449810,"id":37,"parentId":22,"tags":{"page":"/api/projects/[id]"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":594806,"timestamp":709229467059,"id":69,"parentId":38,"tags":{},"startTime":1772455772965,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":612033,"timestamp":709229449838,"id":38,"parentId":22,"tags":{"page":"/api/projects/[id]/workflow"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":600904,"timestamp":709229463671,"id":62,"parentId":34,"tags":{},"startTime":1772455772962,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":614873,"timestamp":709229449726,"id":34,"parentId":22,"tags":{"page":"/api/ideas/[id]"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":600037,"timestamp":709229465981,"id":67,"parentId":39,"tags":{},"startTime":1772455772964,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":616031,"timestamp":709229449999,"id":39,"parentId":22,"tags":{"page":"/api/projects"},"startTime":1772455772948,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":611959,"timestamp":709229461237,"id":57,"parentId":27,"tags":{},"startTime":1772455772959,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":623755,"timestamp":709229449463,"id":27,"parentId":22,"tags":{"page":"/api/ai/transform"},"startTime":1772455772947,"traceId":"11e537efe4dbf3a8"},{"name":"is-page-static","duration":613662,"timestamp":709229467486,"id":70,"parentId":26,"tags":{},"startTime":1772455772965,"traceId":"11e537efe4dbf3a8"},{"name":"check-page","duration":631748,"timestamp":709229449419,"id":26,"parentId":22,"tags":{"page":"/api/ai/generate"},"startTime":1772455772947,"traceId":"11e537efe4dbf3a8"},{"name":"static-check","duration":633587,"timestamp":709229447598,"id":22,"parentId":1,"tags":{},"startTime":1772455772946,"traceId":"11e537efe4dbf3a8"},{"name":"write-routes-manifest","duration":461,"timestamp":709230082341,"id":85,"parentId":1,"tags":{},"startTime":1772455773580,"traceId":"11e537efe4dbf3a8"},{"name":"load-dotenv","duration":17,"timestamp":709230090010,"id":88,"parentId":87,"tags":{},"startTime":1772455773588,"traceId":"11e537efe4dbf3a8"},{"name":"run-export-path-map","duration":233,"timestamp":709230092758,"id":89,"parentId":87,"tags":{},"startTime":1772455773591,"traceId":"11e537efe4dbf3a8"},{"name":"next-export","duration":353576,"timestamp":709230089378,"id":87,"parentId":1,"tags":{},"startTime":1772455773587,"traceId":"11e537efe4dbf3a8"},{"name":"move-exported-app-not-found-","duration":1074,"timestamp":709230444000,"id":90,"parentId":86,"tags":{},"startTime":1772455773942,"traceId":"11e537efe4dbf3a8"},{"name":"move-exported-app-global-error-","duration":652,"timestamp":709230445133,"id":91,"parentId":86,"tags":{},"startTime":1772455773943,"traceId":"11e537efe4dbf3a8"},{"name":"static-generation","duration":362045,"timestamp":709230085071,"id":86,"parentId":1,"tags":{},"startTime":1772455773583,"traceId":"11e537efe4dbf3a8"},{"name":"write-routes-manifest","duration":385,"timestamp":709230447239,"id":92,"parentId":1,"tags":{},"startTime":1772455773945,"traceId":"11e537efe4dbf3a8"},{"name":"write-standalone-directory","duration":491054,"timestamp":709230454306,"id":94,"parentId":1,"tags":{},"startTime":1772455773952,"traceId":"11e537efe4dbf3a8"},{"name":"output-standalone","duration":491166,"timestamp":709230454207,"id":93,"parentId":1,"tags":{},"startTime":1772455773952,"traceId":"11e537efe4dbf3a8"},{"name":"print-tree-view","duration":1484,"timestamp":709230945798,"id":95,"parentId":1,"tags":{},"startTime":1772455774444,"traceId":"11e537efe4dbf3a8"},{"name":"telemetry-flush","duration":41,"timestamp":709230947290,"id":96,"parentId":1,"tags":{},"startTime":1772455774445,"traceId":"11e537efe4dbf3a8"},{"name":"next-build","duration":4784328,"timestamp":709226163008,"id":1,"tags":{"buildMode":"default","version":"16.1.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1772455769661,"traceId":"11e537efe4dbf3a8"}] +[{"name":"generate-buildid","duration":141,"timestamp":910449357342,"id":4,"parentId":1,"tags":{},"startTime":1772656991431,"traceId":"e2c72ceef65a673c"},{"name":"load-custom-routes","duration":200,"timestamp":910449357539,"id":5,"parentId":1,"tags":{},"startTime":1772656991431,"traceId":"e2c72ceef65a673c"},{"name":"create-dist-dir","duration":259,"timestamp":910449357755,"id":6,"parentId":1,"tags":{},"startTime":1772656991431,"traceId":"e2c72ceef65a673c"},{"name":"clean","duration":511301,"timestamp":910449358680,"id":7,"parentId":1,"tags":{},"startTime":1772656991432,"traceId":"e2c72ceef65a673c"},{"name":"create-pages-mapping","duration":165,"timestamp":910449886173,"id":8,"parentId":1,"tags":{},"startTime":1772656991960,"traceId":"e2c72ceef65a673c"},{"name":"collect-app-files","duration":1597,"timestamp":910449886367,"id":9,"parentId":1,"tags":{},"startTime":1772656991960,"traceId":"e2c72ceef65a673c"},{"name":"create-app-mapping","duration":2219,"timestamp":910449887989,"id":10,"parentId":1,"tags":{},"startTime":1772656991961,"traceId":"e2c72ceef65a673c"},{"name":"create-app-layouts","duration":113,"timestamp":910449890280,"id":11,"parentId":1,"tags":{},"startTime":1772656991964,"traceId":"e2c72ceef65a673c"},{"name":"collect-default-files","duration":1177,"timestamp":910449892176,"id":13,"parentId":1,"tags":{},"startTime":1772656991966,"traceId":"e2c72ceef65a673c"},{"name":"generate-route-types","duration":14276,"timestamp":910449891492,"id":12,"parentId":1,"tags":{},"startTime":1772656991965,"traceId":"e2c72ceef65a673c"},{"name":"public-dir-conflict-check","duration":77,"timestamp":910449905793,"id":14,"parentId":1,"tags":{},"startTime":1772656991979,"traceId":"e2c72ceef65a673c"},{"name":"generate-routes-manifest","duration":1717,"timestamp":910449905918,"id":15,"parentId":1,"tags":{},"startTime":1772656991979,"traceId":"e2c72ceef65a673c"},{"name":"run-turbopack","duration":4722921,"timestamp":910449912113,"id":17,"parentId":1,"tags":{},"startTime":1772656991986,"traceId":"e2c72ceef65a673c"},{"name":"run-typescript","duration":76164,"timestamp":910454649110,"id":19,"parentId":1,"tags":{},"startTime":1772656996723,"traceId":"e2c72ceef65a673c"},{"name":"generate-required-server-files","duration":605,"timestamp":910454725364,"id":21,"parentId":1,"tags":{},"startTime":1772656996799,"traceId":"e2c72ceef65a673c"},{"name":"check-static-error-page","duration":5099,"timestamp":910454912822,"id":23,"parentId":22,"tags":{},"startTime":1772656996986,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":449326,"timestamp":910454921770,"id":57,"parentId":25,"tags":{},"startTime":1772656996995,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":455572,"timestamp":910454915610,"id":25,"parentId":22,"tags":{"page":"/_global-error"},"startTime":1772656996989,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":569797,"timestamp":910454946936,"id":88,"parentId":54,"tags":{},"startTime":1772656997020,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":599041,"timestamp":910454917768,"id":54,"parentId":22,"tags":{"page":"/project/[id]/world"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":576016,"timestamp":910454947051,"id":89,"parentId":53,"tags":{},"startTime":1772656997020,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":605395,"timestamp":910454917711,"id":53,"parentId":22,"tags":{"page":"/project/[id]/workflow"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":583188,"timestamp":910454942143,"id":73,"parentId":24,"tags":{},"startTime":1772656997016,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":610833,"timestamp":910454914541,"id":24,"parentId":22,"tags":{"page":"/_not-found"},"startTime":1772656996988,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":581319,"timestamp":910454944222,"id":74,"parentId":41,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":608509,"timestamp":910454917048,"id":41,"parentId":22,"tags":{"page":"/cgu"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":627008,"timestamp":910454944369,"id":77,"parentId":43,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":654268,"timestamp":910454917143,"id":43,"parentId":22,"tags":{"page":"/checkout"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":629732,"timestamp":910454945080,"id":82,"parentId":49,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":657411,"timestamp":910454917437,"id":49,"parentId":22,"tags":{"page":"/profile"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":631741,"timestamp":910454944312,"id":75,"parentId":42,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":658994,"timestamp":910454917095,"id":42,"parentId":22,"tags":{"page":"/cgv"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":633294,"timestamp":910454946438,"id":85,"parentId":50,"tags":{},"startTime":1772656997020,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":662283,"timestamp":910454917485,"id":50,"parentId":22,"tags":{"page":"/project/[id]/ideas"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":635891,"timestamp":910454944998,"id":79,"parentId":45,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":663687,"timestamp":910454917232,"id":45,"parentId":22,"tags":{"page":"/features"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":647354,"timestamp":910454945056,"id":81,"parentId":48,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":675064,"timestamp":910454917381,"id":48,"parentId":22,"tags":{"page":"/pricing"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":647842,"timestamp":910454946839,"id":87,"parentId":51,"tags":{},"startTime":1772656997020,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":677169,"timestamp":910454917544,"id":51,"parentId":22,"tags":{"page":"/project/[id]"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":653132,"timestamp":910454946650,"id":86,"parentId":52,"tags":{},"startTime":1772656997020,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":682213,"timestamp":910454917612,"id":52,"parentId":22,"tags":{"page":"/project/[id]/settings"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":654872,"timestamp":910454946364,"id":83,"parentId":56,"tags":{},"startTime":1772656997020,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":683408,"timestamp":910454917865,"id":56,"parentId":22,"tags":{"page":"/sitemap"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":671239,"timestamp":910454936246,"id":66,"parentId":36,"tags":{},"startTime":1772656997010,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":690927,"timestamp":910454916590,"id":36,"parentId":22,"tags":{"page":"/api/plans"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":664840,"timestamp":910454944343,"id":76,"parentId":44,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":692030,"timestamp":910454917187,"id":44,"parentId":22,"tags":{"page":"/dashboard"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":690367,"timestamp":910454932571,"id":58,"parentId":28,"tags":{},"startTime":1772656997006,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":706981,"timestamp":910454915998,"id":28,"parentId":22,"tags":{"page":"/api/auth/[...nextauth]"},"startTime":1772656996989,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":699067,"timestamp":910454937731,"id":69,"parentId":39,"tags":{},"startTime":1772656997011,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":719904,"timestamp":910454916938,"id":39,"parentId":22,"tags":{"page":"/api/projects"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":704253,"timestamp":910454936771,"id":67,"parentId":32,"tags":{},"startTime":1772656997010,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":724817,"timestamp":910454916250,"id":32,"parentId":22,"tags":{"page":"/api/entities/[id]"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":710012,"timestamp":910454933197,"id":59,"parentId":29,"tags":{},"startTime":1772656997007,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":727175,"timestamp":910454916068,"id":29,"parentId":22,"tags":{"page":"/api/auth/register"},"startTime":1772656996989,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":707838,"timestamp":910454935947,"id":65,"parentId":35,"tags":{},"startTime":1772656997009,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":727265,"timestamp":910454916537,"id":35,"parentId":22,"tags":{"page":"/api/ideas"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":704550,"timestamp":910454939416,"id":72,"parentId":40,"tags":{},"startTime":1772656997013,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":726982,"timestamp":910454916999,"id":40,"parentId":22,"tags":{"page":"/api/user/profile"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":709108,"timestamp":910454935023,"id":63,"parentId":33,"tags":{},"startTime":1772656997008,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":727754,"timestamp":910454916392,"id":33,"parentId":22,"tags":{"page":"/api/entities"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":711023,"timestamp":910454938143,"id":70,"parentId":38,"tags":{},"startTime":1772656997012,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":732501,"timestamp":910454916700,"id":38,"parentId":22,"tags":{"page":"/api/projects/[id]/workflow"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":706435,"timestamp":910454945026,"id":80,"parentId":47,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":734166,"timestamp":910454917321,"id":47,"parentId":22,"tags":{"page":"/"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":721075,"timestamp":910454934622,"id":62,"parentId":31,"tags":{},"startTime":1772656997008,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":739534,"timestamp":910454916193,"id":31,"parentId":22,"tags":{"page":"/api/chapters"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":709803,"timestamp":910454946418,"id":84,"parentId":55,"tags":{},"startTime":1772656997020,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":738416,"timestamp":910454917818,"id":55,"parentId":22,"tags":{"page":"/signup"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":718950,"timestamp":910454938762,"id":71,"parentId":37,"tags":{},"startTime":1772656997012,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":741089,"timestamp":910454916644,"id":37,"parentId":22,"tags":{"page":"/api/projects/[id]"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":722445,"timestamp":910454935527,"id":64,"parentId":30,"tags":{},"startTime":1772656997009,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":741856,"timestamp":910454916133,"id":30,"parentId":22,"tags":{"page":"/api/chapters/[id]"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":724125,"timestamp":910454937241,"id":68,"parentId":34,"tags":{},"startTime":1772656997011,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":744913,"timestamp":910454916476,"id":34,"parentId":22,"tags":{"page":"/api/ideas/[id]"},"startTime":1772656996990,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":735826,"timestamp":910454933721,"id":60,"parentId":27,"tags":{},"startTime":1772656997007,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":753663,"timestamp":910454915918,"id":27,"parentId":22,"tags":{"page":"/api/ai/transform"},"startTime":1772656996989,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":730504,"timestamp":910454944936,"id":78,"parentId":46,"tags":{},"startTime":1772656997018,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":758191,"timestamp":910454917277,"id":46,"parentId":22,"tags":{"page":"/login"},"startTime":1772656996991,"traceId":"e2c72ceef65a673c"},{"name":"is-page-static","duration":741815,"timestamp":910454934177,"id":61,"parentId":26,"tags":{},"startTime":1772656997008,"traceId":"e2c72ceef65a673c"},{"name":"check-page","duration":760224,"timestamp":910454915822,"id":26,"parentId":22,"tags":{"page":"/api/ai/generate"},"startTime":1772656996989,"traceId":"e2c72ceef65a673c"},{"name":"static-check","duration":763693,"timestamp":910454912379,"id":22,"parentId":1,"tags":{},"startTime":1772656996986,"traceId":"e2c72ceef65a673c"},{"name":"write-routes-manifest","duration":626,"timestamp":910455677431,"id":91,"parentId":1,"tags":{},"startTime":1772656997751,"traceId":"e2c72ceef65a673c"},{"name":"load-dotenv","duration":27,"timestamp":910455689670,"id":94,"parentId":93,"tags":{},"startTime":1772656997763,"traceId":"e2c72ceef65a673c"},{"name":"run-export-path-map","duration":496,"timestamp":910455693945,"id":95,"parentId":93,"tags":{},"startTime":1772656997767,"traceId":"e2c72ceef65a673c"},{"name":"next-export","duration":220250,"timestamp":910455688421,"id":93,"parentId":1,"tags":{},"startTime":1772656997762,"traceId":"e2c72ceef65a673c"},{"name":"move-exported-app-not-found-","duration":1661,"timestamp":910455910346,"id":96,"parentId":92,"tags":{},"startTime":1772656997984,"traceId":"e2c72ceef65a673c"},{"name":"move-exported-app-global-error-","duration":1210,"timestamp":910455912096,"id":97,"parentId":92,"tags":{},"startTime":1772656997986,"traceId":"e2c72ceef65a673c"},{"name":"static-generation","duration":233633,"timestamp":910455681298,"id":92,"parentId":1,"tags":{},"startTime":1772656997755,"traceId":"e2c72ceef65a673c"},{"name":"write-routes-manifest","duration":713,"timestamp":910455915054,"id":98,"parentId":1,"tags":{},"startTime":1772656997988,"traceId":"e2c72ceef65a673c"},{"name":"write-standalone-directory","duration":624956,"timestamp":910455926210,"id":100,"parentId":1,"tags":{},"startTime":1772656998000,"traceId":"e2c72ceef65a673c"},{"name":"output-standalone","duration":625075,"timestamp":910455926110,"id":99,"parentId":1,"tags":{},"startTime":1772656998000,"traceId":"e2c72ceef65a673c"},{"name":"print-tree-view","duration":2495,"timestamp":910456551926,"id":101,"parentId":1,"tags":{},"startTime":1772656998625,"traceId":"e2c72ceef65a673c"},{"name":"telemetry-flush","duration":51,"timestamp":910456554431,"id":102,"parentId":1,"tags":{},"startTime":1772656998628,"traceId":"e2c72ceef65a673c"},{"name":"next-build","duration":7383306,"timestamp":910449171180,"id":1,"tags":{"buildMode":"default","version":"16.1.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1772656991245,"traceId":"e2c72ceef65a673c"}] diff --git a/.next/trace-build b/.next/trace-build index f664cb7..e95225b 100644 --- a/.next/trace-build +++ b/.next/trace-build @@ -1 +1 @@ -[{"name":"run-turbopack","duration":2845705,"timestamp":709226411497,"id":17,"parentId":1,"tags":{},"startTime":1772455769909,"traceId":"11e537efe4dbf3a8"},{"name":"run-typescript","duration":63887,"timestamp":709229268125,"id":19,"parentId":1,"tags":{},"startTime":1772455772766,"traceId":"11e537efe4dbf3a8"},{"name":"static-check","duration":633587,"timestamp":709229447598,"id":22,"parentId":1,"tags":{},"startTime":1772455772946,"traceId":"11e537efe4dbf3a8"},{"name":"static-generation","duration":362045,"timestamp":709230085071,"id":86,"parentId":1,"tags":{},"startTime":1772455773583,"traceId":"11e537efe4dbf3a8"},{"name":"output-standalone","duration":491166,"timestamp":709230454207,"id":93,"parentId":1,"tags":{},"startTime":1772455773952,"traceId":"11e537efe4dbf3a8"},{"name":"telemetry-flush","duration":41,"timestamp":709230947290,"id":96,"parentId":1,"tags":{},"startTime":1772455774445,"traceId":"11e537efe4dbf3a8"},{"name":"next-build","duration":4784328,"timestamp":709226163008,"id":1,"tags":{"buildMode":"default","version":"16.1.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1772455769661,"traceId":"11e537efe4dbf3a8"}] +[{"name":"run-turbopack","duration":4722921,"timestamp":910449912113,"id":17,"parentId":1,"tags":{},"startTime":1772656991986,"traceId":"e2c72ceef65a673c"},{"name":"run-typescript","duration":76164,"timestamp":910454649110,"id":19,"parentId":1,"tags":{},"startTime":1772656996723,"traceId":"e2c72ceef65a673c"},{"name":"static-check","duration":763693,"timestamp":910454912379,"id":22,"parentId":1,"tags":{},"startTime":1772656996986,"traceId":"e2c72ceef65a673c"},{"name":"static-generation","duration":233633,"timestamp":910455681298,"id":92,"parentId":1,"tags":{},"startTime":1772656997755,"traceId":"e2c72ceef65a673c"},{"name":"output-standalone","duration":625075,"timestamp":910455926110,"id":99,"parentId":1,"tags":{},"startTime":1772656998000,"traceId":"e2c72ceef65a673c"},{"name":"telemetry-flush","duration":51,"timestamp":910456554431,"id":102,"parentId":1,"tags":{},"startTime":1772656998628,"traceId":"e2c72ceef65a673c"},{"name":"next-build","duration":7383306,"timestamp":910449171180,"id":1,"tags":{"buildMode":"default","version":"16.1.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1772656991245,"traceId":"e2c72ceef65a673c"}] diff --git a/.next/types/routes.d.ts b/.next/types/routes.d.ts index fa7847a..901165d 100644 --- a/.next/types/routes.d.ts +++ b/.next/types/routes.d.ts @@ -1,7 +1,7 @@ // This file is generated automatically by Next.js // Do not edit this file manually -type AppRoutes = "/" | "/checkout" | "/dashboard" | "/features" | "/login" | "/pricing" | "/profile" | "/project/[id]" | "/project/[id]/ideas" | "/project/[id]/settings" | "/project/[id]/workflow" | "/project/[id]/world" | "/signup" +type AppRoutes = "/" | "/cgu" | "/cgv" | "/checkout" | "/dashboard" | "/features" | "/login" | "/pricing" | "/profile" | "/project/[id]" | "/project/[id]/ideas" | "/project/[id]/settings" | "/project/[id]/workflow" | "/project/[id]/world" | "/signup" | "/sitemap" type AppRouteHandlerRoutes = "/api/ai/generate" | "/api/ai/transform" | "/api/auth/[...nextauth]" | "/api/auth/register" | "/api/chapters" | "/api/chapters/[id]" | "/api/entities" | "/api/entities/[id]" | "/api/ideas" | "/api/ideas/[id]" | "/api/plans" | "/api/projects" | "/api/projects/[id]" | "/api/projects/[id]/workflow" | "/api/user/profile" type PageRoutes = never type LayoutRoutes = "/" | "/project/[id]" @@ -27,6 +27,8 @@ interface ParamMap { "/api/projects/[id]": { "id": string; } "/api/projects/[id]/workflow": { "id": string; } "/api/user/profile": {} + "/cgu": {} + "/cgv": {} "/checkout": {} "/dashboard": {} "/features": {} @@ -39,6 +41,7 @@ interface ParamMap { "/project/[id]/workflow": { "id": string; } "/project/[id]/world": { "id": string; } "/signup": {} + "/sitemap": {} } diff --git a/.next/types/validator.ts b/.next/types/validator.ts index 6f5bcfd..b9c6789 100644 --- a/.next/types/validator.ts +++ b/.next/types/validator.ts @@ -47,6 +47,24 @@ type RouteHandlerConfig> = Specific + const handler = {} as typeof import("../../src/app/cgu/page.js") + type __Check = __IsExpected + // @ts-ignore + type __Unused = __Check +} + +// Validate ../../src/app/cgv/page.tsx +{ + type __IsExpected> = Specific + const handler = {} as typeof import("../../src/app/cgv/page.js") + type __Check = __IsExpected + // @ts-ignore + type __Unused = __Check +} + // Validate ../../src/app/checkout/page.tsx { type __IsExpected> = Specific @@ -164,6 +182,15 @@ type RouteHandlerConfig> = Specific + const handler = {} as typeof import("../../src/app/sitemap/page.js") + type __Check = __IsExpected + // @ts-ignore + type __Unused = __Check +} + // Validate ../../src/app/api/ai/generate/route.ts { type __IsExpected> = Specific diff --git a/src/app/api/chapters/[id]/route.ts b/src/app/api/chapters/[id]/route.ts index b478317..8df77fa 100644 --- a/src/app/api/chapters/[id]/route.ts +++ b/src/app/api/chapters/[id]/route.ts @@ -2,8 +2,7 @@ export const dynamic = 'force-dynamic'; import { NextRequest, NextResponse } from 'next/server'; import { auth } from '@/lib/auth'; -// 1. On remplace l'import de getDB par l'objet prisma direct -import { prisma } from '@/lib/prisma'; +import { getDB } from '@/lib/prisma'; // PUT /api/chapters/[id] — Update a chapter export async function PUT( @@ -18,8 +17,8 @@ export async function PUT( const { id } = await params; const body = await request.json(); - // 2. On utilise 'prisma' au lieu de 'getDB()' - const chapter = await prisma.chapter.findUnique({ + const db = getDB(); + const chapter = await db.chapter.findUnique({ where: { id }, include: { project: { select: { userId: true } } }, }); @@ -27,7 +26,7 @@ export async function PUT( return NextResponse.json({ error: 'Non trouvé' }, { status: 404 }); } - const updated = await prisma.chapter.update({ + const updated = await db.chapter.update({ where: { id }, data: { ...(body.title !== undefined && { title: body.title }), @@ -52,8 +51,8 @@ export async function DELETE( const { id } = await params; - // 3. On utilise 'prisma' au lieu de 'getDB()' - const chapter = await prisma.chapter.findUnique({ + const db = getDB(); + const chapter = await db.chapter.findUnique({ where: { id }, include: { project: { select: { userId: true } } }, }); @@ -61,7 +60,7 @@ export async function DELETE( return NextResponse.json({ error: 'Non trouvé' }, { status: 404 }); } - await prisma.chapter.delete({ where: { id } }); + await db.chapter.delete({ where: { id } }); return NextResponse.json({ success: true }); } \ No newline at end of file diff --git a/src/app/project/[id]/layout.tsx b/src/app/project/[id]/layout.tsx index a626b9b..055bd8b 100644 --- a/src/app/project/[id]/layout.tsx +++ b/src/app/project/[id]/layout.tsx @@ -1,6 +1,6 @@ 'use client'; -import React, { useState, useEffect } from 'react'; +import React, { useState, useEffect, useRef } from 'react'; import { useParams, useRouter, usePathname } from 'next/navigation'; import { useAuthContext } from '@/providers/AuthProvider'; import { ProjectProvider } from '@/providers/ProjectProvider'; @@ -27,6 +27,7 @@ export default function ProjectLayout({ children }: { children: React.ReactNode const projectId = params.id as string; const { user, logout, incrementUsage, loading: authLoading } = useAuthContext(); + const hasEverLoaded = useRef(false); const { projects, setCurrentProjectId, updateProject, updateChapter, addChapter, @@ -40,6 +41,13 @@ export default function ProjectLayout({ children }: { children: React.ReactNode const viewMode = getViewModeFromPath(pathname); + // Track when auth has loaded at least once to avoid unmounting on session refresh + useEffect(() => { + if (!authLoading && user) { + hasEverLoaded.current = true; + } + }, [authLoading, user]); + useEffect(() => { if (projectId) setCurrentProjectId(projectId); }, [projectId, setCurrentProjectId]); @@ -56,7 +64,8 @@ export default function ProjectLayout({ children }: { children: React.ReactNode } }, [project, currentChapterId]); - if (authLoading || !user) { + // Only show loading spinner on INITIAL load, not during session refreshes (tab switch) + if (!hasEverLoaded.current && (authLoading || !user)) { return (
diff --git a/src/components/Dashboard.tsx b/src/components/Dashboard.tsx index df2b6de..2cff26e 100644 --- a/src/components/Dashboard.tsx +++ b/src/components/Dashboard.tsx @@ -28,7 +28,13 @@ const Dashboard: React.FC = ({ user, projects, onSelect, onCreat
- Avatar + {user.avatar ? ( + Avatar + ) : ( +
+ {user.name?.charAt(0)?.toUpperCase() || '?'} +
+ )}
@@ -98,7 +104,7 @@ const Dashboard: React.FC = ({ user, projects, onSelect, onCreat

{p.title}

-

{t('dashboard.last_modified')} : {new Date(p.lastModified).toLocaleDateString()}

+

{t('dashboard.last_modified')} : {new Date(p.lastModified).toLocaleDateString('fr-FR')}

{p.chapters.length} {t('nav.chapters')} diff --git a/src/components/IdeaBoard.tsx b/src/components/IdeaBoard.tsx index fcc0a40..bb8ca6b 100644 --- a/src/components/IdeaBoard.tsx +++ b/src/components/IdeaBoard.tsx @@ -204,7 +204,7 @@ const IdeaBoard: React.FC = ({ ideas, onUpdate }) => {
- {new Date(idea.createdAt).toLocaleDateString()} + {new Date(idea.createdAt).toLocaleDateString('fr-FR')}
diff --git a/src/components/RichTextEditor.tsx b/src/components/RichTextEditor.tsx index 678af0d..c7c5e86 100644 --- a/src/components/RichTextEditor.tsx +++ b/src/components/RichTextEditor.tsx @@ -43,6 +43,11 @@ const RichTextEditor = forwardRef(({ const [saveStatus, setSaveStatus] = useState<'saved' | 'saving' | 'unsaved'>('saved'); const saveTimeoutRef = useRef(null); + // Track sync state to avoid autosave loopbacks wiping current edits + // Start as null so the initial useEffect ALWAYS writes initialContent to the div + const syncRef = useRef(null); + const latestContentRef = useRef(initialContent); + // Context Menu State const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null); const [isAiLoading, setIsAiLoading] = useState(false); @@ -161,14 +166,33 @@ const RichTextEditor = forwardRef(({ // --- Effects --- useEffect(() => { - if (contentRef.current && contentRef.current.innerHTML !== initialContent) { - // Only update if difference is significant to avoid cursor jumps on small re-renders? - // OR better: Only update if NOT focused? - if (!isFocused && Math.abs(contentRef.current.innerHTML.length - initialContent.length) > 5) { - contentRef.current.innerHTML = initialContent; + if (!contentRef.current || initialContent === undefined) return; + + // Ignore exact loopbacks from our own saves + if (initialContent === syncRef.current) return; + + // Safety: never overwrite real content with an empty string from a stale/placeholder source + const hasRealContent = latestContentRef.current && latestContentRef.current.trim().length > 0; + if (!initialContent && hasRealContent) return; + + // We reached here, so initialContent is genuinely NEW data we didn't know about. + // E.g. clicked another chapter, or data was modified in another tab/device. + contentRef.current.innerHTML = initialContent; + syncRef.current = initialContent; + latestContentRef.current = initialContent; + }, [initialContent]); + + // Flush pending save on unmount + useEffect(() => { + return () => { + if (saveTimeoutRef.current) { + clearTimeout(saveTimeoutRef.current); + if (latestContentRef.current !== syncRef.current && onSave) { + onSave(latestContentRef.current); + } } - } - }, [initialContent, isFocused]); + }; + }, [onSave]); // --- Event Handlers --- @@ -180,7 +204,10 @@ const RichTextEditor = forwardRef(({ const handleInput = () => { if (contentRef.current) { - if (onChange) onChange(contentRef.current.innerHTML); + const currentHtml = contentRef.current.innerHTML; + latestContentRef.current = currentHtml; + + if (onChange) onChange(currentHtml); // Auto-Save Debounce if (onSave) { @@ -189,7 +216,9 @@ const RichTextEditor = forwardRef(({ saveTimeoutRef.current = setTimeout(async () => { setSaveStatus('saving'); - await onSave(contentRef.current?.innerHTML || ""); + const htmlToSave = latestContentRef.current; + await onSave(htmlToSave); + syncRef.current = htmlToSave; // Record that we've synced this exact string to the server setSaveStatus('saved'); }, 2000); // 2 seconds } @@ -370,6 +399,8 @@ const RichTextEditor = forwardRef(({ ref={contentRef} contentEditable suppressContentEditableWarning + spellCheck={true} + lang="fr-FR" className="bg-theme-editor-bg shadow-sm w-[800px] min-h-[1000px] p-12 outline-none font-serif text-lg leading-relaxed text-theme-editor-text editor-content transition-colors duration-300" onInput={handleInput} onBlur={() => { setIsFocused(false); saveSelection(); }} diff --git a/src/hooks/useProjects.ts b/src/hooks/useProjects.ts index 7ff2ca4..91ecac2 100644 --- a/src/hooks/useProjects.ts +++ b/src/hooks/useProjects.ts @@ -20,9 +20,10 @@ export const useProjects = (user: UserProfile | null) => { const [currentProjectId, setCurrentProjectId] = useState(null); const [loading, setLoading] = useState(false); - // Load Projects + // Load Projects - only re-fetch when user ID actually changes, not on every user object reference change + const userId = user?.id; useEffect(() => { - if (!user) { + if (!userId) { setProjects([]); return; } @@ -41,7 +42,19 @@ export const useProjects = (user: UserProfile | null) => { ideas: [], settings: p.settings || undefined })); - setProjects(mapped); + // Merge: keep existing fully-loaded projects, only add new ones from the list + setProjects(prev => { + const existingIds = new Set(prev.filter(p => !p.chapters.some(c => c.id.startsWith('placeholder-'))).map(p => p.id)); + const merged = prev.filter(p => existingIds.has(p.id)); + for (const mp of mapped) { + if (!existingIds.has(mp.id)) { + merged.push(mp); + } + } + // Remove projects no longer in the server list + const serverIds = new Set(mapped.map(p => p.id)); + return merged.filter(p => serverIds.has(p.id)); + }); } catch (err) { console.error('Failed to load projects', err); } finally { @@ -49,7 +62,7 @@ export const useProjects = (user: UserProfile | null) => { } }; loadProjects(); - }, [user]); + }, [userId]); // Load details when project is selected useEffect(() => {